.contacts-section.support {
    padding: 60px 0;
}

.contacts-wrap {
    background: transparent;
    border-radius: 32px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.section-title {
    font-size: 2.5rem;
    margin: 0;
    padding: 40px 40px 20px;
    background: transparent;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    letter-spacing: -0.02em;
}

.contacts {
    padding: 20px 40px 40px;
}

.info-card {
    display: flex;
    gap: 20px;
    border-radius: 24px;
    padding: 0px 15px;
    max-width: 45%;
}

.info-card__icon {
    font-size: 2.8rem;
    line-height: 1;
    background: #eef4ff;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 112, 243, 0.15);
}

.lk-inner h5 {
    margin-bottom: 0 !important;
}

.contacts-wrap .form_zakaz_support {
    border: none;
}

.form_zakaz_support label.form-label {
    color: #2d2d2d;
    margin-bottom: 10px;
    display: flex;
}

.form_zakaz_support .inputtextarea {
    padding: 10px;
	border-radius: 25px;
}

.contacts-map {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.15);
    border: 2px solid white;
    transition: all 0.3s ease;
}

.contacts-map:hover {
    box-shadow: 0 25px 40px -10px rgba(0, 0, 0, 0.25);
}

.contacts-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.contacts-map:hover .contacts-img {
    transform: scale(1.02);
}

.service .form-body {
    margin-top: 1rem;
}

.service .form-label {
    margin-bottom: 0.5rem;
    display: block;
    color: #374151;
    font-weight: 500;
}

.btn, .btn:hover, .btn:active, .btn:focus {
    outline: none !important;
}

.btn-primary {
    --bs-btn-color: #fff !important;
    --bs-btn-bg: #BA5A42 !important;
    --bs-btn-border-color: #BA5A42 !important;
    --bs-btn-hover-color: #fff !important;
    --bs-btn-hover-bg: #fb5d0a !important;
    --bs-btn-hover-border-color: #fb5d0a !important;
    --bs-btn-active-color: #fff !important;
    --bs-btn-active-bg: #BA5A42 !important;
    --bs-btn-active-border-color: #BA5A42 !important;
    --bs-btn-disabled-color: #fff !important;
    --bs-btn-disabled-bg: #BA5A42 !important;
    --bs-btn-disabled-border-color: #BA5A42 !important;
}

input[type="number"]::-webkit-inner-spin-button, 
input[type="number"]::-webkit-outer-spin-button { 
    -webkit-appearance: none; 
    margin: 0; 
}

input[type="number"] {
    -moz-appearance: textfield;
}

.formfield {
    color: #2f2a28;
    margin-bottom: 0;
}

.inputtext, 
.formfield select,
.form-control {
    height: 40px;
    border: 1px solid #CCC;
    border-bottom-color: #B3B3B3;
    background: #fff;
    color: #333;
    width: 100%;
    padding: 0 12px;
    font-size: 16px;
    box-sizing: border-box;
	border-radius: 25px;
}

.formfield select {
    width: 100%;
    height: 40px;
    line-height: 40px;
    border: 1px solid #CCC;
    padding-left: 12px;
    border-radius: 25px;
    max-width: 100%;
    font-size: 16px;
    background-color: #fff;
}

.formfield select:focus-visible, 
.formfield input:focus-visible {
    outline: none;
    border-color: #f47532;
}

.inputtextarea {
    border: 1px solid #CCC;
    border-bottom-color: #B3B3B3;
    background: #FFF;
    color: #333;
    width: 100%;
    padding: 10px 12px;
    border-radius: 4px;
    font-size: 16px;
    min-height: 100px;
    resize: vertical;
    box-sizing: border-box;
}

.inputtextarea:focus-visible {
    border: 1px solid #f47532;
    outline: none;
}

.select2-container {
    z-index: 9999 !important;
    width: 100% !important;
    height: 40px;
    padding: 0;
    font-size: 16px;
    border: none;
}

.select2-container .select2-selection--single {
    border: 1px solid #CCC;
    background: #fff;
    height: 40px !important;
    border-radius: 10px;
}

.form-control:focus {
    border-color: initial!important;
    box-shadow: none!important;
    border: 2px solid!important;
    border-radius: 10px!important;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    line-height: 38px;
    padding-left: 12px;
}

.select2-container .select2-selection--single .select2-selection__arrow {
    height: 38px;
}

.select2-dropdown {
    z-index: 10000 !important;
    border: 1px solid #CCC;
    border-radius: 4px;
}

.select2-search__field {
    width: 100% !important;
    padding: 5px !important;
    box-sizing: border-box !important;
}

.form_zakaz_support .bx-input-file-desc .file-size {
    color: #6e6a6a;
}

