.clear-all-btn {
  background: none;
  border: 1px solid #dc3545;
  color: #dc3545;
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
  margin-left: auto;
  float: right;
}
.filter-count {
  color: #6c757d;
  font-size: 0.85em;
  margin-left: 5px;
  font-weight: normal;
}

.clear-all-btn:hover {
  background: #dc3545;
  color: white;
}

#selected-filters-display {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}

.selected-filters-header {
  display: flex;
  justify-content: flex-end;
  /* Aligns content to the right */
  width: 100%;
  margin-bottom: 10px;
}

/* Filter Pills Container */
.selected-filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-left: 0;
  /* Remove your previous 15px margin */
}

/* Individual Filter Pills (your design) */
.selected-filter-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  background: #3a56d4;
  border-radius: 20px;
  font-size: 14px;
  margin-left: 4px;
  margin-top: 3px;
  color: #fff;
}

.selected-filter-close {
  cursor: pointer;
  color: #ffffff;
  font-size: 16px;
  line-height: 1;
  transition: color 0.2s;
  margin-left: 5px;
}

.selected-filter-close:hover {
  color: #dc3545;
}

:root {
  /* Color Scheme */
  --primary: #4361ee;
  --primary-light: #e6f0ff;
  --primary-dark: #3a56d4;
  --secondary: #3f37c9;
  --success: #4cc9f0;
  --info: #4895ef;
  --warning: #f72585;
  --danger: #f72585;
  --light: #f8f9fa;
  --dark: #212529;
  --gray: #6c757d;
  --gray-light: #e9ecef;
  --white: #ffffff;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-round: 50%;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-inset: inset 0 1px 2px rgba(0, 0, 0, 0.1);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.45s ease;
}

.score-input-container {
  width: 34%;
}

.predictor-container {
  /* max-width: 1400px; */
  margin: 0 auto;
  /* padding: 2rem 1rem; */
}

/* mobile Responsive */
.college-predict-container-mobile {
  position: relative;
  z-index: 100;
  margin-bottom: 15px;
}

.college-predict-filter-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  background-color: #1976d2;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  width: 100%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: background-color 0.2s;
}

.college-predict-filter-button:hover {
  background-color: #1565c0;
}

.college-predict-filter-button svg {
  fill: currentColor;
}

.college-predict-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  display: none;
  backdrop-filter: blur(2px);
}

.college-predict-filter-panel {
  position: fixed;
  top: 86px;
  right: 120%;
  width: 100%;
  max-width: px;
  height: 80%;
  background-color: white;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  transition: right 0.3s ease-out;
}

.college-predict-filter-panel.open {
  right: 0;
}

