

.signup-left {
    width: 40% !important;
    min-height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;

    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* ❗ */
    align-items: center;

    padding: 32px;
}

.input-pill input {
    all: unset;
    width: 100%;
    color: #808794;
}

.signup-right {
    width: 60% !important;
    height: 100%;
    overflow: hidden;
}

/*.signup-left, .signup-right {*/
/*    float: left;*/
/*}*/

body {
    padding-bottom: 0 !important;
    background-color: var(--bg);

}

.signup-right-container {
    background: url('/assets/img/backgrounds/signup-bg.jpg');
    margin: 12px;
    border-radius: 12px;
    height: calc(100vh - 24px);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-size: cover;

}

.login-bg {
    /*background: url('/assets/img/backgrounds/bg-blur.png'), url('/assets/img/backgrounds/signin-bg-image.png');*/
    /*background-position-x: center, center;*/
    background: url('/assets/img/backgrounds/signin-bg.jpg');
}

.title {
    /*font-family: 'Open Sans', sans-serif;*/
    font-weight: 600;
    font-size: 50px;
    line-height: 1.2;
    color: #FFFFFF;
    max-width: 80%;
}

.sign-in-block {
    text-align: center;
    font-size: 18px;
    /*font-family: Open Sans;*/
    line-height: 150%;
    font-weight: 400;
    color: #808794;

}

.social-icon {
    height: 24px;
    width: 24px;
    margin: 0 10px;
}

.form-field {
    width: 100%;
    max-width: 576px;
    margin: auto;
    padding: 0 32px;
}

.heading-text-form {
    /*font-family: Open Sans;*/
    font-weight: 700;
    font-size: 40px;
    line-height: 100%;
    color: #FFFFFF;
}

.heading-sub-text-form {
    /*font-family: Open Sans;*/
    font-weight: 400;
    font-size: 18px;
    line-height: 100%;
    color: #808794;
    padding-top: 1rem;
    padding-bottom: 3rem;

}

.fullRow .button-main {
    background-color: #2244EF !important;
    height: 50px !important;
    opacity: 1;
    gap: 10px;
    padding-right: 32px;
    padding-left: 32px;
    border-radius: 50px;
    color: white;
    font-size: 18px;
    border: none;
}

label, label a, .checkbox_label, .optional_checkbox_label {
    font-size: 16px !important;
    /*font-family: Open Sans;*/
    font-weight: 400;
    line-height: 150%;
    letter-spacing: 0%;
    color: #808794 !important;

}

label a {
    text-decoration: underline !important;
}

.input-pill:focus {
    border: 1px solid white;

}

.input-pill:focus-within label {
    color: white !important;

}

.input-pill input {
    border: none;
    outline: none;
    width: 100%;
    background: transparent;
    color: white;
    font-size: 16px;
    padding: 0;
}

.label-pill {
    position: absolute;
    top: -13px;
    left: 20px;
    background-color: var(--bg);
    padding: 0 6px;
    font-size: 14px;
    color: white;
    pointer-events: none;
}

.fullRow .button-social {
    background-color: #FFFFFF !important;
    color: #232323 !important;
    /*font-family: Open Sans;*/
    font-weight: 600;
    font-style: SemiBold;
    font-size: 18px;
    leading-trim: NONE;
    /*line-height: 50px;*/
    letter-spacing: -1%;
    margin-bottom: 2rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    line-height: normal;
    cursor: pointer;
}

.separator {
    text-align: center;
    margin-bottom: 2rem;
    margin-top: 1rem;
}

.link-white {
    font-size: 18px;
    color: white;
    text-decoration: underline;
}

.divide {
    background-color: #808794;
    height: 1px;
    width: 30%;
    float: left;
    margin-top: 6px;
}

.or {
    float: left;
    width: 40%;
    text-align: center;
    margin-top: -5px;
    color: #808794 !important;
}

.separate {
    overflow: hidden;
    font-size: 16px;

}

.link-forgot-password {
    color: #808794;
    text-decoration: underline;
    display: inline;
    font-size: 16px;
    text-align: right;
    /*float: right;*/
    /*font-family: Open Sans;*/
    font-weight: 400;
    line-height: 150%;
    white-space: nowrap;

}

.input-pill input:-internal-autofill-selected {
    color: inherit !important;
    -webkit-text-fill-color: currentColor !important;
    caret-color: currentColor !important;

    appearance: none !important;
    background-color: transparent !important;
    background-image: none !important;

    -webkit-box-shadow: 0 0 0 1000px var(--bg) inset !important;
}

