.auth-alert-slot {
    margin-bottom: 12px;
    min-height: 0;
    transition: min-height 0.25s ease;
}

.auth-alert-slot.is-visible {
    min-height: 48px;
}

.auth-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.auth-alert.is-showing {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.auth-alert.is-hiding {
    opacity: 0;
    transform: translateY(-4px);
}

.auth-alert--error {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border: 1px solid #fecaca;
    color: #b91c1c;
}

.auth-alert--success {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border: 1px solid #a7f3d0;
    color: #047857;
}

.auth-alert__icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.auth-alert__text {
    flex: 1;
}

@media (max-width: 480px) {
    .auth-alert {
        font-size: 13px;
        padding: 11px 12px;
    }

    .auth-alert-slot.is-visible {
        min-height: 44px;
    }
}
