:root {
    --auth-blue: #0878d1;
    --auth-blue-light: #08a9e8;
    --auth-cyan: #08d9ff;
    --auth-navy: #020b17;
    --auth-navy-two: #062743;
    --auth-text: #17293b;
    --auth-muted: #718296;
    --auth-border: #dce6ef;
    --auth-green: #08ae78;
}

.auth-page {
    position: relative;
    height: 100vh;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 0;
    background: radial-gradient(circle at 85% 20%, rgba(8, 120, 209, .13), transparent 32%), linear-gradient(135deg, #020b17 0%, #031a2d 52%, #062f4e 100%);
}

.auth-bg-grid {
    position: absolute;
    inset: 0;
    opacity: .18;
    background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 45px 45px;
    pointer-events: none;
}

.auth-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.auth-glow-one {
    width: 600px;
    height: 600px;
    right: -300px;
    top: -220px;
    border: 1px solid rgba(8, 217, 255, .08);
    box-shadow: 0 0 110px rgba(8, 120, 209, .08);
}

.auth-glow-two {
    width: 350px;
    height: 350px;
    left: -210px;
    bottom: -160px;
    border: 1px solid rgba(8, 217, 255, .06);
}

.auth-wrapper {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 480px;
    gap: 80px;
    align-items: center;
    width: 100%;
    max-width: 1180px;
    margin: auto;
}

.auth-intro {
    max-width: 540px;
}

.auth-brand {
    margin-bottom: 55px;
}

.auth-brand img {
    display: block;
    width: auto;
    height: 42px;
    max-width: 190px;
    object-fit: contain;
}

.auth-intro h1 {
    margin: 0 0 21px;
    color: #fff;
    font-family: "Playfair Display", serif;
    font-size: clamp(48px, 5vw, 68px);
    line-height: 1.05;
    letter-spacing: -2px;
}

.auth-intro h1 strong {
    display: block;
    color: var(--auth-cyan);
    font-weight: 500;
}

.auth-intro>p {
    max-width: 520px;
    margin: 0;
    color: #8ca2b5;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    line-height: 1.8;
}

.auth-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 38px;
}

.auth-feature {
    display: flex;
    align-items: center;
    gap: 14px;
}

.auth-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    min-width: 42px;
    border: 1px solid rgba(8, 217, 255, .12);
    border-radius: 9px;
    color: var(--auth-cyan);
    background: rgba(8, 217, 255, .055);
    font-size: 15px;
}

.auth-feature strong {
    display: block;
    margin-bottom: 4px;
    color: #eaf5fc;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 600;
}

.auth-feature span {
    display: block;
    color: #718da4;
    font-family: "Poppins", sans-serif;
    font-size: 13px;
    line-height: 1.5;
}