.input-pill input::placeholder {
    color: #808794;
    opacity: 1;
    font-size: 16px;
}

.input-pill input:focus::placeholder {
    opacity: 0;
}

.input-pill {
    position: relative;
    border: 1px solid #808794;
    border-radius: 50px;
    padding: 8px 16px 8px 16px;
    background-color: transparent;
}

.input-pill input {
    border: none;
    outline: none;
    width: 100%;
    background: transparent;
    color: #808794;
    font-size: 16px;
    padding: 0;
}

.input-pill input::placeholder {
    color: #808794;
}

.input-pill input:focus::placeholder {
    opacity: 0;
}

.label-pill {
    color: white;
    opacity: 0;
    pointer-events: none;
}

.input-pill input:focus {
    color: white;
}

.input-pill:focus-within {
    border: 1px solid white;
}

.input-pill:focus-within .label-pill {
    opacity: 1;
    color: white;
}

.input-pill input:not(:placeholder-shown) + .label-pill {
    opacity: 1;
    color: white;
}


.input-pill.error {
    border-color: #ff3b3b !important;
}

.input-pill.error input {
    color: #ff3b3b !important;
}

.input-pill.error input::placeholder {
    color: #ff3b3b !important;
}

.input-pill.error .label-pill {
    color: #ff3b3b !important;
}

.form .error {
    color: red !important;
}

.input-pill.error {
    border-color: #ff3b3b !important;
}


.input-pill.error:focus-within {
    border-color: #ff3b3b !important;
}


.password-pill {
    position: relative;
}

.hideShowPassword-toggle {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #808794;
}

.hideShowPassword-toggle svg {
    stroke: #777;
    display: block;
    width: 20px;
    height: 20px;
}

/* 👉 ЗА ЗАМОВЧУВАННЯМ */
.hideShowPassword-toggle .icon-eye-closed {
    display: none;
}

/* 👉 КОЛИ ПАРОЛЬ ПОКАЗАНИЙ */
.hideShowPassword-toggle-hide .icon-eye-open {
    display: none;
}

.hideShowPassword-toggle-hide .icon-eye-closed {
    display: block;
}

/* контейнер чекбокса */
.custom-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    user-select: none;
}

