/* NeetSeat.in — index.html-only styles: hero background image, tool-box cards,
   search list items, footer. Only imported by index.html. */


/* ══════════════════════════════════════════════════════
   INDEX PAGE — Hero background image + Tool boxes (Rank/Seat Predictor)
══════════════════════════════════════════════════════ */
.hero {
  background-image:
    linear-gradient(155deg, rgba(11,34,57,.88) 0%, rgba(20,50,80,.90) 55%, rgba(28,62,97,.90) 100%),
    url('/hero-bg.jpg');
  background-size: cover;
  background-position: center;
}

.tool-box-row {
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
  max-width: 640px; margin: 22px auto 0;
}
.tool-box {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.08); border: 1.5px solid rgba(255,255,255,.20);
  border-radius: 16px; padding: 14px 18px; cursor: pointer;
  transition: all .2s; text-align: left;
  flex: 1 1 220px; min-width: 220px; max-width: 100%;
  color: #fff; font-family: inherit;
}
.tool-box:hover { background: rgba(255,255,255,.14); border-color: rgba(11,198,212,.5); transform: translateY(-2px); }
.tool-box-primary { border-color: rgba(11,198,212,.5); background: rgba(11,198,212,.12); }
.tool-box-primary:hover { background: rgba(11,198,212,.20); border-color: rgba(11,198,212,.75); }
.tool-box-icon { font-size: 22px; flex-shrink: 0; }
.tool-box-text { flex: 1; min-width: 0; }
.tool-box-name { font-size: 15px; font-weight: 800; line-height: 1.2; }
.tool-box-desc { font-size: 11px; color: rgba(255,255,255,.62); font-weight: 500; margin-top: 2px; line-height: 1.35; }
.tool-box-arr { font-size: 16px; color: rgba(255,255,255,.5); flex-shrink: 0; }
.tool-box-primary .tool-box-arr { color: var(--teal2); }

@media(max-width:640px){
  .tool-box-row { display:grid; grid-template-columns:1fr 1fr; gap:10px; max-width:420px; width:100%; box-sizing:border-box; }
  .tool-box { flex-direction:column; align-items:flex-start; text-align:left; padding:14px 14px; gap:6px; min-width:0; width:auto; flex-basis:auto; }
  .tool-box-arr { display:none; }
  .tool-box-name { font-size:14px; }
  .tool-box-desc { font-size:10.5px; }
  .tool-box-text { min-width:0; width:100%; }
}


.sp-search {
  width: 100%; box-sizing: border-box; padding: 10px 12px;
  border: 1.5px solid #e2e8f0; border-radius: 9px; font-size: 14px;
  transition: border-color .15s; margin-bottom: 14px;
}
.sp-search:focus { outline: none; border-color: #0bc6d4; }
body.dark-mode .sp-search { background: #0f172a; border-color: #334155; color: #e2e8f0; }

.sp-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border: 1.5px solid #e2e8f0; border-radius: 12px;
  text-decoration: none; color: inherit; transition: all .15s; cursor: pointer;
}
.sp-item:hover { border-color: #0bc6d4; background: #f0fdfa; }
.sp-item-ico { font-size: 20px; flex-shrink: 0; }
.sp-item-text { flex: 1; min-width: 0; }
.sp-item-name { font-size: 14.5px; font-weight: 800; color: #0f172a; }
.sp-item-sub { font-size: 11.5px; color: #64748b; margin-top: 1px; }
.sp-item-arr { font-size: 15px; color: #0bc6d4; flex-shrink: 0; }
.sp-item-disabled { cursor: default; opacity: .55; }
.sp-item-disabled:hover { border-color: #e2e8f0; background: none; }
.sp-item-badge {
  font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px;
  background: #f1f5f9; color: #64748b; padding: 3px 8px; border-radius: 999px; flex-shrink: 0;
}
body.dark-mode .sp-item { border-color: #334155; }
body.dark-mode .sp-item:hover { background: #0f2a2a; border-color: #0bc6d4; }
body.dark-mode .sp-item-name { color: #e2e8f0; }
body.dark-mode .sp-item-badge { background: #1e293b; color: #94a3b8; }

/* ── FOOTER (from original index.html) ── */
footer {
  background:var(--navy); color:rgba(255,255,255,.5);
  text-align:center; padding:28px 20px; font-size:12px; line-height:1.8;
}
footer a { color:var(--teal2); text-decoration:none; }
footer a:hover { text-decoration:underline; }

.more-states-note {
  text-align:center; font-size:13px; color:rgba(255,255,255,.45); margin-top:8px;
}
