/* Radix authentication experience */
@view-transition {
    navigation: auto;
}

:root {
    --radix-ink: #172b4d;
    --radix-muted: #64748b;
    --radix-soft: #8a9bb0;
    --radix-line: #dce6f0;
    --radix-blue: #1677c8;
    --radix-blue-dark: #0d5fa5;
    --radix-orange: #f08a3c;
    --radix-focus: rgba(22, 119, 200, .16);
}

html,
body.radix-auth-page {
    min-height: 100%;
}

body.radix-auth-page {
    position: relative;
    min-height: 100dvh;
    margin: 0;
    overflow-x: hidden;
    color: var(--radix-ink);
    background: #f5f8fc;
    background-image: none !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    opacity: 0;
    animation: radix-auth-page-in .48s cubic-bezier(.22, 1, .36, 1) forwards;
}

body.radix-auth-page::before,
body.radix-auth-page::after {
    position: fixed;
    z-index: 0;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    pointer-events: none;
    content: "";
    filter: blur(2px);
}

body.radix-auth-page::before {
    top: -210px;
    left: -160px;
    background: rgba(198, 224, 246, .45);
}

body.radix-auth-page::after {
    right: -220px;
    bottom: -250px;
    background: rgba(255, 230, 208, .42);
}

body.radix-auth-page.radix-auth-leaving {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .22s ease, transform .22s ease;
    animation: none;
}

@supports (view-transition-name: root) {
    body.radix-auth-page {
        opacity: 1;
        transform: none;
        animation: none;
    }

    body.radix-auth-page.radix-auth-leaving {
        opacity: 1;
        transform: none;
        transition: none;
    }

    ::view-transition-old(root) {
        animation: radix-auth-view-out .24s ease both;
        transform-origin: center;
    }

    ::view-transition-new(root) {
        animation: radix-auth-view-in .38s cubic-bezier(.22, 1, .36, 1) both;
        transform-origin: center;
    }
}

body.radix-auth-page .radix-auth-wallpaper {
    position: fixed;
    inset: 0;
    z-index: 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: .035 !important;
    filter: saturate(.5) contrast(.9);
    mix-blend-mode: multiply;
    pointer-events: none;
}

body.radix-auth-page .radix-auth-scroll {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: 100dvh;
    flex-direction: column;
    padding: 24px 0 0;
}

body.radix-auth-page .radix-auth-main {
    display: grid;
    width: min(1460px, calc(100% - 112px));
    min-height: 0;
    flex: 1 0 auto;
    grid-template-columns: minmax(420px, 1.12fr) minmax(440px, .88fr);
    gap: clamp(64px, 9vw, 160px);
    align-items: center;
    margin: 0 auto;
}

body.radix-auth-page .radix-auth-brand-section,
body.radix-auth-page .radix-auth-card-section {
    display: flex;
    min-width: 0;
    min-height: 0;
    align-items: center;
    justify-content: center;
}

