html, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    height: 100%;
    width: 100%;
}
.regicter-container {
    width: 100%;
    min-height: 100%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    padding-top: 127px;
}
.regicter-wrapper {
    /*background: url('/images/register/register-bg.png') no-repeat center center/cover;*/
    display: flex;
    width: 100%;
    min-height: 894px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    box-sizing: border-box;
}

/* Левая секция */
.regicter-left-section {
    background: linear-gradient(249deg, #000000, #737373);
    color: #fff;
    padding: 40px;
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.regicter-left-section h1 {
    font-family: Arial;
    font-size: 44.12px;
    font-weight: 400;
    line-height: 50px;
    text-align: right;
    color: #DBBB68;
}

.regicter-left-section p {
    font-family: Segoe UI;
    font-size: 24px;
    font-weight: 400;
    line-height: 25px;
    text-align: right;
    color: #ffffff;
}

/* Правая секция */
.regicter-right-section {
    background: url('/images/register/register-bg.png') no-repeat center center/cover;
    flex: 1 1 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
}

.regicter-account-selection {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px 40px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    max-width: 501px;
    height: auto;
    border: 3px solid #C3AA34;
}

.regicter-account-selection h2 {
    margin-bottom: 20px;
    font-family: Segoe UI;
    font-size: 25px;
    font-weight: 700;
    line-height: 25px;
    text-align: center;
    color: #171717;
}
.regicter-btn {
    display: block;
    width: 100%;
    margin: 10px 0;
    padding: 10px 20px;
    font-size: 25px;
    font-weight: 700;
    border: none;
    border-radius: 5px;
    /*cursor: pointer;*/
    /* transition: background 0.3s ease; */
    width: 404px;
    height: 70px;
    border-radius: 15px;
    display: flex    ;
    justify-content: center;
    align-items: center;
}

.regicter-btn.specialist {
    background: linear-gradient(to right, #EDC660, #C3AA34);
    color: #333;
    margin-bottom: 40px;
}

.regicter-btn.specialist:hover {
    background-color: #e5c200;
}

.regicter-btn.clinic {
    background: linear-gradient(to right, #827F77, #A6A6A6, #333333);
    color: #fff;
}

.regicter-btn.clinic:hover {
    background-color: #555;
}

.form-container {
    display: flex;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    max-width: 900px;
}

.form-left {
    background: linear-gradient(249deg, #000000, #737373);
    color: white;
    padding: 20px 40px;
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.regicter-form-left h2 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.regicter-form-container form {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.regicter-form-group {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
}

.regicter-form-container input[type="text"],
.custom-file,
.regicter-form-container input[type="file"],
.regicter-form-container input[type="email"] {
    flex: 1;
    padding: 6px;
    /*font-size: 1rem;*/
    border: 2px solid #CFB462;
    border-radius: 10px;
    font-family: Segoe UI;
    font-size: 18px;
    font-weight: 400;
    line-height: 25px;
    text-align: left;
    color: #171717;
}
.regicter-form-container input::placeholder{
    font-size: 20px;
    font-weight: 400;
    text-align: left;
    color: #171717;
}
.regicter-form-container button {
    background: linear-gradient(to top, #B8A758, #DBBB68);
    color: black;
    border: none;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.2rem;
    position: absolute;
    right: 8px;
    width: 56px;
    height: 56px;
}
.regicter-form-container button:after{
    content: "";
    background: url('/images/register/20.svg');
    background-size: 30px;
    background-repeat: no-repeat;
    background-position: center;
    display: block;
    position: relative;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
}
.regicter-form-container .custom-file button:after {
    rotate: 90deg;
}
.regicter-form-container button:hover {
    background: #d4ac0d;
}

.regicter-form-agreements {
    margin-top: 20px;
    font-family: Segoe UI;
    font-size: 16px;
    font-weight: 700;
    line-height: 25px;
    text-align: center;
}

.regicter-form-agreements p {
    font-weight: bold;
    margin-bottom: 10px;
}

.regicter-form-container label {
    display: block;
    margin-bottom: 5px;
    font-family: Segoe UI;
    font-size: 12px;
    font-weight: 400;
    line-height: 25px;
    text-align: left;
    color: #171717;
}
/*checkbox*/
/* Скрываем стандартный чекбокс */
.custom-checkbox input[type="checkbox"] {
    display: none;
}

/* Контейнер для пользовательского чекбокса */
.custom-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
}

/* Стиль кастомного чекбокса */
.custom-checkbox label {
    position: relative;
    padding-left: 30px;
    font-size: 12px;
    color: #333;
    cursor: pointer;
}

/* Создаем квадрат для кастомного чекбокса */
.custom-checkbox label::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 4px;
    background: #ccc;
    transition: all 0.3s ease;
}

/* Состояние при активированном чекбоксе */
.custom-checkbox input[type="checkbox"]:checked + label::before {
    background: #f1c40f;
    border-color: #d4ac0d;
}

/* Добавляем галочку при активированном чекбоксе */
.custom-checkbox input[type="checkbox"]:checked + label::after {
    content: "✔";
    position: absolute;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
    font-size: 14px;
    color: white;
}

/* Ховер эффект */
.custom-checkbox label:hover::before {
    border-color: #999;
}
/*checkbox/*/
/* Скрываем стандартный input */
.custom-file input[type="file"] {
    display: none;
}
.custom-file label {
    font-size: 25px;
    font-weight: 400;
    position: relative;
    display: contents;
    height: 100%;
    width: 100%;
}
.custom-file {
    padding: 20px;
}
.custom-file label button{
    right: 6px;
}
.regicter-form-left .regicter-form-btn{
    position: relative;
    width: 100%;
    right: 0;
    /*padding: 10px;*/
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 700;
}
.regicter-form .error{
    color: red;
}
#confirmForm{
    display: none;
}
.update-sms{
    display: none;
    cursor: pointer;
}
.captcha_wrapper{
    display: none;
}
.captcha_wrapper img {
    max-width: 100%;
    height: 46px;
    border-radius: 6px;
    overflow: hidden;
}
.enter-auth-registration{
    display: flex;
    justify-content: center;
    text-align: center;
    font-size: 14px;
    margin-top: -15px;
}
.enter-auth-registration a:hover{
    color: #256ebb;
}
.bxmaker-authuserphone-enter-auth__toregistration{
    display: none;
}
.container-agreement-popup{
    display: none;
}
.wrapper-agreement-popup{
    position: fixed;
    display: flex;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    background: rgba(27, 35, 42, 0.28);
    z-index: 99999;
}
#agreementPopup{
    max-width: 500px;
    width: 80%;
    height: auto;
    display: flex;
    flex-direction: row-reverse;
}
#agreementPopup textarea {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px 40px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    width: 501px;
    height: auto;
    border: 3px solid #C3AA34;
    max-width: 85%;
    height: 500px;
    background: #fff;
    border-radius: 6px;
    max-height: 85vh;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    /*overflow: hidden;*/
}
.regicter-container .popup-close{
    height: fit-content;
    border-radius: 5px;
    border: 2px solid #C3AA34;
}
#location-suggestions {
    max-height: 200px;
    overflow-y: auto;
    width: 300px;
}

#location-suggestions div {
    padding: 8px;
    cursor: pointer;
}

#location-suggestions div:hover {
    background-color: #f0f0f0;
}

