.registration-section {
    background-color: #f7f7f7;
}

.registration-form {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
    font-family: "Quicksand", sans-serif;
}

.form-title {
    color: #c7a756;
    font: 500 48px/1.1 "Libre Bodoni", serif;
    text-align: center;
    margin-bottom: 30px;
    letter-spacing: -0.7px;
}

.form-section {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.registration-title {
    color: #c7a756;
    font: 400 25px / 1.1 "Libre Bodoni", serif;
    margin-bottom: 15px;
    text-align: left;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.form-field {
    display: flex;
    flex-direction: column;
}

.form-label {
    color: #494949;
    font: 600 14px/1.2 "Quicksand", sans-serif;
    margin-bottom: 5px;
    letter-spacing: 0.28px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font: 400 14px/1.2 "Quicksand", sans-serif;
    color: #141414;
}

.form-select {
    appearance: none;
    background: url("data:image/svg+xml;utf8,<svg fill=\'%23c7a756\' height=\'24\' viewBox=\'0 0 24 24\' width=\'24\' xmlns=\'http://www.w3.org/2000/svg\'><path d=\'M7 10l5 5 5-5z\'/><path d=\'M0 0h24v24H0z\' fill=\'none\'/></svg>") no-repeat right 10px center;
    background-size: 20px;
    min-height: 42.8px;
}

.form-textarea {
    min-height: 100px;
    resize: vertical;
}

.form-checkbox {
    display: flex;
    align-items: center;
    margin-top: 5px;
}

.form-checkbox input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 20px;
    min-width: 20px;
    height: 20px;
    border: 2px solid #c7a756;
    border-radius: 4px;
    margin-right: 10px;
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s, border-color 0.3s;
}

.form-checkbox input[type="checkbox"]:checked {
    background-color: #c7a756;
    border-color: #c7a756;
}

.form-checkbox input[type="checkbox"]:checked::after {
    content: '\2714';
    font-size: 14px;
    color: #ffffff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.form-checkbox label {
    display: flex;
    font-family: 'Quicksand', sans-serif;
    font-size: 14px;
    color: #141414;
    cursor: pointer;
    padding-bottom: 5px;
}

.form-checkbox input[type="checkbox"]:hover,
.form-checkbox label:hover {
    opacity: 0.9;
    border-color: #b69645
}

.whatsapp-notice {
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    color: #856404;
    padding: 10px;
    border-radius: 4px;
    margin-top: 10px;
    font: 400 14px/1.6 "Quicksand", sans-serif;
}

.separator {
    width: 100%;
    margin: 20px 0;
    border-bottom: 1px solid #c7a756;
}

.reference-item {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.reference-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.reference-title {
    color: #141414;
    font: 400 18px/1.1 "Libre Bodoni", serif;
    margin: 0;
}

.reference-actions {
    display: flex;
    gap: 10px;
}

.reference-button {
    background-color: #c7a756;
    color: #fff;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font: 600 14px/1.2 "Quicksand", sans-serif;
}

.reference-button:hover {
    background-color: #b08d3c;
}

.mailing-list-notice {
    font: 400 14px/1.2 "Quicksand", sans-serif;
    color: #494949;
    margin-top: 20px;
}

.form-actions {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.form-button {
    background-color: var(--gold);
    color: var(--white);
    border: none;
    padding: 0.625rem 2.375rem;
    border-radius: 0.5rem;
    cursor: pointer;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    transition: background-color 0.3s ease;
    text-transform: uppercase;
}

.form-button:hover {
    background-color: #b08d3c;
}

.business-type {
    display: flex;
    align-items: flex-start
}

a:hover {
    color: #ffffff;
!important;
}

.form-control, .form-select:focus {
    box-shadow: none;
!important;
}

.datepicker table tr td.active:active, .datepicker table tr td.active.highlighted:active, .datepicker table tr td.active.active, .datepicker table tr td.active.highlighted.active {
    color: #fff;
    background-color: var(--gold);
    border-color: var(--gold);
}

.datepicker table tr td.active:active:hover, .datepicker table tr td.active.highlighted:active:hover, .datepicker table tr td.active.active:hover, .datepicker table tr td.active.highlighted.active:hover, .datepicker table tr td.active:active:focus, .datepicker table tr td.active.highlighted:active:focus, .datepicker table tr td.active.active:focus, .datepicker table tr td.active.highlighted.active:focus, .datepicker table tr td.active:active.focus, .datepicker table tr td.active.highlighted:active.focus, .datepicker table tr td.active.active.focus, .datepicker table tr td.active.highlighted.active.focus {
    color: #fff;
    background-color: #b69345;
!important;
    border-color: #b69345;
!important;
}

.form-select:focus-visible {
    box-shadow: none;
!important;
    border: 1px solid #c7a756 !important;
    outline: none !important;
}

.has-error .form-select {
    border-color: #a94442;
}

label {
    margin-bottom: 0;
!important;
}
.separator {
    width: 100%;
    margin: 20px 0;
    border-bottom: 1px solid #c7a756;
}

.hidden-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hidden-input {
    display: none;
}
.datepicker-dropdown {
    z-index: 111111111 !important;
}
.city-disabled {
    background-color: #e9ecef;
    color: #6c757d;
    pointer-events: none;
    cursor: not-allowed;
    opacity: 1;
}
.form-control {
    border-radius: 4px;
    border: 1px solid #e0e0e0;
}
.form-control:focus {
    border: 1px solid #c7a756 !important;
    outline: none !important;
}

/* Основные стили для формы */
.form-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
}

.vat-form-group {
    flex: 1 1 45%;
    display: flex;
    flex-direction: column;
}

/* Стили для загрузки файла */
.file-upload-wrapper {
    border: 2px dashed #c7a756;
    padding: 5px; /* Уменьшаем padding */
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    position: relative;
    min-height: 43px;
    display: flex;
    justify-content: center; /* По горизонтали */
    align-items: center;
    width: 100%; /* Обеспечиваем, чтобы обертка занимала всю ширину */
}

.upload-button {
    font-size: 16px;
    color: #c7a756;
    align-items: center; /* Выравниваем иконку и текст по вертикали */
    margin: 0;
    cursor: pointer;
}

.upload-button i {
    margin-top: 4px;
    margin-right: 20px; /* Меньше отступ для иконки */
}

.file-name {
    font-size: 14px;
    margin-top: 4px;
    color: #333;
    font-style: italic;
}

.file-upload-wrapper:hover {
    background-color: #f8f8f8;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Скрываем стандартный инпут */
.file-upload-input {
    display: none;
}

.form-grid-source {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.form-group-source {
    width: 100%;
}

.vat-field-input {
    max-width: 32% !important;
}

#vat_fields {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

/* Каждая группа — половина ширины на больших экранах */
.vat-form-group {
    flex: 1;
    min-width: 290px;
}

.form-button .btn-spinner {
    display: inline-block;
    vertical-align: middle;
}


/* На маленьких экранах — одна под другой */
@media (max-width: 768px) {
    #vat_fields {
        flex-direction: column;
    }

    .vat-form-group {
        width: 100%;
    }
}


/* Медиазапросы для разных размеров экранов */
@media (min-width: 768px) {
    .form-grid-source {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .form-grid-source {
        grid-template-columns: 1fr 1fr 1fr;
    }
}


@media (max-width: 1200px) {
    .business-type {
        display: block;
    }
    .registration-form {
        padding: 20px;
    }
    .form-checkbox label {
        display: flex;
        align-items: center;
    }
    .form-title {
        color: #c7a756;
        font: 500 40px / 1.1 "Libre Bodoni", serif;
        text-align: center;
        margin-bottom: 30px;
        letter-spacing: -0.7px;
    }
    .vat-field-input {
        max-width: 100% !important;
    }

    .is-vat {
        width: 100%;!important;
    }
}



