
/* ===== ehsV2512FinalStyles ===== */
/* =========================================================
   EDUHUNT STUDENT PORTAL V25.12 — DOUBLE-CHECKED FINAL REPAIR
   Mobile/tablet result pages only, except clearer desktop filters.
========================================================= */
.ehs-summary-filter-btn{
  opacity:1!important;
  visibility:visible!important;
  color:#0b4d86!important;
  -webkit-text-fill-color:#0b4d86!important;
  background:#fff!important;
  border:2px solid #1684ff!important;
  font-weight:900!important;
}
.ehs-summary-filter-btn.active{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  background:#3274c8!important;
  border-color:#3274c8!important;
}
.ehs-summary-classavg{
  color:#ffad46!important;
  font-size:13px!important;
  font-weight:900!important;
  opacity:1!important;
}
.ehs-summary-classavg .value{
  color:#fff!important;
  font-size:14px!important;
  font-weight:900!important;
}

/* WhatsApp-status result card */
.ehs-v2512-wa-wrap{max-width:370px;margin:14px auto 26px}
.ehs-v2512-wa-card{
  width:100%;
  aspect-ratio:9/16;
  min-height:590px;
  padding:14px;
  border-radius:28px;
  background:radial-gradient(circle at 86% 8%,rgba(0,218,255,.26),transparent 23%),linear-gradient(160deg,#061126 0%,#082757 48%,#030914 100%);
  color:#fff;
  box-shadow:0 18px 44px rgba(0,0,0,.34);
  overflow:hidden;
  display:flex;
  flex-direction:column;
  box-sizing:border-box;
}
.ehs-v2512-wa-hero{
  padding:13px 12px 12px;
  border-radius:20px;
  background:linear-gradient(135deg,rgba(21,89,183,.95),rgba(7,41,91,.96));
  border:1px solid rgba(255,255,255,.12);
  text-align:center;
  margin-bottom:10px;
}
.ehs-v2512-wa-school{font-size:22px;line-height:1.12;font-weight:900;text-transform:uppercase;letter-spacing:.3px;color:#fff;margin:0}
.ehs-v2512-wa-person{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:5px 10px;margin-top:7px}
.ehs-v2512-wa-name{font-size:16px;font-weight:900;color:#28efdc}
.ehs-v2512-wa-chip{display:inline-flex;align-items:center;min-height:24px;padding:4px 8px;border-radius:20px;background:rgba(255,255,255,.1);color:#dcecff;font-size:10px;font-weight:900}
.ehs-v2512-wa-testrow{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center;margin-top:9px;padding-top:9px;border-top:1px solid rgba(255,255,255,.14)}
.ehs-v2512-wa-testrow b{font-size:23px;line-height:1;color:#18d9ff;font-weight:900;text-align:left}
.ehs-v2512-wa-testrow span{font-size:11px;color:#e2edff;font-weight:900;text-align:right}
.ehs-v2512-wa-overall{padding:11px 12px;border-radius:17px;background:rgba(51,91,150,.55);border:1px solid rgba(255,255,255,.1);margin-bottom:9px}
.ehs-v2512-wa-overall-top{display:flex;align-items:flex-end;justify-content:space-between;gap:12px}
.ehs-v2512-wa-overall-top span{font-size:12px;color:#d9e8ff;font-weight:900}
.ehs-v2512-wa-overall-top b{font-size:23px;color:#26f1d8;font-weight:900}
.ehs-v2512-wa-bar{height:11px;margin-top:8px;border-radius:99px;background:rgba(255,255,255,.18);overflow:hidden}
.ehs-v2512-wa-bar i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#21ead8,#1da6ff)}
.ehs-v2512-wa-average{margin-top:6px;text-align:right;color:#ffae47;font-size:10px;font-weight:900}
.ehs-v2512-wa-average strong{color:#fff;font-size:11px}
.ehs-v2512-wa-subjects{display:grid;gap:7px;flex:1;align-content:center}
.ehs-v2512-wa-subject{display:grid;grid-template-columns:52px 1fr auto;gap:8px;align-items:center;padding:8px 10px;border-radius:14px;background:linear-gradient(90deg,rgba(20,99,204,.92),rgba(18,72,157,.94));border:1px solid rgba(255,255,255,.08)}
.ehs-v2512-wa-rank{font-size:9px;line-height:1.05;color:#d0e5ff}
.ehs-v2512-wa-rank b{display:block;margin-top:3px;font-size:16px;color:#1ee3ff}
.ehs-v2512-wa-subject-name{font-size:12px;font-weight:900;color:#fff}
.ehs-v2512-wa-score{font-size:16px;font-weight:900;color:#1bdcff;white-space:nowrap}
.ehs-v2512-wa-bottom{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:9px}
.ehs-v2512-wa-bottom div{padding:9px 10px;border-radius:14px;background:rgba(50,91,151,.52);border:1px solid rgba(255,255,255,.1)}
.ehs-v2512-wa-bottom span{display:block;font-size:10px;color:#d7e7fb;font-weight:800}
.ehs-v2512-wa-bottom b{display:block;margin-top:4px;font-size:18px;color:#fff;font-weight:900}
.ehs-v2512-share-btn{display:block!important;width:100%;max-width:370px;min-height:52px;margin:12px auto 0;border:0;border-radius:15px;background:#18a94c!important;color:#fff!important;font-size:16px;font-weight:900;cursor:pointer;box-shadow:0 9px 20px rgba(25,169,76,.28)}

/* Strong test-name pill */
.ehs-v2512-test-pill{display:inline-flex;align-items:center;min-height:38px;margin:10px 0 12px;padding:8px 15px;border:1px solid #48b5ff;border-radius:12px;background:linear-gradient(90deg,#0b5b96,#123b74);color:#fff!important;-webkit-text-fill-color:#fff!important;font-size:17px;font-weight:900;line-height:1;box-shadow:0 7px 18px rgba(11,91,150,.22);opacity:1!important}

/* Fitted R/W/B grid */
.ehs-v2512-rwb-block{width:100%;margin:0 0 14px;overflow:hidden;border:1px solid #2d516e;border-radius:15px;background:#fff;box-sizing:border-box}
.ehs-v2512-rwb-row{display:grid;grid-template-columns:1.28fr .48fr .48fr .48fr .78fr .7fr;width:100%;min-width:0;box-sizing:border-box}
.ehs-v2512-rwb-row>div{min-width:0;padding:9px 2px;border-right:1px solid #dbe4ed;border-bottom:1px solid #e5ebf1;text-align:center;color:#10283f;font-size:13px;font-weight:800;overflow-wrap:anywhere}
.ehs-v2512-rwb-row>div:last-child{border-right:0}
.ehs-v2512-rwb-row:last-child>div{border-bottom:0}
.ehs-v2512-rwb-head>div{background:#0b5b96;color:#fff!important;-webkit-text-fill-color:#fff!important;font-size:11px;font-weight:900;padding:9px 1px}
.ehs-v2512-rwb-def{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 10px;margin:12px 0 3px;padding:12px;border:1px solid #2b506c;border-radius:14px;background:#09243d;color:#dcecff;font-size:11px;line-height:1.4}
.ehs-v2512-rwb-def b{color:#4feadf;margin-right:4px}

/* Fitted question-wise grid — no table overflow */
.ehs-v2512-qgrid{width:100%;max-width:100%;margin:0 0 14px;border:1px solid #d6e0e9;border-radius:14px;background:#fff;overflow:hidden;box-sizing:border-box}
.ehs-v2512-qrow{display:grid;grid-template-columns:12% 27% 28% 16% 17%;width:100%;min-width:0;box-sizing:border-box}
.ehs-v2512-qrow>div{min-width:0;padding:9px 3px;border-right:1px solid #e1e7ed;border-bottom:1px solid #e7ecf1;text-align:center;color:#10233a;font-size:13px;font-weight:700;line-height:1.25;overflow-wrap:anywhere;word-break:break-word;box-sizing:border-box}
.ehs-v2512-qrow>div:last-child{border-right:0}
.ehs-v2512-qrow:last-child>div{border-bottom:0}
.ehs-v2512-qhead>div{background:#0b5b96;color:#fff!important;-webkit-text-fill-color:#fff!important;font-size:11px;font-weight:900;padding:10px 2px}
.ehs-v2512-qresult.ok{color:#07833b;font-size:16px;font-weight:900}
.ehs-v2512-qresult.bad{color:#d32630;font-size:16px;font-weight:900}

/* Dark mobile progress graphs */
.ehs-v2512-graph-list{display:grid;grid-template-columns:1fr;gap:13px;margin-bottom:18px}
.ehs-v2512-graph-card{width:100%;padding:13px 10px 10px;border:1px solid #2b506c;border-radius:18px;background:linear-gradient(145deg,#0c2a47,#07192e);color:#fff;box-shadow:0 10px 24px rgba(0,0,0,.2);overflow:hidden;box-sizing:border-box}
.ehs-v2512-graph-card h3{margin:0 0 8px;color:#fff!important;font-size:17px;font-weight:900;text-align:center}
.ehs-v2512-graph-card svg{display:block;width:100%;height:auto;overflow:visible}
.ehs-v2512-rank-note{margin:7px 5px 2px;color:#9fb5cb;font-size:11px;font-weight:700;text-align:center;line-height:1.4}

@media(max-width:1024px){
  .ehs-summary-filter-btn{color:#fff!important;-webkit-text-fill-color:#fff!important;background:#0a2743!important;border:1px solid #4fa5ff!important}
  .ehs-summary-filter-btn.active{background:linear-gradient(90deg,#3274c8,#1a94d2)!important;border-color:#75cfff!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
  .ehs-m-content{overflow-x:hidden!important}
  .ehs-v2512-wa-wrap{max-width:350px;margin-bottom:22px}
  .ehs-v2512-wa-card{min-height:585px;padding:13px;border-radius:25px}
  .ehs-v2512-wa-school{font-size:20px}
  .ehs-v2512-wa-name{font-size:15px}
  .ehs-v2512-wa-testrow b{font-size:21px}
  .ehs-v2512-wa-score{font-size:15px}
  .ehs-v2512-share-btn{max-width:350px}
  .ehs-v2512-rwb-block,.ehs-v2512-qgrid{max-width:100%!important;width:100%!important;overflow:hidden!important}
}
@media(max-width:365px){
  .ehs-v2512-rwb-row>div{font-size:12px;padding-left:1px;padding-right:1px}
  .ehs-v2512-rwb-head>div{font-size:10px}
  .ehs-v2512-qrow>div{font-size:12px;padding-left:2px;padding-right:2px}
  .ehs-v2512-qhead>div{font-size:10px}
  .ehs-v2512-wa-card{min-height:570px}
}

/* ===== ehsV2513FinalCss ===== */
/* =========================================================
   EDUHUNT STUDENT PORTAL V25.13 — FINAL REQUESTED REPAIRS
========================================================= */

/* The status-card school name must remain white under all Blogger themes. */
.ehs-v2512-wa-school,
#ehsMobileContent .ehs-v2512-wa-school{
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
  text-shadow:0 2px 7px rgba(0,0,0,.28)!important;
}

.ehs-v2512-share-btn{
  background:#18a94c!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}

/* Subject-percentage graph added to Progress Graphs. */
.ehs-v2513-percent-list{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
  margin:14px 0 20px;
}
.ehs-v2513-percent-card{
  border:1px solid #2b506c;
  border-radius:18px;
  padding:15px;
  background:linear-gradient(145deg,#0c2a47,#07192e);
  color:#fff;
  box-shadow:0 10px 24px rgba(0,0,0,.2);
}
.ehs-v2513-percent-card h3{
  margin:0 0 13px;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  font-size:17px;
  font-weight:900;
  text-align:center;
}
.ehs-v2513-percent-row{
  display:grid;
  grid-template-columns:74px 1fr 58px;
  gap:9px;
  align-items:center;
  margin:10px 0;
}
.ehs-v2513-percent-name{
  color:#dcecff;
  font-size:12px;
  font-weight:900;
}
.ehs-v2513-percent-track{
  height:13px;
  border-radius:99px;
  background:rgba(255,255,255,.16);
  overflow:hidden;
}
.ehs-v2513-percent-fill{
  display:block;
  height:100%;
  border-radius:99px;
  background:linear-gradient(90deg,#25e2d4,#18a9ff);
}
.ehs-v2513-percent-value{
  color:#23eadb;
  font-size:12px;
  font-weight:900;
  text-align:right;
  white-space:nowrap;
}
.ehs-v2513-percent-formula{
  margin-top:12px;
  padding-top:10px;
  border-top:1px solid rgba(255,255,255,.14);
  color:#a9bdd2;
  font-size:10px;
  font-weight:700;
  line-height:1.45;
  text-align:center;
}

@media(max-width:1024px){
  /* Each inner mobile page now has only one title: the top page heading. */
  .ehs-m-page-head h1{
    text-transform:uppercase!important;
    font-size:24px!important;
    line-height:1.08!important;
  }
  #ehsMobileContent > .ehs-section-title:first-child,
  #ehsMobileContent > .ehs-module-card > .ehs-section-title:first-child,
  #ehsMobileContent > .ehs-graph-page > .ehs-section-title:first-child{
    display:none!important;
    margin:0!important;
    padding:0!important;
    height:0!important;
    border:0!important;
  }
  #ehsMobileContent > .ehs-module-card{
    margin-top:0!important;
  }
  .ehs-v2513-percent-list{
    grid-template-columns:1fr;
    gap:13px;
    margin-top:0;
  }
  .ehs-v2513-percent-card{
    padding:14px 12px;
  }
  .ehs-v2513-percent-row{
    grid-template-columns:65px 1fr 55px;
    gap:7px;
  }
}

/* ===== ehsV2514AllMobileDarkTheme ===== */
/* =========================================================
   EDUHUNT STUDENT PORTAL V25.14
   COMPLETE DARK THEME FOR MOBILE + TABLET INNER PAGES
   Desktop 1025px and above is untouched.
========================================================= */
@media screen and (max-width:1024px){
  /* One consistent app canvas. */
  #ehsMobileApp,
  #ehsMobileContent,
  .ehs-mobile-app,
  .ehs-m-content,
  .ehs-module-card,
  .ehs-graph-page{
    background:#020a16!important;
    color:#f4f8ff!important;
  }

  #ehsMobileContent,
  #ehsMobileContent *{
    box-sizing:border-box;
  }

  /* All mobile form controls, including Subject Cards test selector. */
  #ehsMobileContent .ehs-mobile-filter,
  #ehsMobileContent .ehs-field,
  #ehsMobileContent .ehs-select-wrap,
  #ehsMobileContent .ehs-assignment-filter-grid,
  #ehsMobileContent .ehs-filter-grid{
    background:transparent!important;
    color:#f4f8ff!important;
  }

  #ehsMobileContent .ehs-mobile-filter{
    border:1px solid #2b506c!important;
    background:linear-gradient(145deg,#0b2945,#071c31)!important;
    box-shadow:0 8px 20px rgba(0,0,0,.18)!important;
  }

  #ehsMobileContent .ehs-mobile-filter label,
  #ehsMobileContent .ehs-field label{
    color:#dcecff!important;
    -webkit-text-fill-color:#dcecff!important;
  }

  #ehsMobileContent select,
  #ehsMobileContent input,
  #ehsMobileContent textarea,
  #ehsMobileContent .ehs-mobile-filter select,
  #ehsMobileContent .ehs-select-wrap select{
    background-color:#0b2946!important;
    color:#ffffff!important;
    -webkit-text-fill-color:#ffffff!important;
    border-color:#3c6887!important;
    box-shadow:none!important;
  }

  #ehsMobileContent select option{
    background:#0b2946!important;
    color:#ffffff!important;
  }

  /* Generic cards and information surfaces. */
  #ehsMobileContent .ehs-card,
  #ehsMobileContent .ehs-info-box,
  #ehsMobileContent .ehs-summary-box,
  #ehsMobileContent .ehs-assignment-card,
  #ehsMobileContent .ehs-assignment-group,
  #ehsMobileContent .ehs-assignment-subject-row,
  #ehsMobileContent .ehs-upcoming-card,
  #ehsMobileContent .ehs-resource-grid .ehs-card,
  #ehsMobileContent .ehs-omr-step-card{
    background:linear-gradient(145deg,#0c2945,#071a2f)!important;
    color:#f4f8ff!important;
    border-color:#2b506c!important;
    box-shadow:0 10px 24px rgba(0,0,0,.18)!important;
  }

  #ehsMobileContent .ehs-info-box .label,
  #ehsMobileContent .ehs-summary-box .label,
  #ehsMobileContent .ehs-assignment-subject,
  #ehsMobileContent .ehs-assignment-body,
  #ehsMobileContent .ehs-upcoming-card,
  #ehsMobileContent .ehs-upcoming-card h3,
  #ehsMobileContent .ehs-upcoming-note,
  #ehsMobileContent .ehs-resource-grid .ehs-card,
  #ehsMobileContent .ehs-resource-grid .ehs-card h3,
  #ehsMobileContent p,
  #ehsMobileContent li{
    color:#e8f2ff!important;
    -webkit-text-fill-color:#e8f2ff!important;
  }

  #ehsMobileContent .ehs-info-box .value,
  #ehsMobileContent .ehs-summary-box .value{
    color:#ffffff!important;
    -webkit-text-fill-color:#ffffff!important;
  }

  /* Alerts and empty states stay readable but remain dark. */
  #ehsMobileContent .ehs-alert,
  #ehsMobileContent .ehs-small-alert{
    background:#0b2946!important;
    color:#dcecff!important;
    -webkit-text-fill-color:#dcecff!important;
    border-color:#2f6d97!important;
    border-left-color:#22d9cf!important;
  }

  #ehsMobileContent .ehs-empty,
  #ehsMobileContent .ehs-assignment-message{
    background:#29220f!important;
    color:#ffe5a6!important;
    -webkit-text-fill-color:#ffe5a6!important;
    border-color:#7b6425!important;
  }

  /* Test-pattern and general tables. */
  #ehsMobileContent .ehs-table-wrap,
  #ehsMobileContent .ehs-pattern-table,
  #ehsMobileContent .ehs-table{
    background:#071a2f!important;
    color:#f4f8ff!important;
    border-color:#2b506c!important;
  }

  #ehsMobileContent .ehs-table th,
  #ehsMobileContent .ehs-pattern-table th{
    background:#0b5b96!important;
    color:#ffffff!important;
    -webkit-text-fill-color:#ffffff!important;
    border-color:#3a6d91!important;
  }

  #ehsMobileContent .ehs-table td,
  #ehsMobileContent .ehs-pattern-table td{
    background:#0a2139!important;
    color:#ffffff!important;
    -webkit-text-fill-color:#ffffff!important;
    border-color:#2f4f68!important;
  }

  #ehsMobileContent .ehs-pattern-btn{
    background:#0b2946!important;
    color:#dcecff!important;
    -webkit-text-fill-color:#dcecff!important;
    border-color:#2f5e7e!important;
  }

  #ehsMobileContent .ehs-pattern-btn.active{
    background:linear-gradient(90deg,#087cff,#11c9cf)!important;
    color:#ffffff!important;
    -webkit-text-fill-color:#ffffff!important;
    border-color:#43e9dc!important;
  }

  /* Assignments and learning resources. */
  #ehsMobileContent .ehs-assignment-group-head,
  #ehsMobileContent .ehs-assignment-head{
    background:#0b5b96!important;
    color:#ffffff!important;
    -webkit-text-fill-color:#ffffff!important;
  }

  #ehsMobileContent .ehs-assignment-subject-row{
    border-top-color:#2b506c!important;
  }

  #ehsMobileContent .ehs-assignment-coming-soon{
    background:#392d0c!important;
    color:#ffd976!important;
    -webkit-text-fill-color:#ffd976!important;
    border-color:#8b6a18!important;
  }

  /* V25.12 fitted R/W/B — fully dark. */
  #ehsMobileContent .ehs-v2512-rwb-block,
  #ehsMobileContent .ehs-rwb-mobile-card{
    background:#071a2f!important;
    color:#ffffff!important;
    border-color:#2d5875!important;
    box-shadow:0 10px 22px rgba(0,0,0,.18)!important;
  }

  #ehsMobileContent .ehs-v2512-rwb-row>div,
  #ehsMobileContent .ehs-rwb-mobile-cell{
    background:#0a2139!important;
    color:#ffffff!important;
    -webkit-text-fill-color:#ffffff!important;
    border-color:#2c4b65!important;
  }

  #ehsMobileContent .ehs-v2512-rwb-head>div,
  #ehsMobileContent .ehs-rwb-mobile-head{
    background:#0b5b96!important;
    color:#ffffff!important;
    -webkit-text-fill-color:#ffffff!important;
  }

  #ehsMobileContent .ehs-rwb-mobile-cell span{
    color:#9fc5e2!important;
    -webkit-text-fill-color:#9fc5e2!important;
  }

  #ehsMobileContent .ehs-rwb-mobile-cell b{
    color:#ffffff!important;
    -webkit-text-fill-color:#ffffff!important;
  }

  #ehsMobileContent .ehs-v2512-rwb-def,
  #ehsMobileContent .ehs-rwb-definitions{
    background:#09243d!important;
    color:#dcecff!important;
    -webkit-text-fill-color:#dcecff!important;
    border-color:#2b506c!important;
  }

  /* Wrong Questions — remove all pale/pink cards. */
  #ehsMobileContent .ehs-wrong-card{
    background:linear-gradient(145deg,#26131d,#151827)!important;
    color:#ffffff!important;
    -webkit-text-fill-color:#ffffff!important;
    border:1px solid #6d3442!important;
    box-shadow:0 9px 20px rgba(0,0,0,.18)!important;
  }

  #ehsMobileContent .ehs-wrong-card b{
    color:#ff7180!important;
    -webkit-text-fill-color:#ff7180!important;
  }

  #ehsMobileContent .ehs-v2512-test-pill,
  #ehsMobileContent .ehs-m-test-title-visible,
  #ehsMobileContent .ehs-m-question-test-title{
    color:#ffffff!important;
    -webkit-text-fill-color:#ffffff!important;
    background:linear-gradient(90deg,#0b5b96,#123b74)!important;
    border-color:#48b5ff!important;
  }

  /* V25.12 Question-wise fitted grid — fully dark. */
  #ehsMobileContent .ehs-v2512-qgrid,
  #ehsMobileContent .ehs-m-question-table-wrap{
    background:#071a2f!important;
    border-color:#2d5875!important;
    box-shadow:0 10px 22px rgba(0,0,0,.18)!important;
  }

  #ehsMobileContent .ehs-v2512-qrow>div,
  #ehsMobileContent .ehs-m-question-table td{
    background:#0a2139!important;
    color:#ffffff!important;
    -webkit-text-fill-color:#ffffff!important;
    border-color:#2c4b65!important;
  }

  #ehsMobileContent .ehs-v2512-qhead>div,
  #ehsMobileContent .ehs-m-question-table th{
    background:#0b5b96!important;
    color:#ffffff!important;
    -webkit-text-fill-color:#ffffff!important;
    border-color:#3a6d91!important;
  }

  #ehsMobileContent .ehs-v2512-qresult.ok,
  #ehsMobileContent .ehs-ok{
    color:#38e49b!important;
    -webkit-text-fill-color:#38e49b!important;
  }

  #ehsMobileContent .ehs-v2512-qresult.bad,
  #ehsMobileContent .ehs-bad{
    color:#ff6673!important;
    -webkit-text-fill-color:#ff6673!important;
  }

  /* Subject-selection buttons remain dark except the active subject. */
  #ehsMobileContent .ehs-m-question-subject-btn,
  #ehsMobileContent .ehs-q-filter-btn{
    background:#0b2946!important;
    color:#dcecff!important;
    -webkit-text-fill-color:#dcecff!important;
    border-color:#2f5e7e!important;
  }

  #ehsMobileContent .ehs-m-question-subject-btn.active,
  #ehsMobileContent .ehs-q-filter-btn.active{
    background:linear-gradient(90deg,#087cff,#11d6cf)!important;
    color:#ffffff!important;
    -webkit-text-fill-color:#ffffff!important;
    border-color:#40eadc!important;
  }

  /* Result Summary and definitions. */
  #ehsMobileContent .ehs-mobile-summary-card,
  #ehsMobileContent .ehs-rank-definitions,
  #ehsMobileContent .ehs-summary-topcard{
    background:linear-gradient(145deg,#0c2945,#071a2f)!important;
    color:#ffffff!important;
    border-color:#2b506c!important;
  }

  #ehsMobileContent .ehs-rank-definitions h3,
  #ehsMobileContent .ehs-rank-definition-grid,
  #ehsMobileContent .ehs-rank-definition-grid div{
    color:#e8f2ff!important;
    -webkit-text-fill-color:#e8f2ff!important;
  }

  /* Graphs and percentage cards stay fully dark. */
  #ehsMobileContent .ehs-v2512-graph-card,
  #ehsMobileContent .ehs-v2513-percent-card,
  #ehsMobileContent .ehs-graph-card{
    background:linear-gradient(145deg,#0c2a47,#07192e)!important;
    color:#ffffff!important;
    border-color:#2b506c!important;
  }

  #ehsMobileContent .ehs-v2512-graph-card h3,
  #ehsMobileContent .ehs-v2513-percent-card h3,
  #ehsMobileContent .ehs-graph-card h3{
    color:#ffffff!important;
    -webkit-text-fill-color:#ffffff!important;
  }

  #ehsMobileContent .ehs-graph-card svg text{
    fill:#ffffff!important;
  }

  /* Share card is already dark; make its selector and button consistent. */
  #ehsMobileContent .ehs-v2512-wa-card,
  #ehsMobileContent .ehs-share-status{
    color:#ffffff!important;
    border-color:#2b506c!important;
  }

  #ehsMobileContent .ehs-v2512-share-btn{
    background:#18a94c!important;
    color:#ffffff!important;
    -webkit-text-fill-color:#ffffff!important;
  }

  /* Profile and generic mobile action buttons. */
  #ehsMobileContent .ehs-m-action{
    background:#0b2945!important;
    color:#ffffff!important;
    -webkit-text-fill-color:#ffffff!important;
    border-color:#2c506c!important;
  }

  #ehsMobileContent .ehs-m-action.logout{
    background:#64182a!important;
    border-color:#a63a50!important;
  }

  /* Final safeguard: no white content surfaces inside any mobile inner page. */
  #ehsMobileContent [style*="background:#fff"],
  #ehsMobileContent [style*="background: #fff"],
  #ehsMobileContent [style*="background:white"],
  #ehsMobileContent [style*="background: white"]{
    background:#0a2139!important;
    color:#ffffff!important;
  }
}

