.tax-form {
    background: #FCF5FC;
}

.tax-form__content {
    background: #8D2A8F;
    border-radius: 25px;
    padding: 120px 80px 80px 195px;
    position: relative;
    overflow: hidden;
}

.tax-form__tooth {
    position: absolute;
    background: url("../img/normal-tooth.png") no-repeat center / contain;
    opacity: 0.18;
    pointer-events: none;
    z-index: 0;
}

.tax-form__tooth--left {
    width: 339px;
    height: 300px;
    top: 9%;,
    left: -10px;
    transform: translateY(-50%) rotate(19deg);
}

.tax-form__tooth--right {
    width: 298px;
    height: 280px;
    top: 92%;
    right: -10px;
    transform: translateY(-50%) rotate(-21deg);
}

.tax-form__title {
    font-family: Manrope, sans-serif;
    font-weight: 600;
    font-size: 55px;
    line-height: 64px;
    letter-spacing: 0;
    text-align: left;
    color: #FCF5FC;
    margin: 0;
    position: relative;
    z-index: 2;
}

.tax-form__subtitle {
    font-family: Manrope, sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 30px;
    letter-spacing: 0;
    text-align: left;
    color: #FCF5FC;
    margin: 20px 0 0;
    position: relative;
    z-index: 2;
}

.tax-form .wpcf7 {
    margin: 0;
    padding: 0;
}

.tax-form .wpcf7-form {
    position: relative;
    z-index: 2;
    margin-top: 60px;
}