/* ховаємо дефолтний чекбокс */
.custom-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* квадрат 18x18px */
.custom-checkbox .checkbox-box {
    width: 18px;
    height: 18px;
    border: 1.5px solid #808794;
    border-radius: 2px;
    position: relative;
    flex-shrink: 0;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* галочка */
.custom-checkbox .checkbox-box::after {
    content: '';
    width: 5px;
    height: 10px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
}

/* активний чекбокс */
.custom-checkbox input:checked + .checkbox-box {
    border-color: #ffffff;
}

.custom-checkbox input:checked + .checkbox-box::after {
    opacity: 1;
}

/* текст */
.custom-checkbox .optional_checkbox_label {
    color: #808794;
    font-size: 14px;
    line-height: 1.4;
}

@media (max-width: 1200px) {
    .signup-right {
        display: none !important;
    }

    .signup-left {
        width: 100% !important;
    }

    /*.form-field{*/
    /*    background: linear-gradient(180deg, #010F29 0%, #001337 171.51%);*/
    /*}*/

}

@media (max-width: 600px) {
    .form-field {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 10px;
        padding-right: 10px;
    }

    .button-main {
        padding: 0;
    }

    .signupForm {
        width: 100%;
    }

}


.footer {
    background: linear-gradient(90deg, #0D0D2B, #1A1A40);
    padding: 20px 40px;
    color: #fff;
    /*font-family: Arial, sans-serif;*/
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-left {
    flex: 1;
}

.footer-center {
    flex: 2;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.footer-center a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

.footer-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.footer-right img {
    width: 24px;
    height: 24px;
}

.input-pill input:not(:placeholder-shown),
.input-pill input:-webkit-autofill {
    color: white;
}

.input-pill input:-webkit-autofill + .label-pill {
    opacity: 1;
}

.input-pill input {
    /*font-family: Open Sans, sans-serif;*/
    font-size: 16px;
    line-height: 20px;
    height: 20px;
    color: #808794;
}

/* AUTOFILL */
.input-pill input:-webkit-autofill,
.input-pill input:-webkit-autofill:hover,
.input-pill input:-webkit-autofill:focus {
    /*-webkit-text-fill-color: #ffffff !important;*/
    /*caret-color: #ffffff;*/

    /*font-family: Open Sans, sans-serif !important;*/
    font-size: 16px !important;
    line-height: 20px !important;

    transition: background-color 9999s ease-out;
}

.field-error {
    margin-top: 6px;
    margin-left: 20px;
    font-size: 14px;
    color: #ff3b3b;
}

.fullRow-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.start-form {
    margin-top: 10px;
}

.input-pill.error .label-pill {
    opacity: 1 !important;
    color: #ff3b3b !important;
}

html,
body {
    height: auto;
    overflow-y: auto;
}
.signup-layout {
    display: flex;
    height: 100vh;
}

.signup-right {
    height: 100%;
    overflow: hidden;
}
.signup-left {
    box-sizing: border-box;
}
@media (max-width: 991px) {
    .signup-layout {
        flex-direction: column;
    }

    .signup-right {
        display: none;
    }

    .signup-left {
        height: auto;
        min-height: 100vh;
        overflow-y: auto;
    }

    .header-desktop {
        display: none;
    }
    .header-mobile {
        display: block;
    }
    .header-wrapper{
        padding: 0 5px!important;
    }
}

.header-desktop {
    display: block;
}
.header-mobile {
    display: none;
}

.header-wrapper{

    max-width: 576px;
    /*padding: 0 8.33vw;*/

    position: relative;
    /*top: 0;*/
    /*left: 0;*/
    width: 100%;
    padding: 0 32px;
    /*z-index: 1000;*/

    pointer-events: auto;
}

.pp-header-row {
 padding: 0;
}

.pp-header .pp-container {
    max-width: 100%;
    padding-left: 24px;
    padding-right: 24px;
}

.heading-text-form,
.heading-sub-text-form,
.label-pill,
.input-pill,
.optional_checkbox_label,
.or,
.button-social,
.sign-in-block {
    /*font-family: "Source Sans Pro";*/
}

.header-wrapper {
    display: block;
}

.header-wrapper-mobile {
    display: none;
}

@media (max-width: 1200px) {
    .header-wrapper {
        display: none;
    }

    .header-wrapper-mobile {
        display: block;
    }
}

/*@media (max-width: 1200px) {*/
/*    body.viewer {*/
/*        !*padding-top: 64px; !* ВИСОТА mobile header *!*!*/
/*    }*/
/*}*/

@media (max-width: 1200px) {
    .signup-layout {
        height: auto;
        min-height: 100vh;
    }

    /*.form .button{*/
        /*margin-right: 10px;*/
        /*margin-left: 10px;*/
        /*width: 350px;*/
    /*}*/

    /*.button-main{*/
    /*    margin-right: 10px;*/
    /*    margin-left: 10px;*/
    /*}*/
}

@media (max-width: 1200px) {
    .signup-layout {
        height: auto;
        min-height: 100vh;
    }

    .signup-left {
        height: auto;
        overflow: visible;
        justify-content: flex-start;
    }

    .heading-text-form{
        font-size: 28px;
    }
}


/* LEFT SIDE BACKGROUND */
/*html:not(.theme-dark) .form-field {*/
/*    background: transparent;*/
/*}*/

/* FORM WRAPPER (mobile gradient off) */
/*@media (max-width: 1200px) {*/
/*    html:not(.theme-dark) .form-field {*/
/*        background: transparent;*/
/*    }*/
/*}*/

/* HEADINGS */
html:not(.theme-dark) .heading-text-form {
    color: #000000;
}

html:not(.theme-dark) .heading-sub-text-form {
    color: #808794; /* muted — без змін */
}

/* INPUT TEXT */
html:not(.theme-dark) .input-pill input {
    color: #000000;
}

/* PLACEHOLDER */
html:not(.theme-dark) .input-pill input::placeholder {
    color: #808794;
}

/* PILL BORDER */
html:not(.theme-dark) .input-pill {
    border-color: #000000;
}

/* ACTIVE / FOCUS PILL */
html:not(.theme-dark) .input-pill:focus-within {
    border-color: #000000;
}

/* LABEL */
html:not(.theme-dark) .label-pill {
    background-color: #F9F9F9;
    color: #000000;
}

/* LABEL ACTIVE */
html:not(.theme-dark) .input-pill:focus-within .label-pill,
html:not(.theme-dark) .input-pill input:not(:placeholder-shown) + .label-pill {
    color: #000000;
}

/* LINKS */
html:not(.theme-dark) .link-forgot-password,
html:not(.theme-dark) .link-white {
    color: #000000;
}

/* CHECKBOX */
html:not(.theme-dark) .custom-checkbox .checkbox-box {
    border-color: #000000;
}

html:not(.theme-dark) .custom-checkbox input:checked + .checkbox-box {
    border-color: #000000;
}

html:not(.theme-dark) .custom-checkbox .checkbox-box::after {
    border-color: #000000;
}

/* PASSWORD EYE ICON */
html:not(.theme-dark) .hideShowPassword-toggle {
    color: #000000;
}

html:not(.theme-dark) .hideShowPassword-toggle svg {
    stroke: #000000;
}

/* SOCIAL BUTTON TEXT */
html:not(.theme-dark) .button-social {
    color: #000000 !important;
}

/* OR SEPARATOR */
html:not(.theme-dark) .or,
html:not(.theme-dark) .divide {
    color: #808794;
    /*background-color: #808794;*/
}

/* SIGN UP TEXT */
html:not(.theme-dark) .sign-in-block {
    color: #808794;
}

/* GOOGLE / FACEBOOK SIGN IN — LIGHT THEME */
html:not(.theme-dark) .button-social {
    background-color: #131313 !important;
    color: #ffffff !important;
}

/* іконки соцмереж не затемнюємо */
html:not(.theme-dark) .button-social img {
    filter: none;
}

/* FIX: label color on focus (LIGHT) */
html:not(.theme-dark) .input-pill:focus-within .label-pill,
html:not(.theme-dark) .input-pill input:not(:placeholder-shown) + .label-pill {
    color: #000000!important;
}

/* FIX: remove inner fill on active input (LIGHT) */
html:not(.theme-dark) .input-pill input:-internal-autofill-selected,
html:not(.theme-dark) .input-pill input:-webkit-autofill {
    -webkit-box-shadow: none !important;
    background-color: transparent !important;
}

/* FIX: eye icon color (LIGHT) */
html:not(.theme-dark) .hideShowPassword-toggle {
    color: #000000;
}

html:not(.theme-dark) .hideShowPassword-toggle svg,
html:not(.theme-dark) .hideShowPassword-toggle svg * {
    stroke: #000000 !important;
    fill: none !important;
}



html:not(.theme-dark) .input-pill.error {
    border-color: #ff3b3b !important;
}

html:not(.theme-dark) .input-pill.error input {
    color: #ff3b3b !important;
}

/* =========================
   ERROR MUST WIN (ALL STATES)
   ========================= */

/* label */
.input-pill.error .label-pill,
.input-pill.error:focus-within .label-pill {
    color: #ff3b3b !important;
}

/* border */
.input-pill.error,
.input-pill.error:focus-within {
    border-color: #ff3b3b !important;
}

/* input text */
.input-pill.error input {
    /*color: #ff3b3b !important;*/
}
/* Стиль для email-sent-message */
.email-sent-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    /*min-height: 300px; !* або підстрахуйте під вашу верстку *!*/
    box-sizing: border-box;
    margin: auto;
}

.email-sent-message h2 {
    margin: 20px 0 10px;
    font-size: 24px;
    line-height: 1.2;
}

.email-sent-message p {
    font-size: 16px;
    line-height: 1.4;
    max-width: 400px;
}

/* Іконка */
.email-sent-message .success-icon {
    width: 80px;
    height: 80px;
}

/* Повноекранний модальний фон */
.custom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

/* Коли показуємо */
.custom-modal.active,
.loaderWrapper.show {
    opacity: 1;
    visibility: visible;
}

/* Центруємо loader і текст */
.loader-container {
    text-align: center;
    color: #fff;
}

.loader-container .loader {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    animation: spin 1s linear infinite; /* опціонально для обертання gif, якщо хочеш CSS-анімацію */
}

/* CSS-анімація для обертання (якщо заміниш gif на svg) */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader-container .pleaseWait {
    font-size: 16px;
    font-weight: 500;
}

/* ===== Light theme ===== */
html:not(.theme-dark) .input-pill.error input:not(:placeholder-shown) + .label-pill,
html:not(.theme-dark) .input-pill.error input:focus + .label-pill {
    color: #e74c3c; /* червоний при помилці */
}

/* ===== Dark theme ===== */
html.theme-dark .input-pill.error input:not(:placeholder-shown) + .label-pill,
html.theme-dark .input-pill.error input:focus + .label-pill {
    color: #e74c3c; /* червоний при помилці */
}
.errorMessage {
    display: none;
    margin-top: 15px;
    margin-bottom: 15px;
    font-size: 14px;
    color: red;
    text-align: center;
    padding: 0px 6px;
}

.errorMessage.visible {
    display: block;
}