/**
 * FlavorFood — Push Notification Opt-in Banner
 * Asian Elegant Dark Theme
 */

.ff-push-optin {
    position: fixed;
    bottom: -120px;
    left: 0;
    right: 0;
    z-index: 9000;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: translateY(0);
}

.ff-push-optin.ff-push-optin-visible {
    bottom: 0;
}

.ff-push-optin-inner {
    max-width: 480px;
    margin: 0 auto 16px;
    background: #1a1828;
    border-radius: 16px;
    padding: 18px 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: flex-start;
    gap: 14px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    font-family: 'Inter', system-ui, sans-serif;
}

.ff-push-optin-icon {
    font-size: 2rem;
    flex-shrink: 0;
    animation: ffBellRing 0.8s ease 1;
}

@keyframes ffBellRing {
    0%, 100% { transform: rotate(0); }
    25%  { transform: rotate(15deg); }
    50%  { transform: rotate(-10deg); }
    75%  { transform: rotate(5deg); }
}

.ff-push-optin-text { flex: 1; }

.ff-push-optin-text strong {
    font-size: 0.92rem;
    display: block;
    margin-bottom: 4px;
    color: #F0F0F5;
}

.ff-push-optin-text p {
    font-size: 0.8rem;
    color: #8A8A9F;
    margin: 0;
    line-height: 1.4;
}

.ff-push-optin-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex-shrink: 0;
}

.ff-push-optin-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease;
    white-space: nowrap;
}

.ff-push-accept {
    background: linear-gradient(135deg, #C4324A, #A82A3E);
    color: white;
}

.ff-push-accept:hover { transform: scale(1.05); }

.ff-push-decline {
    background: transparent;
    color: #8A8A9F;
}

.ff-push-decline:hover { color: #F0F0F5; }

@media (max-width: 480px) {
    .ff-push-optin-inner {
        margin: 0 8px 8px;
        padding: 14px 16px;
        flex-wrap: wrap;
    }
    .ff-push-optin-actions {
        flex-direction: row;
        width: 100%;
    }
    .ff-push-accept { flex: 1; }
}