body.radix-auth-page .radix-auth-brand-section {
    position: relative;
    min-height: calc(100dvh - 108px);
    justify-content: flex-start;
    padding: clamp(58px, 9vh, 118px) 0 clamp(58px, 9vh, 118px) clamp(8px, 3vw, 44px);
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

body.radix-auth-page .radix-auth-brand-content {
    position: relative;
    width: min(100%, 570px);
}

body.radix-auth-page .radix-auth-logo-frame {
    display: flex;
    width: 112px;
    height: 112px;
    align-items: center;
    justify-content: center;
    margin-bottom: 52px;
    overflow: hidden;
    border: 8px solid rgba(255, 255, 255, .82);
    border-radius: 26px;
    background: #111820;
    box-shadow: 0 15px 30px rgba(23, 43, 77, .16), 0 0 0 1px rgba(23, 43, 77, .06);
}

body.radix-auth-page .radix-auth-logo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.radix-auth-page .radix-auth-kicker,
body.radix-auth-page .radix-auth-eyebrow {
    color: var(--radix-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
    line-height: 1.3;
    text-transform: uppercase;
}

body.radix-auth-page .radix-auth-brand-copy h1 {
    max-width: 540px;
    margin: 16px 0 22px;
    color: #172b4d;
    font-size: clamp(38px, 4.7vw, 62px);
    font-weight: 750;
    letter-spacing: -.045em;
    line-height: 1.06;
}

body.radix-auth-page .radix-auth-brand-copy p {
    max-width: 500px;
    margin: 0;
    color: #5e738d;
    font-size: 18px;
    line-height: 1.7;
}

body.radix-auth-page .radix-auth-trust-list {
    display: grid;
    gap: 16px;
    margin-top: 56px;
}

body.radix-auth-page .radix-auth-trust-list > div {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #49657f;
    font-size: 14px;
    font-weight: 600;
}

body.radix-auth-page .radix-auth-trust-icon {
    display: inline-flex;
    width: 22px;
    height: 22px;
    align-items: center;
    justify-content: center;
    flex: 0 0 22px;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(145deg, var(--radix-blue), #55a3d9);
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 5px 12px rgba(22, 119, 200, .18);
}

body.radix-auth-page .radix-auth-card-section {
    padding: 42px 0;
}

body.radix-auth-page .form-signin {
    width: min(100%, 520px);
    max-width: 520px;
    height: auto !important;
    margin: 0;
}

body.radix-auth-page .form-signin > .card {
    position: relative;
    width: 100%;
    overflow: hidden;
    border: 1px solid #dce6f0 !important;
    border-radius: 24px !important;
    background: rgba(255, 255, 255, .96) !important;
    box-shadow: 0 26px 70px rgba(44, 73, 105, .13), 0 3px 10px rgba(44, 73, 105, .04) !important;
}

body.radix-auth-page .form-signin > .card::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--radix-blue), #63b0e5 60%, var(--radix-orange));
    content: "";
}

body.radix-auth-page .card-header {
    display: none !important;
}

body.radix-auth-page .card-body {
    position: relative;
    z-index: 1;
    overflow: visible;
    padding: 42px !important;
    color: #172b4d !important;
}

body.radix-auth-page .radix-auth-card-header {
    margin-bottom: 30px;
}

body.radix-auth-page .radix-auth-card-header h2 {
    margin: 10px 0 8px;
    color: #172b4d;
    font-size: 31px;
    font-weight: 750;
    letter-spacing: -.035em;
    line-height: 1.12;
}

body.radix-auth-page .radix-auth-card-header p {
    max-width: 410px;
    margin: 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
}

body.radix-auth-page .radix-auth-icon-badge {
    display: flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border: 1px solid #c9e2f3;
    border-radius: 13px;
    color: var(--radix-blue);
    background: #eff8fe;
    font-size: 20px;
    font-weight: 800;
}

body.radix-auth-page .radix-auth-lock-badge {
    color: #c26a2b;
    border-color: #f4dcc8;
    background: #fff6ee;
}

body.radix-auth-page .form-group {
    margin-bottom: 19px;
}

body.radix-auth-page label {
    display: block;
    margin: 0 0 8px;
    color: #314966 !important;
    font-size: 12px;
    font-weight: 750;
    letter-spacing: .01em;
    line-height: 1.4;
}

body.radix-auth-page .form-group > .col-md-12,
body.radix-auth-page .form-group > .row,
body.radix-auth-page .form-group > div {
    width: 100%;
    padding-right: 0;
    padding-left: 0;
}

body.radix-auth-page .form-control {
    display: block;
    width: 100%;
    min-height: 54px;
    padding: 14px 16px !important;
    border: 1px solid #d7e2ed !important;
    border-radius: 12px !important;
    outline: none;
    color: #172b4d !important;
    background: #fbfdff !important;
    box-shadow: inset 0 1px 2px rgba(23, 43, 77, .025) !important;
    font-size: 15px;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease, transform .2s ease;
}

body.radix-auth-page .form-control::placeholder {
    color: #a1b0c0 !important;
}

body.radix-auth-page .form-control:focus {
    border-color: var(--radix-blue) !important;
    background: #fff !important;
    box-shadow: 0 0 0 4px var(--radix-focus), 0 3px 8px rgba(22, 119, 200, .05) !important;
}

body.radix-auth-page .radix-auth-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 4px 0 26px;
}

