:root {
    --auth-orange: #e73a18;
    --auth-orange-dark: #c92f12;
    --auth-blue: #0879c9;
    --auth-ink: #11130f;
    --auth-copy: #646a64;
    --auth-border: #dfe3dc;
    --auth-soft: #f5f6f2;
    --auth-danger: #c82b22
}

* {
    box-sizing: border-box;
    letter-spacing: 0
}

html {
    background: #fff
}

body.auth-page {
    min-height: 100vh;
    margin: 0;
    background: #fff;
    color: var(--auth-ink);
    font-family: Poppins, Arial, sans-serif
}

.auth-shell {
    display: grid;
    grid-template-columns: minmax(390px, 44%) minmax(0, 56%);
    min-height: 100vh
}

.auth-brand-panel {
    position: sticky;
    top: 0;
    isolation: isolate;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    height: 100vh;
    padding: 42px 48px;
    background-color: #171a17;
    background-image: var(--auth-background-image);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    color: #fff;
    overflow: hidden
}

.auth-brand-panel:before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background: rgba(12, 14, 12, .69)
}

.auth-brand {
    display: inline-flex;
    width: max-content;
}

.auth-brand img {
    display: block;
    width: 200px;
    height: auto
}

.auth-brand-copy {
    max-width: 560px
}

.auth-brand-copy>span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, .34);
    border-radius: 4px;
    color: #fff;
    font: 600 11px/1 Montserrat, Arial, sans-serif;
    text-transform: uppercase
}

.auth-brand-copy h1 {
    margin: 20px 0 0;
    color: #fff;
    font: 700 43px/1.2 Montserrat, Arial, sans-serif
}

.auth-brand-copy>p {
    max-width: 520px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, .8);
    font-size: 15px;
    line-height: 1.8
}

.auth-brand-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px
}

.auth-brand-points span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 4px;
    background: rgba(255, 255, 255, .08);
    font: 600 12px/1 Montserrat, Arial, sans-serif
}

.auth-brand-points i {
    color: #ff765b;
    font-size: 15px
}

.auth-brand-panel>small {
    color: rgba(255, 255, 255, .65);
    font-size: 11px
}

.auth-main {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    min-width: 0;
    padding: 72px 44px 48px;
    background: #fff
}

.auth-back-home {
    position: absolute;
    top: 30px;
    right: 38px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #555b55;
    font: 600 12px/1 Montserrat, Arial, sans-serif;
    text-decoration: none
}

.auth-back-home i {
    font-size: 14px
}

.auth-back-home:hover {
    color: var(--auth-orange)
}

.auth-card {
    width: min(100%, 500px)
}

.auth-register-page .auth-card {
    width: min(100%, 690px)
}

.auth-card-heading>span {
    color: var(--auth-orange);
    font: 700 11px/1.4 Montserrat, Arial, sans-serif;
    text-transform: uppercase
}

.auth-card h2 {
    margin: 9px 0 0;
    color: var(--auth-ink);
    font: 700 31px/1.25 Montserrat, Arial, sans-serif
}

.auth-subtitle {
    margin: 10px 0 30px;
    color: var(--auth-copy);
    font-size: 14px;
    line-height: 1.7
}

.auth-card form {
    margin: 0
}

.auth-field {
    margin-bottom: 18px
}

.auth-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px
}

.auth-form-grid .auth-field {
    min-width: 0
}

.auth-card .form-label,
.auth-role-fieldset legend {
    display: block;
    margin: 0 0 8px;
    color: #2d322d;
    font: 600 12px/1.4 Montserrat, Arial, sans-serif
}

.auth-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px
}

.auth-input {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    align-items: center;
    min-height: 50px;
    padding: 0 13px;
    border: 1px solid var(--auth-border);
    border-radius: 5px;
    background: #fff
}

.auth-input:focus-within {
    border-color: var(--auth-orange);
    box-shadow: 0 0 0 3px rgba(231, 58, 24, .1)
}

.auth-input.is-invalid {
    border-color: var(--auth-danger)
}

.auth-input>i {
    color: #929791;
    font-size: 15px
}

.auth-input:focus-within>i {
    color: var(--auth-orange)
}

.auth-input:has(button) {
    grid-template-columns: 22px minmax(0, 1fr) 34px
}

.auth-input .form-control {
    min-width: 0;
    height: 48px;
    padding: 0 6px;
    border: 0 !important;
    border-radius: 0;
    background: transparent !important;
    color: var(--auth-ink);
    font: 400 14px/1.5 Poppins, Arial, sans-serif;
    box-shadow: none !important
}

