/* Quote Page Simple Component Styles */
.quote-page-simple-section {
    background: #fff;
    padding: 60px 0;
}
.quote-page-simple-card {
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
    padding: 40px 32px 32px 32px;
    border: 1px solid #f0f0f0;
}
.quote-page-simple-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 8px;
}
.quote-page-simple-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 0;
}
.quote-page-simple-form {
    max-width: 100%;
}
.quote-page-simple-label, .form-label {
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 4px;
    display: block;
}
.quote-page-simple-input,
.quote-page-simple-textarea,
.quote-page-simple-select {
    border: 2px solid #e9ecef !important;
    border-radius: var(--border-radius-form) !important;
    padding: 12px 16px;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fff;
}
.quote-page-simple-input:focus,
.quote-page-simple-textarea:focus,
.quote-page-simple-select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 0.2rem var(--color-primary-transparent-60);
    outline: none;
}
.quote-page-simple-textarea {
    resize: vertical;
    min-height: 120px;
}
.quote-page-simple-select {
    width: 100%;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px 12px;
    padding-right: 40px;
    appearance: none;
}
.quote-page-simple-select:focus, .quote-page-simple-select:active {
    border: 2px solid #e9ecef !important;
}
.quote-page-simple-select  button {
    background: #fff !important;
}
.quote-page-simple-select  button:focus, .quote-page-simple-select  button:active {
    background: #fff !important;
    border: 2px solid #e9ecef !important;
}
.quote-page-simple-select option {
    padding: 8px 12px;
}
.quote-page-simple-submit {
    text-align: center;
    margin-top: 12px;
}
.quote-page-simple-btn {
    background: var(--color-button);
    color: #fff;
    border: 2px solid var(--color-button);
    border-radius: var(--border-radius);
    padding: 14px 32px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}
.quote-page-simple-btn:hover {
    background: #fff;
    color: var(--color-button);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--color-button-transparent-60);
}
.quote-page-simple-btn i {
    font-size: 1rem;
}
@media (max-width: 991px) {
    .quote-page-simple-section {
        padding: 40px 0;
    }
    .quote-page-simple-card {
        padding: 32px 24px 24px 24px;
    }
    .quote-page-simple-title {
        font-size: 1.8rem;
    }
    .quote-page-simple-subtitle {
        font-size: 1rem;
    }
}
@media (max-width: 767px) {
    .quote-page-simple-card {
        padding: 24px 16px 16px 16px;
    }
    .quote-page-simple-title {
        font-size: 1.5rem;
    }
    .quote-page-simple-btn {
        padding: 12px 24px;
        font-size: 1rem;
    }
}

/* Select2 Custom Styling for Quote Page */
.quote-page-simple-select + .select2-container {
    width: 100% !important;
}

.quote-page-simple-select + .select2-container .select2-selection--multiple {
    border: 2px solid #e9ecef;
    border-radius: var(--border-radius-form);
    min-height: 48px;
    padding: 8px 12px;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.quote-page-simple-select + .select2-container .select2-selection--multiple:focus,
.quote-page-simple-select + .select2-container.select2-container--focus .select2-selection--multiple {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 0.2rem var(--color-primary-transparent-60);
    outline: none;
}

.quote-page-simple-select + .select2-container .select2-selection--multiple .select2-selection__choice {
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: 16px;
    padding: 4px 12px;
    margin: 2px 4px 2px 0;
    font-size: 0.9rem;
}

.quote-page-simple-select + .select2-container .select2-selection--multiple .select2-selection__choice__remove {
    color: #fff;
    margin-right: 6px;
    font-weight: bold;
    border-right: none;
}

.quote-page-simple-select + .select2-container .select2-selection--multiple .select2-selection__choice__remove:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
}

.quote-page-simple-select + .select2-container .select2-selection--multiple .select2-selection__rendered {
    padding: 0;
    margin: 0;
}

.quote-page-simple-select + .select2-container .select2-selection--multiple .select2-selection__placeholder {
    color: #6c757d;
    font-size: 1rem;
}

.quote-page-simple-select + .select2-container .select2-dropdown {
    border: 2px solid var(--color-primary);
    border-radius: var(--border-radius-form);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    background: #fff;
}

.quote-page-simple-select + .select2-container .select2-results__option {
    padding: 8px 16px;
    font-size: 1rem;
}

.quote-page-simple-select + .select2-container .select2-results__option--highlighted[aria-selected] {
    background: var(--color-primary);
    color: #fff;
}

.quote-page-simple-select + .select2-container .select2-search--dropdown .select2-search__field {
    border: 1px solid #e9ecef;
    border-radius: var(--border-radius-form);
    padding: 8px 12px;
    font-size: 1rem;
}