body.radix-auth-page .radix-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    color: #64748b !important;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
}

body.radix-auth-page .radix-checkbox input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

body.radix-auth-page .radix-checkbox-mark {
    display: inline-flex;
    width: 18px;
    height: 18px;
    align-items: center;
    justify-content: center;
    border: 1px solid #c8d5e2;
    border-radius: 5px;
    background: #fff;
    transition: background .2s ease, border-color .2s ease;
}

body.radix-auth-page .radix-checkbox input:checked + .radix-checkbox-mark {
    border-color: var(--radix-blue);
    background: var(--radix-blue);
}

body.radix-auth-page .radix-checkbox input:checked + .radix-checkbox-mark::after {
    width: 8px;
    height: 4px;
    border-bottom: 2px solid #fff;
    border-left: 2px solid #fff;
    content: "";
    transform: rotate(-45deg) translateY(-1px);
}

body.radix-auth-page .radix-auth-inline-link,
body.radix-auth-page .radix-auth-card-footer a,
body.radix-auth-page .radix-auth-back-link a {
    color: var(--radix-blue) !important;
    font-weight: 700;
    text-decoration: none;
    transition: color .2s ease;
}

body.radix-auth-page a:hover,
body.radix-auth-page .radix-auth-inline-link:hover,
body.radix-auth-page .radix-auth-card-footer a:hover,
body.radix-auth-page .radix-auth-back-link a:hover {
    color: var(--radix-blue-dark) !important;
}

body.radix-auth-page .btn-primary {
    position: relative;
    min-height: 54px;
    overflow: hidden;
    border: 0 !important;
    border-radius: 12px !important;
    color: #fff !important;
    background: linear-gradient(135deg, var(--radix-blue), var(--radix-blue-dark)) !important;
    box-shadow: 0 10px 18px rgba(22, 119, 200, .2) !important;
    font-size: 14px;
    font-weight: 750;
    letter-spacing: .01em;
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

body.radix-auth-page .btn-primary::after {
    position: absolute;
    top: 0;
    bottom: 0;
    left: -35%;
    width: 28%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .3), transparent);
    content: "";
    transform: skewX(-18deg);
    transition: left .6s ease;
}

body.radix-auth-page .btn-primary:hover,
body.radix-auth-page .btn-primary:focus {
    filter: saturate(1.08);
    transform: translateY(-1px);
    box-shadow: 0 14px 24px rgba(22, 119, 200, .25) !important;
}

body.radix-auth-page .btn-primary:hover::after,
body.radix-auth-page .btn-primary:focus::after {
    left: 110%;
}

body.radix-auth-page .radix-auth-button-arrow {
    position: absolute;
    right: 18px;
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
}

body.radix-auth-page .radix-auth-card-footer,
body.radix-auth-page .radix-auth-back-link {
    margin-top: 24px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
}

body.radix-auth-page .radix-auth-back-link {
    margin-top: 22px;
    text-align: left;
}

body.radix-auth-page .radix-auth-field-help {
    margin-top: 9px;
    color: #8a9bb0;
    font-size: 12px;
    line-height: 1.5;
}

body.radix-auth-page .alert {
    margin-bottom: 20px;
    border: 1px solid #f1c9c9;
    border-radius: 10px;
    color: #a43d3d;
    background: #fff6f6;
    font-size: 13px;
    line-height: 1.55;
}

body.radix-auth-page .radix-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 14px;
}

body.radix-auth-page .radix-form-grid .form-group {
    min-width: 0;
}

body.radix-auth-page .radix-account-type-options {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
}

body.radix-auth-page .radix-account-type-options label {
    display: inline-block;
    margin: 0 12px 0 0;
    color: #64748b !important;
    font-size: 13px;
    font-weight: 600;
}

body.radix-auth-page .radix-account-type-options input,
body.radix-auth-page #i_accept_the_terms_and_conditions {
    accent-color: var(--radix-blue);
}

