/* =========================================================
   Sign-in page
   ========================================================= */

.signin {
    max-width: 420px;
    margin: 0 auto;
    padding: 2rem 0 3rem;
}

.signin__card {
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 14px 40px color-mix(in srgb, var(--color-text-main) 12%, transparent);
}

/* Brand header */
.signin__brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.35rem 1.5rem;
    background: linear-gradient(180deg, var(--color-bg-primary-soft) 0%, var(--color-bg-surface) 100%);
    border-bottom: 1px solid var(--color-border-soft);
}

.signin__logo {
    width: 92px;
    height: 64px;
    flex: 0 0 auto;
    object-fit: contain;
    border-radius: 12px;
}

.signin__brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.signin__brand-name {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-text-main);
}

/* Reserved empty space (previously the step progress indicator) */
.signin__spacer {
    padding: 1.1rem 1.5rem;
    border-bottom: 1px solid var(--color-border-soft);
}

.signin__spacer::before {
    content: "";
    display: block;
    height: 1.7rem;
}

/* Body */
.signin__body {
    padding: 1.5rem;
}

.signin__heading {
    margin-bottom: 1.25rem;
}

/* Divider */
.signin__divider {
    margin: 0.25rem 0;
    border: 0;
    border-top: 1px solid var(--color-border);
}

/* Honeypot (spam trap) */
.ajus-honeypot {
    position: absolute;
    left: -9999px;
    top: -9999px;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* OTP inputs */
.otp-inputs {
    display: flex;
    gap: 0.6rem;
    justify-content: space-between;
}

.otp-input {
    width: 100%;
    min-width: 0;
    height: 3.4rem;
    padding: 0;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    border-radius: 0.8rem;
}

/* Resend counter */
#resendCounter {
    margin-top: -0.25rem;
}

/* Responsive */
@media (max-width: 480px) {
    .signin {
        padding: 1rem 0 2rem;
    }

    .signin__brand,
    .signin__spacer,
    .signin__body {
        padding-left: 1.1rem;
        padding-right: 1.1rem;
    }

    .otp-input {
        height: 3rem;
        font-size: 1.3rem;
    }
}
