.neet-banner-text {
  text-align: center;
}

/* Badge */
.neet-badge {
  display: inline-block;
  background: #e8f0ff;
  color: #1a73e8;
  padding: 6px 14px;
  border-radius: 40px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}

/* Title */
.neet-title {
  font-size: 32px;
  font-weight: 600;
  font-family: "Inter", sans-serif;
  color: #1e3a8a;
  margin-bottom: 8px;
}

/* Description */
.neet-desc {
  font-size: 16px;
  color: #64748b;
  max-width: 700px;
  margin: auto;
  line-height: 1.6;
}

/* Points */
.neet-points {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
  font-size: 14px;
  color: #334155;
  font-weight: 500;
}

/* Mobile */
@media (max-width: 768px) {
  .neet-simple-banner {
    padding-top: 0px;
    padding: 0px 12px !important;
  }
  .ISMOBILE {
    margin-top: 1px !important;
  }

  .neet-title {
    font-size: 26px;
  }

  .neet-desc {
    font-size: 14px;
  }

  .neet-points {
    flex-direction: column;
    gap: 8px;
  }
}

/*  Predictor Scource */

/* Unique namespace to avoid collisions */
.mypredictor-disclaimer-2025 {
  --bg: #fbfdff;
  --accent: #0f766e;
  /* teal accent */
  --muted: #556271;
  --border: rgba(15, 118, 110, 0.12);
  --radius: 10px;
  font-family: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--muted);
  background: linear-gradient(180deg, var(--bg), #ffffff);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  margin: 24px 0;
  box-shadow: 0 6px 18px rgba(10, 20, 30, 0.04);
  line-height: 1.45;
  font-size: 14px;
}

.mypredictor-disclaimer-2025__header {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
}

.mypredictor-disclaimer-2025__icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: linear-gradient(
    135deg,
    rgba(15, 118, 110, 0.12),
    rgba(15, 118, 110, 0.06)
  );
  color: var(--accent);
  border-radius: 8px;
  font-weight: 600;
  font-size: 18px;
}

.mypredictor-disclaimer-2025__title {
  font-weight: 700;
  color: #102027;
  margin: 0;
  font-size: 15px;
}

.mypredictor-disclaimer-2025__body {
  margin-top: 6px;
  padding-left: 2px;
}

.mypredictor-disclaimer-2025__list {
  margin: 10px 0 0 16px;
}

.mypredictor-disclaimer-2025__note {
  margin-top: 10px;
  font-size: 13px;
  color: #475569;
  background: rgba(15, 118, 110, 0.025);
  padding: 10px;
  border-radius: 8px;
}

/* Print-friendly tweaks */
@media print {
  .mypredictor-disclaimer-2025 {
    box-shadow: none;
    border: 1px solid #ddd;
    background: #fff;
    color: #222;
  }
}

/* ====== Section Wrapper ====== */
.predictor-section {
  background: #f8fbff;
  padding: 50px 30px;
  border-radius: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  margin: 40px auto;
  text-align: center;
}

/* ====== Header ====== */
.predictor-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #0a2a66;
}

.predictor-subtitle {
  font-size: 1.05rem;
  color: #6b7280;
  margin-bottom: 35px;
}

/* ====== Grid Layout ====== */
.predictor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 15px;
  justify-items: center;
  align-items: center;
  width: 100%;
}

