table .checkbox.form-no-label,
table .radio.form-no-label {
    margin-bottom: 0;
    margin-top: 0;
}

.select-wrapper {
    display: inline-block;
    position: relative;
    width: 100%;
}

.form-inline .select-wrapper {
    width: auto;
}

.input-group .select-wrapper {
    display: table-cell;
}

.input-group .select-wrapper:first-child .form-control:first-child {
    border-bottom-left-radius: 4px;
    border-top-left-radius: 4px;
}

.input-group .select-wrapper:last-child .form-control:first-child {
    border-bottom-right-radius: 4px;
    border-top-right-radius: 4px;
}

.select-wrapper select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    line-height: 1;
    padding-right: 2em;
}

.select-wrapper select::-ms-expand {
    opacity: 0;
}

.select-wrapper:after {
    color: #337ab7;
    content: '▼';
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    margin-top: -0.5em;
    padding-right: 0.5em;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: 50%;
    z-index: 10;
}

.has-glyphicons .select-wrapper:after {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: '\e114';
    display: inline-block;
    font-family: 'Glyphicons Halflings';
}

.has-error .select-wrapper:after {
    color: #a94442;
}

.has-success .select-wrapper:after {
    color: #3c763d;
}

.has-warning .select-wrapper:after {
    color: #8a6d3b;
}

.form-required:after {
    background-image: url(../../images/required.svg);
    background-size: 10px 7px;
    content: "";
    display: inline-block;
    line-height: 1;
    height: 7px;
    width: 10px;
}

.form-actions .btn,
.form-actions .btn-group {
    margin-right: 10px;
}

.form-actions .btn-group .btn {
    margin-right: 0;
}

/* styles.css - Стилизация формы подбора тура */

/* Основные стили для формы */
.contact-message-podbor-tura-form {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    padding: 40px;
    margin: 30px auto;
    max-width: 700px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
}

/* Эффект парения */
.contact-message-podbor-tura-form:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

/* Декоративный элемент сверху */
.contact-message-podbor-tura-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #8c52fe 0%, #8c52fe 100%) !important;
}

/* Стили для заголовка формы */
.page-header {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 30px;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    /* background: linear-gradient(90deg, #6a11cb 0%, #2575fc 100%); */
    border-radius: 3px;
}

/* Стили для всех полей формы */
.form-group {
    margin-bottom: 25px;
    position: relative;
}

/* Стили для меток */
.control-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #495057;
    transition: color 0.3s ease;
}

/* Стили для полей ввода */
.form-control {
    display: block;
    width: 100%;
    padding: 12px 15px;
    font-size: 16px;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    height: 40px;
}

/* Фокус-эффект для полей ввода */
.form-control:focus {
    border-color: #fe78d7;
    box-shadow: 0 0 0 3px rgba(106, 17, 203, 0.1);
    outline: 0;
}

/* Специальные стили для обязательных полей */
.form-control.required:focus {
    border-color: #fe78d7;
    box-shadow: 0 0 0 3px rgba(37, 117, 252, 0.1);
}

/* Стили для текстовой области */
textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Стили для кнопок */
.form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

/* background: linear-gradient(90deg, #c397ca, #766b96, #4f4e6d, #766b96, #c397ca); */
/* Основная кнопка отправки */
.btn-primary {
    background: linear-gradient(90deg, #463883 0%, #463883 100%) !important;
    border: none;
    border-radius: 10px;
    color: white;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(106, 17, 203, 0.3);
    flex: 1;
    margin-right: 10px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(106, 17, 203, 0.4);
}

/* Кнопка предпросмотра */
.btn-default {
    background: linear-gradient(90deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #e9ecef;
    border-radius: 10px;
    color: #495057;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    margin-left: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-default:hover {
    background: linear-gradient(90deg, #e9ecef 0%, #dee2e6 100%);
    border-color: #6a11cb;
    color: #6a11cb;
}

/* Иконка в кнопке предпросмотра */
.btn-default .icon {
    margin-right: 8px;
}

/* Стили для хлебных крошек */
.breadcrumb {
    background-color: transparent;
    padding: 0;
    margin-bottom: 20px;
}

.breadcrumb li {
    display: inline;
    font-size: 14px;
}

.breadcrumb li a {
    color: #6a11cb;
    text-decoration: none;
}

.breadcrumb li.active {
    color: #6c757d;
}

.breadcrumb li+li:before {
    content: ">";
    padding: 0 8px;
    color: #6c757d;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .contact-message-podbor-tura-form {
        padding: 25px;
        margin: 15px;
    }

    .form-actions {
        flex-direction: column;
    }

    .btn-primary,
    .btn-default {
        margin: 5px 0;
        width: 100%;
    }
}

/* Анимация появления формы */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-message-podbor-tura-form {
    animation: fadeInUp 0.5s ease-out;
}

/* Основные стили для блока формы */
#block-vebforma {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    padding: 0 40px;
    margin: 30px auto;
    max-width: 700px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
}

/* Эффект парения */
#block-vebforma:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

/* Декоративный элемент сверху */
#block-vebforma::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #8c52fe 0%, #8c52fe 100%);
}

