.shipping-calculator-container {
    max-width: 500px;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #f9f9f9;
    font-family: Arial, sans-serif;
}

.shipping-calculator-container h3 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}

.calculator-field {
    margin-bottom: 15px;
}

.calculator-field label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
}

.calculator-field input,
.calculator-field select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 14px;
}

/* Custom Select Styles */
.custom-select-wrapper {
    position: relative;
}

.custom-select {
    position: relative;
    width: 100%;
}

.custom-select-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: border-color 0.3s;
}

.custom-select-trigger:hover {
    border-color: #0073aa;
}

.custom-select.open .custom-select-trigger {
    border-color: #0073aa;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.arrow {
    transition: transform 0.3s;
}

.custom-select.open .arrow {
    transform: rotate(180deg);
}

.custom-select-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ccc;
    border-top: none;
    border-radius: 0 0 4px 4px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.custom-select.open .custom-select-options {
    display: block;
}

.custom-option {
    display: flex;
    align-items: center;
    padding: 10px;
    cursor: pointer;
    transition: background-color 0.2s;
    font-size: 14px;
}

.custom-option:hover {
    background-color: #f0f0f0;
}

.custom-option.selected {
    background-color: #e3f2fd;
    color: #0073aa;
}

.option-icon {
    margin-right: 8px;
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.option-text {
    flex: 1;
}

.calculator-field button {
    width: 100%;
    padding: 12px;
    background: #0073aa;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
}

.calculator-field button:hover {
    background: #005a87;
}

.calculator-field button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.calculator-result {
    margin-top: 20px;
    padding: 15px;
    background: #e8f5e8;
    border: 1px solid #4caf50;
    border-radius: 4px;
}

.calculator-result h4 {
    margin: 0 0 10px 0;
    color: #2e7d32;
}

.result-cost {
    font-size: 20px;
    font-weight: bold;
    color: #1b5e20;
    margin: 10px 0;
}

.result-details {
    color: #555;
    font-size: 14px;
}

.calculator-loading {
    text-align: center;
    padding: 10px;
    color: #666;
    font-style: italic;
}

.calculator-error {
    margin-top: 10px;
    padding: 10px;
    background: #ffebee;
    border: 1px solid #f44336;
    border-radius: 4px;
    color: #c62828;
}

/* Responsive design */
@media (max-width: 600px) {
    .shipping-calculator-container {
        margin: 10px;
        padding: 15px;
    }
    
    .custom-option {
        padding: 12px 10px;
    }
    
    .option-text {
        font-size: 13px;
    }
}