/* Web Push Consent — STEP 1 자체 유도 UI (bottom sheet on mobile, centered modal on desktop) */

.push-consent-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 9999;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    animation: pushConsentFadeIn 0.25s ease-out;
}

@keyframes pushConsentFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pushConsentSlideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

@keyframes pushConsentScaleIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.push-consent-sheet {
    position: relative;
    background: #ffffff;
    width: 100%;
    max-width: 460px;
    padding: 32px 24px 28px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.25);
    box-sizing: border-box;
    animation: pushConsentSlideUp 0.3s ease-out;
}

@media (min-width: 768px) {
    .push-consent-backdrop {
        align-items: center;
    }
    .push-consent-sheet {
        border-radius: 16px;
        padding: 36px 32px 28px;
        animation: pushConsentScaleIn 0.25s ease-out;
    }
}

.push-consent-close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: transparent;
    border: none;
    font-size: 24px;
    line-height: 1;
    color: #888;
    cursor: pointer;
    padding: 4px 8px;
}
.push-consent-close:hover { color: #333; }

.push-consent-icon {
    font-size: 44px;
    text-align: center;
    margin-bottom: 12px;
}

.push-consent-title {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    text-align: center;
    line-height: 1.4;
}

.push-consent-subtitle {
    margin: 0 0 20px;
    font-size: 14px;
    color: #666;
    text-align: center;
    line-height: 1.5;
}

.push-consent-benefits {
    list-style: none;
    padding: 14px 16px;
    margin: 0 0 24px;
    background: #f7f8fb;
    border-radius: 12px;
}
.push-consent-benefits li {
    padding: 6px 0;
    font-size: 14px;
    color: #333;
    line-height: 1.5;
}

.push-consent-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.push-consent-btn-primary {
    width: 100%;
    padding: 14px 20px;
    background: #ff3366;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
}
.push-consent-btn-primary:hover { background: #e62958; }
.push-consent-btn-primary:active { background: #cc2450; }

.push-consent-btn-secondary {
    width: 100%;
    padding: 12px 20px;
    background: transparent;
    color: #666;
    border: none;
    font-size: 14px;
    cursor: pointer;
}
.push-consent-btn-secondary:hover { color: #333; }

/* Success toast (fallback if window.showToast is absent) */
.push-consent-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 12px 20px;
    border-radius: 24px;
    font-size: 14px;
    z-index: 10000;
    transition: opacity 0.4s ease-out;
}