/* ===== ehs-v2515-login-dark-theme ===== */
/* =========================================================
   EDUHUNT STUDENT PORTAL V25.15
   LOGIN HEADER + LOGIN FORM — DARK THEME
   CSS-only for smooth performance. No extra libraries/loops.
========================================================= */

/* Login-page canvas */
#ehsLoginBlock{
  width:100%!important;
  min-height:100vh!important;
  margin:0!important;
  padding:30px 22px 46px!important;
  background:
    radial-gradient(circle at 90% 4%,rgba(17,214,207,.15),transparent 27%),
    radial-gradient(circle at 8% 72%,rgba(8,124,255,.12),transparent 30%),
    linear-gradient(180deg,#031326 0%,#020a16 100%)!important;
  color:#f5f9ff!important;
  box-sizing:border-box!important;
}

/* Login title area */
#ehsLoginBlock .ehs-login-head{
  max-width:900px!important;
  margin:0 auto 20px!important;
  padding:20px 12px 17px!important;
  border-bottom:2px solid #31e2d4!important;
  background:transparent!important;
  box-shadow:none!important;
}

#ehsLoginBlock .ehs-login-head h1{
  margin:0!important;
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
  font-size:clamp(25px,3vw,34px)!important;
  font-weight:900!important;
  line-height:1.15!important;
  letter-spacing:.3px!important;
  text-shadow:none!important;
}

