:root {
    --platzify-auth-ink: #17312f;
    --platzify-auth-muted: #5e6d69;
    --platzify-auth-primary: #c1ed00;
    --platzify-auth-surface: rgba(255, 255, 255, .86);
    --platzify-auth-border: rgba(23, 49, 47, .13);
    --platzify-auth-radius: 24px;
}

.platzify-auth-page {
    background: #f6f8ef;
    color: var(--platzify-auth-ink);
    min-width: 320px;
}

.platzify-auth,
.platzify-auth * {
    box-sizing: border-box;
}

.platzify-auth {
    align-items: center;
    background:
        radial-gradient(circle at 14% 8%, rgba(193, 237, 0, .34), transparent 26rem),
        radial-gradient(circle at 92% 88%, rgba(67, 212, 160, .18), transparent 24rem),
        #f6f8ef;
    display: flex;
    min-height: 100vh;
    padding: clamp(20px, 4vw, 64px);
}

.platzify-auth__shell {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(380px, .94fr);
    margin: auto;
    max-width: 1240px;
    min-height: min(700px, calc(100vh - 64px));
    overflow: hidden;
    width: 100%;
}

.platzify-auth__card {
    border-radius: 28px;
    box-shadow: 0 24px 70px rgba(18, 45, 38, .10);
    overflow: hidden;
}

.platzify-auth__visual,
.platzify-auth__panel {
    padding: clamp(32px, 5vw, 72px);
}