.college-predict-panel-header {
  padding: 16px 20px;
  background-color: #f5f5f5;
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.college-predict-panel-header h3 {
  margin: 0;
  font-size: 18px;
  color: #333;
}

.college-predict-panel-close {
  background: none;
  border: none;
  font-size: 24px;
  color: #666;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}
.pre-section-set {
  display: flex;
  flex-direction: column;
  width: 200px;
  margin-top: 15px;
}

.college-predict-panel-body {
  display: flex;
  flex: 1;
  overflow: hidden;
}

.college-predict-panel-menu {
  width: 120px;
  background-color: #f9f9f9;
  border-right: 1px solid #e0e0e0;
  overflow-y: auto;
}

.college-predict-menu-option {
  padding: 14px 16px;
  cursor: pointer;
  font-size: 14px;
  color: #555;
  border-left: 3px solid transparent;
  transition: all 0.2s;
}

.college-predict-menu-option:hover {
  background-color: #f0f0f0;
}

.college-predict-menu-option.selected {
  background-color: rgba(25, 118, 210, 0.1);
  border-left-color: #1976d2;
  color: #1976d2;
  font-weight: 500;
}

.college-predict-panel-content {
  flex: 1;
  padding: 15px;
  overflow-y: auto;
}

.college-predict-filter-section {
  display: none;
}

.college-predict-filter-section.visible {
  display: block;
}

.college-predict-filter-search {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

.college-predict-options-group {
  display: flex;
  flex-direction: column;
  /*   gap: 8px; */
  max-height: calc(100vh - 250px);
  overflow-y: auto;
}

.college-predict-option-item {
  display: flex;
  align-items: center;
  padding: 2px px;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.college-predict-option-item:hover {
  background-color: #f5f5f5;
}

.college-predict-option-item input {
  width: 18px;
  height: 18px;
  margin-right: 12px;
  accent-color: #1976d2;
}

.college-predict-panel-footer {
  padding: 12px 16px;
  border-top: 1px solid #e0e0e0;
  display: flex;
  gap: 12px;
}

.college-predict-reset-btn,
.college-predict-apply-btn {
  flex: 1;
  padding: 10px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

.college-predict-reset-btn {
  background-color: #f5f5f5;
  color: #333;
}

.college-predict-reset-btn:hover {
  background-color: #e0e0e0;
}

.college-predict-apply-btn {
  background-color: #1976d2;
  color: white;
}

.college-predict-apply-btn:hover {
  background-color: #1565c0;
}

/* Mobile Responsive Table */
@media (max-width: 767px) {
  .enhanced-table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .enhanced-table th,
  .enhanced-table td {
    /*  */
    /*   padding: 8px 12px; */
    font-size: 13px;
  }

  .college-name,
  .department {
    position: static !important;
    background: transparent !important;
    z-index: auto !important;
  }

  .college-title,
  .course-badge {
    white-space: normal;
    word-break: break-word;
  }

  .results-table-container {
    margin-right: -15px;
    padding-right: 15px;
  }
}

/* Responsive Adjustments */
@media (max-width: 576px) {
  .predictor-container {
    /*    padding: 10px; */
  }

  .card-section {
    padding: 12px;
  }
  .pre-section-set {
    width: 100%;
  }

  .form-actions {
    flex-direction: column;
    gap: 10px;
  }

  .btn-outline,
  .btn-primary-predictor {
    width: 100%;
  }

  .dual-block {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    padding: 10px !important;
  }
}

/* mobile Responsive */
/* Base Styles */

/* Form Header */
.form-header {
  margin-bottom: var(--space-lg);
  position: relative;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: var(--space-sm);
  position: relative;
  /* display: inline-block; */
}

.section-title::after {
  /* content: ""; */
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 50px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
}

.section-subtitle {
  color: var(--gray);
  margin-bottom: var(--space-md);
  font-size: 1rem;
  line-height: 1.6;
  /* max-width: 600px; */
}

.form-progress {
  height: 6px;
  background: var(--gray-light);
  border-radius: 3px;
  margin-top: var(--space-xl);
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--info));
  border-radius: 3px;
  transition: width 0.6s ease;
}

/* Card Sections */
.card-section {
  /* background: var(--white); */
  /* border-radius: var(--radius-lg); */
  padding: var(--space-lg);
  margin-bottom: var(--space-lg);
  /* box-shadow: var(--shadow-md); */
  /* border: 1px solid var(--gray-light); */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* .card-section:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
} */

.section-header {
  display: flex;
  align-items: center;
  margin-bottom: var(--space-lg);
}

.section-icon {
  width: 24px;
  height: 24px;
  margin-right: var(--space-sm);
  color: var(--primary);
}

.form-section-title {
  font-size: 1.2rem;
  color: var(--dark);
  margin: 0;
  font-weight: 600;
}

/* Selected Items */
.selected-items {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.selected-item {
  display: flex;
  align-items: center;
  background: var(--primary-light);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  /*    flex: 1 1 200px; */
  min-width: 0;
}

.item-icon {
  font-size: 1.2rem;
  margin-right: var(--space-sm);
  color: var(--primary);
}

.item-label {
  font-size: 0.8rem;
  color: var(--gray);
  display: block;
  margin-bottom: 2px;
}

.item-value {
  font-weight: 600;
  color: var(--primary-dark);
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.form-group {
  margin-bottom: var(--space-md);
  flex: 1;
  min-width: 0;
}

.score-input {
  max-width: 200px;
}

.form-group label {
  display: block;
  margin-bottom: var(--space-sm);
  font-weight: 500;
  color: var(--dark);
  font-size: 0.9rem;
}

.input-with-icon {
  position: relative;
}

.input-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  color: var(--gray);
}

.form-control-predictor {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  height: auto;
  box-sizing: border-box;
  /* background-color: var(--light); */
}

.form-control-predictor:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
  outline: none;
  background-color: var(--white);
}

/* Form Actions */
.form-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-md);
  color: var(--dark);
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: 0.95rem;
}

.btn-outline:hover {
  background: var(--light);
  border-color: var(--gray);
  color: var(--dark);
  transform: translateY(-1px);
}

.btn-primary-predictor {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.75rem;
  background: var(--primary);
  border: none;
  width: 200px;
  border-radius: var(--radius-md);
  color: var(--white);
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: 0.95rem;
  box-shadow: 0 2px 5px rgba(67, 97, 238, 0.3);
}

.btn-primary-predictor:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(67, 97, 238, 0.3);
}

