#hs_code_product_data {
    padding: 20px;
    max-height: 600px; /* Set maximum height */
    overflow: hidden; /* Hide overflow */
}

.hs-code-header {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 100;
    padding: 15px 0;
    margin-bottom: 15px;
    border-bottom: 1px solid #ddd;
}

.hs-codes-container {
    max-height: 450px; /* Adjust based on your needs */
    overflow-y: auto;
    padding: 15px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.hs-code-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hs-code-field {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 4px;
    margin-bottom: 10px !important;
}

.hs-code-field label {
    min-width: 200px;
    margin: 0 !important;
}

.hs-code-field input {
    width: 150px !important;
    margin: 0 !important;
}

.hs-code-invalid {
    border-color: #dc3545 !important;
}

.validation-message {
    color: #dc3545;
    font-size: 12px;
    margin-left: 10px;
}

.wc-avatax-country-select {
    min-width: 200px;
}

.remove-hs-code {
    margin: 0 !important;
    background: #dc3545 !important;
    color: white !important;
    border-color: #dc3545 !important;
}

.remove-hs-code:hover {
    background: #bb2d3b !important;
}

.hs-code-field input::placeholder {
    color: #999;
    font-style: italic;
}

.hs-code-field input:disabled {
    background-color: #f8f8f8;
    color: #333;
}

.edit-hs-code, .save-hs-code {
    background: #2271b1 !important;
    color: white !important;
    border-color: #2271b1 !important;
}

.edit-hs-code:hover, .save-hs-code:hover {
    background: #135e96 !important;
    border-color: #135e96 !important;
}
