/* Modal Background Blur & Dark Overlay */
.modal-backdrop {
  background-color: rgba(16, 16, 16, 0.5) !important;
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
}

.modal.fade.show {
  background-color: rgba(16, 16, 16, 0.5);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
}

/* Modal Content Styling */
.modal-content {
  background-color: #101010;
  border: none;
  border-radius: 15px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
}

/* Modal Header & Search Input */
.modal-header {
  padding: 1.5rem;
  background-color: #151515;
  border-radius: 15px 15px 0 0;
}

.input-group-text {
  color: #fff;
}

.form-control {
  background-color: transparent;
  color: #fff;
}

.form-control::-moz-placeholder {
  color: #666666;
}

.form-control::placeholder {
  color: #666666;
}

.btn-close {
  color: #ffffff;
  filter: invert(1) grayscale(100%) brightness(200%);
}

/* Search Tabs */
.search-tabs {
  display: flex;
  background-color: #151515;
  padding: 0 1.5rem;
  border-bottom: 1px solid #222;
}

.tab-btn {
  background: transparent;
  border: none;
  color: #888;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  position: relative;
  cursor: pointer;
  transition: color 0.2s;
}

.tab-btn:hover {
  color: #ccc;
}

.tab-btn.active {
  color: #fff;
  font-weight: 500;
}

.tab-btn.active:after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #3b82f6;
}

.tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  margin-left: 6px;
  font-size: 0.75rem;
  background-color: #333;
  color: #fff;
  border-radius: 10px;
}

/* Search Section Titles */
.search-section-title {
  color: #888;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #222;
}

/* Skeleton Loading Animation */
.skeleton-image {
  height: 200px;
  background: linear-gradient(90deg, #202020 25%, #252525 50%, #202020 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
  border-radius: 8px;
}

.skeleton-title,
.skeleton-text,
.skeleton-price {
  background: linear-gradient(90deg, #202020 25%, #252525 50%, #202020 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
  border-radius: 4px;
}

.skeleton-title {
  height: 24px;
  margin-bottom: 0.5rem;
}

.skeleton-text {
  height: 16px;
  margin-bottom: 0.5rem;
}

.skeleton-price {
  height: 20px;
  width: 60%;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
/* Course Card Styling */
.course-card {
  position: relative;
  width: 100%;
  background-color: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s, box-shadow 0.3s;
  margin-bottom: 20px;
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.course-badge {
  background-color: #6366f1 !important;
}

/* Scrollbar Styling */
.modal-body::-webkit-scrollbar {
  width: 8px;
}

.modal-body::-webkit-scrollbar-track {
  background: #151515;
}

.modal-body::-webkit-scrollbar-thumb {
  background: #333333;
  border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
  background: #444444;
}

/* Empty State Message */
.text-muted {
  color: #666666 !important;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .modal-dialog {
    margin: 1rem;
  }
  .card-content {
    padding: 1rem;
  }
  .card-title.cars {
    font-size: 1.1rem;
  }
  .view-details {
    padding: 0.5rem 1rem;
  }
  .search-tabs {
    padding: 0 1rem;
  }
  .tab-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
  }
}/*# sourceMappingURL=search-modal.css.map */