.btn-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.2s ease;
}

/* Results Section */
.results-container {
  background: var(--white);
  /* border-radius: var(--radius-lg); */
  /*  padding: var(--space-lg); */
  /*   margin-top: var(--space-lg); */
  margin-top: 6px;
  /* box-shadow: var(--shadow-md); */
  border: 1px solid var(--gray-light);
  /* margin: 0px 15px; */
  padding-top: 6px;
  /* padding-left: 10px; */
}

.results-header {
  /*  margin-bottom: var(--space-lg); */
}

.results-title {
  display: flex;
  align-items: center;
  margin-bottom: var(--space-md);
}

.results-title h3 {
  font-size: 18px;
  color: var(--dark);
  margin: 0 var(--space-sm) 0 0;
}

.results-badge {
  background: var(--primary-light);
  color: #000000;
  padding: 3px 6px;
  border-radius: 2px;
  font-size: 0.85rem;
  font-weight: 500;
}

/* Results Tools */
.results-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* margin-bottom: var(--space-lg); */
  flex-wrap: wrap;
  gap: var(--space-md);
}

.search-box {
  position: relative;
  flex: 1;
  min-width: 250px;
  max-width: 400px;
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--gray);
  z-index: 2;
}

.search-input {
  width: 97%;
  padding: 6px;
  border: 3px solid var(--gray-light);
  border-radius: 6px;
  font-size: 0.95rem;
  background-color: #ffffff;
  transition: all var(--transition-fast);
}

.search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
  outline: none;
  background-color: var(--white);
}

.search-clear {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--gray);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.search-input:not(:placeholder-shown) + .search-clear {
  opacity: 1;
}

/* Filter Toggle */
.filter-toggle {
  display: flex;
  background: var(--gray-light);
  border-radius: var(--radius-md);
  padding: 0.25rem;
  box-shadow: var(--shadow-inset);
}

.filter-btn {
  display: flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border: none;
  background: transparent;
  color: var(--gray);
  font-weight: 500;
  cursor: pointer;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  transition: all var(--transition-fast);
}

.filter-btn svg {
  width: 16px;
  height: 16px;
  margin-right: var(--space-xs);
  color: inherit;
}

.filter-btn.active {
  background: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

/* Filter Section */
.filter-section {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-md);
}

.filter-header h4 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--dark);
}

.filter-reset {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s ease;
}

.filter-reset:hover {
  color: var(--primary-dark);
}

.filter-card {
  background: white;
  /* border-radius: 8px; */
  padding: 15px;
  margin-bottom: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.filter-card-header {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.filter-card-header svg {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  color: var(--primary);
}

.filter-card-header h5 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #333;
}

/* Improved Filter Content */
.filter-content-predictor {
  max-height: 200px;
  overflow-y: auto;
  padding-right: 5px;
}

.filter-content-predictor::-webkit-scrollbar {
  width: 6px;
}

.filter-content-predictor::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 3px;
}

