/* OctaWeb Identity Reset v1.0.2 */

html:has(.octa-identity-reset),
body.authorization__page:has(.octa-identity-reset) {
    width: 100%;
    height: 100%;
    min-height: 0;
    overflow: hidden !important;
    color: #fff;
    background:
        radial-gradient(circle at 13% 8%, rgba(1, 12, 131, .38), transparent 35rem),
        radial-gradient(circle at 88% 85%, rgba(1, 12, 131, .22), transparent 34rem),
        #080e10;
    background-attachment: fixed;
    background-repeat: no-repeat;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.authorization__page:has(.octa-identity-reset)::before {
    position: fixed;
    inset: 0;
    z-index: -1;
    content: "";
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
    background-size: 64px 64px;
}

body.authorization__page:has(.octa-identity-reset) #mainpagewrapper {
    width: 100%;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    background: transparent;
}

body.authorization__page:has(.octa-identity-reset) .main__page__wraper {
    width: 100%;
    height: 100%;
    min-height: 0;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
}

.octa-identity-reset {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    padding: clamp(.75rem, 2.5vh, 2rem) 1rem 4rem;
    overflow: hidden;
    place-items: center;
}

.octa-identity-card {
    width: min(100%, 28rem);
    max-height: calc(100vh - 6rem);
    max-height: calc(100dvh - 6rem);
    padding: 2.25rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid #29404d;
    border-radius: 1rem;
    background: rgba(16, 25, 31, .97);
    box-shadow: 0 26px 80px -24px rgba(0, 0, 0, .9);
}

.octa-identity-brand {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    color: #fff !important;
    font-size: .95rem;
    font-weight: 700;
    text-decoration: none !important;
}

.octa-identity-brand img {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: .65rem;
    box-shadow: 0 8px 26px rgba(1, 12, 131, .38);
}

.octa-identity-heading {
    margin: 2rem 0 1.75rem;
}

.octa-identity-eyebrow {
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.octa-identity-heading h1 {
    margin: .65rem 0 0;
    color: #fff;
    font-size: 1.9rem;
    font-weight: 700;
    letter-spacing: -.045em;
    line-height: 1.15;
}

.octa-identity-heading p,
.octa-reset-intro p,
.octa-identity-success p {
    margin: .7rem 0 0;
    color: #b1b4b8;
    font-size: .875rem;
    line-height: 1.55;
}

.octa-reset-intro {
    margin-bottom: 1.4rem;
}

.octa-reset-intro h2,
.octa-identity-success h2 {
    margin: 0;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
}

.octa-reset-form {
    display: grid;
    gap: 1.15rem;
}

.octa-reset-form .form-group {
    display: grid;
    gap: .48rem;
    margin: 0;
}

.octa-reset-form .form-control-label {
    margin: 0;
    color: #fff;
    font-size: .81rem;
    font-weight: 600;
}

.octa-reset-form .form-control {
    width: 100%;
    height: 2.75rem;
    padding: 0 .8rem;
    border: 1px solid #29404d;
    border-radius: .75rem !important;
    outline: none;
    color: #fff;
    background: #15232c;
    box-shadow: none;
    font: inherit;
    font-size: .86rem;
}

.octa-reset-form .form-control::placeholder {
    color: #7f8d95;
}

.octa-reset-form .form-control:focus {
    border-color: #fff;
    background: #15232c;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .13);
}

.octa-reset-form .btn-primary {
    display: grid;
    width: 100%;
    min-height: 2.75rem;
    margin: 0;
    padding: .65rem 1rem;
    border: 0;
    border-radius: .75rem;
    color: #fff;
    background: #010c83;
    box-shadow: 0 9px 28px -12px rgba(1, 12, 131, .9);
    font-size: .84rem;
    font-weight: 600;
    cursor: pointer;
    place-items: center;
}

.octa-reset-form .btn-primary:hover,
.octa-reset-form .btn-primary:focus {
    color: #fff;
    background: #0718a6;
}

.octa-reset-captcha {
    overflow: hidden;
    text-align: center;
}

.octa-password-input {
    position: relative;
}

.octa-password-input .form-control {
    padding-right: 3rem;
}

.octa-password-input .generate-pswrd-button {
    position: absolute;
    top: 50%;
    right: .45rem;
    display: grid;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: 0;
    border-radius: .5rem;
    color: #b1b4b8;
    background: transparent;
    cursor: pointer;
    place-items: center;
    transform: translateY(-50%);
}

.octa-password-input .generate-pswrd-button:hover {
    color: #fff;
    background: rgba(255, 255, 255, .06);
}

.octa-reset-form .paswrd__stenth__bar {
    height: .25rem;
    margin-top: .25rem;
    border-radius: 999px;
    background: #22343e;
}

.octa-password-strength {
    color: #b1b4b8;
    font-size: .72rem;
}

.octa-identity-card .alert {
    margin-bottom: 1.25rem;
    padding: .8rem .9rem;
    border: 1px solid rgba(242, 90, 90, .35);
    border-radius: .75rem;
    color: #f28b8b;
    background: rgba(242, 90, 90, .09);
    font-size: .8rem;
    line-height: 1.45;
}

.octa-identity-success {
    display: grid;
    justify-items: center;
    padding: .5rem 0;
    text-align: center;
}

.octa-identity-success-icon {
    display: grid;
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 1rem;
    border-radius: 999px;
    color: #fff;
    background: #010c83;
    font-weight: 700;
    place-items: center;
}

.octa-identity-footer {
    margin-top: 1.4rem;
    padding-top: 1.2rem;
    border-top: 1px solid #22343e;
    text-align: center;
}

.octa-identity-footer a,
.octa-identity-legal a {
    color: #fff;
    font-size: .76rem;
    text-decoration: none;
}

.octa-identity-footer a:hover,
.octa-identity-legal a:hover {
    text-decoration: underline;
}

.octa-identity-legal {
    position: absolute;
    bottom: 1.25rem;
    display: flex;
    gap: .8rem;
    color: #7f8d95;
    font-size: .68rem;
}

@media (max-height: 720px) and (min-width: 521px) {
    .octa-identity-card {
        padding: 1.6rem 2rem;
    }

    .octa-identity-heading {
        margin: 1.25rem 0 1.1rem;
    }

    .octa-reset-intro {
        margin-bottom: 1rem;
    }

    .octa-reset-form {
        gap: .85rem;
    }

    .octa-identity-footer {
        margin-top: 1rem;
        padding-top: .85rem;
    }

    .octa-identity-legal {
        bottom: .65rem;
    }
}

@media (max-width: 520px), (max-height: 560px) {
    body.authorization__page:has(.octa-identity-reset),
    body.authorization__page:has(.octa-identity-reset) #mainpagewrapper {
        height: auto;
        min-height: 100%;
        overflow: visible !important;
    }

    .octa-identity-reset {
        position: relative;
        inset: auto;
        min-height: 100vh;
        min-height: 100dvh;
        height: auto;
        overflow: visible;
        align-items: start;
        padding: 1rem .85rem 5rem;
    }

    .octa-identity-card {
        max-height: none;
        padding: 1.5rem;
        overflow: visible;
    }
}