.tax-form .screen-reader-response {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.tax-form .wpcf7-spinner {
    display: none !important;
}

.tax-form .wpcf7-form-control-wrap {
    display: block;
    position: relative;
}

.tax-form .wpcf7-not-valid-tip {
    font-family: Manrope, sans-serif;
    font-size: 12px;
    color: #FFD0D0;
    margin-top: 4px;
    display: block;
}

.tax-form__body {
    max-width: 100%;
    margin: 0;
}

.tax-form__section {
    margin-bottom: 60px;
}

.tax-form__section:last-of-type {
    margin-bottom: 0;
}

.tax-form__section-title {
    font-family: Manrope, sans-serif;
    font-weight: 600;
    font-size: 28px;
    line-height: 1;
    letter-spacing: 0;
    color: #FFFFFF;
    margin: 0 0 30px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tax-form__section-title .required-star,
.required-star {
    color: #FF4444;
    font-size: 18px;
    line-height: 1;
}

.tax-form__section--patient .tax-form__section-title {
    margin-bottom: 15px;
}

.tax-form__section-hint {
    font-family: Manrope, sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 30px;
    letter-spacing: 0;
    color: #FCF5FC;
    margin: 0 0 60px 0;
}

.tax-form__row {
    display: grid;
    gap: 25px;
    margin-bottom: 25px;
}

.tax-form__row:last-child {
    margin-bottom: 0;
}

.tax-form__row--4 { grid-template-columns: repeat(4, 1fr); }
.tax-form__row--3 { grid-template-columns: repeat(3, 1fr); }
.tax-form__row--2 { grid-template-columns: repeat(2, 1fr); }
.tax-form__row--2-1 { grid-template-columns: 2fr 1fr; }
.tax-form__row--1 { grid-template-columns: 1fr; }

.tax-form__field {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #FEFAFF;
    border-radius: 10px;
    padding: 0 14px;
    min-height: 46px;
    height: 46px;
    position: relative;
    box-sizing: border-box;
    width: 100%;
}

.tax-form__field .wpcf7-form-control-wrap {
    position: static;
    display: flex;
    flex: 1;
    min-width: 0;
    align-items: center;
}

.tax-form__input {
    flex: 1;
    min-width: 0;
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    font-family: Manrope, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1;
    letter-spacing: 0;
    color: #8D2A8F;
    padding: 0;
    min-height: 46px;
}

.tax-form__input::placeholder {
    background: linear-gradient(180deg, #C05FC2 0%, #8D2A8F 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.tax-form__field input.wpcf7-not-valid,
.tax-form__field input.wpcf7-not-valid:focus {
    outline: none !important;
}

.tax-form__field .wpcf7-not-valid-tip {
    position: absolute;
    bottom: -17px;
    left: 0;
    font-size: 12px;
    color: #FFD0D0;
    white-space: nowrap;
}

.tax-form__select {
    flex: 1;
    min-width: 0;
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    font-family: Manrope, sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #C05FC2;
    padding: 0;
    min-height: 46px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.tax-form__select.has-value {
    color: #8D2A8F;
}

.tax-form__field--select .wpcf7-form-control-wrap {
    background: transparent;
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
}

.tax-form__field--select {
    position: relative;
}

.tax-form__field--select::after {
    content: '';
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 6px;
    pointer-events: none;
    background: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.833 1.125L5 4.875L9.167 1.125' stroke='%23A642A8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
}

.tax-form__field--datepicker {
    position: relative;
    cursor: default;
    user-select: none;
    padding-right: 8px;
    gap: 0;
}

.tax-form__date-input {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: none;
    outline: none;
    font-family: Manrope, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1;
    color: #8D2A8F;
    padding: 0;
    min-height: 46px;
    cursor: text;
}

.tax-form__date-input::placeholder {
    color: #C05FC2;
}

.tax-form__date-arrow-btn {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    border-radius: 6px;
    transition: background 0.15s ease;
}

.tax-form__date-arrow-btn:hover {
    background: rgba(141, 42, 143, 0.07);
}

.tax-form__date-arrow {
    display: block;
    width: 10px;
    height: 6px;
    background: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.833 1.125L5 4.875L9.167 1.125' stroke='%23A642A8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
    transition: transform 0.2s ease;
    pointer-events: none;
}

.tax-form__field--datepicker.is-open .tax-form__date-arrow {
    transform: rotate(180deg);
}

.tax-form__date-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    width: 284px;
    background: #FEFAFF;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(141, 42, 143, 0.2);
    z-index: 200;
    padding: 14px;
    box-sizing: border-box;
}

.tax-form__date-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    gap: 4px;
}

.tax-form__date-header-center {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    justify-content: center;
}

.tax-form__date-month-btn,
.tax-form__date-year-btn {
    font-family: Manrope, sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: #8D2A8F;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 6px;
    transition: background 0.15s ease, color 0.15s ease;
    line-height: 1;
}

.tax-form__date-month-btn:hover,
.tax-form__date-year-btn:hover {
    background: rgba(141, 42, 143, 0.1);
}

.tax-form__date-nav {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: none;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    padding: 0;
    transition: background 0.15s ease;
}

.tax-form__date-nav:hover {
    background: rgba(141, 42, 143, 0.08);
}

.tax-form__date-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    margin-bottom: 4px;
}

.tax-form__date-weekdays span {
    font-family: Manrope, sans-serif;
    font-weight: 600;
    font-size: 10px;
    color: rgba(141, 42, 143, 0.45);
    text-align: center;
    padding: 2px 0;
}

.tax-form__date-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
}

.tax-form__date-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    font-family: Manrope, sans-serif;
    font-weight: 400;
    font-size: 13px;
    color: #8D2A8F;
    background: none;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.12s ease, color 0.12s ease;
    padding: 0;
}

.tax-form__date-cell:hover {
    background: rgba(141, 42, 143, 0.1);
}

.tax-form__date-cell.is-selected {
    background: linear-gradient(180deg, #DA81DB 0%, #A642A8 100%);
    color: #fff;
    font-weight: 600;
}

.tax-form__date-cell--empty {
    pointer-events: none;
}

.tax-form__date-months-view {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    padding-top: 4px;
}

.tax-form__date-month-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    font-family: Manrope, sans-serif;
    font-weight: 500;
    font-size: 12px;
    color: #8D2A8F;
    background: none;
    border: none;
    border-radius: 7px;
    cursor: pointer;
    transition: background 0.12s ease, color 0.12s ease;
    padding: 0;
}

.tax-form__date-month-cell:hover {
    background: rgba(141, 42, 143, 0.1);
}