.filter-card.has-selection .filter-card-header {
  color: var(--primary);
}

.filter-card.has-selection .filter-card-header h5 {
  color: var(--primary);
}

/* Filter Options */
.filter-option-predictor {
  display: flex;
  align-items: center;
  padding: 8px 0;
  margin: 0;
}

.filter-section h4,
.filter-card-header h5 {
  font-size: 16px;
  margin-bottom: 8px;
}

.filter-checkbox {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.filter-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 13px;
  line-height: 15px;
  color: #333;
  width: 100%;
  transition: all 0.2s ease;
  /* padding: 4px 0; */
}

.filter-label:hover {
  color: var(--primary);
}

.filter-check {
  width: 18px;
  height: 18px;
  border: 2px solid #686363;
  border-radius: 4px;
  margin-right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.filter-checkbox:checked + .filter-label .filter-check {
  background: var(--primary);
  border-color: var(--primary);
}

.filter-checkbox:checked + .filter-label .filter-check::after {
  content: "";
  width: 10px;
  height: 6px;
  border-left: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(-45deg);
  margin-top: -2px;
}

.filter-checkbox:checked + .filter-label {
  color: var(--primary);
  font-weight: 500;
}

.filter-checkbox:checked + .filter-label .filter-check {
  background: var(--primary);
  border-color: var(--primary);
}

.filter-checkbox:checked + .filter-label .filter-check::after {
  content: "";
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  transform: rotate(-45deg);
  margin-top: -2px;
}

.filter-checkbox:checked + .filter-label {
  color: var(--primary);
}

/* Enhanced Table */
.results-table-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-right: -8px;
  padding-right: 8px;
}

.enhanced-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-top: var(--space-md);
  font-size: 1rem;
}
.cutoff {
  background-color: #f9fcff;
}

.rank {
  background-color: #faf5f6;
}

.enhanced-table th {
  background: var(--primary-light) !important;
  color: var(--primary-dark);
  /*   padding: 8px; */
  width: 130px !important;
  text-align: revert;
  border-bottom: 1px solid var(--gray-light);
  /* position: sticky; */
  top: 0;
  /*   white-space: nowrap; */
}

.enhanced-table td {
  /*   padding: 8px; */
  padding-top: 12px;
  /*  padding-bottom: 15px; */
  border-bottom: 1px solid var(--gray-light);
  color: var(--dark);
  vertical-align: middle;
  /* white-space: nowrap; */
  text-align: center;
}

.enhanced-table tr:last-child td {
  border-bottom: none;
}

.enhanced-table tr:hover {
  background: rgba(67, 97, 238, 0.05);
}

/* Table Cells */
.serial {
  width: 30px !important;
  min-width: 40px;
  color: var(--gray);
  font-weight: 500;
  text-align: center;
  /*  position: sticky; */
  left: 0;
  background: white;
  z-index: 2;
}

.college-code {
  width: 60px;
  min-width: 60px;
  /*  position: sticky; */
  left: 40px;
  background: white;
  z-index: 2;
}

.code-badge {
  background: var(--light);
  color: var(--dark);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 500;
  display: inline-block;
}

.college-name {
  min-width: 280px;
  position: static;
  left: 100px;
  background: white;
  z-index: 2;
}

.college-title {
  font-weight: 500;
  margin-bottom: 2px;
  /*  white-space: nowrap; */
  overflow: hidden;
  text-overflow: ellipsis;
}

.college-location {
  font-size: 0.8rem;
  color: var(--gray);
  /* display: flex
; */
  /* align-items: center; */
  text-align: center;
}

.college-location svg {
  margin-right: 4px;
  color: var(--gray);
}

.department {
  min-width: 149px;
  position: sticky;
  left: 225px;
  background: white;
  z-index: 2;
}

.course-badge {
  color: var(--dark);
  /* border-radius: var(--radius-sm); */
  /* font-size: 12px; */
  display: table;
  /* white-space: nowrap; */
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
  width: 100%;
  /* width: 33px;*/
}

