/* Inline alerts for login / register / landing pages */
.login-auth-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 12px;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
    font-size: 0.84rem;
    line-height: 1.45;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.login-auth-alert--leaving {
    opacity: 0;
    transform: translateY(-4px);
}

.login-auth-alert__icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    font-size: 1.15rem;
    margin-top: 1px;
}

.login-auth-alert__body {
    flex: 1;
    min-width: 0;
}

.login-auth-alert__title {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.login-auth-alert__message {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 500;
    color: #1e293b;
}

.login-auth-alert--error {
    background: #fef2f2;
    border-color: #fecaca;
}

.login-auth-alert--error .login-auth-alert__title {
    color: #991b1b;
}

.login-auth-alert--error .login-auth-alert__icon {
    color: #dc2626;
}

.login-auth-alert--warning {
    background: #fffbeb;
    border-color: #fde68a;
}

.login-auth-alert--warning .login-auth-alert__title {
    color: #92400e;
}

.login-auth-alert--warning .login-auth-alert__icon {
    color: #d97706;
}

.login-auth-alert--success {
    background: #ecfdf5;
    border-color: #a7f3d0;
}

.login-auth-alert--success .login-auth-alert__title {
    color: #166534;
}

.login-auth-alert--success .login-auth-alert__icon {
    color: #16a34a;
}

.login-auth-alert--info {
    background: #eff6ff;
    border-color: #bfdbfe;
}

.login-auth-alert--info .login-auth-alert__title {
    color: #1e40af;
}

.login-auth-alert--info .login-auth-alert__icon {
    color: #2563eb;
}

.login-auth-alert-slot:empty {
    display: none;
    margin: 0;
}

.login-auth-alert-slot:not(:empty) {
    margin-bottom: 1.25rem;
}