.auth-status {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: 42px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.auth-status-dot {
    width: 9px;
    height: 9px;
    min-width: 9px;
    border-radius: 50%;
    background: var(--auth-green);
    box-shadow: 0 0 0 4px rgba(8, 174, 120, .08);
}

.auth-status strong {
    display: block;
    margin-bottom: 3px;
    color: #dceaf4;
    font-family: "Poppins", sans-serif;
    font-size: 13px;
    font-weight: 600;
}

.auth-status small {
    display: block;
    color: #678198;
    font-family: "Poppins", sans-serif;
    font-size: 12px;
}

.auth-card {
    width: 100%;
    padding: 34px;
    border: 1px solid rgba(255, 255, 255, .75);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 35px 90px rgba(0, 0, 0, .25);
}

.auth-card-header {
    margin-bottom: 25px;
}

.auth-card-header h2 {
    margin: 0 0 7px;
    color: var(--auth-text);
    font-family: "Playfair Display", serif;
    font-size: 30px;
    line-height: 1.2;
}

.auth-card-header p {
    margin: 0;
    color: var(--auth-muted);
    font-family: "Poppins", sans-serif;
    font-size: 12px;
    line-height: 1.6;
}

.auth-step-indicator {
    display: flex;
    align-items: center;
    width: 100%;
    margin-bottom: 22px;
}

.auth-step {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #a4b1bd;
    font-family: "Poppins", sans-serif;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.auth-step span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 1px solid #dce5ec;
    border-radius: 50%;
    color: #9aa8b5;
    background: #fff;
    font-size: 11px;
    transition: .25s ease;
}

.auth-step.active {
    color: var(--auth-blue);
}

.auth-step.active span,
.auth-step.completed span {
    border-color: var(--auth-blue);
    color: #fff;
    background: var(--auth-blue);
}

.auth-step.completed {
    color: var(--auth-blue);
}

.auth-step-line {
    flex: 1;
    height: 1px;
    margin: 0 12px;
    background: #e4ebf1;
}

.auth-form-step {
    display: none;
}

.auth-form-step.active {
    display: block;
    animation: authStepIn .25s ease;
}

@keyframes authStepIn {
    from {
        opacity: 0;
        transform: translateX(10px);
    }

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

.auth-error {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-bottom: 20px;
    padding: 14px;
    border: 1px solid #f1cccc;
    border-radius: 8px;
    color: #a83d3d;
    background: #fff6f6;
    font-family: "Poppins", sans-serif;
    font-size: 13px;
}

.auth-error-icon {
    font-size: 15px;
}

.auth-error strong {
    display: block;
    margin-bottom: 5px;
    font-size: 13px;
}

.auth-error ul {
    margin: 0;
    padding-left: 15px;
}

.auth-error li {
    font-size: 12px;
    line-height: 1.6;
}

.auth-field {
    margin-bottom: 16px;
}

.auth-field label {
    display: block;
    margin-bottom: 6px;
    color: #536579;
    font-family: "Poppins", sans-serif;
    font-size: 12px;
    font-weight: 600;
}

.auth-optional {
    margin-left: 4px;
    color: #9aa8b5;
    font-size: 10px;
    font-weight: 400;
}

.auth-password-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 7px;
}

.auth-password-label label {
    margin-bottom: 0;
}

.auth-password-label a {
    color: var(--auth-blue);
    text-decoration: none;
    font-family: "Poppins", sans-serif;
    font-size: 12px;
    font-weight: 600;
    transition: .2s ease;
}

.auth-password-label a:hover {
    color: var(--auth-blue-light);
}

.auth-input {
    position: relative;
}

.auth-input>i {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    color: #91a1b0;
    font-size: 14px;
    pointer-events: none;
}

.auth-input input,
.auth-input select {
    width: 100%;
    height: 47px;
    padding: 0 42px;
    border: 1px solid var(--auth-border);
    border-radius: 7px;
    outline: none;
    color: var(--auth-text);
    background: #fbfdff;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    transition: .25s ease;
}

.auth-input input::placeholder {
    color: #abb7c3;
}

.auth-input input:focus,
.auth-input select:focus {
    border-color: var(--auth-blue);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(8, 120, 209, .07);
}

.auth-input select {
    padding-right: 38px;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16'%3E%3Cpath fill='%2391a1b0' d='M4 6l4 4 4-4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 13px center;
}

.auth-password-toggle {
    position: absolute;
    top: 50%;
    right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    transform: translateY(-50%);
    color: #8da0b1;
    background: transparent;
    cursor: pointer;
    transition: .2s ease;
}

.auth-password-toggle:hover {
    color: var(--auth-blue);
}

.auth-password-toggle i {
    font-size: 15px;
}

.auth-password-strength {
    display: none;
    margin-top: -6px;
    margin-bottom: 17px;
}

.auth-password-strength.show {
    display: block;
}

.auth-strength-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 7px;
    font-family: "Poppins", sans-serif;
}

.auth-strength-header span {
    color: #8a98a6;
    font-size: 10px;
}

.auth-strength-header strong {
    color: #9aa8b5;
    font-size: 10px;
    font-weight: 600;
}