.auth-input .form-control::placeholder {
    color: #a1a6a0
}

.auth-input button {
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #858b85;
    cursor: pointer
}

.auth-input button:hover {
    color: var(--auth-orange)
}

.invalid-feedback {
    display: block;
    margin-top: 6px;
    color: var(--auth-danger);
    font-size: 11px
}

.auth-link {
    color: var(--auth-orange);
    font-weight: 600;
    text-decoration: none
}

.auth-link:hover {
    color: var(--auth-orange-dark);
    text-decoration: none
}

.auth-link.small {
    font-size: 11px
}

.auth-check {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 3px 0 22px;
    padding: 0
}

.auth-check .form-check-input {
    width: 17px;
    height: 17px;
    flex: none;
    margin: 1px 0 0;
    border-color: #c6cbc5;
    border-radius: 3px;
    box-shadow: none
}

.auth-check .form-check-input:checked {
    border-color: var(--auth-orange);
    background-color: var(--auth-orange)
}

.auth-check .form-check-label {
    color: #5c625c;
    font-size: 12px;
    line-height: 1.5
}

.auth-check a {
    color: var(--auth-orange);
    font-weight: 600;
    text-decoration: none
}

.auth-terms-error {
    margin: -16px 0 18px
}

.btn-auth {
    width: 100%;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid var(--auth-orange);
    border-radius: 5px;
    background: var(--auth-orange);
    color: #fff;
    font: 700 13px/1 Montserrat, Arial, sans-serif;
    box-shadow: none
}

.btn-auth i {
    font-size: 15px;
    transition: transform 420ms ease
}

.btn-auth:hover,
.btn-auth:focus {
    border-color: var(--auth-orange-dark);
    background: var(--auth-orange-dark);
    color: #fff
}

.btn-auth:hover i {
    transform: translateX(4px)
}

.auth-role-fieldset {
    min-width: 0;
    margin: 0 0 19px;
    padding: 0;
    border: 0
}

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

.auth-role-option {
    display: block;
    min-width: 0;
    cursor: pointer
}

.auth-role-option>input {
    position: absolute;
    opacity: 0;
    pointer-events: none
}

.auth-role-option>span {
    position: relative;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 11px;
    min-height: 78px;
    padding: 14px;
    border: 1px solid var(--auth-border);
    border-radius: 6px;
    background: #fff
}

.auth-role-option>span>i {
    grid-row: 1/3;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 5px;
    background: var(--auth-soft);
    color: #555c55;
    font-size: 17px
}

.auth-role-option strong {
    align-self: end;
    font: 700 12px/1.4 Montserrat, Arial, sans-serif
}

.auth-role-option small {
    align-self: start;
    margin-top: 2px;
    color: #7b817b;
    font-size: 10px;
    line-height: 1.45
}

.auth-role-option b {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 19px;
    height: 19px;
    display: none;
    place-items: center;
    border-radius: 50%;
    background: var(--auth-orange);
    color: #fff
}

.auth-role-option b i {
    font-size: 12px
}

.auth-role-option>input:checked+span {
    border-color: var(--auth-orange);
    background: #fff9f7;
    box-shadow: 0 0 0 2px rgba(231, 58, 24, .08)
}

.auth-role-option>input:checked+span>i {
    background: #ffe9e2;
    color: var(--auth-orange)
}

.auth-role-option>input:checked+span>b {
    display: grid
}

.auth-role-option>input:focus-visible+span {
    outline: 3px solid rgba(231, 58, 24, .18);
    outline-offset: 2px
}

.auth-password-note {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    margin: -6px 0 18px;
    color: #777d77;
    font-size: 10px;
    line-height: 1.5
}

.auth-password-note i {
    margin-top: 1px;
    color: var(--auth-blue)
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 25px 0 18px;
    color: #8b918b;
    font-size: 10px;
    text-transform: uppercase
}

.auth-divider:before,
.auth-divider:after {
    height: 1px;
    flex: 1;
    background: var(--auth-border);
    content: ""
}

.auth-social {
    display: grid;
    gap: 10px
}

.auth-social>label {
    color: #333833;
    font: 600 11px/1.4 Montserrat, Arial, sans-serif
}

.auth-social select {
    width: 100%;
    min-height: 46px;
    padding: 0 38px 0 12px;
    border: 1px solid var(--auth-border);
    border-radius: 5px;
    background: #fff;
    color: var(--auth-ink);
    font-size: 13px
}