#ehsLoginBlock .ehs-login-head .subtitle{
  margin-top:9px!important;
  color:#c6d6e8!important;
  -webkit-text-fill-color:#c6d6e8!important;
  font-size:16px!important;
  font-weight:800!important;
}

#ehsLoginBlock .ehs-powered{
  margin-top:8px!important;
  color:#8ea5bd!important;
  -webkit-text-fill-color:#8ea5bd!important;
  font-size:12px!important;
  font-weight:700!important;
}

/* Credential card */
#ehsLoginBlock .ehs-login-card,
#ehsLoginBlock .ehs-card.ehs-login-card{
  width:min(760px,100%)!important;
  max-width:760px!important;
  margin:22px auto 0!important;
  padding:22px!important;
  border:1px solid #2b506c!important;
  border-radius:20px!important;
  background:linear-gradient(145deg,#0c2945 0%,#071a2f 100%)!important;
  color:#f5f9ff!important;
  box-shadow:0 14px 32px rgba(0,0,0,.24)!important;
}

#ehsLoginBlock .ehs-login-grid{
  gap:16px!important;
}

#ehsLoginBlock .ehs-field label{
  margin-bottom:7px!important;
  color:#dcecff!important;
  -webkit-text-fill-color:#dcecff!important;
  font-size:14px!important;
  font-weight:900!important;
}

