.form-group.field-policyosgo-vehicle_type_id.required {
    max-width: 768px;
}

.check-button.clear {
    background-color: red !important;
    border-color: red !important;
}
input[type="range"] {
    width: 100%;
}
.min-form-field {
    min-width: 480px;
}
.min-with-contain {
    min-width: 600px;
}

/* ========================================
   Tariff Card Styles (Sport Insurance)
   ======================================== */

.tariff-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border: 1.5px solid #e0e0e0;
    border-radius: 12px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
}

.tariff-card:hover {
    border-color: #b0bec5;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.tariff-card--selected {
    border-color: #009688;
    border-left-width: 4px;
    background: #f8fffe;
}

.tariff-card__radio {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border: 2px solid #bdbdbd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s ease;
}

.tariff-card--selected .tariff-card__radio {
    border-color: #009688;
}

.tariff-card__radio-circle {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: transparent;
    transition: background 0.2s ease;
}

.tariff-card--selected .tariff-card__radio-circle {
    background: #009688;
}

.tariff-card__period {
    flex-shrink: 0;
    min-width: 70px;
    font-size: 15px;
    font-weight: 500;
    color: #333;
}

.tariff-card__details {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.tariff-card__detail-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tariff-card__detail-label {
    font-size: 13px;
    color: #757575;
    white-space: nowrap;
}

.tariff-card__detail-value {
    font-size: 14px;
    color: #212121;
    white-space: nowrap;
}

#tariff-continue-btn {
    border-radius: 8px;
    font-weight: 500;
    font-size: 15px;
    padding: 10px 28px !important;
}

#tariff-continue-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

@media (max-width: 576px) {
    .tariff-card {
        flex-wrap: wrap;
        gap: 10px;
        padding: 12px 14px;
    }
    
    .tariff-card__details {
        width: 100%;
        align-items: flex-start;
        padding-left: 38px;
    }
    
    .tariff-card__period {
        font-size: 14px;
    }
    
    .tariff-card__detail-label,
    .tariff-card__detail-value {
        font-size: 12px;
    }
}

/* Custom styling for the range input track and thumb */
input[type="range"].form-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: #e0e0e0 !important;
    border-radius: 3px;
    outline: none;
    margin: 10px 0;
}

input[type="range"].form-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background: #009688 !important;
    border-radius: 50% !important;
    cursor: pointer;
    border: none !important;
    transition: background 0.15s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

input[type="range"].form-range::-webkit-slider-thumb:hover {
    background: #00796b !important;
}

input[type="range"].form-range::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: #009688 !important;
    border-radius: 50% !important;
    cursor: pointer;
    border: none !important;
    transition: background 0.15s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

input[type="range"].form-range::-moz-range-thumb:hover {
    background: #00796b !important;
}

.item-driver .control-label {
    min-height: 24px;
    display: flex;
    align-items: flex-end;
    margin-bottom: 6px;
}