/* ========== КАСТОМНЫЙ ЧЕКБОКС ========== */
.custom-checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #fff;
    padding: 16px 20px;
    border-radius: 25px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
    min-height: 60px;
}

.custom-checkbox-wrapper:hover {
    background: #fff;
    box-shadow: 0 4px 12px rgba(244, 117, 50, 0.1);
}

.custom-checkbox-wrapper input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 24px;
    height: 24px;
    margin: 0;
    padding: 0;
    z-index: 1;
    cursor: pointer;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
}

.custom-checkbox-wrapper label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    color: #2d3748;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
    padding: 0;
    width: 100%;
    user-select: none;
    position: relative;
    font-weight: normal;
}

.custom-checkbox-wrapper .custom-checkbox {
    display: inline-block;
    width: 22px;
    height: 22px;
    border: 2px solid #BA5A42;
    border-radius: 6px;
    background: #fff;
    position: relative;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.custom-checkbox-wrapper label:hover .custom-checkbox {
    border-color: #BA5A42;
    background: #fff4ed;
    transform: scale(1.05);
}

.custom-checkbox-wrapper input[type="checkbox"]:hover + label .custom-checkbox {
    border-color: #BA5A42;
    background: #fff4ed;
    transform: scale(1.05);
}

.custom-checkbox-wrapper input[type="checkbox"]:focus + label .custom-checkbox {
    box-shadow: 0 0 0 3px rgba(244, 117, 50, 0.25);
    outline: none;
}

.custom-checkbox-wrapper input[type="checkbox"]:checked + label .custom-checkbox {
    background-color: #f47532;
    border-color: #f47532;
    position: relative;
}

.custom-checkbox-wrapper input[type="checkbox"]:checked + label .custom-checkbox::after {
    content: '';
    position: absolute;
    left: 7px;
    top: 3px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.custom-checkbox-wrapper input[type="checkbox"]:active + label .custom-checkbox {
    transform: scale(0.9);
}

.custom-checkbox-wrapper .checkbox-text {
    display: inline;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #2d3748;
    flex: 1;
}

.custom-checkbox-wrapper .checkbox-text a {
    color: #BA5A42;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: all 0.2s ease;
    white-space: nowrap;
    display: inline-block;
}

.custom-checkbox-wrapper .checkbox-text a:hover {
    border-bottom-color: #BA5A42;
    color: #fb5d0a;
}

.custom-checkbox-wrapper.is-invalid {
    border-color: #dc3545;
    background-color: #fff8f8;
    animation: shake 0.3s ease-in-out;
}

.custom-checkbox-wrapper.is-invalid .custom-checkbox {
    border-color: #dc3545;
}

.custom-checkbox-wrapper.is-invalid .checkbox-text {
    color: #721c24;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

@media (max-width: 768px) {
    .custom-checkbox-wrapper {
        padding: 16px;
        min-height: auto;
    }
    
    .custom-checkbox-wrapper .checkbox-text {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .custom-checkbox-wrapper .checkbox-text a {
        white-space: normal;
        word-break: break-word;
    }
    
    .custom-checkbox-wrapper input[type="checkbox"] {
        left: 16px;
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 480px) {
    .custom-checkbox-wrapper {
        padding: 14px;
    }
    
    .custom-checkbox-wrapper label {
        gap: 10px;
    }
    
    .custom-checkbox-wrapper .checkbox-text {
        font-size: 0.85rem;
    }
    
    .custom-checkbox-wrapper .custom-checkbox {
        width: 20px;
        height: 20px;
        min-width: 20px;
    }
    
    .custom-checkbox-wrapper input[type="checkbox"]:checked + label .custom-checkbox::after {
        left: 6px;
        top: 2px;
        width: 5px;
        height: 9px;
    }
	
}

.form-header {
    height: 50px;
    padding: 8pt 0;
}

.form-title {
    line-height: 1.1 !important;
    margin: 4pt 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
}

.form-control.is-invalid { 
    border-color: #dc3545;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23dc3545' viewBox='0 0 16 16'%3E%3Cpath d='M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM5.354 4.646a.5.5 0 1 0-.708.708L7.293 8l-2.647 2.646a.5.5 0 0 0 .708.708L8 8.707l2.646 2.647a.5.5 0 0 0 .708-.708L8.707 8l2.647-2.646a.5.5 0 0 0-.708-.708L8 7.293 5.354 4.646z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.is-invalid {
    border-color: #dc3545 !important;
}

.is-invalid:focus {
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
	border-color: #dc3545 !important;
}

.select2-container.is-invalid .select2-selection {
    border-color: #dc3545 !important;
}

.invalid-feedback {
    display: none;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #dc3545;
}

span.bx-input-file-desc {
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #6c757d;
    display: flex;
    width: 386px;
    max-width: 386px;
}

.contacts-info-wrap {
    padding-bottom: 16px!important;
}

.file-size {
    font-style: italic;
}

.success-popup {
    background-color: #d4edda;
}

.success-title {
    color: #155724 !important;
}

.error-popup {
    background-color: #f8d7da;
}

.error-title {
    color: #721c24 !important;
}

.swal2-loading {
    border-color: #3085d6 !important;
}

@keyframes press {
    0% { transform: scale(1); }
    50% { transform: scale(0.92); }
    to { transform: scale(1); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.3s ease-out;
}

.alert {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.col-form-label span {
    color: red;
}

input {
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    box-sizing: border-box;
}

input.button {
    cursor: pointer;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
        padding: 30px 20px 15px;
    }
    
    .contacts {
        padding: 15px 20px 30px;
    }
    
    .info-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 25px;
        max-width: 100%;
    }
    
    .info-card__icon {
        width: 60px;
        height: 60px;
        font-size: 2.2rem;
    }
    
    .info-card__text {
        font-size: 1rem;
    }
    
    .info-card__link {
        display: inline-block;
        margin: 5px 0 0 0;
        padding: 6px 18px;
        font-size: 0.95rem;
    }
    
    .form-title {
        font-size: 1.3rem !important;
    }
    
    .btn-primary {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .info-card__link {
        display: block;
        text-align: center;
        margin-top: 10px;
    }
    
    .info-card__text {
        word-break: break-word;
    }
  
}

.submit-btn,
.form-navigation .btn-primary,
input[type="submit"].btn-primary {
    width: 278px !important;
    height: 46px !important;
    min-width: 278px !important;
    max-width: 278px !important;
    padding: 0 20px !important;
    font-size: 16px !important;
    line-height: 46px !important;
    text-align: center !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.form-group .formfield {
    width: 100%;
}

.form-group select,
.formfield select,
.select2-container {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
}

@media (max-width: 991px) {
    .form-navigation {
        justify-content: center !important;
    }
    
    .submit-btn,
    .form-navigation .btn-primary,
    input[type="submit"].btn-primary {
        width: 250px !important;
        min-width: 250px !important;
    }
}

@media (max-width: 767px) {
    .section-title {
        font-size: 1.8rem;
        padding: 55px 15px 15px;
    }
	.contacts .contacts-map-wrapper, .contacts .contacts-map {
		display: none;
	}
	
    .contacts {
        padding: 10px 15px 25px;
    }
    
    .info-card {
        max-width: 100%;
        margin-bottom: 20px;
        padding: 20px;
    }
    
    .info-card__link {
        width: 100%;
        text-align: center;
        margin: 10px 0 0 0;
    }
    
    .form-body .row {
        margin-left: 0;
        margin-right: 0;
    }
    
    .form-body .col-md-6,
    .form-body .col-md-12 {
        padding-left: 0;
        padding-right: 0;
    }
    
    .submit-btn,
    .form-navigation .btn-primary,
    input[type="submit"].btn-primary {
        width: 100% !important;
        max-width: 100% !important;
        min-width: auto !important;
        height: 48px !important;
        line-height: 48px !important;
    }
    
    .wrap-approval label {
        font-size: 0.9rem;
        line-height: 1.4;
        padding-left: 30px;
    }
    
    .inputtext,
    .formfield select,
    .form-control,
    .inputtextarea {
        font-size: 16px;
    }
    
    .contacts-map {
        margin-top: 20px;
    }
}

@media (max-width: 375px) {
    .section-title {
        font-size: 1.5rem;
    }
    
    .info-card__text {
        font-size: 0.95rem;
    }
    
    .wrap-approval label {
        font-size: 0.85rem;
    }
    
}

.form-navigation {
    margin-top: 20px !important;
    width: 100%;
}

@media (max-width: 767px) {
    .select2-container {
        width: 100% !important;
    }
    
    .select2-dropdown {
        width: 100% !important;
        left: 0 !important;
    }
}

.form-label {
    font-size: 1rem;
}

@media (max-width: 767px) {
    .form-label {
        font-size: 0.95rem;
        margin-bottom: 5px;
    }
    
    .bx-input-file-desc .file-size {
        font-size: 0.85rem;
        line-height: 1.3;
        max-width: 100%;
    }
    
    span.bx-input-file-desc {
        max-width: 100%;
    }
}

.mb-3 {
    margin-bottom: 1rem !important;
}

@media (max-width: 767px) {
    .mb-3 {
        margin-bottom: 0.8rem !important;
    }
}

@media (max-width: 767px) {
    .btn,
    .info-card__link,
    .select2-container,
    input[type="submit"] {
        min-height: 44px;
    }
    
}