.alert-container {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 9999;
    width: 100%;
    max-width: 420px;
}

.alert-custom {
    display: flex;
    align-items: center;
    padding: 1rem;
    margin-bottom: 1rem;
    width: 100%;
    font-size: 0.95rem;
    color: #1f2937;
    background-color: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
    border-left-width: 5px;
    transition: opacity 0.5s ease, transform 0.5s ease;
    opacity: 1;
    transform: translateX(0);
}

.alert-custom.fade-out {
    opacity: 0;
    transform: translateX(20px);
}

.alert-custom--success {
    border-left-color: #22c55e;
}
.alert-custom--success .alert-custom__icon svg circle {
    fill: #22c55e;
}

.alert-custom--error {
    border-left-color: #ef4444;
}
.alert-custom--error .alert-custom__icon svg circle {
    fill: #ef4444;
}

.alert-custom--warning {
    border-left-color: #f59e0b;
}
.alert-custom--warning .alert-custom__icon svg circle {
    fill: #f59e0b;
}

.alert-custom__icon {
    flex-shrink: 0;
    margin-right: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.alert-custom__message {
    flex-grow: 1;
    margin: 0;
    padding: 0;
    font-weight: 500;
}

.alert-custom__close {
    flex-shrink: 0;
    margin-left: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    font-weight: bold;
    color: #6c757d;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.alert-custom__close:hover {
    opacity: 1;
}