.parcelforce-calculator {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;

/* Select2 Custom Styles */
.select2-container--default .select2-selection--single {
    height: 38px;
    padding: 5px;
    border: 1px solid #dcdcde;
    border-radius: 4px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 28px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 36px;
}

    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #ffffff;
    border: 1px solid #dcdcde;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.calculator-header {
    padding: 20px;
    border-bottom: 1px solid #dcdcde;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.calculator-header h2 {
    margin: 0;
    font-size: 1.25em;
    font-weight: 600;
    color: #1e1e1e;
}

.calculator-body {
    padding: 20px;
}

.dimensions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.9em;
    font-weight: 500;
    color: #1e1e1e;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #dcdcde;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.4;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #2271b1;
    box-shadow: 0 0 0 1px #2271b1;
}

.calculate-button {
    width: 100%;
    padding: 10px 20px;
    background: #2271b1;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.calculate-button:hover {
    background: #135e96;
}

.calculate-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.error-message {
    padding: 12px 15px;
    margin: 15px 0;
    background: #fcf0f1;
    border: 1px solid #d63638;
    border-radius: 4px;
    color: #d63638;
    font-size: 0.9em;
    display: none;
}

.loading-indicator {
    text-align: center;
    padding: 15px;
    color: #646970;
    display: none;
}

.rates-container {
    margin-top: 20px;
    display: block;
}

.country-select {
    width: 100%;
}

.select2-container {
    width: 100% !important;
}

.rates-container h3 {
    margin: 0 0 15px;
    font-size: 1.1em;
    font-weight: 500;
}

.rate-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: #f8f9fa;
    border: 1px solid #dcdcde;
    border-radius: 4px;
    margin-bottom: 8px;
}

.rate-service {
    font-weight: 500;
    margin-bottom: 2px;
}

.rate-delivery {
    font-size: 0.85em;
    color: #646970;
}

.rate-price {
    font-weight: 600;
    font-size: 1.1em;
}