@media (max-width: 768px) {
    #agreementPopup textarea {
        max-width: 95%;
    }
    .regicter-btn.specialist,
    .regicter-btn.clinic {
        width: 100%;
    }
    .regicter-container {
        padding-top: 32px;
        margin-bottom: -16px;
    }
    .regicter-wrapper {
        flex-direction: column;
    }
    .regicter-left-section {
        align-items: center;
    }
    .regicter-left-section p,.regicter-left-section h1 {
        text-align: center;
    }
    .regicter-right-section{
        padding: 30px 0 70px;
        background-position: right center;
    }
    .regicter-account-selection {
        max-width: 363px;
        width: auto;
    }
    .regicter-form-left h2,
    .regicter-form-left input::placeholder,
    .custom-file label,
    .custom-file span,
    .regicter-form-left input
    {
        font-size: 18px;
    }
    .regicter-form-container input[type="text"],
    .custom-file, .regicter-form-container input[type="file"],
    .regicter-form-container input[type="email"] {
        font-size: 18px;
    }
    .regicter-form-container button {
        right: 8px;
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }
    .regicter-form-container button:after {
        background: url(/images/register/10.svg);
        width: 30px;
        height: 30px;
    }
    .regicter-form-agreements p {
        font-size: 12px;
    }
    .custom-checkbox label {
        font-size: 9px;
    }
}