/* ----- ALERTS & NOTIFICATIONS ----- */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid transparent;
}

.alert-success {
    background: rgba(40, 167, 69, 0.1);
    border-color: rgba(40, 167, 69, 0.2);
    color: #155724;
}

.alert-danger {
    background: rgba(220, 53, 69, 0.1);
    border-color: rgba(220, 53, 69, 0.2);
    color: #721c24;
}

/* Enhanced notifications */
.success-notification,
.error-notification {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-left: 4px solid;
    position: relative;
    overflow: hidden;
}

.success-notification {
    border-left-color: var(--success);
    background: rgba(40, 167, 69, 0.03);
}

.error-notification {
    border-left-color: var(--danger);
    background: rgba(220, 53, 69, 0.03);
}

.notification-content {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.notification-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.success-notification .notification-icon {
    background: rgba(40, 167, 69, 0.15);
    color: var(--success);
}

.error-notification .notification-icon {
    background: rgba(220, 53, 69, 0.15);
    color: var(--danger);
}

.notification-icon i {
    font-size: 1.3rem;
}

.notification-text h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.notification-text p {
    color: var(--gray);
    margin-bottom: 15px;
    line-height: 1.5;
}

.notification-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    max-width: 350px;
    overflow: hidden;
}

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

.notification.success {
    border-left: 4px solid var(--success);
}

.notification.error {
    border-left: 4px solid var(--danger);
}

.notification-content {
    padding: 15px 20px;
    display: flex;
    align-items: center;
}

.notification-content i {
    margin-right: 10px;
    font-size: 18px;
}

.notification-content i.fa-check-circle {
    color: var(--success);
}

.notification-content i.fa-exclamation-circle {
    color: var(--danger);
}

.notification-content p {
    margin: 0;
    font-size: 14px;
    color: var(--text-dark);
}

.notification-close {
    position: absolute;
    top: 8px;
    right: 10px;
    background: none;
    border: none;
    font-size: 18px;
    color: var(--gray);
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-close:hover {
    color: var(--text-dark);
} 