.quote-page-simple-select + .select2-container .select2-search--dropdown .select2-search__field:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 0.2rem var(--color-primary-transparent-60);
    outline: none;
}

.form-sms-label {
    font-size: 0.7rem;
    font-weight: 400;
}

/* Bootstrap Select Custom Styling for Quote Page */
.quote-page-simple-select + .bootstrap-select {
    width: 100% !important;
}

/* Hide the original select when Bootstrap Select is active */
.bootstrap-select + select {
    display: none !important;
}

/* Ensure Bootstrap Select container is visible */
.bootstrap-select {
    display: block !important;
    visibility: visible !important;
}

/* Remove any blue styling from Bootstrap Select */
.bootstrap-select .dropdown-toggle,
.bootstrap-select .dropdown-toggle:hover,
.bootstrap-select .dropdown-toggle:focus,
.bootstrap-select .dropdown-toggle:active,
.bootstrap-select.show .dropdown-toggle {
    border-color: #e9ecef !important;
    box-shadow: none !important;
    outline: none !important;
    background: #fff !important;
}

.quote-page-simple-select + .bootstrap-select .dropdown-toggle {
    border: 2px solid #e9ecef !important;
    border-radius: var(--border-radius-form) !important;
    padding: 12px 16px !important;
    background: #fff !important;
    color: #495057 !important;
    font-size: 1rem !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
    height: auto !important;
    min-height: 48px !important;
    line-height: 1.5 !important;
    box-shadow: none !important;
    outline: none !important;
}

.quote-page-simple-select + .bootstrap-select .dropdown-toggle:focus,
.quote-page-simple-select + .bootstrap-select.show .dropdown-toggle {
    border-color: #e9ecef !important;
    box-shadow: none !important;
    outline: none !important;
}

.quote-page-simple-select + .bootstrap-select .dropdown-menu {
    border: 2px solid var(--color-primary);
    border-radius: var(--border-radius-form);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    margin-top: 4px;
    max-height: 300px;
}

.quote-page-simple-select + .bootstrap-select .dropdown-menu .dropdown-item {
    padding: 8px 16px;
    font-size: 1rem;
    color: #495057;
}

.quote-page-simple-select + .bootstrap-select .dropdown-menu .dropdown-item:hover,
.quote-page-simple-select + .bootstrap-select .dropdown-menu .dropdown-item:focus {
    background: var(--color-primary-transparent);
    color: var(--color-primary);
}

.quote-page-simple-select + .bootstrap-select .dropdown-menu .dropdown-item.active {
    background: var(--color-primary);
    color: #fff;
}

.quote-page-simple-select + .bootstrap-select .dropdown-menu .bs-actionsbox {
    padding: 8px 16px;
    border-bottom: 1px solid #e9ecef;
}

.quote-page-simple-select + .bootstrap-select .dropdown-menu .bs-actionsbox .btn {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
    font-size: 0.9rem;
    padding: 4px 12px;
    margin-right: 8px;
}

.quote-page-simple-select + .bootstrap-select .dropdown-menu .bs-actionsbox .btn:hover {
    background: #fff;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.quote-page-simple-select + .bootstrap-select .filter-option {
    color: #6c757d !important;
}

.quote-page-simple-select + .bootstrap-select .filter-option-inner-inner {
    color: #6c757d !important;
}

.quote-page-simple-select + .bootstrap-select .bs-placeholder {
    color: #6c757d !important;
}

.vehicle-section, .driver-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #dee2e6;
    border-radius: 10px;
    padding: 40px 20px;
    margin: 0;
    position: relative;
}

.vehicle-section h5, .driver-section h5 {
    margin-bottom: 20px;
    color: var(--color-primary);
}

.vehicle-section .btn-outline-danger, .driver-section .btn-outline-danger {
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
}

#add-second-vehicle, #add-third-vehicle, #add-second-driver, #add-third-driver, #add-fourth-driver, #add-fifth-driver {
    margin: 0 5px;
    transition: all 0.3s ease;
}

#add-second-vehicle:hover, #add-third-vehicle:hover, #add-second-driver:hover, #add-third-driver:hover, #add-fourth-driver:hover, #add-fifth-driver:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.vehicle-section input, .driver-section input {
    background-color: white;
    border: 1px solid #ced4da;
}

.vehicle-section input:focus, .driver-section input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 0.2rem var(--color-primary-transparent-60);
}

.simple-label-detail {
    font-size: 0.6rem;
    color: var(--color-primary);
}

.clickable-card {
    cursor: pointer;
}