.tax-form__date-month-cell.is-selected {
    background: linear-gradient(180deg, #DA81DB 0%, #A642A8 100%);
    color: #fff;
    font-weight: 600;
}

.tax-form__date-year-input {
    width: 58px;
    font-family: Manrope, sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: #8D2A8F;
    background: rgba(141, 42, 143, 0.07);
    border: 1.5px solid rgba(141, 42, 143, 0.3);
    border-radius: 6px;
    padding: 3px 6px;
    outline: none;
    text-align: center;
    -moz-appearance: textfield;
}

.tax-form__date-year-input::-webkit-inner-spin-button,
.tax-form__date-year-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
}

.tax-form__date-year-input:focus {
    border-color: #A642A8;
    background: rgba(141, 42, 143, 0.1);
}

.tax-form__field-note {
    font-family: Manrope, sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 1;
    letter-spacing: 0;
    color: #FCF5FC;
    margin-top: 10px;
}

.tax-form__checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
}

.tax-form__checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    position: relative;
}

.tax-form__checkbox-input {
    position: absolute;
    opacity: 0;
    width: 18px;
    height: 18px;
    top: 0;
    left: 0;
    margin: 0;
    cursor: pointer;
    z-index: 10;
}

.tax-form__checkbox-box {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(252, 245, 252, 0.6);
    border-radius: 4px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.tax-form__checkbox-input:checked ~ .tax-form__checkbox-box {
    background: rgba(252, 245, 252, 0.25);
    border-color: #FCF5FC;
}

.tax-form__checkbox-input:checked ~ .tax-form__checkbox-box::after {
    content: '';
    display: block;
    width: 9px;
    height: 6px;
    border-left: 2px solid #FCF5FC;
    border-bottom: 2px solid #FCF5FC;
    transform: rotate(-45deg) translateY(-1px);
}

.tax-form__checkbox-label.is-checked .tax-form__checkbox-box {
    background: rgba(252, 245, 252, 0.25);
    border-color: #FCF5FC;
}

.tax-form__checkbox-label.is-checked .tax-form__checkbox-box::after {
    content: '';
    display: block;
    width: 9px;
    height: 6px;
    border-left: 2px solid #FCF5FC;
    border-bottom: 2px solid #FCF5FC;
    transform: rotate(-45deg) translateY(-1px);
}

.tax-form__checkbox-text {
    font-family: Manrope, sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.2;
    color: #FCF5FC;
}

.tax-form__docs-row {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.tax-form__docs-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tax-form__docs-group-label {
    font-family: Manrope, sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1;
    color: #FCF5FC;
    margin: 0 0 10px 0;
}

.tax-form__patients {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.tax-form__patient {
    position: relative;
}

.tax-form__patient-title {
    font-family: Manrope, sans-serif;
    font-weight: 600;
    font-size: 22px;
    line-height: 1;
    letter-spacing: 0;
    color: #FCF5FC;
    margin: 0 0 10px 0;
}

.tax-form__patient-remove {
    position: absolute;
    top: 0;
    right: 0;
    background: none;
    border: none;
    color: rgba(252, 245, 252, 0.5);
    font-family: Manrope, sans-serif;
    font-size: 13px;
    cursor: pointer;
    padding: 0;
    transition: color 0.2s ease;
}

.tax-form__patient-remove:hover {
    color: #FFD0D0;
}

.tax-form__add-patient {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-top: 25px;
    background: linear-gradient(180deg, #DA81DB 0%, #A642A8 100%);
    border: none;
    border-radius: 10px;
    padding: 14px 32px;
    font-family: Manrope, sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 1;
    letter-spacing: 0;
    color: #FFFFFF;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tax-form__add-patient:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(218, 129, 219, 0.4);
}

.tax-form__field--phone {
    gap: 6px;
}

.tax-form__phone-toggle {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    background: linear-gradient(180deg, #BD5CBF 0%, #963499 100%);
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-family: Manrope, sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 1;
    color: #FCF5FC;
    white-space: nowrap;
    user-select: none;
    position: relative;
}

.tax-form__phone-toggle-arrow {
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #FCF5FC;
    display: inline-block;
    transition: transform 0.2s ease;
}

.tax-form__phone-toggle.open .tax-form__phone-toggle-arrow {
    transform: rotate(180deg);
}

.tax-form__phone-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    background: #FEFAFF;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(141, 42, 143, 0.18);
    z-index: 30;
    min-width: 110px;
    display: none;
}

.tax-form__phone-toggle.open .tax-form__phone-dropdown {
    display: block;
}

.tax-form__phone-option {
    padding: 10px 14px;
    font-family: Manrope, sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #8D2A8F;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s ease;
}

.tax-form__phone-option:hover {
    background: rgba(141, 42, 143, 0.08);
}

.tax-form__phone-option.active {
    background: rgba(141, 42, 143, 0.12);
    font-weight: 600;
}

.tax-form__bottom {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 60px;
    max-width: 100%;
}

.tax-form__consent {
    flex: 0 0 420px;
    min-width: 0;
}

.tax-form__consent-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    position: relative;
}

.tax-form__consent-input {
    position: absolute;
    top: 1px;
    left: 0;
    width: 18px;
    height: 18px;
    opacity: 0;
    cursor: pointer;
    z-index: 10;
    margin: 0;
    pointer-events: auto;
}

.tax-form__consent-box {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    border: 2px solid rgba(252, 245, 252, 0.6);
    border-radius: 4px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.tax-form__consent-input:checked ~ .tax-form__consent-box {
    background: rgba(252, 245, 252, 0.25);
    border-color: #FCF5FC;
}

.tax-form__consent-input:checked ~ .tax-form__consent-box::after {
    content: '';
    display: block;
    width: 9px;
    height: 6px;
    border-left: 2px solid #FCF5FC;
    border-bottom: 2px solid #FCF5FC;
    transform: rotate(-45deg) translateY(-1px);
}

.tax-form__consent-label.is-checked .tax-form__consent-box {
    background: rgba(252, 245, 252, 0.25);
    border-color: #FCF5FC;
}

.tax-form__consent-label.is-checked .tax-form__consent-box::after {
    content: '';
    display: block;
    width: 9px;
    height: 6px;
    border-left: 2px solid #FCF5FC;
    border-bottom: 2px solid #FCF5FC;
    transform: rotate(-45deg) translateY(-1px);
}

.tax-form__consent-text {
    font-family: Manrope, sans-serif;
    font-weight: 500;
    font-size: 15px;
    line-height: 1.4;
    color: #FCF5FC;
}

.tax-form__consent-link {
    font-family: Manrope, sans-serif;
    font-weight: 500;
    font-size: 15px;
    color: #FFA4FF;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: opacity 0.2s ease;
}

.tax-form__consent-link:hover {
    opacity: 0.8;
}

.tax-form__ready-note {
    font-family: Manrope, sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 1;
    letter-spacing: 0;
    color: #FCF5FC;
    flex: 1;
}

.tax-form__inn-col {
    display: flex;
    flex-direction: column;
}

.tax-form__inn-col .tax-form__field {
    width: 100%;
}

.tax-form__btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 48px;
    background: linear-gradient(180deg, #DA81DB 0%, #A642A8 100%);
    border: none;
    border-radius: 10px;
    font-family: Manrope, sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 1;
    letter-spacing: 0;
    color: #FFFFFF;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tax-form__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(218, 129, 219, 0.4);
}

.tax-form__btn:disabled,
.wpcf7-form.submitting .tax-form__btn {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.tax-form .wpcf7-form.init .wpcf7-response-output {
    display: none !important;
}

.tax-form .wpcf7-response-output {
    max-width: 100%;
    margin: 20px 0 0 !important;
    padding: 14px 20px !important;
    border-radius: 10px;
    font-family: Manrope, sans-serif;
    font-weight: 500;
    font-size: 15px;
    text-align: left;
    background: rgba(252, 245, 252, 0.15);
    color: #FCF5FC;
    border: 1px solid rgba(252, 245, 252, 0.3) !important;
    box-sizing: border-box;
}

.tax-form .wpcf7-form.sent .wpcf7-response-output {
    background: rgba(252, 245, 252, 0.2);
    border: 1px solid rgba(252, 245, 252, 0.4) !important;
}

.tax-form .wpcf7-form.failed .wpcf7-response-output,
.tax-form .wpcf7-form.spam  .wpcf7-response-output {
    background: rgba(255, 100, 100, 0.15);
    color: #FFD0D0;
    border: 1px solid rgba(255, 100, 100, 0.3) !important;
}

@media (max-width: 1200px) {
    .tax-form__content {
        padding: 80px 60px 60px 80px;
    }

    .tax-form__row--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
    .tax-form__content {
        border-radius: 20px;
        padding: 80px 80px 60px;
    }

    .tax-form__title {
        font-size: 34px;
        line-height: 46px;
    }

    .tax-form__subtitle {
        font-size: 14px;
        line-height: 22px;
    }

    .tax-form .wpcf7-form {
        margin-top: 40px;
    }

    .tax-form__section {
        margin-bottom: 40px;
    }

    .tax-form__section-title {
        font-size: 18px;
        line-height: 25px;
        margin-bottom: 15px;
    }

    .tax-form__section-hint {
        font-size: 14px;
        line-height: 22px;
        margin-bottom: 40px;
    }

    .tax-form__row {
        gap: 20px;
        margin-bottom: 20px;
    }

    .tax-form__row--4 { grid-template-columns: repeat(3, 1fr); }
    .tax-form__row--3 { grid-template-columns: repeat(3, 1fr); }
    .tax-form__row--2-1 { grid-template-columns: 1fr 1fr; }

    .tax-form__field {
        min-height: 36px;
        height: 36px;
        padding: 0 16px;
        border-radius: 8px;
    }

    .tax-form__input {
        font-size: 12px;
        min-height: 36px;
    }

    .tax-form__select {
        font-size: 12px;
        min-height: 36px;
    }

    .tax-form__date-input {
        font-size: 12px;
        min-height: 36px;
    }

    .tax-form__field-note {
        font-size: 12px;
        line-height: 16px;
    }

    .tax-form__checkbox-text {
        font-size: 12px;
        line-height: 16px;
    }

    .tax-form__patient-title {
        font-size: 18px;
    }

    .tax-form__add-patient {
        font-size: 12px;
        padding: 10px 20px;
        border-radius: 8px;
    }

    .tax-form__phone-toggle {
        font-size: 11px;
        padding: 6px 8px;
        border-radius: 6px;
    }

    .tax-form__bottom {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        margin-top: 40px;
        gap: 20px;
    }

    .tax-form__ready-note {
        font-size: 14px;
        line-height: 22px;
        flex: 0 0 auto;
        max-width: 298px;
    }

    .tax-form__consent {
        flex: 0 0 auto;
        margin-left: -30px;
    }

    .tax-form__consent-label {
        gap: 12px;
    }

    .tax-form__consent-text,
    .tax-form__consent-link {
        font-size: 12px;
        line-height: 16px;
    }

    .tax-form__consent-box {
        width: 15px;
        height: 15px;
    }

    .tax-form__consent-input {
        width: 15px;
        height: 15px;
    }

    .tax-form__btn {
        font-size: 14px;
        line-height: 19px;
        padding: 10px 20px;
        border-radius: 8px;
    }

    .tax-form__docs-group-label {
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .tax-form__content {
        border-radius: 20px;
        padding: 40px 20px 40px;
    }

    .tax-form__title {
        font-size: 24px;
        line-height: 27px;
        font-weight: 700;
    }

    .tax-form__subtitle {
        font-size: 12px;
        line-height: 18px;
    }

    .tax-form .wpcf7-form {
        margin-top: 35px;
    }

    .tax-form__section-title {
        font-size: 18px;
        line-height: 25px;
    }

    .tax-form__row {
        gap: 15px;
        margin-bottom: 15px;
    }

    .tax-form__row--4,
    .tax-form__row--3,
    .tax-form__row--2,
    .tax-form__row--2-1 {
        grid-template-columns: 1fr;
    }

    .tax-form__docs-row {
        flex-direction: column;
        gap: 20px;
    }

    .tax-form__bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        margin-top: 35px;
    }

    .tax-form__ready-note {
        max-width: 100%;
    }

    .tax-form__consent {
        flex: 0 0 auto;
        margin-left: -30px;
    }

    .tax-form__btn {
        width: 100%;
        justify-content: center;
        font-size: 12px;
        padding: 10px 20px;
        border-radius: 8px;
    }
}