.badge-secondary{
    background-color: #b8b8b8;
    color: #000000;
    border: 1px solid #000000;
    border-radius: 0.2rem;
    padding: 0.2rem 0.4rem;
    font-size: 0.875rem;
    font-weight: 500;
}
.select-with-search-container {
    position: relative;
    width: 100%;
}

.select-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #b8b8b8;
    border-radius: 0.0rem;
    min-height: 51px;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
}

.select-input-wrapper:hover:not(.readonly) {
    border-color: #adb5bd;
}

.select-input-wrapper.focused,
.select-with-search-container.open .select-input-wrapper {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.select-with-search-container.readonly .select-input-wrapper {
    background-color: #f8f9fa;
    cursor: default;
}

.select-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.75rem;
    color: var(--primary_landing_color);
    font-size: 24px;
}

.select-search-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #212529;
}

.select-search-input::placeholder {
    color: #6c757d;
    opacity: 1;
}

.select-search-input:read-only {
    cursor: pointer;
}

.select-actions {
    display: flex;
    align-items: center;
    padding-right: 0.75rem;
    gap: 0.25rem;
}

.clear-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border: none;
    background: transparent;
    color: #6c757d;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.15s ease-in-out;
}

.clear-button:hover {
    background-color: #f8f9fa;
    color: #495057;
}

.dropdown-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary_landing_color);
    font-size: 14px;
    transition: transform 0.15s ease-in-out;
}

.dropdown-arrow.open {
    transform: rotate(180deg);
}

.select-options-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1050;
    max-height: 200px;
    overflow-y: auto;
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-top: none;
    border-radius: 0 0 0.375rem 0.375rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    margin: 0;
    padding: 0;
    list-style: none;
}

.select-option {
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    color: #212529;
    background-color: #ffffff;
    border-bottom: 1px solid #f8f9fa;
    transition: background-color 0.15s ease-in-out;
}

.select-option:last-child {
    border-bottom: none;
}

.select-option:hover,
.select-option.highlighted {
    background-color: #f8f9fa;
}

.select-option.selected {
    background-color: #e7f1ff;
    color: #0d6efd;
    font-weight: 500;
}

.select-option.selected:hover,
.select-option.selected.highlighted {
    background-color: #cce7ff;
}

.select-option.no-results {
    color: #6c757d;
    font-style: italic;
    cursor: default;
    text-align: center;
}

.select-option.no-results:hover {
    background-color: #ffffff;
}

.select-option.show-more {
    padding: 0;
    border-bottom: 1px solid #e9ecef;
}

.show-more-button {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: none;
    background: #f8f9fa;
    color: #0d6efd;
    cursor: pointer;
    font-size: 0.875rem;
    transition: background-color 0.15s ease-in-out;
    text-align: center;
}

.show-more-button:hover {
    background-color: #e9ecef;
    color: #0a58ca;
}

.select-header {
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
    padding: 0.75rem 0.5rem;
    margin-bottom: 0;
    font-weight: 600;
    color: #495057;
    text-align: center;
    border-top: 1px solid #dee2e6;
}

.select-header strong {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.select-header .col-7,
.select-header .col-2,
.select-header .col-3 {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

@media (max-width: 576px) {
    .select-header {
        padding: 0.5rem 0.25rem;
    }
    
    .select-header strong {
        font-size: 0.75rem;
    }
}

.select-options-list::-webkit-scrollbar {
    width: 6px;
}

.select-options-list::-webkit-scrollbar-track {
    background: #f8f9fa;
}

.select-options-list::-webkit-scrollbar-thumb {
    background: #dee2e6;
    border-radius: 3px;
}

.select-options-list::-webkit-scrollbar-thumb:hover {
    background: #adb5bd;
}

.select-input-wrapper:focus-within {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

@media (prefers-color-scheme: dark) {
    .select-input-wrapper {
        background: #212529;
        border-color: #495057;
        color: #ffffff;
    }
    
    .select-search-input {
        color: #ffffff;
    }
    
    .select-search-input::placeholder {
        color: #adb5bd;
    }
    
    .select-options-list {
        background: #212529;
        border-color: #495057;
    }
    
    .select-option {
        background-color: #212529;
        color: #ffffff;
        border-bottom-color: #495057;
    }
    
    .select-option:hover,
    .select-option.highlighted {
        background-color: #2c3034;
    }
    
    .select-option.selected {
        background-color: #1a365d;
        color: #63b3ed;
    }
}

@media (max-width: 576px) {
    .select-options-list {
        max-height: 150px;
    }
    
    .select-option {
        padding: 0.75rem;
    }
}/* Insurance Options Table Styles */
.insurance-options-table .table th {
  border-top: none;
  font-weight: 600;
  color: #495057;
  background-color: #f8f9fa;
}

.insurance-options-table .table td {
  vertical-align: middle;
}

.insurance-options-table .table-primary {
  background-color: rgba(13, 110, 253, 0.1);
}

.insurance-options-table .expanded-details {
  border-left: 3px solid #007bff;
  background-color: #f8f9fa !important;
}

.insurance-options-table .expanded-details .text-muted {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.insurance-options-table .badge {
  font-size: 0.7rem;
  margin-bottom: 2px;
}

.insurance-options-table .card-header {
  background-color: #ffffff;
  border-bottom: 2px solid #dee2e6;
}

.insurance-options-table .card-footer {
  background-color: #f8f9fa;
  border-top: 1px solid #dee2e6;
}

.insurance-options-table .btn-sm {
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
}

.insurance-options-table .table-responsive {
  border-radius: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .insurance-options-table .expanded-details .col-md-4 {
    margin-bottom: 1rem;
  }
  
  .insurance-options-table .expanded-details .col-md-3 {
    margin-bottom: 0.5rem;
  }
}

/* Animation for expand/collapse */
.insurance-options-table .expanded-details {
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Loading state styles */
.insurance-options-table .loading-row {
  background-color: #f8f9fa;
  opacity: 0.6;
}

.insurance-options-table .loading-row td {
  height: 60px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}.loading-logo {
    object-fit: contain;
    animation: blink 1.5s infinite ease-in-out;
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.2; }
    100% { opacity: 1; }
}