/* Стили для заголовка блока */
#block-vebforma .block-title {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 30px;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
    font-size: 24px;
}

#block-vebforma .block-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    border-radius: 3px;
}

/* Стили для всех полей формы */
#block-vebforma .form-group {
    margin-bottom: 25px;
    position: relative;
}

/* Стили для меток */
#block-vebforma .control-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #495057;
    transition: color 0.3s ease;
    font-size: 14px;
}

/* Стили для полей ввода */
#block-vebforma .form-control {
    display: block;
    width: 100%;
    padding: 12px 15px;
    font-size: 16px;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* Фокус-эффект для полей ввода */
#block-vebforma .form-control:focus {
    border-color: #463883;
    box-shadow: 0 0 0 3px rgba(70, 56, 131, 0.1);
    outline: 0;
}

/* Специальные стили для обязательных полей */
#block-vebforma .form-control.required:focus {
    border-color: #463883;
    box-shadow: 0 0 0 3px rgba(70, 56, 131, 0.1);
}

/* Стили для текстовой области */
#block-vebforma textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* Стили для CAPTCHA */
#block-vebforma .captcha {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
}

#block-vebforma .captcha .panel-heading {
    background: transparent;
    border: none;
    padding: 0;
}

#block-vebforma .captcha .panel-title a {
    color: #495057;
    font-weight: 500;
    text-decoration: none;
}

#block-vebforma .captcha img.img-responsive {
    border-radius: 5px;
    margin-bottom: 15px;
}

/* Стили для кнопки отправки */
#block-vebforma .btn-primary {
    background: linear-gradient(90deg, #463883 0%, #463883 100%);
    border: none;
    border-radius: 10px;
    color: white;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(70, 56, 131, 0.3);
    width: 100%;
    margin-top: 10px;
}

#block-vebforma .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(70, 56, 131, 0.4);
    background: linear-gradient(90deg, #3a2d6f 0%, #3a2d6f 100%);
}

/* Стили для ссылки обновления капчи */
#block-vebforma .reload-captcha-wrapper {
    margin-top: 15px;
}

#block-vebforma .reload-captcha {
    color: #463883;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

#block-vebforma .reload-captcha:hover {
    color: #3a2d6f;
    text-decoration: underline;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    #block-vebforma {
        padding: 25px 20px;
        margin: 15px;
    }

    #block-vebforma .block-title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    #block-vebforma .form-control {
        padding: 10px 12px;
        font-size: 14px;
    }

    #block-vebforma .btn-primary {
        padding: 12px 30px;
        font-size: 15px;
    }
}

/* Анимация появления формы */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#block-vebforma {
    animation: fadeInUp 0.5s ease-out;
}

/* Стили для обязательных полей */
#block-vebforma .form-required:after {
    background-image: none;
    content: "*";
    color: #dc3545;
    font-weight: bold;
    margin-left: 4px;
}

/* Стили для inline формы телефона */
#block-vebforma .form-inline {
    display: flex;
    flex-direction: column;
}

@media (min-width: 576px) {
    #block-vebforma .form-inline {
        /* flex-direction: row;
        align-items: center; */
    }

    #block-vebforma .form-inline .control-label {
        margin-right: 15px;
        margin-bottom: 0;
        min-width: 80px;
    }
}