/* ===== Collegeskart tools ===== */
.tk-wrap { padding-top: 18px; padding-bottom: 40px; }
.tk-kicker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--blue); background: #EEF0FF; border-radius: 999px; padding: 4px 10px; }
.tk-hero { position: relative; overflow: hidden; display: flex; gap: 18px; align-items: center; padding: 22px 18px; border-radius: 24px; margin-bottom: 16px; background: linear-gradient(135deg, #EEF0FF 0%, #FFF8D6 100%); border: 1.5px solid var(--line); }
.tk-hero h1 { font-size: clamp(26px, 5vw, 38px); line-height: 1.1; margin: 8px 0 6px; }
.tk-hero p { margin: 0; font-size: 16px; color: var(--muted); max-width: 560px; }
.tk-hero-t { flex: 1; min-width: 0; position: relative; z-index: 1; }
.tk-coins { position: absolute; right: 10px; top: 0; bottom: 0; width: 120px; pointer-events: none; }
.tk-coins span { position: absolute; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #FFD60A; color: #7A5B00; font-weight: 800; font-size: 22px; box-shadow: 0 6px 16px rgba(201,154,6,.35); animation: tkfloat 3.2s ease-in-out infinite; opacity: .9; }
.tk-coins span:nth-child(1) { right: 12px; top: 14px; } .tk-coins span:nth-child(2) { right: 64px; top: 52%; animation-delay: .8s; width: 36px; height: 36px; font-size: 17px; } .tk-coins span:nth-child(3) { right: 8px; bottom: 10px; animation-delay: 1.6s; }
@media (max-width: 520px) { .tk-coins { opacity: .35; } }
@keyframes tkfloat { 0%,100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-10px) rotate(6deg); } }
.tk-loan { background: linear-gradient(135deg, #E9FBF3 0%, #EEF0FF 100%); }
.tk-badge { display: inline-flex; align-items: center; gap: 4px; flex-shrink: 0; font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.tk-badge svg { width: 14px; height: 14px; }
.tk-badge.ok { background: #E3F7EE; color: #0B7A55; } .tk-badge.col { background: #EEF0FF; color: var(--blue); }
.tk-check .ticks { margin-top: 8px; }
.tk-ctab { margin-top: 10px; } .tk-ctab table { width: 100%; border-collapse: collapse; font-size: 15px; }
.tk-ctab th { text-align: left; font-size: 13px; color: var(--muted); font-weight: 600; padding: 6px 8px; border-bottom: 1.5px solid var(--line); }
.tk-ctab td { padding: 8px; border-bottom: 1px solid var(--line); }
/* cost + emi */
.tk-cgrid { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 12px; }
@media (min-width: 820px) { .tk-cgrid { grid-template-columns: 1.1fr 1fr; align-items: start; } }
.tk-sliders { display: flex; flex-direction: column; gap: 14px; }
.tk-sl { display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.tk-sl b { color: var(--blue); }
.tk-sl input[type=range] { width: 100%; accent-color: var(--blue); height: 28px; }
.tk-cout { background: var(--card); border: 1.5px solid var(--line); border-radius: 20px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.tk-total span { display: block; font-size: 14px; color: var(--muted); } .tk-total b { font-size: 34px; font-family: var(--f-display), sans-serif; transition: color .2s; }
.tk-bar { display: flex; height: 14px; border-radius: 999px; overflow: hidden; gap: 2px; background: #EEF0FF; }
.tk-bar i { display: block; transition: flex .35s ease; }
.tk-leg { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; }
.tk-leg i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: middle; }
.tk-kpi { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; }
.tk-kpi div { background: #F6F7FF; border-radius: 14px; padding: 10px 12px; }
.tk-kpi span { display: block; font-size: 13px; color: var(--muted); } .tk-kpi b { font-size: 20px; }
/* side panel */
.tk-side { display: flex; flex-direction: column; gap: 8px; }
.tk-row { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 10px 12px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); text-decoration: none; font: inherit; font-size: 15.5px; cursor: pointer; transition: transform .15s, border-color .15s; min-height: 56px; }
.tk-row:hover { border-color: var(--blue); } .tk-row:active { transform: scale(.98); }
.tk-row b { display: block; } .tk-row .grow { flex: 1; min-width: 0; }
.tk-ic { flex: 0 0 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: #EEF0FF; color: var(--blue); font-size: 19px; }
/* shortlist */
.tk-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.tk-sitem { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1.5px solid var(--line); border-radius: 18px; background: var(--card); animation: tkin .3s ease both; }
.tk-mono { flex: 0 0 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 15px; text-decoration: none; }
.tk-sitem .grow { flex: 1; } .tk-sitem b { font-size: 16.5px; }
.tk-x { flex: 0 0 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--card); color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.tk-empty { text-align: center; } .tk-heart { font-size: 46px; color: #E5484D; animation: tkbeat 1.4s ease-in-out infinite; }
@keyframes tkbeat { 0%,100% { transform: scale(1); } 15% { transform: scale(1.18); } 30% { transform: scale(1); } }
@keyframes tkin { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.tk-chk { display: flex; flex-direction: column; gap: 2px; margin: 8px 0 12px; max-height: 210px; overflow: auto; }
/* scholarship finder */
.tk-form .field { margin-bottom: 12px; }
.tk-results h2 { font-size: 22px; margin: 18px 0 10px; } .tk-sub { font-size: 18px; margin: 16px 0 8px; }
.tk-schs { display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .tk-schs { grid-template-columns: 1fr 1fr; } }
.tk-sch { padding: 14px; border-radius: 18px; border: 1.5px solid var(--line); background: var(--card); display: flex; flex-direction: column; gap: 3px; animation: tkin .35s ease both; min-width: 0; }
.tk-sch.yes { border-color: #9FE0C4; background: linear-gradient(180deg, #F2FBF7, var(--card)); }
.tk-sch b { font-size: 16.5px; line-height: 1.3; overflow-wrap: anywhere; }
.tk-amt { font-weight: 700; color: #0B7A55; font-size: 15.5px; margin-top: 4px; }
.tk-sch .btn svg { width: 15px; height: 15px; vertical-align: -2px; }
/* loan docs */
.tk-docs { display: flex; flex-direction: column; gap: 2px; }
/* calendar */
.tk-calf { margin-bottom: 8px; flex-wrap: wrap; }
.tk-month h2 { font-size: 20px; margin: 18px 0 10px; position: sticky; top: 64px; background: var(--paper, #F4F5FB); padding: 6px 0; z-index: 2; }
.tk-month h2 span { color: var(--blue); }
.tk-days { display: flex; flex-direction: column; gap: 8px; }
.tk-day { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--card); animation: tkin .3s ease both; }
.tk-day a { color: var(--ink); text-decoration: none; } .tk-day a b { font-size: 16px; }
.tk-date { flex: 0 0 52px; height: 56px; border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #EEF0FF; color: var(--blue); line-height: 1; }
.tk-date b { font-size: 22px; font-family: var(--f-display), sans-serif; } .tk-date span { font-size: 12px; font-weight: 700; text-transform: uppercase; margin-top: 3px; }
.tk-day.tk-k-exam .tk-date { background: #FFF1E6; color: #C25A05; } .tk-day.tk-k-result .tk-date { background: #E3F7EE; color: #0B7A55; } .tk-day.tk-k-sch .tk-date { background: #FFF8D6; color: #7A5B00; }
.tk-soon { display: inline-block; margin-top: 4px; font-size: 12.5px; font-weight: 700; color: #C25A05; background: #FFF1E6; border-radius: 999px; padding: 2px 8px; }
.tk-bell { flex: 0 0 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--card); color: var(--muted); cursor: pointer; display: grid; place-items: center; transition: all .2s; }
.tk-bell.on { background: var(--blue); color: #fff; border-color: var(--blue); animation: tkring .5s ease; }
@keyframes tkring { 0%,100% { transform: rotate(0); } 25% { transform: rotate(-14deg); } 75% { transform: rotate(14deg); } }
/* rewards */
.tk-rew { gap: 20px; }
.tk-ring { --p: 0; flex: 0 0 120px; height: 120px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--blue) calc(var(--p) * 1%), #DDE1FF 0); animation: tkpop .5s ease both; }
.tk-ring > div { width: 94px; height: 94px; border-radius: 50%; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.tk-ring b { font-size: 28px; font-family: var(--f-display), sans-serif; line-height: 1; } .tk-ring span { font-size: 13px; color: var(--muted); }
@keyframes tkpop { from { transform: scale(.7); opacity: 0; } to { transform: none; opacity: 1; } }
.tk-earn { display: flex; flex-direction: column; gap: 8px; }
.tk-earn-i { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; border: 1.5px solid var(--line); color: var(--ink); text-decoration: none; font-size: 15.5px; }
.tk-earn-i .grow { flex: 1; min-width: 0; } .tk-earn-i b { color: #7A5B00; }
.tk-earn-i.done { background: #F2FBF7; border-color: #9FE0C4; } .tk-earn-i.done .tk-coin { color: #0B7A55; }
.tk-coin { flex: 0 0 28px; display: grid; place-items: center; }
.tk-hist > div { display: flex; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.tk-hist > div span:first-child { flex: 1; min-width: 0; } .tk-hist b { color: #0B7A55; }
.tk-pts { position: fixed; left: 50%; bottom: 96px; transform: translate(-50%, 20px); z-index: 9999; display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: #1B1F3B; color: #fff; font-size: 15.5px; box-shadow: 0 10px 30px rgba(20,25,70,.3); opacity: 0; animation: tkptsin .35s ease forwards; pointer-events: none; }
.tk-pts.out { animation: tkptsout .5s ease forwards; }
.tk-pts b { color: #FFD60A; }
@keyframes tkptsin { to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes tkptsout { from { opacity: 1; transform: translate(-50%, 0); } to { opacity: 0; transform: translate(-50%, -30px); } }
/* voice search */
.tk-mic { flex: 0 0 auto; width: 42px; height: 42px; margin: 0 4px; border-radius: 50%; border: 0; background: #EEF0FF; color: var(--blue); display: grid; place-items: center; cursor: pointer; transition: transform .15s; }
.tk-mic:active { transform: scale(.92); }
.tk-vov { position: fixed; inset: 0; z-index: 10000; background: rgba(20,25,70,.45); display: grid; place-items: center; padding: 16px; }
.tk-vov[hidden] { display: none; }
.tk-vbox { width: min(420px, 100%); background: #fff; border-radius: 24px; padding: 24px 18px; text-align: center; display: flex; flex-direction: column; gap: 14px; align-items: center; animation: tkpop .25s ease both; }
.tk-vbox b { font-size: 18px; line-height: 1.35; }
.tk-wave { display: flex; gap: 6px; align-items: center; height: 56px; }
.tk-wave i { display: block; width: 8px; height: 18px; border-radius: 6px; background: var(--blue); animation: tkwave 1s ease-in-out infinite; }
.tk-wave i:nth-child(2) { animation-delay: .1s; background: #6E7BFF; } .tk-wave i:nth-child(3) { animation-delay: .2s; background: #FFD60A; } .tk-wave i:nth-child(4) { animation-delay: .3s; background: #6E7BFF; } .tk-wave i:nth-child(5) { animation-delay: .4s; }
@keyframes tkwave { 0%,100% { height: 14px; } 50% { height: 52px; } }
@media (prefers-reduced-motion: reduce) { .tk-coins span, .tk-heart, .tk-wave i, .tk-sitem, .tk-sch, .tk-day, .tk-ring { animation: none; } }
