/* Customer Tax/VAT Field Styles */
.tax-vat-number {
    margin-top: 1em;
}

.tax-vat-number .label {
    font-size: 0.85em;
    margin-bottom: 0.5em;
    display: block;
    font-weight: 600;
}

.tax-vat-number .required {
    color: #e02b27;
    margin-left: 0.25em;
}

.tax-vat-number .control {
    position: relative;
}

.tax-vat-number .input-text {
    width: 100%;
    padding: 0.75em;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 0.875em;
    transition: border-color 0.3s ease;
}

.tax-vat-number .input-text:focus {
    border-color: #007bdb;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 123, 219, 0.1);
}

.tax-vat-number .input-text.mage-error {
    border-color: #e02b27;
}

.tax-vat-number .field-note {
    color: #666;
    font-size: 0.75em;
    margin-top: 0.25em;
    font-style: italic;
}

.tax-vat-number .field-error {
    color: #e02b27;
    font-size: 0.75em;
    margin-top: 0.25em;
    display: block;
}

/* Integration with customer address forms */
.form-address-edit .tax-vat-number,
.form-create-account .tax-vat-number {
    margin-bottom: 1em;
}

/* Responsive design for mobile */
@media (max-width: 768px) {
    .tax-vat-number .input-text {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}