/* ====== Card Style ====== */
.predictor-card {
  /* display: flex; */
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: #fff;
  color: #0a2a66;
  font-size: 0.9rem;
  font-weight: 500;

  padding: -2px;
  height: auto;
  width: 48%;
  width: 99%;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

/*  .predictor-card:hover {
    border-color: #2563eb;
    background: linear-gradient(135deg, #f0f7ff, #e2edff);
    transform: translateY(-4px);
    box-shadow: 0 6px 14px rgba(37, 99, 235, 0.25);
    color: #1e40af;
  } */

/* ====== Mobile Optimization ====== */
@media (max-width: 992px) {
  .predictor-title {
    font-size: 1.8rem;
  }
  .ISMOBILE {
    margin-top: 1px !important;
  }
  .predictor-subtitle {
    font-size: 1rem;
  }

  .predictor-section {
    padding: 40px 20px;
  }

  .predictor-grid {
    gap: 18px;
  }

  .predictor-card {
    font-size: 0.95rem;
    height: 65px;
    height: auto;
  }
  .predictor-action-buttons {
    gap: 10px !important;
  }
}

@media (max-width: 576px) {
  .predictor-section {
    padding: 30px 15px;
  }

  .predictor-grid {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 14px;
  }

  .predictor-card {
    font-size: 0.8rem;
    height: auto;
  }
  .predictor-action-buttons {
    gap: 10px !important;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.otp_errors {
  background: #fff5f5;
  border: 1px solid #fed7d7;
  border-radius: 4px;
  padding: 8px 12px;
  margin-top: 10px;
  font-size: 14px;
}

#mobiledisplay {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 6px;
  padding: 10px;
  margin-top: 10px;
  font-size: 14px;
}

/* Smooth transitions */
.np-form-container {
  transition: all 0.3s ease-in-out;
}

/* Responsive design */
@media (max-width: 768px) {
  .np-form-container {
    padding: 15px !important;
  }

  .np-form-container > div {
    flex-direction: column;
    gap: 10px !important;
  }

  .np-form-container > div > div {
    flex: 1 1 100% !important;
  }
}
@media (max-width: 600px) {
  #otpFormContainer {
    padding: 20px;
  }

  #otpFormContainer input {
    font-size: 14px !important;
  }

  #otpFormContainer button {
    font-size: 13px !important;
    padding: 0 10px !important;
  }

  #send_otp_btn {
    padding: 0 12px !important;
    font-size: 13px !important;
  }
}

.round-tabs {
  display: flex;
  margin-bottom: 10px;
  border-bottom: 1px solid #ddd;
  flex-wrap: wrap;
  gap: 5px;
}

.round-tab {
  padding: 8px 16px;
  background: #f5f5f5;
  border: none;
  border-radius: 4px 4px 0 0;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s;
  white-space: nowrap;
}

.round-tab:hover {
  background: #e0e0e0;
}

.round-tab.active {
  background: #4b6cb7;
  color: white;
  font-weight: bold;
}

.no-data {
  text-align: center;
  padding: 20px;
  color: #666;
}

.np-form-container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-end;
  max-width: 100%;
  padding: 10px;
  background-color: #ffff;
  font-family: Arial, sans-serif;
}

.np-form-group {
  display: flex;
  flex-direction: column;
  min-width: 10px;
}

.np-label {
  font-weight: bold;
  font-size: 13px;
  margin-bottom: 4px;
  color: #333;
}

.np-select {
  padding: 6px 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 13px;
  min-width: 100px;
  width: 100% !important;
}

.np-toggle-container {
  display: flex;
  background: #f0f0f0;
  border-radius: 4px;
  overflow: hidden;
}

.np-toggle-option {
  flex: 1;
  padding: 8px 12px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: bold;
}

.np-active {
  background: #1c2d50;
  color: white;
}

