
.insurance-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 20px;
}

.insurance_header_info_Card {
    display: flex;
    gap: 6px;
}

.insurance_header_info {
    display: flex;
    gap: 40px;
    /* align-content: center; */
    justify-content: space-between;
    align-items: baseline;
    height: 70px;
    background-color: #fff;
    border-radius: 8px;
    padding: 15px;
    margin: 10px 0 40px;
    text-align: center;
}
    .insurance_header_info > div:first-child {
        display: flex;
        gap: 44px;
    }
    /* Header Styles */
    .insurance-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-color: #fff;
        padding: 15px;
        border-top-left-radius: 8px;
        border-top-right-radius: 8px;
    }

.results-count {
    font-size: 16px;
    font-weight: bold;
}

.tabs-container {
    display: flex;
    border-bottom: 1px solid #e0e0e0;
    width: 100%;
    background-color: #fff;
    margin-bottom: 20px;
}

.tab {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
    flex: 0.25;
}

    .tab.active {
        border-bottom: 2px solid #006a4e;
    }

.tab-icon {
    margin-left: 10px;
    color: #666;
}

.tab.active .tab-icon {
    color: #006a4e;
}

.tab-content {
    display: flex;
    flex-direction: column;
}

.tab-title {
    font-size: 14px;
    margin-bottom: 5px;
}

.tab.active .tab-title {
    color: #006a4e;
    font-weight: bold;
}

.tab-price {
    font-size: 14px;
    color: #666;
}