.auth-strength-bar {
    width: 100%;
    height: 4px;
    overflow: hidden;
    border-radius: 10px;
    background: #e9eef3;
}

.auth-strength-bar span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: 10px;
    background: #e9eef3;
    transition: width .3s ease, background .3s ease;
}

.auth-password-requirements {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 12px;
    margin-top: 9px;
}

.auth-password-requirements span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #9aa8b5;
    font-family: "Poppins", sans-serif;
    font-size: 9px;
    transition: .2s ease;
}

.auth-password-requirements i {
    font-size: 8px;
}

.auth-password-requirements span.valid {
    color: var(--auth-green);
}

.auth-password-requirements span.valid i {
    color: var(--auth-green);
}

.auth-password-requirements span.valid i::before {
    content: "\f26a";
}

.auth-password-strength.weak .auth-strength-bar span {
    background: #dc4b4b;
}

.auth-password-strength.fair .auth-strength-bar span {
    background: #e99a32;
}

.auth-password-strength.good .auth-strength-bar span {
    background: #d5b52d;
}

.auth-password-strength.strong .auth-strength-bar span {
    background: #08ae78;
}

.auth-password-strength.weak .auth-strength-header strong {
    color: #dc4b4b;
}

.auth-password-strength.fair .auth-strength-header strong {
    color: #e99a32;
}

.auth-password-strength.good .auth-strength-header strong {
    color: #c29f16;
}

.auth-password-strength.strong .auth-strength-header strong {
    color: #08ae78;
}

@media (max-width:575px) {
    .auth-password-requirements {
        gap: 5px 9px;
    }

    .auth-password-requirements span {
        font-size: 8px;
    }
}

.auth-field-error {
    display: block;
    margin-top: 5px;
    color: #d44d4d;
    font-family: "Poppins", sans-serif;
    font-size: 11px;
}

.auth-billing-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 17px;
    padding: 11px 12px;
    border: 1px solid #e6eef4;
    border-radius: 8px;
    background: #f8fbfd;
}

.auth-billing-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 7px;
    color: var(--auth-blue);
    background: #e8f4fc;
}

.auth-billing-title strong {
    display: block;
    margin-bottom: 2px;
    color: var(--auth-text);
    font-family: "Poppins", sans-serif;
    font-size: 12px;
    font-weight: 600;
}

.auth-billing-title span {
    display: block;
    color: #8998a6;
    font-family: "Poppins", sans-serif;
    font-size: 10px;
}

.auth-billing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.auth-remember {
    position: relative;
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 3px 0 18px;
    cursor: pointer;
}

.auth-remember input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.auth-remember span {
    position: relative;
    width: 17px;
    height: 17px;
    min-width: 17px;
    border: 1px solid #cbd8e3;
    border-radius: 4px;
    background: #fff;
    transition: .2s ease;
}

.auth-remember input:checked+span {
    border-color: var(--auth-blue);
    background: var(--auth-blue);
}

.auth-remember input:checked+span::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 5px;
    width: 4px;
    height: 8px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
}

.auth-remember p {
    margin: 0;
    color: #8593a1;
    font-family: "Poppins", sans-serif;
    font-size: 11px;
    line-height: 1.5;
}

.auth-remember a {
    color: var(--auth-blue);
    text-decoration: none;
}

.auth-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    height: 48px;
    border: 0;
    border-radius: 7px;
    color: #fff;
    background: linear-gradient(100deg, #076bb8, #08a7e6);
    font-family: "Poppins", sans-serif;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: .3s ease;
}

.auth-submit:hover {
    transform: translateY(-2px);
}

.auth-submit i {
    transition: .2s ease;
}

.auth-submit:hover i {
    transform: translateX(3px);
}

.auth-button-group {
    display: grid;
    grid-template-columns: 105px 1fr;
    gap: 10px;
}