.auth-social select:focus {
    border-color: var(--auth-orange);
    outline: 3px solid rgba(231, 58, 24, .1)
}

.auth-social-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px
}

.auth-social-actions.is-single {
    grid-template-columns: 1fr
}

.auth-social-actions button {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid var(--auth-border);
    border-radius: 5px;
    background: #fff;
    color: #242824;
    font: 600 12px/1 Montserrat, Arial, sans-serif
}

.auth-social-actions button i {
    font-size: 16px
}

.auth-social-actions button:hover,
.auth-social-actions button:focus {
    border-color: #b8bdb7;
    background: var(--auth-soft)
}

.auth-social>small {
    color: #858b85;
    font-size: 10px;
    line-height: 1.5
}

.auth-social-error {
    margin-bottom: 14px;
    padding: 11px 12px;
    border: 1px solid #f0b7b2;
    border-radius: 5px;
    background: #fff5f4;
    color: #9e251e;
    font-size: 12px
}

.auth-footer {
    margin: 22px 0 0;
    color: #747a74;
    font-size: 12px;
    text-align: center
}

.auth-mobile-copyright {
    display: none;
    margin-top: 30px;
    color: #969b96;
    font-size: 10px
}

.auth-card>.mb-3,
.auth-card>.mb-4,
.auth-card form>.mb-3,
.auth-card form>.mb-4 {
    margin-bottom: 18px !important
}

.auth-card>.form-control,
.auth-card form>.form-control,
.auth-card .mb-3>.form-control,
.auth-card .mb-4>.form-control {
    min-height: 50px;
    border-color: var(--auth-border);
    border-radius: 5px;
    font-size: 14px
}

.auth-card .form-control:focus,
.auth-card .form-select:focus {
    border-color: var(--auth-orange);
    box-shadow: 0 0 0 3px rgba(231, 58, 24, .1)
}

.auth-back-home,
.auth-link,
.auth-input,
.auth-input>i,
.auth-input button,
.btn-auth,
.auth-social-actions button,
.auth-role-option>span {
    transition: color 420ms ease, background-color 420ms ease, border-color 420ms ease, box-shadow 420ms ease, transform 420ms ease
}

@media(max-width:1100px) {
    .auth-shell {
        grid-template-columns: minmax(330px, 40%) minmax(0, 60%)
    }

    .auth-brand-panel {
        padding: 34px
    }

    .auth-brand-copy h1 {
        font-size: 36px
    }

    .auth-main {
        padding-inline: 34px
    }
}

@media(max-width:820px) {
    .auth-shell {
        display: block
    }

    .auth-brand-panel {
        position: relative;
        height: 270px;
        padding: 24px;
        background-position: center 42%
    }

    .auth-brand {
        padding: 8px 10px
    }

    .auth-brand img {
        width: 132px
    }

    .auth-brand-copy h1 {
        max-width: 560px;
        margin-top: 13px;
        font-size: 28px
    }

    .auth-brand-copy>p {
        display: none
    }

    .auth-brand-points {
        margin-top: 16px
    }

    .auth-brand-panel>small {
        display: none
    }

    .auth-main {
        min-height: calc(100vh - 270px);
        padding: 60px 24px 36px
    }

    .auth-back-home {
        top: 22px;
        right: 24px
    }

    .auth-mobile-copyright {
        display: block
    }
}

@media(max-width:600px) {
    .auth-brand-panel {
        height: 238px;
        padding: 20px
    }

    .auth-brand-copy>span {
        min-height: 24px;
        font-size: 9px
    }

    .auth-brand-copy h1 {
        font-size: 24px
    }

    .auth-brand-points {
        gap: 7px
    }

    .auth-brand-points span {
        padding: 7px 9px;
        font-size: 10px
    }

    .auth-main {
        min-height: calc(100vh - 238px);
        padding: 58px 16px 30px
    }

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

    .auth-subtitle {
        margin-bottom: 25px
    }

    .auth-form-grid,
    .auth-role-options {
        grid-template-columns: 1fr;
        gap: 0
    }

    .auth-role-options {
        gap: 9px
    }

    .auth-role-option>span {
        min-height: 72px
    }

    .auth-social-actions {
        grid-template-columns: 1fr
    }

    .auth-back-home {
        right: 18px
    }

    .auth-register-page .auth-main {
        padding-top: 58px
    }
}

@media(prefers-reduced-motion:reduce) {
    .auth-page * {
        transition: none !important
    }
}