#plastic-surgery .tax_deduction_form-wrapper {
    padding-top: 40px;
    padding-bottom: 40px;
}

#tax_deduction_form select.form-control {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid #ccc !important;
    border-radius: 0 !important;
    padding: 10px 0 !important;
    width: 100% !important;
    font-size: 16px !important;
    color: #333 !important;
    cursor: pointer;
    transition: border-bottom-color 0.3s ease;
    outline: none !important;
    box-shadow: none !important;
    height: auto !important;
}

#tax_deduction_form select.form-control:focus {
    border-bottom-color: #f5f3e8 !important;
}

#tax_deduction_form .form-group {
    gap: 20px;
}

#tax_deduction_form .input-wrapper {
    position: relative;
    flex: 1 1 0;
    width: auto;
    min-width: 0;
}

#tax_deduction_form .input-wrapper > label:not(.checkbox-wrapper) {
    top: 10px;
    left: 5px;
    line-height: 1.2;
    z-index: 1;
}

#tax_deduction_form .input-wrapper input::placeholder {
    color: transparent;
    transition: color 0.2s ease;
}

#tax_deduction_form .input-wrapper input:focus::placeholder {
    color: #aaa;
}

#tax_deduction_form .input-wrapper textarea:focus:not(:placeholder-shown) + label,
#tax_deduction_form .input-wrapper input:focus:not(:placeholder-shown) + label,
#tax_deduction_form .input-wrapper input:-webkit-autofill + label,
#tax_deduction_form .input-wrapper input:focus + label,
#tax_deduction_form .input-wrapper textarea:focus + label,
#tax_deduction_form .input-wrapper textarea:not(:placeholder-shown) + label,
#tax_deduction_form .input-wrapper input:not(:placeholder-shown) + label {
    top: -10px;
    left: 10px;
    font-size: 13px;
    font-weight: bold;
    color: brown;
    border-radius: 5px;
}

#tax_deduction_form .input-wrapper.full-width {
    flex-basis: 100%;
    width: 100%;
}

#tax_deduction_form .input-wrapper.input-wrapper-dob {
    flex: 0 1 220px;
    max-width: 220px;
}

#tax_deduction_form .input-wrapper.input-wrapper-inn {
    flex: 0 1 260px;
    max-width: 260px;
}

#tax_deduction_form .input-wrapper.input-wrapper-phone {
    flex: 0 1 320px;
    max-width: 320px;
}

#tax_deduction_form .checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    margin-bottom: 15px;
    font-size: 15px;
    line-height: 1.4;
    color: #333;
}

#tax_deduction_form .checkbox-wrapper input {
    margin-top: 4px;
    margin-right: 8px;
    flex-shrink: 0;
}

#tax_deduction_form .delivery-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

#tax_deduction_form .delivery-method-option {
    flex: 1;
    min-width: 200px;
}

#tax_deduction_form .delivery-methods .checkbox-wrapper span {
    color: #333;
    font-weight: 400;
}

#tax_deduction_form hr {
    opacity: 0.5;
    margin: 30px 0 !important;
    border: 0;
    border-top: 1px solid #ddd !important;
}

#tax_deduction_form h3 {
    color: #333;
    font-weight: 600;
    border-left: 5px solid brown;
    padding-left: 15px;
    margin-top: 30px;
    margin-bottom: 20px !important;
}

#tax_deduction_form p {
    color: #333;
    font-weight: 600;
    margin-bottom: 15px !important;
}

#tax_deduction_form .tax-deduction-document-heading {
    margin-top: 15px;
    margin-bottom: 5px !important;
}

#tax_deduction_form .tax-deduction-section-gap {
    margin-bottom: 20px;
}

#tax_deduction_form .tax-deduction-year-field {
    flex: 1;
    margin-top: 15px;
}

#tax_deduction_form .tax-deduction-select-label {
    position: static;
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

#tax_deduction_form .tax-deduction-delivery-group {
    margin-top: 20px;
    margin-bottom: 15px;
}

#tax_deduction_form .tax-deduction-delivery-title {
    margin-bottom: 15px !important;
    font-weight: 600;
}

#tax_deduction_form .tax-deduction-note-group {
    margin-bottom: 15px;
}

#tax_deduction_form .tax-deduction-note {
    font-size: 0.9em;
    color: #666;
    font-style: italic;
    font-weight: 400;
}

#tax_deduction_form .field-error {
    display: none;
    margin: 0 0 20px;
    color: #8f1920;
    font-size: 14px;
    line-height: 1.5;
}

#tax_deduction_form .input-error,
#tax_deduction_form select.input-error {
    border-bottom-color: #8f1920 !important;
}

#tax_deduction_form .field-error.is-visible {
    display: block;
}

#tax_deduction_form .info {
    display: none;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.5;
}

#tax_deduction_form .info.is-visible {
    display: block;
}

#tax_deduction_form .info.is-success {
    color: #2f6b2f;
}

#tax_deduction_form .info.is-error {
    color: #8f1920;
}

@media (max-width: 767px) {
    #tax_deduction_form .form-group {
        display: block !important;
        margin-bottom: 10px;
    }

    #tax_deduction_form .input-wrapper {
        width: 100% !important;
        margin-bottom: 20px;
    }

    #tax_deduction_form .form-group .input-wrapper {
        margin-right: 0 !important;
    }

    #tax_deduction_form .input-wrapper.input-wrapper-dob,
    #tax_deduction_form .input-wrapper.input-wrapper-inn,
    #tax_deduction_form .input-wrapper.input-wrapper-phone,
    #tax_deduction_form .delivery-method-option {
        max-width: 100%;
    }
}