#ehsLoginBlock .ehs-field input{
  width:100%!important;
  min-height:54px!important;
  padding:14px 15px!important;
  border:1px solid #3b6483!important;
  border-radius:12px!important;
  outline:none!important;
  background:#071a2f!important;
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
  caret-color:#45eadb!important;
  font-size:16px!important;
  font-weight:800!important;
  box-shadow:none!important;
  transition:border-color .12s ease,background-color .12s ease!important;
}

#ehsLoginBlock .ehs-field input::placeholder{
  color:#8198b0!important;
  -webkit-text-fill-color:#8198b0!important;
  opacity:1!important;
  font-weight:700!important;
}

#ehsLoginBlock .ehs-field input:focus{
  border-color:#45eadb!important;
  background:#09223a!important;
  box-shadow:0 0 0 3px rgba(69,234,219,.10)!important;
}

/* Remember-device control, when visible */
#ehsLoginBlock .ehs-check{
  color:#d6e6f7!important;
  -webkit-text-fill-color:#d6e6f7!important;
}

#ehsLoginBlock .ehs-tickbox{
  border-color:#45eadb!important;
  background:#071a2f!important;
  box-shadow:none!important;
}

#ehsLoginBlock .ehs-tickbox.checked{
  background:linear-gradient(135deg,#087cff,#11d6cf)!important;
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
}

