

/* Start:/local/templates/mk-27-new/components/bitrix/main.register/physregistration/style.css?17502022607949*/
/**
 * @file: style.css
 * @description: Стили для формы регистрации физических лиц
 * @dependencies: template.php
 * @created: 2024-07-17
 */

/* Основные стили формы */
.register-form-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
    font-family: 'Roboto', Arial, sans-serif;
    color: #333;
}

.register-header {
    text-align: center;
    margin-bottom: 40px;
}

.register-title {
    font-size: 28px;
    font-weight: 700;
    color: #475560;
    margin-bottom: 10px;
}

.register-subtitle {
    font-size: 16px;
    color: #5a6c77;
    margin-bottom: 0;
}

.register-form {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    padding: 20px;
}

/* Стили блоков формы */
.register-block {
    background-color: #f8fafc;
    border-radius: 6px;
    padding: 25px;
    height: 100%;
    margin-bottom: 20px;
}

.register-block-title {
    font-size: 18px;
    font-weight: 600;
    color: #475560;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e5e9;
}

.register-column {
    margin-bottom: 20px;
}

/* Стили полей ввода */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #475560;
    margin-bottom: 8px;
}

.form-group .text-danger {
    color: #ee3831;
}

.form-control {
    display: block;
    width: 100%;
    height: 48px;
    padding: 10px 15px;
    font-size: 16px;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 6px;
    transition: all 0.2s ease-in-out;
}

.form-control:focus {
    border-color: #475560;
    box-shadow: 0 0 0 0.2rem rgba(71, 85, 96, 0.25);
}

.form-control::placeholder {
    color: #adb5bd;
    opacity: 1;
}

/* Стили для полей пароля */
.password-container {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #6c757d;
    transition: color 0.2s;
}

.password-toggle:hover {
    color: #495057;
}

.password-requirements {
    font-size: 12px;
    margin-top: 5px;
}

/* Стили капчи */
.captcha-group {
    margin-top: 30px;
}

.captcha-container {
    margin-top: 10px;
}

.captcha-image-container {
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}

.captcha-image {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    border: 1px solid #e0e5e9;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.captcha-refresh-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.captcha-refresh-btn:hover {
    background-color: #fff;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.captcha-input {
    max-width: 300px;
}

/* Стили для блока согласия */
.data-consent-container {
    margin-top: 20px;
}

.custom-control {
    position: relative;
    display: block;
    min-height: 24px;
    padding-left: 30px;
}

.custom-control-input {
    position: absolute;
    z-index: -1;
    opacity: 0;
}

.custom-control-label {
    position: relative;
    margin-bottom: 0;
    vertical-align: top;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 400;
}

.custom-control-label::before {
    position: absolute;
    top: 2px;
    left: -30px;
    display: block;
    width: 20px;
    height: 20px;
    pointer-events: none;
    content: '';
    background-color: #fff;
    border: 1px solid #adb5bd;
    border-radius: 4px;
}

.custom-control-label::after {
    position: absolute;
    top: 2px;
    left: -30px;
    display: block;
    width: 20px;
    height: 20px;
    content: '';
    background: no-repeat 50% / 50% 50%;
}

.custom-control-input:checked ~ .custom-control-label::before {
    color: #fff;
    border-color: #ee3831;
    background-color: #ee3831;
}

.custom-control-input:checked ~ .custom-control-label::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3e%3c/svg%3e");
}

.custom-control-input:focus ~ .custom-control-label::before {
    box-shadow: 0 0 0 0.2rem rgba(238, 56, 49, 0.25);
}

.custom-control-input:not(:disabled):active ~ .custom-control-label::before {
    color: #fff;
    background-color: #fadad9;
    border-color: #fadad9;
}

.data-consent-container a {
    color: #ee3831;
    text-decoration: none;
    transition: color 0.2s;
}

.data-consent-container a:hover {
    color: #c52a24;
    text-decoration: underline;
}

/* Стили для кнопок и ссылок */
.register-actions {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.register-submit {
    display: inline-block;
    font-weight: 600;
    color: #fff;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    background-color: #ee3831;
    border: none;
    padding: 12px 40px;
    font-size: 16px;
    line-height: 1.5;
    border-radius: 6px;
    transition: all 0.2s;
    width: 100%;
    max-width: 320px;
}

.register-submit:hover {
    background-color: #d62e27;
    box-shadow: 0 4px 10px rgba(238, 56, 49, 0.3);
}

.register-submit:focus {
    background-color: #c52a24;
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(238, 56, 49, 0.25);
}

.register-submit:disabled {
    background-color: #f8a7a4;
    cursor: not-allowed;
}

.login-link-container {
    margin-top: 20px;
    text-align: center;
}

.login-link-container p {
    font-size: 15px;
    color: #5a6c77;
    margin-bottom: 0;
}

.login-link {
    color: #ee3831;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.login-link:hover {
    color: #c52a24;
    text-decoration: underline;
}

.register-note {
    font-size: 13px;
    color: #6c757d;
    text-align: center;
    margin-top: 20px;
}

/* Стили для уведомлений */
.alert {
    position: relative;
    padding: 15px 20px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 6px;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.alert-info {
    color: #0c5460;
    background-color: #d1ecf1;
    border-color: #bee5eb;
}

.custom-privacy--text {
    font-size: 12px;
    font-style: italic;
}

.custom-privacy--text a {
    font-size: 12px;
    font-style: italic;
}

/* Адаптивность */
@media (max-width: 992px) {
    .register-title {
        font-size: 24px;
    }

    .register-block {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .register-form-container {
        padding: 20px 15px;
    }

    .register-title {
        font-size: 22px;
    }

    .register-block-title {
        font-size: 16px;
    }

    .form-control {
        height: 44px;
    }

    .register-submit {
        padding: 10px 30px;
        font-size: 15px;
    }
}

@media (max-width: 576px) {
    .register-header {
        margin-bottom: 25px;
    }

    .register-title {
        font-size: 20px;
    }

    .register-subtitle {
        font-size: 14px;
    }

    .register-block {
        padding: 15px;
    }

    .form-group label {
        font-size: 13px;
    }

    .form-control {
        height: 40px;
        font-size: 14px;
    }

    .register-submit {
        width: 100%;
    }
}

/* End */
/* /local/templates/mk-27-new/components/bitrix/main.register/physregistration/style.css?17502022607949 */