.auth-back-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    height: 48px;
    border: 1px solid #dce5ec;
    border-radius: 7px;
    color: #657686;
    background: #fff;
    font-family: "Poppins", sans-serif;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: .2s ease;
}

.auth-back-button:hover {
    border-color: #b9cbd9;
    color: var(--auth-blue);
    background: #f8fbfd;
}

.auth-register {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 20px;
    font-family: "Poppins", sans-serif;
}

.auth-register span {
    color: #8b99a7;
    font-size: 11px;
}

.auth-register a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--auth-blue);
    text-decoration: none;
    font-size: 11px;
    font-weight: 600;
    transition: .2s ease;
}

.auth-register a:hover {
    color: var(--auth-blue-light);
}

.auth-security {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #edf1f4;
    color: #9aa8b5;
    font-family: "Poppins", sans-serif;
    font-size: 10px;
}

.auth-security i {
    color: var(--auth-green);
    font-size: 12px;
}

@media (max-width:1200px) {
    .auth-wrapper {
        max-width: 1050px;
        grid-template-columns: minmax(0, 1fr) 460px;
        gap: 55px;
    }
}

@media (max-width:991px) {
    .auth-page {
        height: 100vh;
        min-height: 100vh;
        padding: 30px 20px;
        overflow-y: auto;
    }

    .auth-intro {
        display: none;
    }

    .auth-wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        max-width: 520px;
        margin: auto;
    }

    .auth-card {
        width: 100%;
        max-width: 520px;
        margin: auto;
    }
}

@media (max-width:575px) {
    .auth-page {
        height: 100vh;
        min-height: 100vh;
        padding: 20px 15px;
    }

    .auth-wrapper {
        width: 100%;
        max-width: 100%;
    }

    .auth-card {
        width: 100%;
        padding: 27px 20px;
        border-radius: 12px;
    }

    .auth-card-header {
        margin-bottom: 22px;
    }

    .auth-card-header h2 {
        font-size: 27px;
    }

    .auth-card-header p {
        font-size: 11px;
    }

    .auth-step small {
        display: none;
    }

    .auth-step-line {
        margin: 0 7px;
    }

    .auth-input input,
    .auth-input select {
        height: 47px;
        font-size: 16px;
    }

    .auth-billing-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .auth-submit,
    .auth-back-button {
        height: 48px;
    }

    .auth-button-group {
        grid-template-columns: 95px 1fr;
    }

    .auth-register {
        flex-wrap: wrap;
    }

    .auth-security {
        font-size: 9px;
        text-align: center;
    }
}

@media (max-width:380px) {
    .auth-page {
        padding: 15px 10px;
    }

    .auth-card {
        padding: 23px 16px;
    }

    .auth-card-header h2 {
        font-size: 25px;
    }

    .auth-card-header p {
        font-size: 10px;
    }

    .auth-input input,
    .auth-input select {
        height: 45px;
        font-size: 16px;
    }

    .auth-submit,
    .auth-back-button {
        height: 46px;
        font-size: 12px;
    }

    .auth-security {
        font-size: 9px;
    }
}

.auth-phone-input {
    width: 100%;
}

.auth-phone-input .iti {
    width: 100%;
}

.auth-phone-input .iti__tel-input {
    width: 100%;
    height: 47px;
    padding-left: 95px;
    padding-right: 0 42px;
    border: 1px solid var(--auth-border);
    border-radius: 7px;
    outline: none;
    color: var(--auth-text);
    background: #fbfdff;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    transition: .25s ease;
}

.auth-phone-input .iti__tel-input::placeholder {
    color: #abb7c3;
}

.auth-phone-input .iti__tel-input:focus {
    border-color: var(--auth-blue);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(8, 120, 209, .07);
}

.auth-phone-input .iti__selected-country {
    border-radius: 7px 0 0 7px;
}

.auth-phone-input .iti__country-container {
    z-index: 5;
}

@media (max-width:575px) {
    .auth-phone-input .iti__tel-input {
        height: 47px;
        font-size: 16px;
    }
}