/* Primary login button */
#ehsLoginBlock .ehs-actions{
  margin-top:18px!important;
}

#ehsLoginBlock .ehs-btn{
  width:100%!important;
  min-height:52px!important;
  padding:13px 18px!important;
  border:1px solid #3ce7d9!important;
  border-radius:13px!important;
  background:linear-gradient(90deg,#087cff 0%,#10cfd0 100%)!important;
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
  font-size:16px!important;
  font-weight:900!important;
  box-shadow:0 8px 18px rgba(8,124,255,.20)!important;
  cursor:pointer!important;
  transition:transform .10s ease,filter .10s ease!important;
}

#ehsLoginBlock .ehs-btn:active{
  transform:scale(.99)!important;
}

#ehsLoginBlock .ehs-btn:disabled{
  opacity:.68!important;
  cursor:wait!important;
  transform:none!important;
}

#ehsLoginBlock .ehs-message{
  min-height:20px!important;
  margin-top:14px!important;
  color:#ff8993!important;
  -webkit-text-fill-color:#ff8993!important;
  font-size:14px!important;
  font-weight:900!important;
}

/* Mobile + tablet login page */
@media(max-width:1024px){
  #ehsLoginBlock{
    min-height:100dvh!important;
    padding:22px 16px 40px!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    touch-action:pan-y!important;
    -webkit-overflow-scrolling:touch!important;
  }

  #ehsLoginBlock .ehs-login-head{
    margin-bottom:17px!important;
    padding:18px 8px 15px!important;
  }

  #ehsLoginBlock .ehs-login-head h1{
    font-size:27px!important;
  }

  #ehsLoginBlock .ehs-login-head .subtitle{
    font-size:15px!important;
    line-height:1.4!important;
  }

  #ehsLoginBlock .ehs-login-card,
  #ehsLoginBlock .ehs-card.ehs-login-card{
    margin:18px auto 0!important;
    padding:18px!important;
    border-radius:18px!important;
  }

  #ehsLoginBlock .ehs-login-grid{
    grid-template-columns:1fr!important;
    gap:14px!important;
  }

  #ehsLoginBlock .ehs-field input{
    min-height:56px!important;
    font-size:16px!important;
  }
}