/* Community Cutoff Columns */
.community-cutoff-header {
  text-align: center;
  padding: 8px 4px;
  font-size: 0.8rem;
  width: 19px !important;
  min-width: 51px;
  max-width: 21px;
  box-sizing: border-box;
}

.community-cutoff {
  /*   min-width: 80px; */
  max-width: 100px;
  text-align: center;
  padding: 8px 4px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  position: relative;
  cursor: pointer;
  transition: all 0.2s ease;
}

.community-cutoff:hover {
  background-color: var(--primary-light);
}

.community-cutoff:hover::after {
  content: attr(data-rank);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--dark);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  white-space: nowrap;
  z-index: 10;
}

/* No Results */
.no-results {
  text-align: center;
  padding: var(--space-xl);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-light);
  max-width: 500px;
  margin: var(--space-lg) auto;
}

.no-results-illustration {
  width: 150px;
  height: 150px;
  margin: 0 auto var(--space-md);
}

.no-results h4 {
  font-size: 1.3rem;
  color: var(--dark);
  margin-bottom: var(--space-sm);
}

.no-results p {
  color: var(--gray);
  margin-bottom: var(--space-lg);
  font-size: 0.95rem;
}

.adjust-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-md);
  color: var(--dark);
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: 0.95rem;
}

.adjust-btn svg {
  width: 18px;
  height: 18px;
  margin-right: var(--space-sm);
}

.adjust-btn:hover {
  background: var(--light);
  border-color: var(--gray);
  color: var(--dark);
  transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 992px) {
  .college-name {
    min-width: 120px;
  }

  .department {
    min-width: 80px;
  }
}

@media (max-width: 768px) {
  .predictor-steps {
    /*     padding: 0; */
  }

  .step {
    max-width: 33%;
  }

  .step-label {
    font-size: 0.75rem;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .score-input {
    max-width: 100%;
  }

  .selected-items {
    flex-direction: column;
  }

  .card-item {
    width: 100%;
  }

  .results-tools {
    flex-direction: column;
    align-items: stretch;
  }

  .search-box {
    max-width: 100%;
    /*    margin-bottom: var(--space-md); */
  }

  .filter-toggle {
    align-self: center;
  }

  .enhanced-table th,
  .enhanced-table td {
    /* padding: 8px; */
    font-size: 0.8rem;
  }

  .college-name {
    left: 80px;
    max-width: 150px;
  }

  .department {
    left: 180px;
    max-width: 120px;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 1.5rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
  }

  .form-actions {
    flex-direction: column-reverse;
    gap: var(--space-sm);
  }

  .btn-outline,
  .btn-primary-predictor {
    width: 100%;
    justify-content: center;
  }

  .no-results {
    padding: var(--space-lg) var(--space-md);
  }

  .college-name {
    left: 60px;
    max-width: 120px;
  }

  .department {
    left: 180px;
    max-width: 100px;
  }
}

.card-section {
  /* border: 1px solid #ddd; */
  /* border-radius: 8px; */
  padding: 16px;
  margin-bottom: 20px;
  /* background: #fff; */
  /* box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1); */
}

.section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1px;
}

.section-icon {
  width: 24px;
  height: 24px;
  fill: #007bff;
}

.form-section-title {
  font-size: 18px;
  font-weight: bold;
}

.selected-items {
  display: flex;
  gap: 0px;
  flex-wrap: wrap;
}

.selected-item {
  display: flex;
  align-items: center;
  background: #f9f9f9;
  border-radius: 2px;
  border: 1px solid #ddd;
  min-width: 150px;
}

.item-icon {
  font-size: 18px;
}

.item-label {
  font-weight: bold;
}

.score-input {
  flex: 1;
  min-width: 150px;
}

.form-row {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.input-with-icon {
  position: relative;
}

.input-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}

.form-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.btn-outline,
.btn-primary-predictor {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 5px;
  border: none;
  cursor: pointer;
}