/* ===== PROFESSIONAL DESIGN SYSTEM - CP PREFIX ===== */
:root {
  --cp-primary: #1e3a8a; /* Dark blue - professional */
  --cp-primary-light: #2563eb;
  --cp-secondary: #4b5563; /* Gray - secondary text */
  --cp-success: #059669; /* Green - success states */
  --cp-danger: #dc2626; /* Red - error states */
  --cp-bg: #f8fafc; /* Light background */
  --cp-card-bg: #ffffff; /* White card background */
  --cp-border: #e2e8f0; /* Light border */
  --cp-text: #1e293b; /* Dark text */
  --cp-text-light: #64748b; /* Light text */
  --cp-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  --cp-radius: 4px; /* Minimal radius */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.cp-unique-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.cp-container {
  width: 100%;
}

.cp-web-layout {
  flex: 2.5;
  min-width: 700px;
}

.cp-mobile-layout {
  width: 100%;
}

/* ===== HEADER ===== */
.cp-header-premium {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background: linear-gradient(135deg, #eef5ff, #dce9ff);
  border-radius: 4px 4px 0 0;
}

.cp-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cp-header-icon {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cp-header-icon svg {
  width: 20px;
  height: 20px;
  color: #1e3a8a;
}

.cp-title-main {
  font-size: 18px;
  font-weight: 500;
  color: #1e3a8a;
  margin: 0;
}

.cp-subtitle-text {
  font-size: 12px;
  color: #94a3b8;
  margin: 2px 0 0;
}

.cp-exam-badge-unique {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cp-badge-label {
  font-size: 12px;
  color: #94a3b8;
}

.cp-badge-value {
  font-size: 12px;
  font-weight: 500;
  color: white;
  background: var(--cp-primary);
  padding: 4px 10px;
}

/* ===== MAIN CARD ===== */
.cp-card-elevated {
  background: var(--cp-card-bg);
  padding: 24px;
  border: 1px solid var(--cp-border);
  border-top: none;
}

/* ===== GRID SYSTEMS ===== */
.cp-grid-4col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.cp-grid-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

/* ===== FORM ELEMENTS ===== */
.cp-field-group {
  width: 100%;
}

.cp-field-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--cp-text-light);
  margin-bottom: 4px;
}

.cp-select-custom,
.cp-input-custom {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--cp-border);
  font-size: 13px;
  color: var(--cp-text);
  background: white;
  height: 36px;
  border-radius: 0;
}

.cp-select-custom {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 30px;
}

.cp-select-custom:hover,
.cp-input-custom:hover {
  border-color: var(--cp-primary-light);
}

.cp-select-custom:focus,
.cp-input-custom:focus {
  outline: none;
  border-color: var(--cp-primary);
}

.cp-input-custom::placeholder {
  color: #94a3b8;
  font-size: 12px;
}

/* Placeholder fields */
.cp-placeholder-field {
  visibility: hidden;
  height: 0;
}

/* ===== GENDER AREA ===== */
.cp-gender-area {
  margin: 16px 0;
  padding: 12px;
  background: var(--cp-bg);
  border: 1px solid var(--cp-border);
  min-height: 36px;
}

/* ===== RANGE BOX ===== */
.cp-range-box {
  margin-bottom: 16px;
  padding: 16px;
  background: var(--cp-bg);
  border: 1px solid var(--cp-border);
}

.cp-range-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}

.cp-range-dot {
  width: 4px;
  height: 4px;
  background: var(--cp-primary);
}

.cp-range-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--cp-text);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.cp-hidden-element {
  display: none !important;
}

/* ===== OTP SECTION ===== */
.cp-otp-premium {
  background: var(--cp-bg);
  padding: 16px;
  margin: 16px 0;
  border: 1px solid var(--cp-border);
}

.cp-mobile-block {
  position: relative;
}

.cp-mobile-wrapper {
  position: relative;
}

.cp-mobile-field {
  padding-right: 60px !important;
}

.cp-otp-trigger {
  position: absolute;
  right: 4px;
  top: 4px;
  bottom: 4px;
  background: var(--cp-primary);
  border: none;
  color: white;
  padding: 0 10px;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  height: 28px;
  line-height: 28px;
}

.cp-otp-trigger:hover {
  background: var(--cp-primary-light);
}

.cp-otp-trigger:disabled {
  background: var(--cp-secondary);
  cursor: not-allowed;
}

.cp-otp-input-area {
  position: relative;
}

.cp-otp-box {
  position: relative;
}

.cp-otp-field {
  text-align: center;
  letter-spacing: 3px;
  font-size: 13px;
  font-family: monospace;
  height: 36px;
}

.cp-check-mark {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--cp-success);
  font-size: 14px;
}

.cp-verify-btn-area {
  display: flex;
  align-items: flex-end;
}

.cp-verify-action {
  width: 100%;
  height: 36px;
  background: var(--cp-success);
  border: none;
  color: white;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
}

.cp-verify-action:hover {
  background: #047857;
}

.cp-status-message {
  margin-top: 12px;
  padding: 8px;
  background: white;
  font-size: 12px;
  color: var(--cp-text);
  text-align: center;
  border: 1px solid var(--cp-border);
}

.cp-error-display {
  margin-top: 8px;
  padding: 8px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: var(--cp-danger);
  font-size: 12px;
  text-align: center;
}

/* ===== ACTION BUTTONS ===== */
.cp-action-row {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  justify-content: flex-end;
}

.cp-btn {
  padding: 8px 24px;
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  border: 1px solid transparent;
  min-width: 130px;
  justify-content: center;
  height: 38px;
  border-radius: 0;
}

