/**
 * Styles for Website Update Notification Popup
 */

/* Overlay */
.munotes-notification-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.munotes-notification-overlay.munotes-notification-show {
    opacity: 1;
}

/* Popup Container */
.munotes-notification-popup {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 560px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    animation: slideUp 0.4s ease-out;
}

.munotes-notification-show .munotes-notification-popup {
    transform: scale(1);
}

@keyframes slideUp {
    from {
        transform: translateY(30px) scale(0.95);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

/* Header */
.munotes-notification-header {
    background: rgba(255, 255, 255, 0.15);
    padding: 24px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 20px 20px 0 0;
}

.munotes-notification-header h2 {
    margin: 0;
    color: #ffffff;
    font-size: 26px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.munotes-notification-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #ffffff;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
}

.munotes-notification-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* Body */
.munotes-notification-body {
    padding: 30px;
    background: #ffffff;
    color: #333333;
}

.munotes-notification-body p {
    margin: 0 0 16px 0;
    line-height: 1.6;
    font-size: 16px;
}

.munotes-notification-body p:last-child {
    margin-bottom: 0;
}

.munotes-notification-highlight {
    background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 100%);
    padding: 18px;
    border-radius: 12px;
    border-left: 4px solid #fdcb6e;
    margin: 20px 0 !important;
    box-shadow: 0 4px 12px rgba(253, 203, 110, 0.2);
}

.munotes-notification-link {
    color: #667eea;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid #667eea;
    transition: all 0.3s ease;
}

.munotes-notification-link:hover {
    color: #764ba2;
    border-bottom-color: #764ba2;
}

.munotes-notification-info {
    font-weight: 600;
    color: #667eea;
    margin-top: 20px !important;
    margin-bottom: 12px !important;
}

.munotes-notification-list {
    margin: 12px 0 0 0;
    padding-left: 24px;
    list-style: none;
}

.munotes-notification-list li {
    position: relative;
    padding-left: 12px;
    margin-bottom: 10px;
    line-height: 1.6;
    font-size: 15px;
}

.munotes-notification-list li:before {
    content: "✓";
    position: absolute;
    left: -12px;
    color: #00b894;
    font-weight: bold;
    font-size: 18px;
}

/* Footer */
.munotes-notification-footer {
    padding: 24px 30px;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    gap: 12px;
    border-radius: 0 0 20px 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.munotes-notification-btn {
    flex: 1;
    padding: 14px 24px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.munotes-notification-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.munotes-notification-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.munotes-notification-btn-primary:active {
    transform: translateY(0);
}

.munotes-notification-btn-secondary {
    background: #f1f3f5;
    color: #495057;
    border: 2px solid #dee2e6;
}

.munotes-notification-btn-secondary:hover {
    background: #e9ecef;
    border-color: #adb5bd;
}

/* Mobile Responsive */
@media (max-width: 600px) {
    .munotes-notification-popup {
        margin: 10px;
        border-radius: 16px;
    }
    
    .munotes-notification-header {
        padding: 20px;
        border-radius: 16px 16px 0 0;
    }
    
    .munotes-notification-header h2 {
        font-size: 22px;
    }
    
    .munotes-notification-body {
        padding: 20px;
    }
    
    .munotes-notification-body p {
        font-size: 15px;
    }
    
    .munotes-notification-footer {
        flex-direction: column;
        padding: 20px;
        border-radius: 0 0 16px 16px;
    }
    
    .munotes-notification-btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 15px;
    }
    
    .munotes-notification-close {
        width: 36px;
        height: 36px;
        font-size: 28px;
    }
}

/* Smooth scrollbar for popup */
.munotes-notification-popup::-webkit-scrollbar {
    width: 8px;
}

.munotes-notification-popup::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 0 20px 20px 0;
}

.munotes-notification-popup::-webkit-scrollbar-thumb {
    background: rgba(102, 126, 234, 0.5);
    border-radius: 10px;
}

.munotes-notification-popup::-webkit-scrollbar-thumb:hover {
    background: rgba(102, 126, 234, 0.7);
}
