@charset "UTF-8";

/* Auth layout styling aligned with the new UI reference */
body.auth-layout {
    min-height: 100vh;
    min-height: 100svh;
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
        "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

.auth-shell {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    overflow: hidden;
}

.auth-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(900px circle at 15% 10%, hsl(var(--accent-teal) / 0.18), transparent 55%),
        linear-gradient(135deg, hsl(var(--background)), hsl(var(--background)), hsl(var(--accent-teal-subtle) / 0.25));
    pointer-events: none;
}

.auth-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 32rem;
    animation: auth-fade-in 0.35s ease both;
}

.auth-card {
    padding: 2rem;
}

@media (min-width: 768px) {
    .auth-card {
        padding: 2.5rem;
    }
}

.auth-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.auth-logo img {
    height: 2.5rem;
    width: auto;
}

.auth-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: hsl(var(--foreground));
}

.auth-subtitle,
.auth-meta {
    text-align: center;
    color: hsl(var(--muted-foreground));
    margin-bottom: 1.75rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.auth-form {
    display: grid;
    gap: 1.25rem;
}

.auth-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.auth-links {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.875rem;
}

@media (max-width: 520px) {
    .auth-links {
        flex-direction: column;
        align-items: flex-start;
    }
}

.auth-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

.auth-checkbox input {
    accent-color: hsl(var(--primary));
}

.auth-button,
.auth-input {
    height: 2.75rem;
}

.auth-alert {
    border: 1px solid transparent;
    border-radius: calc(var(--radius) - 2px);
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.auth-alert-success {
    background: hsl(var(--primary) / 0.12);
    border-color: hsl(var(--primary) / 0.35);
    color: hsl(var(--primary));
}

.auth-alert-info {
    background: hsl(var(--muted) / 0.6);
    border-color: hsl(var(--border));
    color: hsl(var(--muted-foreground));
}

.auth-alert-warning {
    background: hsl(var(--destructive) / 0.1);
    border-color: hsl(var(--destructive) / 0.3);
    color: hsl(var(--destructive));
}

.d-block {
    display: block;
}

.text-danger {
    color: hsl(var(--destructive));
}

@keyframes auth-fade-in {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