.cp-btn svg {
  width: 14px;
  height: 14px;
}

.cp-btn-secondary {
  background: white;
  color: var(--cp-text);
  border-color: var(--cp-border);
}

.cp-btn-secondary:hover {
  background: var(--cp-bg);
  border-color: var(--cp-text-light);
}

.cp-btn-primary {
  background: var(--cp-primary);
  color: white;
}

.cp-btn-primary:hover {
  background: var(--cp-primary-light);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .cp-grid-4col {
    grid-template-columns: repeat(2, 1fr);
  }

  .cp-header-premium {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .cp-exam-badge-unique {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 600px) {
  .cp-grid-4col,
  .cp-grid-2col {
    grid-template-columns: 1fr;
  }

  .cp-action-row {
    flex-direction: column;
  }

  .cp-btn {
    width: 100%;
  }

  .cp-placeholder-field {
    display: none;
  }
}

/* ===== UTILITY ===== */
.cp-hidden {
  display: none !important;
}

.ISMOBILE {
  margin-top: 89px;
}

/* Result Card Mobile - Redesign to match screenshot */
@media (max-width: 768px) {
  .results-table-container {
    background: transparent !important;
    border: none !important;
  }

  #examTable thead {
    display: none;
  }

  #examTable,
  #examTable tbody,
  #examTable tr,
  #examTable td {
    display: block;
    width: 100%;
  }

  #examTableBody {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }

  :root {
    --border-color: #ddd;
    --primary-navy: #001f3f;
  }

  .mobile-result-card {
    background: #fff;
    border: 1px solid var(--border-color);

    border-radius: 4px;
    padding: 5px;
    margin-bottom: 5px;
    position: relative;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
  }

  .mobile-result-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--card-shadow);
  }

  .mrc-top-badges {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0px;
  }

  .mrc-tnea-code {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary-navy);
    letter-spacing: 0.5px;
    background: var(--soft-blue);
    padding: 4px 8px;
    border-radius: 4px;
  }

  .mrc-tnea-code span {
    color: var(--highlight-blue);
  }

  .mrc-badge-autonomous {
    background: #fff1f2;
    color: #f43f5e;
    border: 1px solid #fda4af;
    border-radius: 6px;
    padding: 2px 10px;
    font-size: 11px;
    font-weight: 600;
  }

  .mrc-expand-icon {
    position: absolute;
    top: 16px;
    right: 16px;
    color: #1f2937;
    transition: transform 0.3s ease;
  }

  .mrc-expand-icon.open {
    transform: rotate(180deg);
  }

  .mrc-college-name {
    font-size: 17px;
    font-weight: 700;
    color: #111827;
    margin: 8px 0 4px;
    line-height: 1.4;
    padding-right: 30px;
  }

  .mrc-department {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 2px;
    font-weight: 500;
  }

  .mrc-summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 4px;
    align-items: center;
    background: #fdfdfd;
    padding: 4px;
    border: 1px solid #f1f5f9;
    border-radius: 10px;
    margin-bottom: 12px;
  }

  .mrc-summary-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .mrc-summary-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    margin-bottom: 4px;
  }

  .mrc-summary-value {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-navy);
  }

  .mrc-summary-value.highlight {
    color: #0071e1;
  }

  .mrc-footer-badges {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dotted #e5e7eb;
  }

  .mrc-badge-footer {
    padding: 4px 10px;
    border: 1px solid #f87171;
    color: #0071e1;
    background: #fff;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
  }

  /* Expanded Area */
  .mrc-expanded-content {
    margin-top: 0px;
    padding-top: 0px;
    border-top: 1px dashed #e5e7eb;
  }

  .mrc-year-tabs {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 12px;
    scrollbar-width: none;
  }

  .mrc-year-tabs::-webkit-scrollbar {
    display: none;
  }

  .mrc-year-tab {
    padding: 6px 14px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    white-space: nowrap;
  }

  .mrc-year-tab.active {
    background: #000;
    color: #fff;
    border-color: #000;
  }

  .mrc-toggle-group {
    display: flex;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 16px;
  }

  .mrc-toggle-btn {
    flex: 1;
    padding: 10px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    background: #fff;
    color: #374151;
    border: none;
  }

  .mrc-toggle-btn.active {
    background: #000;
    color: #fff;
  }

  .mrc-dept-select-wrapper {
    margin-bottom: 12px;
  }

  .mrc-dept-select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    font-size: 14px;
    font-weight: 500;
    color: #111827;
  }

  .mrc-table-container {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
  }

  .mrc-table {
    width: 100%;
    border-collapse: collapse;
  }

  .mrc-table th {
    background: #f9fafb;
    padding: 10px;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    border-bottom: 1px solid #e5e7eb;
  }

  .mrc-table td {
    padding: 12px 10px;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    border-bottom: 1px solid #f3f4f6;
  }

  .mrc-table tr:last-child td {
    border-bottom: none;
  }

  .mrc-table tr.active-row td {
    background: rgba(239, 68, 68, 0.03);
  }

  .mrc-table tr.active-row td:nth-child(2),
  .mrc-table tr.active-row td:nth-child(3) {
    color: #0071e1;
    font-weight: 700;
  }

  /* PDp Table inside Mobile Card */
  .pdp-table {
    width: 100%;
    border-collapse: collapse;

    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #eef2f6;
  }

  .pdp-table th {
    background: #f8fafc;
    padding: 10px 8px;
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    border-bottom: 1px solid #eef2f6;
  }

  .pdp-table td {
    padding: 12px 8px;
    font-size: 13px;
    color: #1e293b;
    border-bottom: 1px solid #f1f5f9;
  }

  .pdp-table tr:last-child td {
    border-bottom: none;
  }

  .pdp-highlight td {
    background-color: #fffbeb !important;
    font-weight: 600;
    color: #92400e;
  }

  .mobile-result-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 20px;
  }
}

