/* Way2Vidyalaya - application tracking + notifications pages
   Brand: royal blue #053cae, gold #f1b917 (sampled from the logo). */
:root {
  --w2-blue: #053cae;
  --w2-blue-dark: #042c85;
  --w2-blue-soft: #e8efff;
  --w2-gold: #f1b917;
  --w2-gold-dark: #c99500;
  --w2-gold-soft: #fff6d9;
  --w2-ink: #0f172a;
  --w2-muted: #64748b;
  --w2-line: #e2e8f0;
  --w2-bg: #f6f8fc;
}

.w2-page { background: var(--w2-bg); min-height: 100vh; padding: 104px 16px 96px; font-family: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--w2-ink); }
.w2-wrap { max-width: 920px; margin: 0 auto; }
.w2-wrap--narrow { max-width: 640px; }
.w2-h1 { font-size: clamp(1.5rem, 4vw, 2rem); font-weight: 800; letter-spacing: -.02em; margin: 0 0 6px; }
.w2-sub { color: var(--w2-muted); margin: 0 0 22px; font-size: .98rem; line-height: 1.55; }
.w2-card { background: #fff; border: 1px solid var(--w2-line); border-radius: 18px; box-shadow: 0 8px 28px -14px rgba(15, 23, 42, .14); padding: 22px; margin-bottom: 18px; }
.w2-card h2 { font-size: 1.05rem; font-weight: 800; margin: 0 0 14px; display: flex; align-items: center; gap: 8px; }
.w2-card h2 i { color: var(--w2-blue); }

/* ----- buttons / inputs ----- */
.w2-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border: 0; border-radius: 12px; font: 700 .95rem Inter, system-ui, sans-serif; text-decoration: none; cursor: pointer; background: var(--w2-blue); color: #fff; transition: transform .15s, box-shadow .2s, background .2s; -webkit-tap-highlight-color: transparent; }
.w2-btn:hover { background: var(--w2-blue-dark); transform: translateY(-1px); box-shadow: 0 10px 22px -10px rgba(5, 60, 174, .6); }
.w2-btn--gold { background: var(--w2-gold); color: #1e2a44; }
.w2-btn--gold:hover { background: #ffc832; box-shadow: 0 10px 22px -10px rgba(201, 149, 0, .7); }
.w2-btn--ghost { background: #fff; color: var(--w2-blue); border: 1.5px solid var(--w2-blue-soft); }
.w2-btn--ghost:hover { background: var(--w2-blue-soft); box-shadow: none; }
.w2-input { width: 100%; min-height: 50px; padding: 0 14px; border: 1.5px solid var(--w2-line); border-radius: 12px; font: 500 16px Inter, system-ui, sans-serif; color: var(--w2-ink); background: #fff; box-sizing: border-box; }
.w2-input:focus { outline: 0; border-color: var(--w2-blue); box-shadow: 0 0 0 4px rgba(5, 60, 174, .14); }
.w2-label { display: block; font-size: .85rem; font-weight: 700; margin: 0 0 6px; color: #334155; }
.w2-alert { border-radius: 12px; padding: 12px 14px; font-size: .92rem; margin-bottom: 16px; display: flex; gap: 10px; align-items: flex-start; }
.w2-alert--err { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.w2-alert--ok { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; }

/* ----- status pill ----- */
.w2-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: .78rem; font-weight: 700; white-space: nowrap; }
.w2-tid { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 700; letter-spacing: .04em; color: var(--w2-blue); background: var(--w2-blue-soft); border-radius: 8px; padding: 3px 9px; font-size: .85rem; white-space: nowrap; }

/* ----- application summary head ----- */
.w2-apphead { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.w2-apphead__logo { width: 64px; height: 64px; border-radius: 14px; border: 1px solid var(--w2-line); background: #fff; object-fit: contain; padding: 6px; flex-shrink: 0; }
.w2-apphead__main { flex: 1; min-width: 200px; }
.w2-apphead__uni { font-size: 1.15rem; font-weight: 800; line-height: 1.3; margin: 0 0 6px; }
.w2-apphead__meta { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; color: var(--w2-muted); font-size: .88rem; }

/* ----- 9-step progress (horizontal on desktop, vertical on phones) ----- */
.w2-steps { list-style: none; margin: 22px 0 6px; padding: 0; display: grid; grid-template-columns: repeat(9, 1fr); gap: 0; counter-reset: s; }
.w2-step { position: relative; text-align: center; padding: 0 4px; }
.w2-step__dot { width: 34px; height: 34px; border-radius: 50%; margin: 0 auto 8px; display: flex; align-items: center; justify-content: center; background: #fff; border: 2px solid var(--w2-line); color: #94a3b8; font-size: .8rem; position: relative; z-index: 2; }
.w2-step::before { content: ''; position: absolute; top: 16px; left: -50%; width: 100%; height: 3px; background: var(--w2-line); z-index: 1; }
.w2-step:first-child::before { display: none; }
.w2-step__label { font-size: .7rem; line-height: 1.25; font-weight: 600; color: #94a3b8; }
.w2-step.is-done .w2-step__dot { background: var(--w2-blue); border-color: var(--w2-blue); color: #fff; }
.w2-step.is-done::before, .w2-step.is-current::before { background: var(--w2-blue); }
.w2-step.is-done .w2-step__label { color: #334155; }
.w2-step.is-current .w2-step__dot { background: var(--w2-gold); border-color: var(--w2-gold); color: #1e2a44; box-shadow: 0 0 0 6px rgba(241, 185, 23, .25); }
.w2-step.is-current .w2-step__label { color: var(--w2-ink); font-weight: 800; }
.w2-now { margin-top: 16px; background: var(--w2-gold-soft); border: 1px solid #f7dc86; border-radius: 14px; padding: 14px 16px; }
.w2-now strong { display: block; margin-bottom: 2px; }
.w2-now--bad { background: #fef2f2; border-color: #fecaca; }
@media (max-width: 720px) {
  .w2-steps { grid-template-columns: 1fr; gap: 0; margin-left: 4px; }
  .w2-step { display: flex; align-items: center; gap: 14px; text-align: left; padding: 0 0 18px; }
  .w2-step:last-child { padding-bottom: 0; }
  .w2-step__dot { margin: 0; flex-shrink: 0; }
  .w2-step::before { top: -18px; left: 16px; width: 3px; height: calc(100% - 16px); }
  .w2-step:first-child::before { display: none; }
  .w2-step__label { font-size: .88rem; }
}

/* mini progress bar (profile list) */
.w2-bar { height: 8px; border-radius: 99px; background: #eef2f7; overflow: hidden; }
.w2-bar > span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--w2-blue), #2f6bff); }

/* ----- history timeline ----- */
.w2-timeline { list-style: none; margin: 0; padding: 0 0 0 4px; }
.w2-tl { position: relative; padding: 0 0 20px 30px; }
.w2-tl:last-child { padding-bottom: 0; }
.w2-tl::before { content: ''; position: absolute; left: 7px; top: 18px; bottom: -2px; width: 2px; background: var(--w2-line); }
.w2-tl:last-child::before { display: none; }
.w2-tl__dot { position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--w2-blue); box-shadow: 0 0 0 4px var(--w2-blue-soft); }
.w2-tl:first-child .w2-tl__dot { background: var(--w2-gold); box-shadow: 0 0 0 4px rgba(241, 185, 23, .3); }
.w2-tl__title { font-weight: 700; font-size: .95rem; }
.w2-tl__note { color: #475569; font-size: .9rem; margin-top: 2px; }
.w2-tl__time { color: var(--w2-muted); font-size: .8rem; margin-top: 3px; }

/* ----- my applications list (profile) ----- */
.w2-applist { display: grid; gap: 14px; }
.w2-appcard { display: block; text-decoration: none; color: inherit; border: 1px solid var(--w2-line); border-radius: 16px; padding: 16px; background: #fff; transition: box-shadow .2s, transform .15s, border-color .2s; }
.w2-appcard:hover { box-shadow: 0 12px 28px -14px rgba(5, 60, 174, .35); border-color: #c9d8fb; transform: translateY(-1px); }
.w2-appcard__top { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.w2-appcard__logo { width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--w2-line); object-fit: contain; padding: 4px; background: #fff; flex-shrink: 0; }
.w2-appcard__uni { font-weight: 800; font-size: .98rem; line-height: 1.3; }
.w2-appcard__row { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 10px; font-size: .82rem; color: var(--w2-muted); }

/* ----- notifications page ----- */
.w2-nfilters { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 14px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.w2-nfilters::-webkit-scrollbar { display: none; }
.w2-chip { flex: 0 0 auto; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1.5px solid var(--w2-line); color: #475569; font: 600 .84rem Inter, system-ui, sans-serif; text-decoration: none; white-space: nowrap; min-height: 38px; display: inline-flex; align-items: center; }
.w2-chip.is-on { background: var(--w2-blue); border-color: var(--w2-blue); color: #fff; }
.w2-nlist { display: grid; gap: 10px; }
.w2-n { display: flex; gap: 14px; padding: 16px; background: #fff; border: 1px solid var(--w2-line); border-radius: 16px; text-decoration: none; color: inherit; position: relative; }
.w2-n.is-unread { background: #f2f6ff; border-color: #cddcff; }
.w2-n.is-unread::after { content: ''; position: absolute; top: 18px; right: 16px; width: 9px; height: 9px; border-radius: 50%; background: var(--w2-blue); }
.w2-n__ico { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 17px; }
.w2-n__body { min-width: 0; flex: 1; padding-right: 18px; }
.w2-n__title { font-weight: 800; font-size: .98rem; line-height: 1.35; }
.w2-n__msg { color: #475569; font-size: .92rem; margin-top: 3px; line-height: 1.5; overflow-wrap: anywhere; }
.w2-n__meta { color: #94a3b8; font-size: .8rem; margin-top: 6px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.w2-n__cta { color: var(--w2-blue); font-weight: 700; }
.w2-empty { text-align: center; padding: 48px 20px; color: var(--w2-muted); }
.w2-empty i { font-size: 2.4rem; color: #cbd5e1; margin-bottom: 10px; display: block; }
.w2-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; justify-content: space-between; margin-bottom: 14px; }

@media (max-width: 600px) {
  .w2-page { padding: 90px 12px 100px; }
  .w2-card { padding: 16px; border-radius: 16px; }
  .w2-btn { width: 100%; }
}
