.overice-register-page {
    min-height: calc(100vh - 80px);
    padding: 40px;
    background: #f2f7ff;
}

.overice-register-shell {
    display: grid;
    grid-template-columns: minmax(320px, .9fr) minmax(540px, 1.1fr);
    width: min(1180px, 100%);
    min-height: 720px;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid #e4e9f1;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(31, 42, 68, .11);
}

.overice-register-intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding: 54px;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(145deg, #102d62 0%, #164d9d 58%, #08aeea 100%);
}

.overice-register-intro::before,
.overice-register-intro::after {
    position: absolute;
    content: "";
    border-radius: 50%;
    background: rgba(255, 255, 255, .07);
}

.overice-register-intro::before {
    width: 360px;
    height: 360px;
    right: -180px;
    top: -120px;
}

.overice-register-intro::after {
    width: 260px;
    height: 260px;
    left: -120px;
    bottom: -100px;
}

.overice-register-intro-copy {
    position: relative;
    z-index: 1;
}

.overice-register-eyebrow {
    display: inline-flex;
    margin-bottom: 18px;
    padding: 7px 13px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .02em;
}

.overice-register-intro h1 {
    max-width: 430px;
    margin: 0 0 20px;
    color: #fff;
    font-size: clamp(38px, 4vw, 56px);
    line-height: 1.08;
}

.overice-register-intro p {
    max-width: 440px;
    margin-bottom: 34px;
    color: rgba(255, 255, 255, .78);
    font-size: 17px;
    line-height: 1.7;
}

.overice-register-intro ul {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.overice-register-intro li {
    position: relative;
    padding-left: 29px;
    color: rgba(255, 255, 255, .92);
}

.overice-register-intro li::before {
    position: absolute;
    left: 0;
    top: 3px;
    content: "check";
    display: grid;
    width: 19px;
    height: 19px;
    place-items: center;
    border-radius: 50%;
    color: #123b78;
    background: #8fe3ff;
    font-family: "Material Symbols Outlined";
    font-size: 14px;
    font-weight: normal;
    font-feature-settings: "liga";
    -webkit-font-smoothing: antialiased;
}

.overice-auth-visual {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
    margin-top: 42px;
    padding-top: 24px;
}

.overice-auth-visual-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 82px;
    height: 3px;
    border-radius: 99px;
    background: #58d3ff;
}

.overice-auth-visual > span {
    display: flex;
    min-height: 82px;
    padding: 12px 8px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 12px;
    color: rgba(255, 255, 255, .88);
    background: rgba(255, 255, 255, .07);
    text-align: center;
    font-size: 11px;
    line-height: 1.35;
}

.overice-auth-visual .material-symbols-outlined {
    color: #8fe3ff;
    font-size: 24px;
    font-weight: normal;
    line-height: 1;
}

.overice-register-panel {
    display: grid;
    place-items: center;
    padding: 48px clamp(34px, 6vw, 82px);
}

.overice-register-card {
    width: min(100%, 590px);
}

.overice-register-heading {
    margin-bottom: 30px;
}

.overice-register-heading > span {
    color: #1268e8;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.overice-register-heading h2 {
    margin: 6px 0 8px;
    color: #152133;
    font-size: 34px;
}

.overice-register-heading p,
.overice-register-login {
    color: #727d8e;
}

.overice-register-form {
    display: grid;
    gap: 20px;
}

.overice-register-form > .alert {
    margin: 0;
    padding: 13px 15px;
    border: 1px solid #c7ddfb;
    border-radius: 12px;
    color: #164d9d;
    background: #f0f6ff;
    font-size: 14px;
}

.overice-profile-choice {
    margin: 0;
    padding: 0;
    border: 0;
}

.overice-profile-choice legend,
.overice-field label {
    display: block;
    margin-bottom: 9px;
    color: #263447;
    font-size: 14px;
    font-weight: 600;
}

.overice-radio-options,
.overice-password-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
}

.overice-radio-card {
    display: flex;
    align-items: center;
    min-height: 78px;
    margin: 0;
    padding: 15px 16px;
    border: 1px solid #dfe5ed;
    border-radius: 14px;
    cursor: pointer;
    transition: border-color .2s, background .2s, box-shadow .2s;
}

.overice-radio-card:has(input:checked) {
    border-color: #1268e8;
    background: #f3f7ff;
    box-shadow: 0 0 0 3px rgba(18, 104, 232, .1);
}

.overice-radio-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.overice-radio-control {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    margin-right: 12px;
    border: 2px solid #b7c0cc;
    border-radius: 50%;
    box-shadow: inset 0 0 0 4px #fff;
}

.overice-radio-card input:checked + .overice-radio-control {
    border-color: #1268e8;
    background: #1268e8;
}

.overice-radio-card strong {
    display: block;
}

.overice-radio-card strong {
    color: #1d2b3c;
    font-size: 15px;
}

.overice-field {
    min-width: 0;
}

