/* ============================================
   Web Push Notification Permission Prompt Styles
   Native App-Style Design
   ============================================ */

/* Overlay */
.push-prompt-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.push-prompt-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Modal */
.push-prompt-modal {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 24px;
    padding: 32px 28px;
    max-width: 380px;
    width: 100%;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25),
                0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.push-prompt-overlay.show .push-prompt-modal {
    transform: scale(1) translateY(0);
}

/* Icon */
.push-prompt-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #D4AF37 0%, #B8941F 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
    animation: pulse-ring 2s ease-out infinite;
}

.push-prompt-icon i {
    font-size: 32px;
    color: #fff;
}

@keyframes pulse-ring {
    0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4); }
    70% { box-shadow: 0 0 0 20px rgba(212, 175, 55, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

/* Title */
.push-prompt-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 12px;
    font-family: 'Poppins', sans-serif;
}

/* Text */
.push-prompt-text {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
    margin: 0 0 24px;
    font-family: 'Poppins', sans-serif;
}

/* Buttons Container */
.push-prompt-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Primary Button */
.push-prompt-btn-primary {
    background: linear-gradient(135deg, #D4AF37 0%, #B8941F 100%);
    color: #1a1a1a;
    border: none;
    padding: 16px 24px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.push-prompt-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.push-prompt-btn-primary:active {
    transform: translateY(0);
}

/* Secondary Button */
.push-prompt-btn-secondary {
    background: transparent;
    color: #888;
    border: none;
    padding: 14px 24px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Poppins', sans-serif;
}

.push-prompt-btn-secondary:hover {
    color: #666;
    background: rgba(0, 0, 0, 0.03);
}

/* Mobile Optimizations */
@media (max-width: 480px) {
    .push-prompt-overlay {
        padding: 16px;
        align-items: flex-start;
        padding-top: 80px;
    }

    .push-prompt-modal {
        border-radius: 20px;
        padding: 24px 20px;
        max-width: 100%;
        max-height: 80vh;
        overflow-y: auto;
    }
    
    .push-prompt-icon {
        width: 64px;
        height: 64px;
    }
    
    .push-prompt-icon i {
        font-size: 28px;
    }
    
    .push-prompt-title {
        font-size: 20px;
    }
    
    .push-prompt-text {
        font-size: 14px;
    }
    
    .push-prompt-btn-primary,
    .push-prompt-btn-secondary {
        padding: 12px 16px;
        font-size: 14px;
    }

    /* Prevent bottom nav from blocking on very small screens */
    @media (max-height: 700px) {
        .push-prompt-overlay {
            padding-top: 60px;
        }
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .push-prompt-modal {
        background: linear-gradient(145deg, #2a2a2a 0%, #1a1a1a 100%);
    }
    
    .push-prompt-title {
        color: #fff;
    }
    
    .push-prompt-text {
        color: #aaa;
    }
    
    .push-prompt-btn-secondary:hover {
        background: rgba(255, 255, 255, 0.05);
    }
}