.btn-outline {
  background: #ddd;
  color: #333;
}

.btn-primary-predictor {
  background: #007bff;
  color: white;
}

.filter-search-box {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin-bottom: 10px;
  font-size: 14px;
}

.filter-search-box:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(67, 97, 238, 0.1);
}

/* Add this to your existing CSS */
.score-input-group {
  display: flex;
  /*   gap: var(--space-md); */
  margin-bottom: var(--space-md);
}

.score-input-label {
  display: block;
  margin-bottom: var(--space-sm);
  font-weight: 500;
  color: var(--dark);
  font-size: 0.9rem;
}

.score-input-wrapper {
  position: relative;
}

.score-input {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  background-color: var(--bs-body-bg);
}

.score-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
  outline: none;
  background-color: var(--white);
}

.score-input-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  color: var(--gray);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .score-input-group {
    flex-direction: column;
  }
}

.score-input-container {
  margin-bottom: 20px;
}

.score-input-group {
  display: flex;
  gap: 16px;
}

.score-input {
  flex: 1;
}

.exam-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.exam-card {
  background: white;
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid #eaeaea;
  text-decoration: none;
  color: inherit;
  width: 270px;
}

.exam-card:hover {
  /* transform: translateY(-5px); */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border-color: #007bff;
}

.exam-logo {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.exam-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.exam-card h3 {
  font-size: 1rem;
  margin-bottom: 0;
  color: #333;
}

.navigation-actions {
  display: flex;
  justify-content: flex-start;
  margin-top: 2rem;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: white;
  border: 1px solid #ddd;
  border-radius: 5px;
  color: #333;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-outline:hover {
  background: #f5f5f5;
  border-color: #ccc;
}

.btn-outline svg {
  width: 20px;
  height: 20px;
  margin-right: 0.5rem;
}

@media (max-width: 768px) {
  .exam-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }
}

.gradient-box {
  background: linear-gradient(135deg, #182848 0%, #4b6cb7 100%);
  padding: 8px 0px;
  color: white;
}

.selected-items {
  background: #fff;
  padding: 15px;
}

.form-sections {
  background: #fff;
  padding: 0px 13px 11px 13px;
}
.quota {
  padding: 6px !important;
  border-radius: 2px !important;
  border: 1px solid #ddd;
  background: #f9f9f9;
  font-size: 14px;
  appearance: none;
}

.cut {
  font-weight: 600;
  margin-bottom: 8px;
  color: #444;
  font-size: 14px;
}

.predict-btn {
  padding: 6px 27px;
  border: none;
  border-radius: 2px;
  background: linear-gradient(135deg, #182848 0%, #4b6cb7 100%);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.back-btn {
  padding: 6px 27px;
  border: 1px solid #182848;
  border-radius: 2px;
  background: transparent;
  color: #182848;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
}
.custom-select {
  padding: 10px 35px 10px 12px;
  font-size: 14px;
  color: #333;
  background-color: #ffffff;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' fill='%23444' class='bi bi-caret-down-fill' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658A.5.5 0 0 1 2.88 4.5h10.24a.5.5 0 0 1 .429.791l-4.796 5.482a.5.5 0 0 1-.754 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 45px 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  transition: border 0.3s ease;

  border: 1px solid #ddd;
}

.custom-select:focus {
  border-color: #007bff;
  outline: none;
  box-shadow: 0 0 3px rgba(0, 123, 255, 0.5);
}

.sortable {
  cursor: pointer;
  /*   position: relative; */
  padding-right: 20px;
}

.sort-icon {
  /*   position: absolute;
  right: 5px;
  top: 50%; */
  transform: translateY(-50%);
}

.sort-icon::after {
  content: "↑↓";
  font-size: 12px;
  opacity: 0.5;
}

.sortable.asc .sort-icon::after {
  content: "↑";
  opacity: 1;
}

.sortable.desc .sort-icon::after {
  content: "↓";
  opacity: 1;
}
/* Predictor Disclaimer */
