﻿/* Modal Notification System */
.notification-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.notification-modal {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: notificationSlideIn 0.3s ease;
    position: relative;
}

    .notification-modal.success {
        border-top: 5px solid #28a745;
    }

    .notification-modal.error {
        border-top: 5px solid #dc3545;
    }

    .notification-modal.warning {
        border-top: 5px solid #ffc107;
    }

    .notification-modal.info {
        border-top: 5px solid #17a2b8;
    }

.notification-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: white;
}

.notification-modal.success .notification-icon {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.notification-modal.error .notification-icon {
    background: linear-gradient(135deg, #dc3545, #e74c3c);
}

.notification-modal.warning .notification-icon {
    background: linear-gradient(135deg, #ffc107, #f39c12);
}

.notification-modal.info .notification-icon {
    background: linear-gradient(135deg, #17a2b8, #3498db);
}

.notification-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.notification-message {
    color: #6c757d;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.notification-button {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 100px;
}

    .notification-button:hover {
        background: linear-gradient(135deg, #2980b9, #1f5f8b);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
    }

    .notification-button:focus {
        outline: none;
        box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.25);
    }

@keyframes notificationSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Auto-close notification */
.notification-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #2980b9);
    border-radius: 0 0 16px 16px;
    animation: progressBar 3s linear;
}

@keyframes progressBar {
    from {
        width: 100%;
    }

    to {
        width: 0%;
    }
}