.overice-field input {
    width: 100%;
    height: 52px;
    padding: 0 16px;
    border: 1px solid #dfe5ed;
    border-radius: 12px;
    color: #1c2838;
    background: #fbfcfe;
    outline: 0;
    transition: border-color .2s, box-shadow .2s, background .2s;
}

.overice-field input:focus {
    border-color: #1268e8;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(18, 104, 232, .11);
}

.overice-field input.is-invalid {
    border-color: #d9444c;
    background: #fffafa;
}

.overice-field-error {
    display: block;
    min-height: 18px;
    margin-top: 5px;
    color: #c6353d;
    font-size: 12px;
    line-height: 1.4;
}

.overice-terms-error {
    min-height: 0;
    margin-top: -14px;
}

.overice-field input[readonly] {
    color: #667284;
    background: #f1f4f8;
}

.overice-password-wrap {
    position: relative;
}

.overice-password-wrap input {
    padding-right: 48px;
}

.overice-password-toggle {
    position: absolute;
    right: 8px;
    top: 50%;
    width: 38px;
    height: 38px;
    padding: 0;
    transform: translateY(-50%);
    border: 0;
    color: #7b8592;
    background: transparent;
}

.overice-terms {
    display: flex;
    align-items: center;
    margin: 0;
    color: #606c7d;
    font-size: 14px;
    cursor: pointer;
}

.overice-terms input {
    position: absolute;
    opacity: 0;
}

.overice-checkbox-control {
    display: grid;
    flex: 0 0 21px;
    width: 21px;
    height: 21px;
    margin-right: 10px;
    place-items: center;
    border: 1px solid #cbd3de;
    border-radius: 6px;
    color: transparent;
    background: #fff;
}

.overice-terms input:checked + .overice-checkbox-control {
    border-color: #1268e8;
    color: #fff;
    background: #1268e8;
}

.overice-terms a,
.overice-register-login a {
    color: #1268e8;
    font-weight: 600;
}

.overice-register-error {
    display: none;
    margin: -8px 0 0;
    color: #c6353d;
    font-size: 13px;
}

.overice-register-error.is-visible {
    display: block;
}

