/*!
 * Finzyro auth — neat & clean
 */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700&display=swap');

.fz-auth {
    --fz-navy: #09265c;
    --fz-teal: #0a8e86;
    --fz-mint: #12d6b0;
    --fz-ink: #1a2433;
    --fz-muted: #667685;
    --fz-line: #dfe5ec;
    --fz-soft: #f5f7fa;
    --fz-font: "DM Sans", system-ui, sans-serif;
    min-height: 100vh;
    margin: 0;
    font-family: var(--fz-font);
    color: var(--fz-ink);
    background: var(--fz-soft);
}

.fz-auth *,
.fz-auth *::before,
.fz-auth *::after { box-sizing: border-box; }

.fz-auth-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

/* Left brand panel */
.fz-auth-hero {
    position: relative;
    background: var(--fz-navy);
    color: #fff;
    padding: 2.5rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.fz-auth-hero::after {
    content: "";
    position: absolute;
    inset: auto -20% -30% auto;
    width: 70%;
    height: 70%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(10, 142, 134, 0.45), transparent 70%);
    pointer-events: none;
}

.fz-auth-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 420px;
}

.fz-auth-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: #fff;
    margin-bottom: 2.5rem;
}

.fz-auth-logo img {
    height: 56px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
}

.fz-auth-logo__mark {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(255,255,255,0.12);
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 1.25rem;
}

.fz-auth-logo__text {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.fz-auth-hero h1 {
    font-size: clamp(1.75rem, 2.5vw, 2.25rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin: 0 0 0.85rem;
    color: #ffffff;
}

.fz-auth-hero > .fz-auth-hero__inner > p {
    margin: 0 0 2rem;
    font-size: 1rem;
    line-height: 1.55;
    color: rgba(255,255,255,0.78);
}

.fz-auth-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.85rem;
}

.fz-auth-steps li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.92);
}

.fz-auth-steps .n {
    flex: 0 0 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--fz-teal);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    display: grid;
    place-items: center;
}

/* Right form panel */
.fz-auth-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
    background: #fff;
}

.fz-auth-panel__inner {
    width: 100%;
    max-width: 400px;
}

.fz-auth-panel__inner--wide {
    max-width: 560px;
}

.fz-auth-panel h2 {
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--fz-navy);
    letter-spacing: -0.02em;
    margin: 0 0 0.35rem;
}

.fz-auth-panel__lead {
    margin: 0 0 1.75rem;
    color: var(--fz-muted);
    font-size: 0.95rem;
    line-height: 1.45;
}

.fz-auth .form-label {
    display: block;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--fz-ink);
    margin-bottom: 0.4rem;
}

.fz-auth .form-hint {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.8rem;
    color: var(--fz-muted);
}

.fz-auth .form-control {
    width: 100%;
    min-height: 48px;
    border-radius: 10px;
    border: 1.5px solid var(--fz-line);
    background: #fff;
    padding: 0.65rem 0.9rem;
    font-size: 0.95rem;
    color: var(--fz-ink);
    transition: border-color 0.15s, box-shadow 0.15s;
}

.fz-auth .form-control::placeholder {
    color: #9aa6b2;
}

.fz-auth .form-control:hover {
    border-color: #c5ced8;
}

.fz-auth .form-control:focus {
    outline: 0;
    border-color: var(--fz-teal);
    box-shadow: 0 0 0 3px rgba(10, 142, 134, 0.18);
}

.fz-auth .form-control.is-invalid {
    border-color: #e55353;
}

.fz-auth .auth-pass-inputgroup {
    position: relative;
}

.fz-auth .auth-pass-inputgroup .form-control {
    padding-right: 3rem;
}

.fz-auth .password-addon {
    position: absolute;
    right: 0;
    top: 0;
    width: 48px;
    height: 48px;
    border: 0;
    background: transparent;
    color: var(--fz-muted);
    display: grid;
    place-items: center;
    cursor: pointer;
}

.fz-auth .password-addon:hover {
    color: var(--fz-navy);
}

.fz-auth .form-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.fz-auth .form-check-input {
    width: 1.1rem;
    height: 1.1rem;
    margin: 0;
    border: 1.5px solid var(--fz-line);
    border-radius: 4px;
}

.fz-auth .form-check-input:checked {
    background-color: var(--fz-teal);
    border-color: var(--fz-teal);
}

.fz-auth .form-check-label {
    font-size: 0.9rem;
    color: var(--fz-muted);
    cursor: pointer;
}

.fz-auth-btn {
    width: 100%;
    min-height: 50px;
    margin-top: 0.25rem;
    border: 0;
    border-radius: 10px;
    background: var(--fz-teal);
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s, transform 0.1s;
}

.fz-auth-btn:hover {
    background: #087a73;
    color: #fff;
}

.fz-auth-btn:active {
    transform: translateY(1px);
}

.fz-auth-links {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--fz-line);
    text-align: center;
    font-size: 0.925rem;
    color: var(--fz-muted);
}

.fz-auth-links a {
    color: var(--fz-navy);
    font-weight: 700;
    text-decoration: none;
}

.fz-auth-links a:hover {
    color: var(--fz-teal);
    text-decoration: underline;
}

.fz-auth-foot {
    margin-top: 1.75rem;
    text-align: center;
    font-size: 0.8rem;
    color: #929aa6;
}

.fz-auth-alert {
    border-radius: 10px;
    padding: 0.85rem 1rem;
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
    line-height: 1.4;
}

.fz-auth-alert--danger {
    background: #fef3f2;
    color: #b42318;
    border: 1px solid #fecdca;
}

.fz-auth-alert--success {
    background: #ecfdf3;
    color: #067647;
    border: 1px solid #abefc6;
}

.fz-auth-section-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--fz-teal);
    margin: 0 0 0.75rem;
}

.fz-auth-field {
    margin-bottom: 1.15rem;
}

.fz-auth-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.35rem;
}

@media (max-width: 900px) {
    .fz-auth-shell {
        grid-template-columns: 1fr;
    }

    .fz-auth-hero {
        padding: 1.5rem 1.25rem 1.75rem;
        min-height: auto;
    }

    .fz-auth-hero h1 {
        font-size: 1.45rem;
        margin-bottom: 0.5rem;
    }

    .fz-auth-hero > .fz-auth-hero__inner > p,
    .fz-auth-steps {
        display: none;
    }

    .fz-auth-logo {
        margin-bottom: 0;
    }

    .fz-auth-panel {
        padding: 1.75rem 1.25rem 2.5rem;
        align-items: flex-start;
    }
}
