@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');


body {
    font-family: 'Roboto', sans-serif;
    background: #f7f8fa;
    margin: 0;
    padding: 0;
}



.register-container {
    background: #fff;
    border-radius: 40px;
    box-shadow: 0 8px 40px 0 rgba(0,0,0,0.10);
    max-width: 1100px;
    margin: 105px auto 60px auto;
    padding: 50px 60px 50px 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}


.back-to-home {
    display: flex;
    align-items: start;
    color: #FF5601;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    margin-left: 20px;
    margin-top: 10px;
    position: absolute;
    top: 18px;
    left: 18px;
}

.register-title {
    font-size: 40px;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 10px;
    margin-top: 40px;
    letter-spacing: 1px;
}

.register-error {
    color: #ff3b3b;
    font-size: 16px;
    margin-bottom: 20px;
    text-align: center;
}

.register-form {
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
}

.register-row {
    display: flex;
    flex-direction: row;
    gap: 32px;
    width: 100%;
    justify-content: space-between;
}

.register-col {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.register-label {
    font-size: 18px;
    color: #333;
    font-weight: 500;
    margin-bottom: 4px;
}

.register-input,
.select2-container--default .select2-selection--single {
    font-size: 15px;
    padding: 10px 16px;
    border: 2px solid #FF5601;
    border-radius: 8px;
    outline: none;
    background: #fff;
    color: #787878;
    transition: border 0.2s;
    width: 100%;
    box-sizing: border-box;
}

.register-input:focus,
.select2-container--default .select2-selection--single:focus {
    border-color: #FF5601;
    box-shadow: 0 0 0 2px #ffe1c2;
}

.select2-container--default .select2-selection--single {
    height: 44px;
    display: flex;
    align-items: center;
}

.select2-selection__rendered {
    color: #333 !important;
    font-size: 18px !important;
    line-height: 44px !important;
    
}

.select2-selection__arrow {
    height: 44px !important;
    
}

.register-checkbox-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
}

.register-checkbox {
    width: 18px;
    height: 18px;
    accent-color: #FF5601;
    cursor: pointer;
}

.register-checkbox-label {
    font-size: 16px;
    color: #333;
    font-weight: 400;
    cursor: pointer;
}

.register-password-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.register-submit {
    margin: 0 auto;
    margin-top: 24px;
    padding: 16px 48px;
    background: #FF5601;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px 0 rgba(255,111,0,0.10);
    display: block;
}

.register-submit:hover {
    background: #FF5601;
}

@media (max-width: 1100px) {
    .register-container {
        max-width: 98vw;
        padding: 30px 10px 30px 10px;
    }
    .register-form {
        max-width: 98vw;
    }
}

@media (max-width: 900px) {
    .register-title {
        font-size: 36px;
    }
    .register-row {
        flex-direction: column;
        gap: 18px;
    }
    .register-form {
        gap: 18px;
    }
}

@media (max-width: 600px) {
    .register-container {
        border-radius: 18px;
        padding: 16px 2vw 24px 2vw;
        margin: 20px 0 0 0;
    }
    .register-title {
        font-size: 24px;
        margin-bottom: 18px;
    }
    .register-label {
        font-size: 16px;
    }
    .register-input,
    .select2-container--default .select2-selection--single {
        font-size: 15px;
        padding: 8px 10px;
        height: 38px;
    }
    .register-submit {
        font-size: 16px;
        padding: 10px 0;
        border-radius: 7px;
    }
}

.register-password-row {
    display: flex;
    align-items: center;
    position: relative;
}

.password-toggle {
    background: none;
    border: none;
    cursor: pointer;
    margin-left: -55px;
    padding: 0;
    display: flex;
    align-items: center;
    height: 100%;
}

.password-toggle svg {
    width: 28px;
    height: 28px;
    stroke: #222;
    transition: opacity 0.2s;
}





.register-input:focus {
    border-color: #FF5601;
    box-shadow: 0 0 0 2px #ffe1c2;
}

.register-password-row {
    display: flex;
    align-items: center;
    position: relative;
}

.password-toggle {
    background: none;
    border: none;
    cursor: pointer;
    margin-left: -50px;
    padding: 0;
    display: flex;
    align-items: center;
    height: 100%;
}

.password-toggle img,
.password-toggle svg {
    width: 28px;
    height: 28px;
    stroke: #222;
    transition: opacity 0.2s;
}

.register-submit {
    margin: 0 auto;
    margin-top: 24px;
    padding: 16px 48px;
    background: #FF5601;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px 0 rgba(255,111,0,0.10);
    display: block;
}

.register-submit:hover {
    background: #e65c00;
}

/* Сообщения об ошибках */
.register-error {
    color: #ff3b3b;
    font-size: 18px;
    margin-bottom: 20px;
    text-align: center;
}

/* --- Адаптивность --- */
@media (max-width: 1100px) {
    .register-container {
        max-width: 98vw;
        padding: 30px 10px 30px 10px;
    }
    .register-form {
        max-width: 98vw;
    }
}

@media (max-width: 900px) {
    .register-title {
        font-size: 36px;
    }
    .register-form {
        gap: 18px;
    }
}

@media (max-width: 600px) {
    .register-container {
        border-radius: 18px;
        padding: 16px 2vw 24px 2vw;
        margin: 100px 0 0 0;
    }
    .register-title {
        font-size: 24px;
        margin-bottom: 18px;
    }
    .register-label {
        font-size: 16px;
    }
    .register-input {
        font-size: 15px;
        padding: 8px 10px;
        height: 38px;
    }
    .register-submit {
        font-size: 16px;
        padding: 10px 10px;
        border-radius: 7px;
    }
    .password-toggle img,
    .password-toggle svg {
        width: 22px;
        height: 22px;
    }
}
/* Стили для заблокированной кнопки */
.register-submit:disabled {
    background-color: #6c757d !important;
    cursor: not-allowed !important;
    opacity: 0.6 !important;
}

/* Стили для сообщения */
#regional-operator-message {
    font-weight: bold;
    font-size: 16px;
}