/* Custom Notification Modal Styles */

/* Overlay */
.notification-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    animation: fadeIn 0.3s ease-out forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Modal Container */
.notification-modal {
    background: white;
    border-radius: 15px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(-20px) scale(0.95);
    animation: slideDown 0.3s ease-out forwards;
}

@keyframes slideDown {
    to {
        transform: translateY(0) scale(1);
    }
}

/* Modal Types */
.notification-modal.error {
    border: 2px solid #FF6B6B;
    background: #FFE6E6;
}

.notification-modal.success {
    border: 2px solid #4CAF50;
    background: #E6FFE6;
}

.notification-modal.warning {
    border: 2px solid #FFB84D;
    background: #FFF9E6;
}

.notification-modal.info {
    border: 2px solid #FFB84D;
    background: #FFF9E6;
}

/* Modal Content Layout */
.notification-modal-content {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

/* Icon Styles */
.notification-icon {
    font-size: 50px;
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.notification-modal.error .notification-icon {
    color: #FF6B6B;
    background: rgba(255, 107, 107, 0.1);
}

.notification-modal.success .notification-icon {
    color: #4CAF50;
    background: rgba(76, 175, 80, 0.1);
}

.notification-modal.warning .notification-icon,
.notification-modal.info .notification-icon {
    color: #FFB84D;
    background: rgba(255, 184, 77, 0.1);
}

/* Text Content */
.notification-text {
    flex: 1;
}

.notification-title {
    margin: 0 0 10px 0;
    font-size: 24px;
    font-weight: 600;
    color: #333;
}

.notification-message {
    margin: 0 0 10px 0;
    font-size: 16px;
    color: #555;
    line-height: 1.5;
}

.notification-details {
    margin: 10px 0 0 0;
    font-size: 14px;
    color: #666;
    padding: 10px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 5px;
    border-left: 3px solid #FFB84D;
    font-weight: 500;
}

.notification-modal.error .notification-details {
    border-left-color: #FF6B6B;
}

.notification-modal.success .notification-details {
    border-left-color: #4CAF50;
}

/* Close Button */
.notification-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 30px;
    color: #999;
    cursor: pointer;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.notification-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #333;
}

/* Responsive */
@media screen and (max-width: 550px) {
    .notification-modal {
        padding: 20px;
        width: 95%;
    }

    .notification-modal-content {
        gap: 15px;
    }

    .notification-icon {
        font-size: 40px;
        width: 50px;
        height: 50px;
    }

    .notification-title {
        font-size: 20px;
    }

    .notification-message {
        font-size: 14px;
    }

    .notification-details {
        font-size: 13px;
    }
}