/**
 * Frontend styles for the Transport Price Calculator
 */

.tpc-calculator-wrapper {
    margin: 20px 0;
}

.tpc-calculator-wrapper .card {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tpc-calculator-wrapper .form-label {
    font-weight: 500;
}

/* Select2 customization */
.tpc-calculator-wrapper .select2-container--default .select2-selection--single {
    height: 38px;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
}

.tpc-calculator-wrapper .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 36px;
}

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

/* Price result */
#tpc-price-value {
    color: #0d6efd;
    font-weight: bold;
}

/* Spinner */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    margin-right: 0.25rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .tpc-calculator-wrapper .col-md-6 {
        margin-bottom: 15px;
    }
}