/* Notification System Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 350px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    z-index: 9999;
    transform: translateX(400px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid var(--border-color);
}

.notification-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.close-notification {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-light);
    font-size: 14px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.close-notification:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.notification-body {
    padding: 15px;
}

.notification-body p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

/* Notification types */
.notification.success .notification-header {
    background-color: var(--primary-color);
    color: white;
}

.notification.success .close-notification {
    color: white;
}

.notification.error .notification-header {
    background-color: #e53935;
    color: white;
}

.notification.error .close-notification {
    color: white;
}

.notification.info .notification-header {
    background-color: #2196F3;
    color: white;
}

.notification.info .close-notification {
    color: white;
}

/* Responsive styles */
@media (max-width: 480px) {
    .notification {
        width: calc(100% - 40px);
        top: 10px;
        right: 10px;
        left: 10px;
    }
}

/* Notification styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    max-width: 400px;
    animation: slideInRight 0.3s ease-out;
}

.notification.success {
    background-color: #f0fdf4;
    border: 1px solid #16a34a;
    color: #166534;
}

.notification.error {
    background-color: #fef2f2;
    border: 1px solid #dc2626;
    color: #991b1b;
}

.notification i {
    font-size: 1.25rem;
}

.notification.success i {
    color: #16a34a;
}

.notification.error i {
    color: #dc2626;
}

.notification-message {
    flex: 1;
    font-size: 0.875rem;
    line-height: 1.4;
}

.notification-close {
    background: none;
    border: none;
    color: currentColor;
    opacity: 0.7;
    cursor: pointer;
    padding: 4px;
    margin: -4px;
    transition: opacity 0.2s;
}

.notification-close:hover {
    opacity: 1;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}
