/* Notification Popup Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.popup-content {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.7);
    transition: transform 0.3s ease;
}

.popup-overlay.show .popup-content {
    transform: scale(1);
}

.popup-header {
    padding: 20px 20px 10px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.popup-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.popup-close {
    font-size: 24px;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease;
}

.popup-close:hover {
    color: #333;
}

.popup-body {
    padding: 20px;
}

.notification-content {
    text-align: center;
}

.loading-container {
    padding: 20px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

.loading-spinner.is-hourglass {
    border: none;
    background: none;
    animation: none;
    font-size: 40px;
    color: #007bff;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    font-size: 16px;
    color: #666;
    margin-bottom: 10px;
}

.notification-icon {
    margin-bottom: 15px;
}

.notification-icon i {
    font-size: 48px;
    margin-bottom: 10px;
}

.notification-icon.success i {
    color: #28a745;
}

.notification-icon.error i {
    color: #dc3545;
}

.notification-icon.warning i {
    color: #ffc107;
}

.notification-icon i:not(.success):not(.error):not(.warning) {
    color: #007bff;
}

.notification-message {
    margin-bottom: 20px;
}

.notification-message p {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
}

.notification-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.notification-actions .btn {
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.notification-actions .btn-primary {
    background-color: #007bff;
    color: white;
}

.notification-actions .btn-primary:hover {
    background-color: #0056b3;
    transform: translateY(-1px);
}

.notification-actions .btn-success {
    background-color: #28a745;
    color: white;
}

.notification-actions .btn-success:hover {
    background-color: #1e7e34;
    transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 480px) {
    .popup-content {
        width: 95%;
        margin: 10px;
    }
    
    .popup-header {
        padding: 15px 15px 10px;
    }
    
    .popup-body {
        padding: 15px;
    }
    
    .notification-icon i {
        font-size: 36px;
    }
    
    .notification-message p {
        font-size: 14px;
    }
}