/* Content Container Styles */
.content-container {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

/* Filters Section Styles */
.filters-section {
    flex: 0 0 300px;
}

.filter-group {
    background-color: #fff;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
}

.filter-title {
    font-weight: bold;
}

.filter-toggle {
    color: #666;
}

.filter-content {
    padding: 15px;
}

/* Price Filter Styles */
.price-inputs {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.price-input {
    display: flex;
    flex-direction: column;
}

    .price-input label {
        font-size: 12px;
        color: #666;
        margin-bottom: 5px;
        text-align: center;
    }

    .price-input input {
        width: 120px;
        padding: 8px;
        border: 1px solid #ddd;
        border-radius: 4px;
        text-align: center;
    }

.price-slider-container {
    padding: 10px 0;
}

.price-slider {
    position: relative;
    height: 5px;
    margin: 0 10px;
}

.slider-track {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background-color: #ddd;
    border-radius: 3px;
}

.slider-range {
    position: absolute;
    top: 0;
    height: 5px;
    background-color: #006a4e;
    border-radius: 3px;
}

.slider-min, .slider-max {
    position: absolute;
    top: 0;
    width: 100%;
    height: 5px;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
}

    .slider-min::-webkit-slider-thumb, .slider-max::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 0;
        height: 0;
        background: transparent;
        cursor: pointer;
        pointer-events: auto;
    }

.slider-thumb {
    position: absolute;
    top: -7px;
    width: 18px;
    height: 18px;
    background-color: #fff;
    border: 2px solid #006a4e;
    border-radius: 50%;
    cursor: pointer;
}

.min-thumb {
    left: 25%;
}

.max-thumb {
    left: 75%;
}

/* Accommodation Filter Styles */
.accommodation-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.accommodation-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.option-count {
    font-size: 14px;
}

.option-price {
    display: flex;
    align-items: center;
    gap: 10px;
}

.custom-checkbox {
    width: 18px;
    height: 18px;
    border: 1px solid #ddd;
    border-radius: 3px;
    cursor: pointer;
}

/* Results Section Styles */
.results-section {
    flex: 1;
}

.insurance-card {
    display: flex;
    background-color: #fff;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.card-content {
    flex: 1;
    padding: 20px;
}

.card-main {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.card-details {
    flex: 1;
}

.coverage-badge {
    display: inline-block;
    background-color: #10553F1C;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    margin-bottom: 10px;
    color: #10553F;
}

.card-title {
    font-size: 16px;
    margin-bottom: 10px;
}

.card-subtitle {
    font-size: 12px;
    color: #666;
}

.card-company {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 14px;
    margin-left: 15px;
}

.company-logo {
    width: 90px;
    height: 120px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
    padding: 5px;
}

    .company-logo img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

.company-name {
    font-size: 14px;
    font-weight: bold;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.card-price {
    font-size: 16px;
    font-weight: bold;
}

.card-sidebar {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #f9f9f9;
    border-right: 1px solid #f0f0f0;
    width: 200px;
}

.price-for-travelers {
    font-size: 12px;
    color: #666;
    text-align: center;
}

.details-button {
    width: 100%;
    padding: 10px;
    background-color: #006a4e;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    margin: 10px 0;
    transition: background-color 0.3s;
}

    .details-button:hover {
        background-color: #005a42;
    }

.total-price {
    font-size: 16px;
    font-weight: bold;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .content-container {
        flex-direction: column;
    }

    .filters-section {
        flex: none;
        width: 100%;
    }

    .insurance-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .tabs-container {
        width: 100%;
        overflow-x: auto;
    }
}

@media (max-width: 768px) {
    .insurance-card {
        flex-direction: column;
    }

    .card-sidebar {
        width: 100%;
        border-right: none;
        border-top: 1px solid #f0f0f0;
    }

    .card-main {
        flex-direction: column;
    }

    .card-company {
        flex-direction: row;
        margin-right: 0;
        margin-top: 15px;
        gap: 10px;
    }
}

/* ////////

*/

.range_container {
    display: flex;
    flex-direction: column;
    width: 80%;
    margin: 1% auto;
}

.sliders_control {
    position: relative;
    min-height: 50px;
    direction: ltr;
}

.form_control {
    position: relative;
    display: flex;
    justify-content: space-between;
    font-size: 24px;
    color: #635a5a;
    flex-direction: row-reverse;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    pointer-events: all;
    width: 24px;
    height: 24px;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 1px #C6C6C6;
    cursor: pointer;
}

input[type=range]::-moz-range-thumb {
    -webkit-appearance: none;
    pointer-events: all;
    width: 24px;
    height: 24px;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 1px #C6C6C6;
    cursor: pointer;
}

input[type=range]::-webkit-slider-thumb:hover {
    background: #f7f7f7;
}

input[type=range]::-webkit-slider-thumb:active {
    box-shadow: inset 0 0 3px #387bbe, 0 0 9px #387bbe;
    -webkit-box-shadow: inset 0 0 3px #387bbe, 0 0 9px #387bbe;
}

input[type="number"] {
    color: #8a8383;
    width: 130px;
    height: 30px;
    font-size: 20px;
    border: none;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    opacity: 1;
}

input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    height: 2px;
    width: 100%;
    position: absolute;
    background-color: #C6C6C6;
    pointer-events: none;
}

#fromSlider {
    height: 0;
    z-index: 1;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    visibility: visible;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background-color: white;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

    .modal-header h3 {
        margin: 0;
        font-size: 18px;
    }

.modal-close-btn {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #666;
}

.modal-body {
    padding: 20px;
}

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

    .form-group label {
        display: block;
        margin-bottom: 5px;
        font-size: 14px;
        color: #666;
    }

    .form-group input,
    .form-group select {
        width: 100%;
        padding: 10px;
        border: 1px solid #ddd;
        border-radius: 5px;
    }

        .form-group input:disabled {
            background-color: #f9f9f9;
            color: #888;
        }

.submit-btn {
    background-color: #006a4e;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
}

    .submit-btn:hover {
        background-color: #005540;
    }

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

    .form-group label {
        display: block;
        margin-bottom: 5px;
        font-size: 14px;
        color: #666;
    }

    .form-group input,
    .form-group select {
        width: 100%;
        padding: 10px;
        border: 1px solid #ddd;
        border-radius: 5px;
    }

        .form-group input:disabled {
            background-color: #f9f9f9;
            color: #888;
        }

.submit-btn {
    background-color: #006a4e;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
}

    .submit-btn:hover {
        background-color: #005540;
    }