.overice-register-submit {
    width: 100%;
    min-height: 54px;
    border-color: #1268e8 !important;
    border-radius: 12px;
    color: #fff !important;
    background: linear-gradient(135deg, #1268e8 0%, #079fe5 100%) !important;
    font-weight: 600;
    box-shadow: 0 10px 24px rgba(18, 104, 232, .2);
}

.overice-register-submit:hover,
.overice-register-submit:focus {
    border-color: #0c58c8 !important;
    background: linear-gradient(135deg, #0c58c8 0%, #078dcc 100%) !important;
    box-shadow: 0 12px 28px rgba(18, 104, 232, .28);
}

.overice-register-login {
    margin: 24px 0 0;
    text-align: center;
    font-size: 14px;
}

.overice-social-login {
    margin-top: 24px;
    text-align: center;
}

.overice-social-divider {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
    color: #8993a1;
    font-size: 12px;
}

.overice-social-divider::before,
.overice-social-divider::after {
    flex: 1;
    height: 1px;
    content: "";
    background: #e5e9ef;
}

.overice-social-divider span {
    padding: 0 13px;
}

.overice-register-card .fr_resend_email {
    display: none;
    margin: 0 0 22px;
    padding: 16px 18px;
    border: 1px solid #dce8f5;
    border-radius: 14px;
    background: #f0f5fc;
    box-shadow: none;
    color: #0d2d6e;
    font-family: Inter, sans-serif;
    font-size: 13px;
    line-height: 1.5;
}

.overice-resend-layout {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.overice-register-card .fr_resend_email .overice-resend-icon {
    display: inline-flex;
    flex: 0 0 36px;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    color: #1565ff;
    background: #e6f0ff;
    font-size: 20px;
    line-height: 1;
}

.overice-resend-content {
    min-width: 0;
}

.overice-register-card .fr_resend_email p {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
}

.overice-register-card .fr_resend_email .overice-resend-title {
    margin-bottom: 2px;
    color: #0d2d6e;
    font-weight: 600;
}

.overice-register-card .fr_resend_email .overice-resend-description {
    color: #2a4a8a;
}

.overice-register-card .fr_resend_email .fr_send_email {
    display: inline-flex;
    margin-top: 8px;
    padding: 0 !important;
    border: 0;
    border-radius: 0;
    color: #1565ff;
    background: transparent !important;
    box-shadow: none;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
}

.overice-register-card .fr_resend_email .fr_send_email:hover {
    color: #0d2d6e;
    text-decoration: underline;
}

.overice-register-card .fr_resend_email .fr_send_email:disabled {
    color: #6b7fa8;
    cursor: not-allowed;
    text-decoration: none;
}

.overice-register-card .fr_resend_email .overice-resend-status {
    margin-top: 8px;
    color: #2a4a8a;
}

.overice-register-card .fr_resend_email .overice-resend-status:empty {
    display: none;
}

.overice-register-card .fr_resend_email .overice-resend-status.is-success {
    color: #1a835c;
}

.overice-register-card .fr_resend_email .overice-resend-status.is-error {
    color: #c62828;
}

.overice-login-page .overice-register-shell {
    min-height: 690px;
}

.overice-login-form {
    gap: 18px;
}

.overice-login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.overice-forgot-link {
    padding: 0;
    border: 0;
    color: #1268e8;
    background: transparent;
    font-size: 14px;
    font-weight: 600;
}

.overice-auth-modal .modal-dialog {
    width: min(calc(100% - 24px), 500px);
    max-width: 500px;
    margin-right: auto;
    margin-left: auto;
}

.overice-auth-modal .modal-content {
    overflow: hidden;
    border: 1px solid #dce8f5;
    border-radius: 18px;
    color: #0d2d6e;
    background: #fff;
    box-shadow: 0 24px 70px rgba(31, 42, 68, .18);
    font-family: Inter, sans-serif;
}

.overice-auth-modal .modal-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 25px 28px 22px;
    border-bottom: 1px solid #dce8f5;
    border-radius: 18px 18px 0 0;
    background: #fff;
}

.overice-auth-modal .overice-auth-modal-icon {
    display: grid;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 12px;
    color: #1565ff;
    background: #e6f0ff;
    font-size: 24px;
    line-height: 1;
}

.overice-auth-modal-heading {
    flex: 1;
    min-width: 0;
}

.overice-auth-modal .modal-title {
    margin: 1px 0 5px;
    color: #0d2d6e;
    font-size: 21px;
    font-weight: 600;
    line-height: 1.3;
}

.overice-auth-modal .modal-header p {
    margin: 0;
    color: #6b7fa8;
    font-size: 13px;
    line-height: 1.5;
}

.overice-auth-modal .overice-auth-modal-close {
    display: grid;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    margin: -4px -6px 0 0;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: #6b7fa8;
    background: #f0f5fc;
    box-shadow: none;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.overice-auth-modal .overice-auth-modal-close:hover {
    color: #0d2d6e;
    background: #e8f0fb;
}

.overice-auth-modal .modal-body {
    padding: 26px 28px 28px;
    border-radius: 0 0 18px 18px;
    background: #fff;
}

.overice-auth-modal form {
    display: grid;
    gap: 16px;
}

.overice-auth-modal .overice-field label {
    color: #0d2d6e;
}

.overice-auth-modal .overice-field input {
    border-color: #dce8f5;
    background: #fff;
}

.overice-auth-modal .overice-register-submit {
    min-height: 50px;
    border-color: #ff8c00 !important;
    border-radius: 10px;
    background: #ff8c00 !important;
    box-shadow: none;
    font-size: 14px;
}

.overice-auth-modal .overice-register-submit:hover,
.overice-auth-modal .overice-register-submit:focus {
    border-color: #e67e00 !important;
    background: #e67e00 !important;
    box-shadow: none;
}

.overice-auth-modal .overice-auth-modal-note {
    margin: 14px 0 0;
    color: #6b7fa8;
    font-size: 12px;
    line-height: 1.5;
}

.overice-auth-modal form .overice-auth-modal-note {
    margin: -7px 0 0;
}

.overice-auth-modal .overice-auth-modal-status {
    margin: 0;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.5;
}

.overice-auth-modal .overice-auth-modal-status:empty {
    display: none;
}

.overice-auth-modal .overice-auth-modal-status.is-success {
    color: #167b55;
    background: #e8faf0;
}

.overice-auth-modal .overice-auth-modal-status.is-error {
    color: #c62828;
    background: #fdecea;
}

@media (max-width: 991px) {
    .overice-register-page {
        padding: 24px;
    }

    .overice-register-shell {
        grid-template-columns: 1fr;
    }

    .overice-register-intro {
        min-height: 330px;
        padding: 38px;
    }

    .overice-register-intro h1 {
        font-size: 38px;
    }

    .overice-register-intro ul {
        display: none;
    }

    .overice-auth-visual {
        max-width: 520px;
        margin-top: 24px;
    }
}

@media (max-width: 575px) {
    .overice-auth-modal .modal-header {
        gap: 10px;
        padding: 20px;
    }

    .overice-auth-modal .modal-body {
        padding: 22px 20px 24px;
    }

    .overice-auth-modal .modal-title {
        font-size: 19px;
    }

    .overice-register-page {
        padding: 0;
        background: #fff;
    }

    .overice-register-shell {
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .overice-register-intro {
        min-height: 250px;
        padding: 28px 22px;
    }

    .overice-register-intro h1 {
        font-size: 31px;
    }

    .overice-register-intro p {
        margin-bottom: 0;
        font-size: 15px;
    }

    .overice-auth-visual {
        display: none;
    }

    .overice-register-panel {
        padding: 38px 22px;
    }

    .overice-radio-options,
    .overice-password-grid {
        grid-template-columns: 1fr;
    }
}

.overice-social-login .mo-openid-app-icons {
    display: flex !important;
    justify-content: center !important;
}