@media(max-width:420px){
  #ehsLoginBlock{
    padding:18px 12px 34px!important;
  }

  #ehsLoginBlock .ehs-login-head h1{
    font-size:25px!important;
  }

  #ehsLoginBlock .ehs-login-card,
  #ehsLoginBlock .ehs-card.ehs-login-card{
    padding:16px!important;
  }
}

/* ===== ehsV2516ProgressStyles ===== */
/* =========================================================
   EDUHUNT STUDENT PORTAL V25.16
   MOBILE/TABLET COLLAPSIBLE PROGRESS GRAPHS
   Desktop 1025px+ remains unchanged.
========================================================= */
@media(max-width:1024px){
  .ehs-v2516-progress-list{
    display:grid;
    grid-template-columns:1fr;
    gap:12px;
    margin:0 0 24px;
  }

  .ehs-v2516-accordion{
    width:100%;
    min-width:0;
    margin:0;
    border:1px solid #2b5575;
    border-radius:17px;
    background:linear-gradient(145deg,#0c2a47 0%,#07192e 100%);
    color:#fff;
    box-shadow:0 9px 22px rgba(0,0,0,.20);
    overflow:hidden;
    box-sizing:border-box;
  }

  .ehs-v2516-accordion > summary{
    list-style:none;
    display:flex;
    align-items:center;
    gap:10px;
    min-height:54px;
    padding:13px 14px;
    margin:0;
    background:linear-gradient(90deg,#0b3152,#0b2742);
    color:#fff;
    font-size:15px;
    line-height:1.25;
    font-weight:900;
    letter-spacing:.15px;
    cursor:pointer;
    user-select:none;
    -webkit-tap-highlight-color:transparent;
  }

  .ehs-v2516-accordion > summary::-webkit-details-marker{display:none}
  .ehs-v2516-accordion > summary::marker{content:""}

  .ehs-v2516-accordion > summary::before{
    content:"";
    display:block;
    width:0;
    height:0;
    min-width:0;
    margin-left:5px;
    margin-right:7px;
    border-top:7px solid transparent;
    border-bottom:7px solid transparent;
    border-left:10px solid #48eadb;
    background:transparent;
  }

  .ehs-v2516-accordion[open] > summary::before{
    border-top:10px solid #48eadb;
    border-left:7px solid transparent;
    border-right:7px solid transparent;
    border-bottom:0;
    margin-left:2px;
    margin-right:6px;
  }

  .ehs-v2516-accordion[open] > summary{
    background:linear-gradient(90deg,#0d4778,#0a3155);
    border-bottom:1px solid #2d5878;
  }

  .ehs-v2516-accordion-body{
    padding:14px;
    background:linear-gradient(145deg,#0b253e,#071a30);
  }

  .ehs-v2516-percent-row{
    display:grid;
    grid-template-columns:58px minmax(0,1fr) 64px;
    align-items:center;
    gap:9px;
    min-width:0;
    margin:0 0 12px;
  }

  .ehs-v2516-percent-row:last-of-type{margin-bottom:0}

  .ehs-v2516-subject-code{
    color:#f4f9ff;
    font-size:13px;
    font-weight:900;
    white-space:nowrap;
  }

  .ehs-v2516-percent-track{
    min-width:0;
    height:12px;
    border-radius:999px;
    background:#314963;
    overflow:hidden;
  }

  .ehs-v2516-percent-fill{
    display:block;
    height:100%;
    border-radius:999px;
    background:linear-gradient(90deg,#29e2d2,#1ba5ff);
  }

  .ehs-v2516-percent-value{
    color:#3ff0dc;
    font-size:12px;
    font-weight:900;
    text-align:right;
    white-space:nowrap;
  }

  .ehs-v2516-formula{
    margin-top:13px;
    padding-top:10px;
    border-top:1px solid #2c4e69;
    color:#a9bfd5;
    font-size:10px;
    font-weight:700;
    line-height:1.45;
    text-align:center;
  }

  .ehs-v2516-graph{
    display:block;
    width:100%;
    height:auto;
    overflow:visible;
  }

  .ehs-v2516-rank-note{
    margin:8px 3px 0;
    color:#a3b8cd;
    font-size:10px;
    font-weight:700;
    line-height:1.4;
    text-align:center;
  }

  .ehs-v2516-group-label{
    margin:4px 2px 0;
    color:#45eadb;
    font-size:12px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.5px;
  }
}

/* ===== ehs-v2518-central-exam-css ===== */
/* =========================================================
   EDUHUNT STUDENT PORTAL V25.18A
   CENTRAL EXAM SCHEDULE + EXAM SYLLABUS
========================================================= */
.ehs-es18-toolbar{display:flex;flex-wrap:wrap;gap:9px;align-items:center;justify-content:space-between;margin:10px 0 14px}
.ehs-es18-scope{flex:1 1 320px;border:1px solid #bfd1e5;border-radius:12px;background:#eef6ff;padding:11px 13px;color:#173753;font-size:13px;font-weight:800;line-height:1.45}
.ehs-es18-scope b{color:#075b98}
.ehs-es18-refresh{border:0;border-radius:10px;background:#0b568f;color:#fff;min-height:44px;padding:10px 16px;font-size:13px;font-weight:900;cursor:pointer}
.ehs-es18-refresh:disabled{opacity:.62;cursor:wait}
.ehs-es18-message{border:1px solid #c7d8e9;border-radius:12px;background:#f6faff;color:#173753;padding:14px;margin:11px 0;font-size:14px;font-weight:800;line-height:1.5}
.ehs-es18-message.bad{border-color:#efb7bd;background:#fff2f3;color:#9c1d2b}
.ehs-es18-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.ehs-es18-card{border:1px solid #bed0e2;border-radius:15px;background:#fff;padding:14px;box-shadow:0 6px 18px rgba(20,55,90,.08);min-width:0}
.ehs-es18-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:9px}
.ehs-es18-card h3{margin:0;color:#07558f;font-size:19px;font-weight:900;line-height:1.25}
.ehs-es18-status{display:inline-flex;align-items:center;justify-content:center;border-radius:30px;padding:5px 9px;background:#dcecff;color:#07558f;font-size:10px;font-weight:900;white-space:nowrap}
.ehs-es18-status.postponed{background:#fff0c8;color:#8a5600}.ehs-es18-status.cancelled{background:#ffe1e3;color:#a01828}.ehs-es18-status.completed{background:#e1f5e8;color:#0a6d2c}
.ehs-es18-badges{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 10px}
.ehs-es18-badge{display:inline-flex;border:1px solid #c4d6e8;border-radius:20px;background:#f0f6fd;color:#315b7d;padding:4px 8px;font-size:10px;font-weight:900}
.ehs-es18-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 12px}
.ehs-es18-field{min-width:0;color:#60758a;font-size:11px;font-weight:800;line-height:1.35}
.ehs-es18-field b{display:block;margin-top:2px;color:#172f46;font-size:13px;overflow-wrap:anywhere}
.ehs-es18-full{grid-column:1/-1}
.ehs-es18-details{margin-top:11px;border-top:1px solid #d7e3ee;padding-top:9px}
.ehs-es18-details summary{cursor:pointer;color:#07558f;font-size:12px;font-weight:900}
.ehs-es18-details-body{margin-top:8px;color:#233f57;font-size:13px;font-weight:700;line-height:1.55;white-space:pre-wrap}
.ehs-es18-syllabus-list{display:grid;gap:13px}
.ehs-es18-syllabus-card{border:1px solid #bed0e2;border-radius:15px;background:#fff;overflow:hidden}
.ehs-es18-syllabus-card summary{list-style:none;cursor:pointer;padding:14px 42px 14px 14px;position:relative;color:#07558f;font-size:16px;font-weight:900}
.ehs-es18-syllabus-card summary::-webkit-details-marker{display:none}
.ehs-es18-syllabus-card summary:after{content:"+";position:absolute;right:15px;top:50%;transform:translateY(-50%);width:25px;height:25px;border-radius:50%;display:grid;place-items:center;background:#e4f1ff;color:#07558f;font-size:18px;font-weight:900}
.ehs-es18-syllabus-card[open] summary:after{content:"-"}
.ehs-es18-syllabus-body{border-top:1px solid #d9e4ef;padding:13px 14px 15px;color:#233f57;font-size:13px;font-weight:700;line-height:1.55}
.ehs-es18-syllabus-text{margin-top:9px;border-left:4px solid #0b83c7;background:#eef7ff;border-radius:8px;padding:11px;white-space:pre-wrap}

@media(max-width:1024px){
  .ehs-es18-toolbar{display:block;margin-top:0}
  .ehs-es18-scope{background:#09243d!important;border-color:#2b506c!important;color:#d7e9fb!important;margin-bottom:10px;border-radius:14px}
  .ehs-es18-scope b{color:#4feadf!important}
  .ehs-es18-refresh{width:100%;min-height:47px;border-radius:13px;background:linear-gradient(90deg,#087cff,#11cfc8)}
  .ehs-es18-message{background:#09243d!important;border-color:#2b506c!important;color:#d9eaff!important;border-radius:14px}
  .ehs-es18-message.bad{background:#3b1420!important;border-color:#8d3549!important;color:#ffdce2!important}
  .ehs-es18-grid{grid-template-columns:1fr;gap:12px}
  .ehs-es18-card{background:linear-gradient(145deg,#0c2b49,#071b31)!important;border-color:#2b506c!important;color:#fff!important;border-radius:18px;padding:15px;box-shadow:0 10px 24px rgba(0,0,0,.2)}
  .ehs-es18-card h3{color:#fff!important;font-size:18px}
  .ehs-es18-status{background:#164d78;color:#dff4ff}.ehs-es18-status.postponed{background:#65470e;color:#ffe4a5}.ehs-es18-status.cancelled{background:#672234;color:#ffdce4}.ehs-es18-status.completed{background:#124d35;color:#c9ffe5}
  .ehs-es18-badge{background:rgba(255,255,255,.07);border-color:#315b79;color:#cfe7fb}
  .ehs-es18-field{color:#94abc0}.ehs-es18-field b{color:#fff}
  .ehs-es18-details{border-color:#2b4e69}.ehs-es18-details summary{color:#4feadf}.ehs-es18-details-body{color:#d9e9f7}
  .ehs-es18-syllabus-card{background:linear-gradient(145deg,#0c2b49,#071b31)!important;border-color:#2b506c!important}
  .ehs-es18-syllabus-card summary{color:#fff!important;font-size:15px;padding:14px 45px 14px 14px}
  .ehs-es18-syllabus-card summary:after{background:#123a5b;color:#4feadf}
  .ehs-es18-syllabus-body{border-color:#2b4e69;color:#d7e8f7}
  .ehs-es18-syllabus-text{background:#09243d;border-left-color:#4feadf;color:#fff}
}
@media(max-width:650px){.ehs-es18-fields{grid-template-columns:1fr 1fr}.ehs-es18-card{padding:13px}.ehs-es18-card h3{font-size:17px}}

/* ===== ehs-v2518b-clean-schedule-style ===== */
/* EDUHUNT STUDENT PORTAL V25.18B — CLEAN EXAM SCHEDULE */
.ehs-es18-type-filters{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  margin:0 0 14px;
}
.ehs-es18-type-btn{
  min-width:72px;
  min-height:40px;
  padding:8px 17px;
  border:1px solid #9ec2e4;
  border-radius:999px;
  background:#eef6ff;
  color:#0a568e;
  font-size:12px;
  font-weight:900;
  cursor:pointer;
  transition:filter .12s ease,transform .12s ease;
}
.ehs-es18-type-btn:hover{filter:brightness(1.04);transform:translateY(-1px)}
.ehs-es18-type-btn.active{
  border-color:#0bc9cb;
  background:linear-gradient(135deg,#087cff,#0bc9cb);
  color:#fff;
  box-shadow:0 7px 18px rgba(11,201,203,.20);
}
@media(max-width:1024px){
  .ehs-es18-type-filters{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:8px;
    margin:0 0 12px;
  }
  .ehs-es18-type-btn{
    min-width:0;
    width:100%;
    min-height:43px;
    padding:9px 4px;
    border-color:#2a506d;
    background:#0a2743;
    color:#ddecff;
    font-size:12px;
  }
  .ehs-es18-type-btn.active{
    border-color:#42e7d8;
    background:linear-gradient(135deg,#087cff,#0bc9cb);
    color:#fff;
  }
  .ehs-es18-fields{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