body.radix-auth-page #i_accept_the_terms_and_conditions {
    float: none !important;
    width: 15px;
    height: 15px;
    margin: 0 5px 0 0;
}

body.radix-auth-page #i_accept_the_terms_and_conditions + span {
    margin-left: 0;
    color: #64748b;
    font-size: 12px;
    line-height: 1.5;
}

body.radix-auth-page #signin_link {
    margin-top: 24px !important;
}

body.radix-auth-page #twofactor_code {
    height: 66px;
    font-size: 25px;
    font-weight: 750;
    letter-spacing: .42em;
    text-align: center;
    text-indent: .42em;
}

body.radix-auth-page .footer {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    margin-top: 16px;
    color: #8192a5 !important;
    background: transparent;
}

body.radix-auth-page .footer .footer-grid {
    display: none;
}

body.radix-auth-page .footer .container {
    max-width: 100%;
}

body.radix-auth-page .footer .copyright-section {
    min-height: 42px;
    padding: 10px 32px !important;
    align-items: center;
    border-top: 0 !important;
    font-size: 12px;
}

@keyframes radix-auth-page-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes radix-auth-view-out {
    from { opacity: 1; transform: scale(1); }
    to { opacity: 0; transform: scale(.992); }
}

@keyframes radix-auth-view-in {
    from { opacity: 0; transform: translateY(8px) scale(.992); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 1040px) {
    body.radix-auth-page .radix-auth-main {
        width: min(920px, calc(100% - 40px));
        grid-template-columns: minmax(280px, .8fr) minmax(400px, 1.2fr);
        gap: 32px;
    }

    body.radix-auth-page .radix-auth-brand-section {
        min-height: 560px;
        padding: 38px;
    }
}

@media (max-width: 820px) {
    body.radix-auth-page .radix-auth-scroll {
        padding-top: 14px;
    }

    body.radix-auth-page .radix-auth-main {
        width: min(560px, calc(100% - 32px));
        grid-template-columns: 1fr;
        gap: 18px;
    }

    body.radix-auth-page .radix-auth-brand-section {
        min-height: auto;
        justify-content: flex-start;
        padding: 24px 26px;
        border-radius: 0;
    }

    body.radix-auth-page .radix-auth-brand-content {
        width: 100%;
    }

    body.radix-auth-page .radix-auth-logo-frame {
        width: 66px;
        height: 66px;
        margin-bottom: 20px;
        border-width: 5px;
        border-radius: 18px;
    }

    body.radix-auth-page .radix-auth-brand-copy h1 {
        max-width: 520px;
        margin-top: 8px;
        font-size: 32px;
    }

    body.radix-auth-page .radix-auth-brand-copy p {
        max-width: 520px;
    }

    body.radix-auth-page .radix-auth-trust-list {
        display: flex;
        flex-wrap: wrap;
        gap: 10px 18px;
        margin-top: 22px;
    }

    body.radix-auth-page .radix-auth-trust-list > div {
        font-size: 12px;
    }

    body.radix-auth-page .radix-auth-card-section {
        padding: 18px 0 34px;
    }

    body.radix-auth-page .form-signin {
        max-width: 560px;
    }
}

@media (max-width: 520px) {
    body.radix-auth-page .radix-auth-main {
        width: calc(100% - 24px);
    }

    body.radix-auth-page .radix-auth-brand-section {
        padding: 22px 20px;
    }

    body.radix-auth-page .radix-auth-brand-copy h1 {
        font-size: 28px;
    }

    body.radix-auth-page .radix-auth-trust-list > div:nth-child(n + 2) {
        display: none;
    }

    body.radix-auth-page .card-body {
        padding: 30px 22px !important;
    }

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

    body.radix-auth-page .radix-form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    body.radix-auth-page .radix-auth-options {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    body.radix-auth-page .footer .copyright-section {
        justify-content: center !important;
        padding: 10px 16px !important;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.radix-auth-page {
        animation: none;
        opacity: 1;
    }

    body.radix-auth-page *,
    body.radix-auth-page *::before,
    body.radix-auth-page *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }

    ::view-transition-old(root),
    ::view-transition-new(root) {
        animation: none !important;
    }
}
