/* Shared design system for NITER Career service pages:
   Application Copy, Admit Card, Result and How to Apply. */

:root{
  --svc-navy:#101c58;
  --svc-blue:#17477c;
  --svc-teal:#087864;
  --svc-ink:#162333;
  --svc-muted:#5f7184;
  --svc-line:#d5dde6;
  --svc-soft:#eef3f6;
  --svc-paper:#fff;
  --svc-font:"DM Sans",Segoe UI,sans-serif;
  --svc-display:"Source Serif 4",Georgia,serif;
}

.career-service-page{
  position:relative;
  min-height:50vh;
  isolation:isolate;
  background:linear-gradient(180deg,#f3f6f8 0%,#eef2f5 100%);
  font-family:var(--svc-font);
  color:var(--svc-ink);
}
.career-service-page--unlock{
  background:#eef2f5;
}
.career-service-page:before{display:none}

.service-hero{position:relative;overflow:hidden;padding:54px 0 40px;background:linear-gradient(120deg,#101a3f 0%,#0b4b5e 55%,#0d7a6b 100%);color:#fff}
.service-hero:before{content:"";position:absolute;top:-80px;right:-60px;width:280px;height:280px;border-radius:50%;background:rgba(255,255,255,.08)}
.service-hero:after{content:"";position:absolute;bottom:-90px;left:-40px;width:220px;height:220px;border-radius:50%;background:rgba(255,255,255,.06)}
.service-hero .container{position:relative;z-index:1}
.service-kicker{display:inline-flex;align-items:center;gap:8px;padding:6px 12px;border-radius:8px;background:rgba(255,255,255,.14);font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.service-hero h1{margin:16px 0 8px;font-size:clamp(26px,4vw,40px);font-weight:800;color:#fff}
.service-hero p{max-width:640px;margin:0;color:rgba(255,255,255,.82);font-size:15px}
.service-hero-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}
.service-hero-tags span{display:inline-flex;align-items:center;gap:7px;padding:7px 12px;border-radius:8px;background:rgba(255,255,255,.1);font-size:12px;font-weight:700;color:#fff}

.service-shell{
  position:relative;
  z-index:1;
  max-width:560px;
  margin:0 auto;
  padding:20px 16px 56px;
}

/* Unlock composition (Application Copy / Admit / Result form) */
.service-unlock{
  position:relative;
  padding:28px 28px 26px;
  border:1px solid #d9e1ea;
  border-radius:14px;
  background:#fff;
  box-shadow:none;
}
.service-unlock:before{display:none}
.service-unlock-visual,
.service-unlock-mark,
.service-unlock-kicker{display:none}
.service-unlock-head{margin:0 0 22px}
.service-unlock-head h2,
.service-unlock-copy h2{
  margin:0 0 8px;
  color:var(--svc-navy);
  font:650 clamp(22px,3vw,28px)/1.25 var(--svc-display);
}
.service-unlock-lead{
  margin:0;
  max-width:34rem;
  color:var(--svc-muted);
  font-size:14px;
  line-height:1.55;
}
.service-unlock-lead strong{color:var(--svc-ink);font-weight:700}
.service-unlock-panel{margin-top:0}

.service-unlocked{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin:0 0 18px;
  padding:12px 14px;
  border:1px solid #c9e6dc;
  border-radius:10px;
  background:#f3faf7;
}
.service-unlocked-text{
  display:flex;
  align-items:flex-start;
  gap:10px;
  min-width:0;
}
.service-unlocked-text > i{
  margin-top:2px;
  color:var(--svc-teal);
  font-size:16px;
}
.service-unlocked-text strong{
  display:block;
  color:#0b5c4d;
  font-size:13px;
  font-weight:700;
}
.service-unlocked-text span{
  display:block;
  margin-top:2px;
  color:#3d6d62;
  font-size:12px;
  line-height:1.4;
}
.service-unlocked-btn{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:38px;
  padding:0 14px;
  border-radius:8px;
  background:var(--svc-navy);
  color:#fff!important;
  font-size:13px;
  font-weight:700;
  text-decoration:none!important;
}
.service-unlocked-btn:hover{background:var(--svc-blue);color:#fff!important}

.service-form-grid{display:grid;grid-template-columns:1fr;gap:14px}
.service-field label{
  display:block;
  margin-bottom:6px;
  color:#31435a;
  font-size:12.5px;
  font-weight:700;
}
.required-star{color:#b42318;font-weight:800}
.service-input-wrap{
  position:relative;
  display:flex;
  align-items:center;
}
.service-input-wrap > i{
  position:absolute;
  left:14px;
  color:#7d8d9e;
  font-size:14px;
  pointer-events:none;
}
.service-field input,
.service-field select,
.service-input-wrap input{
  width:100%;
  min-height:48px;
  padding:0 14px;
  border:1px solid var(--svc-line);
  border-radius:10px;
  background:#fff;
  color:var(--svc-ink);
  font:500 14.5px/1.3 var(--svc-font);
  transition:border-color .18s,box-shadow .18s,background .18s;
}
.service-input-wrap input{padding-left:42px}
.service-field input:focus,
.service-field select:focus,
.service-input-wrap input:focus{
  border-color:var(--svc-teal);
  background:#fff;
  box-shadow:0 0 0 3px rgba(8,120,100,.12);
  outline:none;
}
.service-field input::placeholder{color:#93a1b0}

.service-actions{display:flex;gap:10px;margin-top:18px}
.service-submit{
  display:inline-flex;
  width:100%;
  min-height:48px;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:0 22px;
  border:0;
  border-radius:10px;
  background:var(--svc-navy);
  color:#fff;
  font-size:14.5px;
  font-weight:750;
  cursor:pointer;
  transition:background .18s;
}
.service-submit:hover{background:var(--svc-blue)}
.service-submit:active{background:#0d173f}

.service-trust{display:none}
.service-trust-line{
  display:flex;
  align-items:flex-start;
  gap:8px;
  margin:16px 0 0;
  color:var(--svc-muted);
  font-size:12.5px;
  line-height:1.45;
}
.service-trust-line i{
  margin-top:2px;
  color:var(--svc-teal);
  font-size:12px;
}

/* Legacy card shell (How to Apply etc.) */
.service-card{border:0;border-radius:16px;background:#fff;box-shadow:0 18px 46px rgba(23,43,77,.12);overflow:hidden}
.service-card-head{padding:22px 26px;border-bottom:1px solid #edf0f4}
.service-card-head h2{margin:0;color:#172b4d;font-size:19px;font-weight:750;font-family:var(--svc-display)}
.service-card-head p{margin:6px 0 0;color:#718096;font-size:13px}
.service-card-body{padding:26px}

.service-result{margin-top:8px;border:1px solid #e4eaf1;border-radius:14px;overflow:hidden;background:#fff}
.service-result-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px 20px;background:linear-gradient(110deg,#eef5ff,#e9f8f3)}
.service-result-head .person strong{display:block;color:#172b4d;font-size:16px}
.service-result-head .person span{color:#718096;font-size:13px}
.service-roll{display:inline-flex;padding:7px 12px;border-radius:8px;background:#fff;color:#0d7a6b;font-size:13px;font-weight:800;font-family:ui-monospace,monospace}
.service-result-body{padding:20px}
.service-detail-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px}
.service-detail{display:flex;align-items:center;gap:10px;padding:12px 14px;border-radius:10px;background:#f7f9fc}
.service-detail i{color:#0d7a6b;width:18px;text-align:center}
.service-detail span{display:block;color:#8492a6;font-size:11px;font-weight:700}
.service-detail strong{color:#263b55;font-size:13px}
.service-list{margin:14px 0 0;list-style:none;padding:0}
.service-list li{display:flex;justify-content:space-between;gap:12px;padding:11px 0;border-bottom:1px dashed #e4eaf1;font-size:13px;color:#42506b}
.service-list li:last-child{border-bottom:0}
.service-print{display:inline-flex;min-height:46px;align-items:center;justify-content:center;gap:9px;margin-top:20px;padding:0 24px;border:0;border-radius:10px;background:#101a3f;color:#fff;font-size:14px;font-weight:800;text-decoration:none;cursor:pointer;transition:filter .2s}
.service-print:hover{color:#fff;filter:brightness(1.12)}
.service-alert{display:flex;align-items:flex-start;gap:10px;margin:0 0 16px;padding:13px 15px;border-radius:10px;font-size:13px;font-weight:600}
.service-alert.error{color:#a43c3c;background:#fdecec;border:1px solid #f6d3d3}
.service-alert.info{color:#2855a6;background:#edf3ff;border:1px solid #d7e4fb}
.service-empty{margin-top:20px;padding:34px 24px;text-align:center;color:#8492a6;border:1px dashed #d7dee7;border-radius:12px;background:#fbfcfe}
.service-empty i{display:block;margin-bottom:10px;font-size:28px;color:#b8c4d4}
.service-empty h3{margin:0 0 6px;color:#31435a;font-size:16px;font-weight:750}
.service-empty p{margin:0;font-size:13px;line-height:1.55}
.service-section-title{margin:22px 0 8px;color:#172b4d;font-size:15px;font-weight:750}
.service-marks{color:#0d7a6b;font-family:ui-monospace,SFMono-Regular,Consolas,monospace}
.service-secondary{display:inline-flex;min-height:48px;align-items:center;justify-content:center;gap:9px;padding:0 22px;border:1px solid #d7dee7;border-radius:10px;background:#fff;color:#31435a;font-size:14px;font-weight:750;text-decoration:none}
.service-secondary:hover{background:#f7f9fc;color:#101a3f}

/* How to Apply timeline */
.steps-timeline{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:0}
.step-card{position:relative;display:grid;grid-template-columns:46px 46px minmax(0,1fr);gap:14px;align-items:start;padding:20px 18px;border:1px solid #e6ebf2;border-radius:14px;background:#fff;margin-bottom:18px;transition:transform .18s,box-shadow .18s}
.step-card:last-child{margin-bottom:0}
.step-card:not(:last-child):after{content:"";position:absolute;left:40px;top:calc(100% + 2px);width:2px;height:14px;background:linear-gradient(#0d7a6b,#c9d4e1)}
.step-card:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(23,43,77,.08)}
.step-number{display:grid;width:46px;height:46px;place-items:center;border-radius:12px;background:linear-gradient(135deg,#101a3f,#0d7a6b);color:#fff;font-size:16px;font-weight:800}
.step-icon{display:grid;width:46px;height:46px;place-items:center;border-radius:12px;background:#eef7f4;color:#0d7a6b;font-size:18px}
.step-body{min-width:0}
.step-card h3{margin:0 0 6px;color:#172b4d;font-size:16px;font-weight:750}
.step-card p{margin:0;color:#5d6c80;font-size:13px;line-height:1.6}
.step-note{display:inline-flex;align-items:flex-start;gap:6px;margin-top:10px;padding:7px 10px;border-radius:7px;background:#fff6e6;color:#a46a00;font-size:12px;font-weight:700;line-height:1.4}

@keyframes serviceRise{
  from{opacity:0;transform:translateY(12px)}
  to{opacity:1;transform:none}
}
@keyframes servicePop{
  from{opacity:0;transform:scale(.86)}
  to{opacity:1;transform:none}
}

@media print{
  .service-hero,.service-card-head,.service-search-form,.service-actions,.service-trust,.service-trust-line,.service-unlocked,.header,.rts-footer,.niter-footer-copy,.top-header,.header-top-area,#loader,#side-bar{display:none!important}
  .career-service-page,.service-shell,.service-card,.service-result,.service-unlock{box-shadow:none!important;background:#fff!important;margin:0!important;padding:0!important;border:0!important}
  .service-result{border:1px solid #ccc!important}
  .career-service-page:before,.service-unlock:before{display:none!important}
}

@media(max-width:640px){
  .service-shell{padding:12px 12px 48px}
  .service-unlock{padding:20px 16px 18px;border-radius:12px}
  .service-unlocked{flex-direction:column;align-items:stretch}
  .service-unlocked-btn{width:100%}
  .service-actions{flex-direction:column}
  .service-submit,.service-secondary,.service-print{width:100%}
  .service-result-head{flex-direction:column;align-items:flex-start}
  .step-card{grid-template-columns:40px minmax(0,1fr);gap:12px}
  .step-icon{display:none}
  .step-number{width:40px;height:40px;font-size:14px}
  .step-card:not(:last-child):after{left:37px}
}