.platzify-auth__visual {
    background: linear-gradient(145deg, #17312f 0%, #214a42 55%, #2d6659 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    position: relative;
}

.platzify-auth__visual::after {
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 50%;
    content: '';
    height: 26rem;
    position: absolute;
    right: -11rem;
    top: 14%;
    width: 26rem;
}

.platzify-auth__visual-brand {
    display: inline-flex;
    position: relative;
    width: fit-content;
    z-index: 1;
}

.platzify-auth__visual-brand img {
    height: auto;
    max-height: 34px;
    max-width: 156px;
    width: auto;
}

.platzify-auth__visual-copy {
    max-width: 490px;
    position: relative;
    z-index: 1;
}

.platzify-auth__eyebrow {
    color: inherit;
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    line-height: 1.4;
    text-transform: uppercase;
}

.platzify-auth__visual .platzify-auth__eyebrow {
    color: var(--platzify-auth-primary);
    margin-bottom: 20px;
}

.platzify-auth__visual h2 {
    color: #fff;
    font-size: clamp(38px, 4vw, 64px);
    letter-spacing: -.055em;
    line-height: .98;
    margin: 0;
    max-width: 600px;
}

.platzify-auth__visual p {
    color: rgba(255, 255, 255, .78);
    font-size: 17px;
    line-height: 1.65;
    margin: 26px 0 0;
    max-width: 440px;
}

.platzify-auth__visual-orb {
    border-radius: 50%;
    filter: blur(1px);
    pointer-events: none;
    position: absolute;
}

.platzify-auth__visual-orb--one {
    background: rgba(193, 237, 0, .27);
    bottom: -10rem;
    height: 22rem;
    left: -8rem;
    width: 22rem;
}

.platzify-auth__visual-orb--two {
    background: rgba(255, 255, 255, .09);
    height: 13rem;
    right: -4rem;
    top: -5rem;
    width: 13rem;
}

.platzify-auth__panel {
    background: var(--platzify-auth-surface);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.platzify-auth__panel-inner {
    margin: auto;
    max-width: 430px;
    width: 100%;
}

.platzify-auth__intro {
    max-width: 430px;
}

.platzify-auth__intro .platzify-auth__eyebrow {
    color: #537116;
    margin-bottom: 12px;
}

.platzify-auth__intro h1 {
    color: var(--platzify-auth-ink);
    font-size: clamp(32px, 3vw, 46px);
    letter-spacing: -.05em;
    line-height: 1;
    margin: 0;
}

.platzify-auth__intro p {
    color: var(--platzify-auth-muted);
    font-size: 16px;
    line-height: 1.6;
    margin: 12px 0 22px;
}

.platzify-auth__progress {
    color: var(--platzify-auth-muted);
    display: grid;
    font-size: 12px;
    font-weight: 700;
    gap: 10px;
    letter-spacing: .04em;
    margin: 0 0 18px;
    text-transform: uppercase;
}

.platzify-auth__progress-track {
    display: flex;
    max-width: 245px;
}

.platzify-auth--login .platzify-auth__progress-track {
    max-width: 170px;
}

.platzify-auth__progress-track span {
    align-items: center;
    background: #dce3dd;
    border: 2px solid #dce3dd;
    border-radius: 50%;
    display: flex;
    height: 12px;
    position: relative;
    transition: background-color .2s ease, border-color .2s ease;
    width: 12px;
}

.platzify-auth__progress-track span:not(:last-child) {
    margin-right: auto;
}

.platzify-auth__progress-track span:not(:last-child)::after {
    background: #dce3dd;
    content: '';
    height: 2px;
    left: 10px;
    position: absolute;
    top: 3px;
    transition: background-color .2s ease;
    width: calc(100% + 56px);
}

.platzify-auth__progress-track span.is-complete,
.platzify-auth__progress-track span.is-current {
    background: var(--platzify-auth-primary);
    border-color: #9ec600;
}

.platzify-auth__progress-track span.is-complete:not(:last-child)::after {
    background: #b7df00;
}

.platzify-auth__form {
    max-width: 430px;
}

.platzify-auth__step {
    display: none;
}

.platzify-auth__step.is-active {
    animation: platzify-auth-step-in .2s ease-out;
    display: block;
}

.platzify-auth__step-navigation {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin-top: 22px;
}

.platzify-auth__step-button {
    align-items: center;
    border: 1px solid transparent;
    border-radius: 14px;
    cursor: pointer;
    display: inline-flex;
    font-size: 15px;
    font-weight: 750;
    justify-content: center;
    min-height: 48px;
    padding: 11px 18px;
}

.platzify-auth__step-button--next {
    background: var(--platzify-auth-primary);
    border-color: var(--platzify-auth-primary);
    color: var(--platzify-auth-ink);
    margin-left: auto;
    min-width: 150px;
}

.platzify-auth__step-button--prev {
    background: transparent;
    color: var(--platzify-auth-ink);
    padding-left: 0;
}

.platzify-auth__step-navigation button[type='submit'],
.platzify-auth__step-navigation input[type='submit'] {
    margin: 0;
    min-height: 48px;
    width: auto;
}

.platzify-auth__step-error {
    color: #b42318;
    font-size: 13px;
    line-height: 1.45;
    margin: 7px 0 0;
}

.platzify-auth__form .form-check {
    align-items: center;
    display: inline-flex;
    gap: 9px;
}

.platzify-auth__form .form-check-input[type='checkbox'] {
    appearance: auto;
    flex: 0 0 18px;
    height: 18px;
    margin: 0;
    min-height: 18px;
    min-width: 18px;
    padding: 0;
    width: 18px;
}

@keyframes platzify-auth-step-in {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.platzify-auth__form .form-group,
.platzify-auth__form .mb-3 {
    margin-bottom: 14px;
}

.platzify-auth__form label {
    color: var(--platzify-auth-ink);
    display: block;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.35;
    margin-bottom: 8px;
}

.platzify-auth__form .form-control,
.platzify-auth__form input:not([type='checkbox']):not([type='radio']),
.platzify-auth__form select,
.platzify-auth__form textarea {
    background: rgba(255, 255, 255, .88);
    border: 1px solid var(--platzify-auth-border);
    border-radius: 14px;
    box-shadow: 0 2px 0 rgba(23, 49, 47, .02);
    color: var(--platzify-auth-ink);
    font-size: 16px;
    line-height: 1.4;
    min-height: 52px;
    padding: 13px 15px;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
    width: 100%;
}

.platzify-auth__form .form-control:focus,
.platzify-auth__form input:not([type='checkbox']):not([type='radio']):focus,
.platzify-auth__form select:focus,
.platzify-auth__form textarea:focus {
    background: #fff;
    border-color: #8aae00;
    box-shadow: 0 0 0 4px rgba(193, 237, 0, .25);
    outline: 0;
}

.platzify-auth__form input::placeholder,
.platzify-auth__form textarea::placeholder {
    color: #8b9793;
}

.platzify-auth__form input:-webkit-autofill,
.platzify-auth__form input:-webkit-autofill:hover,
.platzify-auth__form input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #fff inset;
    -webkit-text-fill-color: var(--platzify-auth-ink);
}

.platzify-auth__form .invalid-feedback,
.platzify-auth__form .text-danger,
.platzify-auth__form .help-block {
    color: #b42318;
    display: block;
    font-size: 13px;
    line-height: 1.45;
    margin-top: 7px;
}

.platzify-auth__form .is-invalid {
    border-color: #d92d20;
}

.platzify-auth__form .cb-container {
    align-items: flex-start;
    color: var(--platzify-auth-muted);
    cursor: pointer;
    display: inline-flex;
    font-size: 14px;
    gap: 10px;
    line-height: 1.45;
}

.platzify-auth__form .cb-container input {
    accent-color: #749700;
    height: 18px;
    margin: 1px 0 0;
    min-height: 18px;
    min-width: 18px;
    width: 18px;
}

.platzify-auth__form .checkmark {
    display: none;
}

.platzify-auth__form a {
    color: #567617;
    font-weight: 650;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.platzify-auth__form a:hover {
    color: var(--platzify-auth-ink);
}

.platzify-auth__form button[type='submit'],
.platzify-auth__form input[type='submit'],
.platzify-auth__form .btn.btn-default {
    align-items: center;
    background: var(--platzify-auth-primary);
    border: 1px solid var(--platzify-auth-primary);
    border-radius: 14px;
    box-shadow: 0 10px 22px rgba(98, 131, 0, .2);
    color: var(--platzify-auth-ink);
    cursor: pointer;
    display: inline-flex;
    font-size: 15px;
    font-weight: 750;
    justify-content: center;
    margin-top: 8px;
    min-height: 54px;
    padding: 14px 18px;
    transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease;
    width: 100%;
}

.platzify-auth__form button[type='submit']:hover,
.platzify-auth__form input[type='submit']:hover,
.platzify-auth__form .btn.btn-default:hover {
    background: #d4f95b;
    box-shadow: 0 14px 28px rgba(98, 131, 0, .28);
    color: var(--platzify-auth-ink);
    transform: translateY(-1px);
}

.platzify-auth__form button[type='submit']:focus-visible,
.platzify-auth__form input[type='submit']:focus-visible,
.platzify-auth__form .btn.btn-default:focus-visible {
    outline: 3px solid rgba(23, 49, 47, .35);
    outline-offset: 3px;
}

.platzify-auth__form .mt-3.text-center {
    color: var(--platzify-auth-muted);
    font-size: 14px;
    line-height: 1.5;
    margin-top: 16px !important;
}

@media (min-width: 992px) {
    .platzify-auth-page {
        height: 100dvh;
        overflow: hidden;
    }

    .platzify-auth {
        height: 100dvh;
        min-height: 0;
        overflow: hidden;
        padding: clamp(16px, 3vh, 32px) clamp(24px, 4vw, 56px);
    }

    .platzify-auth__shell {
        height: min(660px, calc(100dvh - clamp(32px, 6vh, 64px)));
        min-height: 0;
    }

    .platzify-auth--login .platzify-auth__shell {
        height: min(600px, calc(100dvh - clamp(32px, 6vh, 64px)));
    }

    .platzify-auth--register .platzify-auth__shell {
        height: min(650px, calc(100dvh - clamp(32px, 6vh, 64px)));
    }

    .platzify-auth__visual,
    .platzify-auth__panel {
        padding: clamp(24px, 4vh, 38px) clamp(30px, 4.5vw, 56px);
    }

    .platzify-auth__panel {
        overflow: visible;
    }

    .platzify-auth__visual h2 {
        font-size: clamp(38px, 3.7vw, 52px);
    }

    .platzify-auth__intro p {
        margin-bottom: 16px;
    }

    .platzify-auth__form .form-group,
    .platzify-auth__form .mb-3 {
        margin-bottom: 10px;
    }

    .platzify-auth__form .form-control,
    .platzify-auth__form input:not([type='checkbox']):not([type='radio']),
    .platzify-auth__form select,
    .platzify-auth__form textarea {
        min-height: 48px;
        padding: 10px 14px;
    }

    .platzify-auth__form button[type='submit'],
    .platzify-auth__form input[type='submit'],
    .platzify-auth__form .btn.btn-default {
        min-height: 48px;
        padding: 11px 18px;
    }

    .platzify-auth__form .mt-3.text-center {
        margin-top: 16px !important;
    }

    .platzify-auth--register .platzify-auth__intro p {
        margin-bottom: 16px;
    }
}

@media (max-width: 991px) {
    .platzify-auth {
        align-items: flex-start;
        padding: 20px;
    }

    .platzify-auth__shell {
        display: block;
        max-width: 620px;
        min-height: auto;
    }

    .platzify-auth__card {
        border-radius: 24px;
    }

    .platzify-auth__visual {
        display: none;
    }

    .platzify-auth__panel {
        border-radius: var(--platzify-auth-radius);
        min-height: calc(100vh - 40px);
    }
}

@media (max-width: 575px) {
    .platzify-auth {
        padding: 12px;
    }

    .platzify-auth__shell,
    .platzify-auth__panel {
        min-height: calc(100dvh - 24px);
    }

    .platzify-auth__panel {
        padding: 30px 22px;
    }

    .platzify-auth__card {
        border-radius: 20px;
    }

    .platzify-auth__intro p {
        margin-bottom: 26px;
    }
}
