/* WebDoost Academy Management System v2.10.2 — portal polish, analytics, compact selects, homepage typography */

/* Sidebar is navigation only. Credits/version now live in the portal footer. */
.apex-portal .sidebar-motto,.apex-portal .sidebar-developer,.apex-portal .apex-build-badge,.apex-portal .sidebar>.logout{display:none!important}
.apex-portal .sidebar nav{padding-bottom:18px!important}

.portal-footer-v2102{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;margin:4px 30px 20px;padding:14px 18px;border:1px solid #dce4ed;border-radius:12px;background:#fff;color:#66758a;font-size:.74rem;box-shadow:0 5px 18px rgba(6,31,73,.035)}
.portal-footer-v2102 .portal-footer-credit{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.portal-footer-v2102 a{color:#0a3a72;font-weight:800}.portal-footer-v2102 b{color:#061f49}.portal-footer-v2102 .portal-version{display:inline-flex;align-items:center;gap:7px;padding:6px 9px;border-radius:8px;background:#f5f8fc;color:#4d6078;font-weight:800}
.profile-popup-credit-v2102{margin:4px 9px;padding:10px 11px;border-top:1px solid #e7ecf3;border-bottom:1px solid #e7ecf3;display:grid;gap:5px;font-size:.72rem}.profile-popup-credit-v2102 span{display:flex;align-items:center;justify-content:space-between;gap:10px}.profile-popup-credit-v2102 small{color:#7b8798}.profile-popup-credit-v2102 a{font-weight:800;color:#0a3a72!important;padding:0!important;display:inline!important;background:none!important}

/* Compact, consistent select controls throughout signed-in portal. */
.apex-portal select:not([multiple]):not([size]){min-height:36px!important;height:36px!important;padding:5px 34px 5px 10px!important;border-radius:8px!important;font-size:.78rem!important;line-height:1.2!important;background-color:#fff!important;background-image:linear-gradient(45deg,transparent 50%,#64748b 50%),linear-gradient(135deg,#64748b 50%,transparent 50%)!important;background-position:calc(100% - 15px) 15px,calc(100% - 11px) 15px!important;background-size:4px 4px,4px 4px!important;background-repeat:no-repeat!important;appearance:none!important;-webkit-appearance:none!important}
.apex-portal .inline-filter select{min-width:180px!important;width:auto!important;max-width:300px!important}.apex-portal .smart-table-toolbar select,.apex-portal .smart-table-size select{height:36px!important;min-height:36px!important;padding-top:5px!important;padding-bottom:5px!important}.apex-portal .form-grid select{max-width:100%}.apex-portal select[multiple],.apex-portal select[size]{height:auto!important;min-height:90px!important}

/* Management analytics dashboard. */
.v2102-dashboard-analytics{margin-top:20px}.v2102-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:0 0 12px}.v2102-section-head.compact{align-items:center}.v2102-section-head span{display:inline-flex;gap:7px;align-items:center;color:#976800;font-size:.68rem;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.v2102-section-head h2{margin:4px 0 2px;color:#082b59;font-size:1.22rem}.v2102-section-head p{margin:0;color:#738096;font-size:.76rem}
.v2102-metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.v2102-metric{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid #dfe6ee;border-radius:12px;background:#fff;box-shadow:0 4px 15px rgba(6,31,73,.035);min-width:0}.v2102-metric>i{width:38px;height:38px;flex:0 0 38px;display:grid;place-items:center;border-radius:10px;background:#eef4fb;color:#0a3972}.v2102-metric span{display:grid;min-width:0}.v2102-metric small{color:#78869a;font-size:.65rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.v2102-metric strong{color:#082b59;font-size:1.18rem;line-height:1.2;margin-top:2px}.v2102-metric em{font-style:normal;color:#8491a2;font-size:.65rem;margin-top:2px}.v2102-metric.gold>i{background:#fff5d7;color:#8b6500}.v2102-metric.green>i{background:#e7f7ee;color:#087443}.v2102-metric.orange>i{background:#fff0e2;color:#a55400}.v2102-metric.purple>i{background:#f0ebff;color:#6941c6}.v2102-metric.slate>i{background:#eef1f5;color:#475467}
.v2102-dashboard-lower{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(280px,.55fr);gap:14px;margin-top:14px}.v2102-shortcuts,.v2102-activity{padding:18px!important}.v2102-shortcut-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.v2102-shortcut-grid a{display:flex;align-items:center;gap:9px;padding:10px;border:1px solid #e2e8f0;border-radius:10px;background:#fafcff}.v2102-shortcut-grid a:hover{border-color:#d0a139;background:#fffaf0}.v2102-shortcut-grid i{width:30px;height:30px;display:grid;place-items:center;border-radius:8px;background:#edf4fb;color:#0b3972}.v2102-shortcut-grid span{display:grid;min-width:0}.v2102-shortcut-grid b{color:#183351;font-size:.74rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.v2102-shortcut-grid small{color:#8995a5;font-size:.62rem}.v2102-activity-list{display:grid}.v2102-activity-list>div{display:flex;gap:9px;align-items:center;padding:9px 0;border-bottom:1px solid #edf0f4}.v2102-activity-list>div:last-child{border:0}.v2102-activity-list i{color:#a57300}.v2102-activity-list span{display:grid}.v2102-activity-list b{font-size:.72rem;color:#243b57}.v2102-activity-list small{font-size:.62rem;color:#8a96a5;margin-top:2px}

/* Homepage typography variables saved by the editor. */
.v280-home.v2102-typography{font-family:var(--home-font-family)!important;font-size:calc(1rem * var(--home-font-scale))!important;color:var(--home-text)!important}.v280-home.v2102-typography .v280-hero-copy p,.v280-home.v2102-typography .v280-title p,.v280-home.v2102-typography .v280-program-card,.v280-home.v2102-typography .v280-why p,.v280-home.v2102-typography .v280-blog p{color:var(--home-text)!important}.v280-home.v2102-typography .v280-hero-copy h1,.v280-home.v2102-typography .v280-hero-copy h2,.v280-home.v2102-typography .v280-title h2,.v280-home.v2102-typography .v280-program-card b,.v280-home.v2102-typography .v280-blog h3{font-family:var(--home-font-family)!important;color:var(--home-heading)!important}.v280-home.v2102-typography .v280-hero-copy>span,.v280-home.v2102-typography .v280-title>span,.v280-home.v2102-typography .v280-blog small{color:var(--home-accent)!important}.v280-home.v2102-typography .v280-hero-copy h1 em{color:var(--home-accent)!important}.v2102-typography-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.v2102-color-field{display:grid;grid-template-columns:1fr 50px;gap:8px;align-items:end}.v2102-color-field input[type=color]{height:38px!important;padding:3px!important}

/* Integration instruction cards. */
.v2102-guide{margin-top:14px;padding:15px;border:1px solid #dfe7f1;border-radius:12px;background:#f8fbff}.v2102-guide summary{cursor:pointer;font-weight:850;color:#0a3569;list-style:none}.v2102-guide summary::-webkit-details-marker{display:none}.v2102-guide summary:before{content:"+";display:inline-grid;place-items:center;width:20px;height:20px;margin-right:8px;border-radius:6px;background:#e8f1fb;color:#0a3569}.v2102-guide[open] summary:before{content:"−"}.v2102-guide ol,.v2102-guide ul{margin:12px 0 0 20px;padding:0;color:#52647b;font-size:.78rem;line-height:1.65}.v2102-guide code{word-break:break-all}.v2102-guide .guide-note{margin-top:10px;padding:9px 11px;border-radius:9px;background:#fff4d9;color:#775300;font-size:.72rem}

/* Scorecard actions. */
.scorecard-actions-v2102{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.scorecard-actions-v2102 .btn{white-space:nowrap}.scorecard-pdf-note{font-size:.7rem;color:#718096;margin:0 24px 16px}

@media(max-width:1180px){.v2102-metric-grid{grid-template-columns:repeat(3,1fr)}.v2102-shortcut-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:900px){.v2102-dashboard-lower{grid-template-columns:1fr}.v2102-metric-grid{grid-template-columns:repeat(2,1fr)}.v2102-shortcut-grid{grid-template-columns:repeat(2,1fr)}.portal-footer-v2102{margin:4px 16px 88px}.v2102-typography-controls{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.v2102-metric-grid,.v2102-shortcut-grid,.v2102-typography-controls{grid-template-columns:1fr}.portal-footer-v2102{align-items:flex-start;flex-direction:column}.profile-popup-credit-v2102 span{align-items:flex-start;flex-direction:column;gap:2px}.apex-portal .inline-filter select{width:100%!important;max-width:none!important}.v2102-section-head{align-items:flex-start;flex-direction:column}}

/* Scorecard print output must stay clean and academy-branded. */
@media print{
  @page{size:A4 portrait;margin:9mm}
  .portal-footer-v2102,.scorecard-pdf-note,.scorecard-actions-v2102{display:none!important}
  .scorecard-sheet{box-shadow:none!important;border:1px solid #cfd8e3!important;margin:0!important;width:100%!important;max-width:none!important;break-inside:avoid}
  .scorecard-sheet header{background:#061f49!important;color:#fff!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
  .scorecard-kpis article{background:#f4f7fb!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
}