.row > * {
  padding: 0px;
  padding-right: 0px;
  padding-left: 0px;
  margin-top: 0px;
}
#gendar_list {
  display: none;
}
.community-class {
  text-align: center;
}
.cutoff {
  text-align: center;
}
.rank {
  text-align: center;
}

/* Detail Toggle */
.toggle-col {
  width: 40px;
  text-align: center;
}
.toggle-action {
  text-align: center;
  padding: 8px !important;
}
.detail-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
  color: #666;
  background: #f5f5f5;
}
.detail-toggle-btn:hover {
  background: #e0e0e0;
  color: #333;
}
.detail-toggle-btn.expanded {
  background: var(--cp-primary, #1e3a8a);
  color: #fff;
}
.detail-toggle-btn.expanded svg {
  transform: rotate(180deg);
}
.detail-toggle-btn svg {
  transition: transform 0.3s;
}
.predictor-detail-row {
  display: none;
}
.predictor-detail-row.open {
  display: table-row;
}
.predictor-detail-row > td {
  padding: 0 !important;
  border: none !important;
  background: #fafafa;
}
.pdp-container {
  padding: 0px 24px;
  animation: pdpSlide 0.3s ease;
}
@keyframes pdpSlide {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.pdp-header-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.pdp-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.pdp-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 0px;
  font-size: 12px;
  font-weight: 600;
  border: 1.5px solid;
}
.pdp-badge-nirf {
  color: #e74c3c;
  border-color: #e74c3c;
  background: rgba(231, 76, 60, 0.05);
}
.pdp-badge-type {
  color: #27ae60;
  border-color: #27ae60;
  background: rgba(39, 174, 96, 0.05);
}
.pdp-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.pdp-year-tabs,
.pdp-toggles {
  display: flex;
  gap: 2px;
  background: var(--cp-bg, #f8fafc);
  border: 1px solid var(--cp-border, #e2e8f0);
  border-radius: 8px;
  padding: 3px;
  box-sizing: border-box;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
}
.pdp-year-tab,
.pdp-toggle {
  padding: 7px 16px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: var(--cp-text-light, #64748b);
  transition:
    background 0.2s,
    color 0.2s,
    box-shadow 0.2s;
  border-radius: 6px;
}
.pdp-year-tab.active,
.pdp-toggle.active {
  background: var(--cp-primary, #1e3a8a);
  color: #fff;
  box-shadow: 0 1px 2px rgba(30, 58, 138, 0.15);
}
.pdp-year-tab:hover:not(.active),
.pdp-toggle:hover:not(.active) {
  background: rgba(30, 58, 138, 0.06);
  color: var(--cp-primary, #1e3a8a);
}
.pdp-dept-wrapper {
  margin-left: auto;
}
.pdp-dept-select {
  padding: 7px 30px 7px 12px;
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  background: #fff
    url("data:image/svg+xml;charset=UTF-8,%3csvg viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M6 9l6 6 6-6'/%3e%3c/svg%3e")
    no-repeat right 8px center/16px;
  font-size: 13px;
  font-weight: 500;
  color: #333;
  cursor: pointer;
  appearance: none;
  min-width: 170px;
}
.pdp-table-wrapper {
  overflow-x: auto;
}
.pdp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.pdp-table thead th {
  padding: 6px 8px;
  text-align: left;
  font-weight: 500;
  color: #999;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid #eee;
}
.pdp-table tbody td {
  padding: 10px 16px;
  border-bottom: 1px solid #f0f0f0;
  font-weight: 500;
  color: #333;
}
.pdp-table tbody tr:last-child td {
  border-bottom: none;
}
.pdp-table tbody tr.pdp-highlight td {
  background-color: #fffbeb;
  font-weight: 600;
  color: #92400e;
}
.pdp-table tbody tr:hover {
  background: rgba(0, 0, 0, 0.02);
}
.pdp-loading {
  text-align: center;
  padding: 30px;
  color: #999;
}
.pdp-empty {
  text-align: center;
  padding: 30px;
  color: #999;
}

/* By Cutoff / By Rank — predictor results (all screen sizes; overrides predictor.css) */
.results-container .filter-toggle {
  display: inline-flex;
  align-items: stretch;
  width: auto;
  max-width: 100%;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--cp-border, #e2e8f0);
  background: var(--cp-bg, #f8fafc);
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
  padding: 3px;
  gap: 2px;
}
.results-container .filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  gap: 6px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--cp-text-light, #64748b);
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
  box-shadow: none;
}
.results-container .filter-btn:hover:not(.active) {
  background: rgba(30, 58, 138, 0.08);
  color: var(--cp-primary, #1e3a8a);
}
.results-container .filter-btn.active {
  background: var(--cp-primary, #1e3a8a);
  color: #fff;
  box-shadow: 0 1px 2px rgba(30, 58, 138, 0.2);
}
.results-container .filter-btn svg {
  width: 16px;
  height: 16px;
  margin-right: 0;
  fill: currentColor;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .predictor-detail-row > td {
    background: #f3f4f6;
  }
  .pdp-container {
    padding: 0px;
  }
  .pdp-header-row {
    margin-bottom: 10px;
  }
  .pdp-badges {
    gap: 6px;
  }
  .pdp-badge {
    padding: 4px 10px;
    font-size: 12px;
    border-radius: 8px;
  }
  .pdp-badge-nirf {
    color: var(--cp-danger, #dc2626);
    border-color: rgba(220, 38, 38, 0.45);
    background: #fff;
  }
  .pdp-badge-type {
    color: var(--cp-success, #059669);
    border-color: rgba(5, 150, 105, 0.35);
    background: rgba(5, 150, 105, 0.06);
  }
  .pdp-controls {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 10px;
  }
  .pdp-year-tabs {
    width: 100%;
    border-radius: 10px;
    padding: 3px;
  }
  .pdp-toggles {
    width: 100%;
    border-radius: 10px;
    padding: 3px;
  }

  .pdp-year-tab,
  .pdp-toggle {
    flex: 1;
    text-align: center;
    padding: 8px 6px;
    font-size: 14px;
  }
  .pdp-year-tab:hover:not(.active),
  .pdp-toggle:hover:not(.active) {
    background: rgba(30, 58, 138, 0.06);
  }
  .pdp-dept-wrapper {
    margin-left: 0;
    width: 100%;
  }
  .pdp-dept-select {
    width: 100%;
    min-width: 100%;
    padding: 8px 34px 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background-position: right 10px center;
    font-size: 14px;
  }
  .pdp-table-wrapper {
    margin-top: 4px;
    border: 1px solid #dfe3e8;
    border-radius: 2px;
    background: #fff;
    overflow-x: hidden;
  }
  .pdp-table {
    font-size: 14px;
    width: 100%;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0;
  }
  .pdp-table thead th {
    padding: 11px 10px;
    font-size: 14px;
    letter-spacing: 0;
    text-transform: none;
    color: #7b8091;
    background: #f4f5f7;
    font-weight: 500;
    text-align: center;
    border-bottom: 1px solid #e8eaef;
  }
  .pdp-table thead th:first-child,
  .pdp-table tbody td:first-child {
    text-align: left;
    padding-left: 24px;
  }
  .pdp-table tbody td {
    padding: 5px 9px;
    font-size: 13px;
    font-weight: 500;
    color: #1f2937;
    word-break: break-word;
    text-align: center;
    border-bottom: 1px solid #eceff3;
  }
  .pdp-table tbody tr:last-child td {
    border-bottom: none;
  }
  .pdp-table tbody td:nth-child(2),
  .pdp-table tbody td:nth-child(3) {
    color: #06c;
    font-weight: 700;
  }
  .pdp-close-btn {
    top: 6px;
    right: 6px;
  }
}

@media (max-width: 768px) {
  .results-container {
    margin-top: 4px;
    border-radius: 14px;
    background: #ffffff;
    padding: 5px;
    border: 1px solid #ececf1;
    box-shadow: 0 3px 14px rgba(15, 23, 42, 0.06);
  }

  .results-container .results-header {
    padding: 0;
    border: 0;
    gap: 10px;
  }

  .results-container .results-title h3 {
    font-size: 18px;
    margin-bottom: 4px;
    font-weight: 700;
  }

  .results-container .results-badge {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--cp-danger, #dc2626);
    border: 1px solid rgba(220, 38, 38, 0.35);
    background: rgba(220, 38, 38, 0.08);
    border-radius: 20px;
    padding: 4px 10px;
  }

  .results-container .round-tabs {
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    gap: 8px;
    padding-bottom: 4px;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .results-container .round-tabs::-webkit-scrollbar {
    display: none;
  }

  .results-container .round-tab {
    min-width: 84px;
    border-radius: 8px;
    border: 1px solid #d7d8de;
    background: #ffffff;
    color: #0f172a;
    font-size: 13px;
    font-weight: 600;
    padding: 7px 12px;
  }

  .results-container .round-tab.active {
    background: var(--cp-primary, #1e3a8a);
    border-color: var(--cp-primary, #1e3a8a);
    color: #ffffff;
  }

  .results-container .results-tools {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
  }

  .results-container .results-tools .search-box,
  .results-container .results-tools .search-input,
  .results-container .results-tools .selected-filters-container {
    width: 100% !important;
  }

  .results-container .search-input {
    border-radius: 10px;
    height: 40px;
    border: 1px solid #d8dbe2;
    font-size: 14px;
  }

  .results-container .filter-toggle {
    width: 100%;
    border-radius: 10px;
  }

  .results-container .filter-btn {
    flex: 1;
    padding: 8px 10px;
  }

  .results-container .filter-btn svg {
    width: 15px;
    height: 15px;
  }



  .results-container .college-predict-filter-button {
    width: 100%;
    justify-content: center;
    border-radius: 10px;
    background: #1e3a8a;
    border: 1px solid #d7d8de;
    color: #111827;
    font-size: 14px;
    font-weight: 600;
    min-height: 40px;
    color: #fff;
  }

  .results-container .results-table-container {
    margin-top: 10px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    background: #ffffff;
  }

  .results-container .results-table-container .table-responsive {
    border-radius: 10px;
  }

  .results-container #examTable {
    min-width: 660px;
  }

  .results-container #examTable thead th {
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    background: #f8fafc;
    padding: 10px 8px;
  }

  .results-container #examTable tbody td {
    font-size: 15px;
    font-weight: 500;
    color: #111827;
    padding: 10px 8px;
    border-bottom: 1px solid #eceff3;
  }

  .results-container #examTable tbody td.cutoff,
  .results-container #examTable tbody td.rank,
  .results-container #examTable tbody td.community-cutoff {
    font-weight: 700;
    color: var(--cp-danger, #dc2626);
  }
}

.college-title a {
  color: #222;
}
.predictr-select-community {
  background-color: #e6e9ecd4 !important;
  color: #0916a5 !important;
  font-weight: bold;
}