/* ------------------------ Public Holidays (whol-*) ------------------------ */
#root_web_holiday .whol-page {
  width: 100%;
  box-sizing: border-box;
}

#root_web_holiday .whol-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
  padding: 24px;
  min-height: 420px;
  box-sizing: border-box;
  max-width: 100%;
}

#root_web_holiday .whol-header {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
  text-align: center;
}

#root_web_holiday .whol-title {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  color: #05053d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  line-height: 1.3;
}

#root_web_holiday .whol-title .fa {
  color: #16a34a;
  font-size: 24px;
}

#root_web_holiday .whol-year {
  font-size: 20px;
  font-weight: 600;
  color: #4b5563;
}

#root_web_holiday .whol-subtitle {
  margin: 8px 0 0;
  font-size: 14px;
  color: #6b7280;
}

#root_web_holiday .whol-months {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#root_web_holiday .whol-month-card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

#root_web_holiday .whol-month-head {
  background: #16a34a;
  color: #ffffff;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  padding: 12px 14px;
  letter-spacing: 0.02em;
}

#root_web_holiday .whol-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

#root_web_holiday .whol-table {
  width: 100%;
  min-width: 420px;
  border-collapse: collapse;
  font-size: 14px;
}

#root_web_holiday .whol-table thead {
  background: #ecfdf5;
}

#root_web_holiday .whol-table thead th {
  color: #064e3b;
  font-weight: 700;
  font-size: 13px;
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid #a7f3d0;
}

#root_web_holiday .whol-table tbody td {
  padding: 12px 14px;
  color: #111827;
  border-bottom: 1px solid #f3f4f6;
  vertical-align: top;
  line-height: 1.45;
}

#root_web_holiday .whol-table tbody tr:last-child td {
  border-bottom: none;
}

#root_web_holiday .whol-table tbody tr:hover td {
  background: #f8fafc;
}

#root_web_holiday .whol-col-date {
  width: 42%;
  white-space: nowrap;
  font-weight: 600;
  color: #1f2937;
}

#root_web_holiday .whol-col-reason {
  width: 58%;
  word-break: break-word;
}

#root_web_holiday .whol-empty {
  margin-top: 12px;
  text-align: center;
  padding: 36px 16px;
  color: #b91c1c;
  background: #fef2f2;
  border: 1px dashed #fecaca;
  border-radius: 12px;
}

#root_web_holiday .whol-empty-icon {
  font-size: 28px;
  color: #f87171;
  margin-bottom: 8px;
}

#root_web_holiday .whol-empty h3,
#root_web_holiday .whol-empty .noRecordId {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 700;
  color: #b91c1c;
}

#root_web_holiday .whol-empty p {
  margin: 0;
  font-size: 14px;
  color: #6b7280;
  font-weight: 500;
}

/* Legacy FOUC class (removed after render) */
#root_web_holiday .webHolidayHDCls {
  visibility: hidden;
}

#root_web_holiday .web_holoday_border {
  border: none !important;
}

@media (max-width: 640px) {
  #root_web_holiday .whol-card {
    padding: 16px;
    border-radius: 14px;
  }

  #root_web_holiday .whol-title {
    font-size: 22px;
  }

  #root_web_holiday .whol-year {
    font-size: 16px;
  }

  #root_web_holiday .whol-month-head {
    font-size: 16px;
  }

  #root_web_holiday .whol-col-date {
    white-space: normal;
  }
}

/* Phase 3 UI polish (append-only) */
#root_web_holiday .whol-empty--hidden {
  display: none !important;
}

#root_web_holiday .whol-page {
  padding-bottom: 48px;
}

#root_web_holiday .whol-card {
  min-height: 360px;
}

#root_web_holiday .whol-months {
  gap: 18px;
}

#root_web_holiday .whol-month-card {
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

#root_web_holiday .whol-table tbody tr:nth-child(even) td {
  background: #f9fafb;
}

#root_web_holiday .whol-table tbody tr:hover td {
  background: #f0fdf4;
}

#root_web_holiday .whol-table thead th {
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 12px;
}

#root_web_holiday .whol-col-date {
  font-variant-numeric: tabular-nums;
}

@media (max-width: 480px) {
  #root_web_holiday .whol-table {
    min-width: 360px;
    font-size: 13px;
  }

  #root_web_holiday .whol-table thead th,
  #root_web_holiday .whol-table tbody td {
    padding: 10px 12px;
  }
}

/* ------------------------ Public Footer (wftr-*) ------------------------ */
.wftr-root {
  box-sizing: border-box;
  clear: both;
}

.wftr-root *,
.wftr-root *::before,
.wftr-root *::after {
  box-sizing: border-box;
}

.wftr-heading {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.3;
}

.wftr-heading-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 9999px;
  background: rgba(22, 163, 74, 0.2);
  color: #4ade80;
  font-size: 13px;
  flex-shrink: 0;
}

.wftr-widget {
  color: #ddd;
}

.wftr-widget .footerWidget,
.wftr-address,
.wftr-contact-block {
  color: #ccc;
}

.wftr-address,
.wftr-contact-block {
  font-size: 14px;
  line-height: 1.65;
  word-break: break-word;
}

.wftr-inline-icon {
  font-style: normal;
  display: inline-block;
  max-width: 100%;
  color: #d1d5db;
}

.wftr-contact-block .icon-mail-alt:empty::before,
.wftr-contact-block .icon-phone:empty::before {
  /* keep fa classes as visual cue before JS fills content */
  margin-right: 6px;
}

.wftr-link {
  color: #e5e7eb;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.wftr-link:hover,
.wftr-link:focus {
  color: #86efac;
  border-bottom-color: rgba(134, 239, 172, 0.5);
  outline: none;
}

.wftr-policy {
  cursor: pointer;
}

.wftr-viewers {
  font-weight: 500;
}

.wftr-bar #website_view {
  color: #e5e7eb;
  font-weight: 600;
}

.wftr-meta .schoolName {
  font-weight: 600;
}

@media (max-width: 640px) {
  .wftr-heading {
    font-size: 14px;
    justify-content: center;
  }

  .wftr-widget {
    text-align: center;
  }

  .wftr-address,
  .wftr-contact-block {
    text-align: center;
  }
}

/* ------------------------ Public College Calendar (wcal-*) ------------------------ */
#root_college_calendar .wcal-page {
  width: 100%;
  box-sizing: border-box;
}

#root_college_calendar .wcal-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
  padding: 20px 20px 28px;
  min-height: 500px;
  box-sizing: border-box;
  max-width: 100%;
}

#root_college_calendar .wcal-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
}

#root_college_calendar .wcal-title {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  color: #05053d;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  line-height: 1.3;
}

#root_college_calendar .wcal-title .fa {
  color: #16a34a;
  font-size: 24px;
}

#root_college_calendar .wcal-subtitle {
  margin: 6px 0 0;
  font-size: 14px;
  color: #6b7280;
}

#root_college_calendar .wcal-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

#root_college_calendar .wcal-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
}

#root_college_calendar .wcal-btn-download {
  background: #16a34a;
  color: #ffffff;
  box-shadow: 0 1px 2px rgba(22, 163, 74, 0.35);
}

#root_college_calendar .wcal-btn-download:hover {
  background: #15803d;
}

#root_college_calendar .wcal-btn-download:focus {
  outline: 2px solid #86efac;
  outline-offset: 2px;
}

#root_college_calendar .wcal-calendar-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

#root_college_calendar #calendar,
#root_college_calendar .wcal-calendar {
  width: 100% !important;
  max-width: 100%;
  margin: 0 auto;
}

#root_college_calendar .fc {
  font-family: inherit;
  max-width: 100%;
}

#root_college_calendar .fc-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px !important;
}

#root_college_calendar .fc-header-title h2,
#root_college_calendar .fc-toolbar h2 {
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #111827 !important;
  margin: 0 !important;
}

#root_college_calendar .fc-button,
#root_college_calendar .fc-state-default {
  background: #f3f4f6 !important;
  border: 1px solid #e5e7eb !important;
  color: #111827 !important;
  text-shadow: none !important;
  box-shadow: none !important;
  border-radius: 8px !important;
  height: auto !important;
  padding: 6px 10px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}

#root_college_calendar .fc-state-active,
#root_college_calendar .fc-state-down {
  background: #16a34a !important;
  border-color: #16a34a !important;
  color: #ffffff !important;
}

#root_college_calendar .fc-button:hover {
  background: #e5e7eb !important;
}

#root_college_calendar .fc-state-active:hover {
  background: #15803d !important;
}

#root_college_calendar .fc-day-header,
#root_college_calendar .fc th {
  background: #ecfdf5;
  color: #064e3b;
  font-weight: 700;
  font-size: 12px;
  padding: 8px 4px !important;
  border-color: #d1fae5 !important;
}

#root_college_calendar .fc-day-number {
  font-weight: 600;
  color: #374151;
  padding: 6px !important;
}

#root_college_calendar .fc-event {
  border: none !important;
  background: #16a34a !important;
  border-radius: 4px !important;
  font-size: 12px !important;
  padding: 1px 4px !important;
}

#root_college_calendar .fc-today {
  background: #f0fdf4 !important;
}

#root_college_calendar .collegeCalendarHDCls {
  visibility: hidden;
}

#root_college_calendar .wcal-empty {
  text-align: center;
  padding: 40px 16px;
  color: #b91c1c;
  background: #fef2f2;
  border: 1px dashed #fecaca;
  border-radius: 12px;
}

#root_college_calendar .wcal-empty .fa {
  font-size: 28px;
  margin-bottom: 8px;
  display: block;
}

@media (max-width: 768px) {
  #root_college_calendar .wcal-card {
    padding: 16px;
  }

  #root_college_calendar .wcal-title {
    font-size: 22px;
  }

  #root_college_calendar .wcal-header {
    flex-direction: column;
    align-items: stretch;
  }

  #root_college_calendar .wcal-actions {
    justify-content: flex-start;
  }

  #root_college_calendar .fc-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  #root_college_calendar .fc-header-title h2,
  #root_college_calendar .fc-toolbar h2 {
    font-size: 16px !important;
    text-align: center;
  }

  #root_college_calendar .fc-button {
    padding: 5px 8px !important;
    font-size: 12px !important;
  }
}

/* Phase 3 UI polish (append-only) */
#root_college_calendar .wcal-page {
  padding-bottom: 40px;
}

#root_college_calendar .wcal-calendar-wrap {
  border: 1px solid #f3f4f6;
  border-radius: 12px;
  padding: 12px;
  background: #fafafa;
}

#root_college_calendar .fc-view-container,
#root_college_calendar .fc-content {
  background: #ffffff;
  border-radius: 8px;
}

#root_college_calendar .fc-event {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

#root_college_calendar .fc-day-grid-event .fc-content {
  padding: 1px 3px;
}

#root_college_calendar .wcal-btn-download:active {
  transform: translateY(1px);
}

#root_college_calendar .fc-left,
#root_college_calendar .fc-right,
#root_college_calendar .fc-center {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

@media (max-width: 480px) {
  #root_college_calendar .wcal-calendar-wrap {
    padding: 8px;
  }

  #root_college_calendar .fc-day-number {
    font-size: 11px !important;
  }

  #root_college_calendar .fc-event {
    font-size: 10px !important;
  }
}


/* ------------------------ Public Notice Board list (nblw-*) ------------------------ */
#root_noticeboardlist_web {
  width: 100%;
  box-sizing: border-box;
}

#root_noticeboardlist_web .nblw-page {
  width: 100%;
  box-sizing: border-box;
}

#root_noticeboardlist_web .nblw-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
  padding: 24px;
  min-height: 360px;
  box-sizing: border-box;
  max-width: 100%;
}

#root_noticeboardlist_web .nblw-card.noticeBoardListWebCls {
  visibility: hidden;
  overflow: hidden;
}

#root_noticeboardlist_web .nblw-header {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
}

#root_noticeboardlist_web .nblw-header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

#root_noticeboardlist_web .nblw-title {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  color: #05053d;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  line-height: 1.3;
}

#root_noticeboardlist_web .nblw-title .fa {
  color: #16a34a;
  font-size: 22px;
}

#root_noticeboardlist_web .nblw-title-suffix {
  font-weight: 700;
}

#root_noticeboardlist_web .nblw-subtitle {
  margin: 8px 0 0;
  font-size: 14px;
  color: #6b7280;
}

#root_noticeboardlist_web .nblw-back {
  flex-shrink: 0;
}

#root_noticeboardlist_web .nblw-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 14px;
  border: none;
  border-radius: 8px;
  background: #0ea5e9;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

#root_noticeboardlist_web .nblw-back-btn:hover {
  background: #0284c7;
}

#root_noticeboardlist_web .nblw-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

#root_noticeboardlist_web .nblw-item {
  min-width: 0;
  height: 100%;
}

#root_noticeboardlist_web .nblw-item-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #f8fafc;
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

#root_noticeboardlist_web .nblw-item-inner:hover {
  border-color: #a7f3d0;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}

#root_noticeboardlist_web .nblw-item-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 18px 14px;
  height: 100%;
  box-sizing: border-box;
}

#root_noticeboardlist_web .nblw-item-title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
}

#root_noticeboardlist_web .nblw-item-link {
  color: inherit;
  text-decoration: none;
}

#root_noticeboardlist_web .nblw-item-link:hover {
  color: #15803d;
}

#root_noticeboardlist_web .nblw-item-meta {
  margin: 0;
  font-size: 14px;
  color: #4b5563;
  line-height: 1.55;
  flex: 1 1 auto;
}

#root_noticeboardlist_web .nblw-summary {
  display: block;
  margin-top: 6px;
  color: #374151;
  word-break: break-word;
}

#root_noticeboardlist_web .nblw-item-actions {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid #e5e7eb;
  text-align: right;
}

#root_noticeboardlist_web .nblw-view-link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 14px;
  border-radius: 8px;
  background: #16a34a;
  color: #fff !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

#root_noticeboardlist_web .nblw-view-link:hover {
  background: #15803d;
}

#root_noticeboardlist_web .nblw-empty {
  margin: 24px auto;
  max-width: 420px;
  text-align: center;
  padding: 28px 18px;
  border: 1px dashed #d1d5db;
  border-radius: 12px;
  background: #f9fafb;
  color: #6b7280;
}

#root_noticeboardlist_web .nblw-empty--hidden,
#root_noticeboardlist_web .nblw-empty[hidden] {
  display: none !important;
}

#root_noticeboardlist_web .nblw-empty-icon {
  font-size: 28px;
  color: #9ca3af;
  margin-bottom: 8px;
}

#root_noticeboardlist_web .nblw-empty h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: #374151;
}

#root_noticeboardlist_web .nblw-empty p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}

@media (max-width: 767px) {
  #root_noticeboardlist_web .nblw-card {
    padding: 16px;
  }

  #root_noticeboardlist_web .nblw-title {
    font-size: 20px;
  }

  #root_noticeboardlist_web .nblw-grid {
    grid-template-columns: 1fr;
  }

  #root_noticeboardlist_web .nblw-header-row {
    flex-direction: column;
    align-items: flex-start;
  }

  #root_noticeboardlist_web .nblw-back,
  #root_noticeboardlist_web .nblw-back-btn {
    width: 100%;
    justify-content: center;
  }
}

/* nblw polish ? header grouping + theme-aligned actions (appended only) */
#root_noticeboardlist_web .nblw-header-main {
  min-width: 0;
  flex: 1 1 auto;
}

#root_noticeboardlist_web .nblw-back-btn {
  background: #05053d;
}

#root_noticeboardlist_web .nblw-back-btn:hover {
  background: #0b0b5c;
}

#root_noticeboardlist_web .nblw-back-btn:focus-visible,
#root_noticeboardlist_web .nblw-view-link:focus-visible {
  outline: 2px solid #16a34a;
  outline-offset: 2px;
}

#root_noticeboardlist_web .nblw-item-inner {
  background: #ffffff;
}

@media (min-width: 1024px) {
  #root_noticeboardlist_web .nblw-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}

/* ------------------------ College Departments Web (cdweb-*) ------------------------ */
#root_college_departments_web .cdweb-page {
  width: 100%;
  box-sizing: border-box;
  padding-bottom: 48px;
}

#root_college_departments_web .cdweb-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
  padding: 24px;
  min-height: 360px;
  box-sizing: border-box;
  max-width: 100%;
}

#root_college_departments_web .cdweb-header {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
  text-align: center;
}

#root_college_departments_web .cdweb-title {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  color: #05053d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  line-height: 1.3;
}

#root_college_departments_web .cdweb-title .fa {
  color: #16a34a;
  font-size: 24px;
}

#root_college_departments_web .cdweb-subtitle {
  margin: 8px 0 0;
  font-size: 14px;
  color: #6b7280;
}

#root_college_departments_web .cdweb-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
}

#root_college_departments_web .cdweb-table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-size: 14px;
}

#root_college_departments_web .cdweb-table thead {
  background: #ecfdf5;
}

#root_college_departments_web .cdweb-table thead th,
#root_college_departments_web .tableDepartmentHead th {
  color: #064e3b;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid #a7f3d0;
  background: #ecfdf5;
}

#root_college_departments_web .cdweb-table thead th.aCenter,
#root_college_departments_web .cdweb-col-sno {
  text-align: center;
}

#root_college_departments_web .cdweb-table tbody td {
  padding: 14px;
  color: #111827;
  border-bottom: 1px solid #f3f4f6;
  vertical-align: middle;
  line-height: 1.45;
}

#root_college_departments_web .cdweb-table tbody tr:last-child td {
  border-bottom: none;
}

#root_college_departments_web .cdweb-table tbody tr:nth-child(even) td {
  background: #f9fafb;
}

#root_college_departments_web .cdweb-table tbody tr:hover td {
  background: #f0fdf4;
}

#root_college_departments_web .cdweb-col-sno {
  width: 72px;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: #4b5563;
}

#root_college_departments_web .cdweb-col-name {
  word-break: break-word;
}

#root_college_departments_web .cdweb-col-action,
#root_college_departments_web #collegeDeptWebTblTHId {
  width: 120px;
  text-align: center;
}

#root_college_departments_web .collegeDeptWebDeptNameCls,
#root_college_departments_web .cdweb-dept-link {
  font-size: 16px;
  font-weight: 700;
  color: #05053d;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.15s ease;
}

#root_college_departments_web .collegeDeptWebDeptNameCls:hover,
#root_college_departments_web .cdweb-dept-link:hover,
#root_college_departments_web .collegeDeptWebDeptNameCls:focus,
#root_college_departments_web .cdweb-dept-link:focus {
  color: #16a34a;
  outline: none;
}

#root_college_departments_web .cdweb-btn-view {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 14px;
  border: none;
  border-radius: 10px;
  background: #16a34a;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, transform 0.15s ease;
}

#root_college_departments_web .cdweb-btn-view:hover {
  background: #15803d;
  transform: translateY(-1px);
}

#root_college_departments_web .cdweb-btn-view:focus {
  outline: 2px solid #86efac;
  outline-offset: 2px;
}

#root_college_departments_web .cdweb-empty {
  margin-top: 12px;
  text-align: center;
  padding: 36px 16px;
  color: #b91c1c;
  background: #fef2f2;
  border: 1px dashed #fecaca;
  border-radius: 12px;
}

#root_college_departments_web .cdweb-empty--hidden {
  display: none !important;
}

#root_college_departments_web .cdweb-empty-icon {
  font-size: 28px;
  color: #f87171;
  margin-bottom: 8px;
}

#root_college_departments_web .cdweb-empty h3,
#root_college_departments_web .cdweb-empty .noRecordId {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 700;
  color: #b91c1c;
}

#root_college_departments_web .cdweb-empty p {
  margin: 0;
  font-size: 14px;
  color: #6b7280;
  font-weight: 500;
}

/* Legacy FOUC class (removed after render) */
#root_college_departments_web .collegeDeptWebHDCls {
  visibility: hidden;
}

@media (max-width: 640px) {
  #root_college_departments_web .cdweb-card {
    padding: 16px;
    border-radius: 14px;
  }

  #root_college_departments_web .cdweb-title {
    font-size: 22px;
  }

  #root_college_departments_web .cdweb-table {
    min-width: 360px;
    font-size: 13px;
  }

  #root_college_departments_web .cdweb-table thead th,
  #root_college_departments_web .cdweb-table tbody td {
    padding: 10px 12px;
  }

  #root_college_departments_web .cdweb-btn-view {
    width: 100%;
  }

  #root_college_departments_web .cdweb-col-action,
  #root_college_departments_web #collegeDeptWebTblTHId {
    width: 100px;
  }
}

/* ===== News & Awards list (public web) naw-* ===== */
#root_newsandawardslist_web {
  color: #111827;
  width: 100%;
  box-sizing: border-box;
}

#root_newsandawardslist_web .naw-page {
  width: 100%;
  box-sizing: border-box;
}

#root_newsandawardslist_web .naw-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
  padding: 24px;
  min-height: 420px;
  box-sizing: border-box;
}

#root_newsandawardslist_web .naw-header {
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e5e7eb;
  text-align: center;
}

#root_newsandawardslist_web .naw-title {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  color: #05053d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  line-height: 1.3;
}

#root_newsandawardslist_web .naw-title .fa {
  color: #ca8a04;
  font-size: 24px;
}

#root_newsandawardslist_web .naw-dept-name:empty {
  display: none;
}

#root_newsandawardslist_web .naw-dept-name:not(:empty)::after {
  content: '';
  margin-right: 2px;
}

#root_newsandawardslist_web .naw-subtitle {
  margin: 8px 0 0;
  font-size: 14px;
  color: #6b7280;
}

#root_newsandawardslist_web .naw-toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 12px;
  min-height: 0;
}

#root_newsandawardslist_web .naw-back-btn,
#root_newsandawardslist_web .btn-info {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 8px;
  border: none;
  background: #0284c7;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

#root_newsandawardslist_web .naw-back-btn:hover,
#root_newsandawardslist_web .btn-info:hover {
  background: #0369a1;
}

#root_newsandawardslist_web .naw-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px) {
  #root_newsandawardslist_web .naw-list {
    grid-template-columns: 1fr 1fr;
  }
}

#root_newsandawardslist_web .naw-item {
  min-width: 0;
}

#root_newsandawardslist_web .naw-item-inner,
#root_newsandawardslist_web .item {
  height: 100%;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px 18px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

#root_newsandawardslist_web .naw-item-inner:hover,
#root_newsandawardslist_web .item:hover {
  border-color: #c7d2fe;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

#root_newsandawardslist_web .naw-info,
#root_newsandawardslist_web .info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

#root_newsandawardslist_web .naw-item-title {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
}

#root_newsandawardslist_web .naw-item-link,
#root_newsandawardslist_web .naw-item-title a {
  color: inherit;
  text-decoration: none;
}

#root_newsandawardslist_web .naw-item-link:hover {
  color: #1d4ed8;
}

#root_newsandawardslist_web .moreInfoClasswe {
  word-break: break-word;
}

#root_newsandawardslist_web .naw-item-meta,
#root_newsandawardslist_web .naw-info > p {
  margin: 0 0 12px;
  font-size: 14px;
  color: #374151;
  line-height: 1.5;
  flex: 1;
}

#root_newsandawardslist_web .naw-summary {
  margin-top: 6px;
  color: #4b5563;
}

#root_newsandawardslist_web .naw-item-actions,
#root_newsandawardslist_web .bottom-info {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid #e5e7eb;
  text-align: center;
}

#root_newsandawardslist_web .naw-view-link,
#root_newsandawardslist_web .bottom-info a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 6px 16px;
  border-radius: 8px;
  background: #16a34a;
  color: #ffffff !important;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}

#root_newsandawardslist_web .naw-view-link:hover,
#root_newsandawardslist_web .bottom-info a:hover {
  background: #15803d;
}

#root_newsandawardslist_web .naw-empty,
#root_newsandawardslist_web .noRec {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 16px;
  color: #6b7280;
}

#root_newsandawardslist_web .naw-empty[hidden],
#root_newsandawardslist_web .noRec[hidden] {
  display: none !important;
}

#root_newsandawardslist_web .naw-empty-icon {
  font-size: 36px;
  color: #94a3b8;
  margin-bottom: 10px;
}

#root_newsandawardslist_web .naw-empty h3,
#root_newsandawardslist_web .noRecordId {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 700;
  color: #374151;
}

#root_newsandawardslist_web .naw-empty p {
  margin: 0;
  font-size: 14px;
}

@media (max-width: 640px) {
  #root_newsandawardslist_web .naw-card {
    padding: 16px;
  }

  #root_newsandawardslist_web .naw-title {
    font-size: 22px;
  }

  #root_newsandawardslist_web .naw-toolbar {
    justify-content: stretch;
  }

  #root_newsandawardslist_web .naw-back-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ------------------------ Department-wise Student Count (dwsc-*) ------------------------ */
#root_dept_wise_student_count .dwsc-page {
  width: 100%;
  box-sizing: border-box;
}

#root_dept_wise_student_count .dwsc-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
  padding: 24px;
  min-height: 420px;
  box-sizing: border-box;
  max-width: 100%;
  width: 100%;
}

#root_dept_wise_student_count .dwsc-header {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
  text-align: center;
}

#root_dept_wise_student_count .dwsc-title {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  color: #05053d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  line-height: 1.3;
}

#root_dept_wise_student_count .dwsc-title .fa {
  color: #16a34a;
  font-size: 22px;
}

#root_dept_wise_student_count .dwsc-subtitle {
  margin: 8px 0 0;
  font-size: 14px;
  color: #6b7280;
}

#root_dept_wise_student_count .dwsc-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
}

#root_dept_wise_student_count .dwsc-table {
  width: 100%;
  min-width: 320px;
  border-collapse: collapse;
  font-size: 14px;
}

#root_dept_wise_student_count .dwsc-table thead {
  background: #ecfdf5;
}

#root_dept_wise_student_count .dwsc-table thead th {
  color: #064e3b;
  font-weight: 700;
  font-size: 13px;
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid #a7f3d0;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

#root_dept_wise_student_count .dwsc-table thead th.text_right_cls,
#root_dept_wise_student_count .dwsc-table .text_right_cls {
  text-align: right;
}

#root_dept_wise_student_count .dwsc-table tbody td {
  padding: 12px 14px;
  color: #111827;
  border-bottom: 1px solid #f3f4f6;
  vertical-align: middle;
  line-height: 1.4;
}

#root_dept_wise_student_count .dwsc-table tbody tr:last-child td {
  border-bottom: none;
}

#root_dept_wise_student_count .dwsc-table tbody tr:hover td {
  background: #f8fafc;
}

#root_dept_wise_student_count .deptmntNameCls {
  font-weight: 700;
  background-color: #ecfdf5 !important;
  font-size: 15px;
  color: #065f46;
}

#root_dept_wise_student_count .studCountCls {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

#root_dept_wise_student_count .totalAmtCls {
  font-weight: 700;
  font-size: 16px;
  font-variant-numeric: tabular-nums;
}

#root_dept_wise_student_count .dwsc-total-row td {
  background: #f0fdf4 !important;
  border-top: 2px solid #86efac;
}

#root_dept_wise_student_count .dwsc-empty {
  margin-top: 8px;
  text-align: center;
  padding: 36px 16px;
  color: #b91c1c;
  background: #fef2f2;
  border: 1px dashed #fecaca;
  border-radius: 12px;
}

#root_dept_wise_student_count .dwsc-empty[hidden],
#root_dept_wise_student_count .dwsc-table-panel[hidden] {
  display: none !important;
}

#root_dept_wise_student_count .dwsc-empty-icon {
  font-size: 28px;
  color: #f87171;
  margin-bottom: 8px;
}

#root_dept_wise_student_count .dwsc-empty h3 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 700;
  color: #b91c1c;
}

#root_dept_wise_student_count .dwsc-empty p {
  margin: 0;
  font-size: 14px;
  color: #6b7280;
  font-weight: 500;
}

@media (max-width: 640px) {
  #root_dept_wise_student_count .dwsc-card {
    padding: 16px;
  }

  #root_dept_wise_student_count .dwsc-title {
    font-size: 22px;
  }

  #root_dept_wise_student_count .deptmntNameCls {
    font-size: 14px;
  }

  #root_dept_wise_student_count .dwsc-table thead th,
  #root_dept_wise_student_count .dwsc-table tbody td {
    padding: 10px 12px;
  }
}

/* Phase 3 UI polish (append-only) */
#root_dept_wise_student_count .dwsc-page {
  padding-bottom: 40px;
}

#root_dept_wise_student_count .dwsc-table tbody tr:nth-child(even) td:not(.deptmntNameCls) {
  background: #f9fafb;
}

#root_dept_wise_student_count .dwsc-table tbody tr:hover td:not(.deptmntNameCls) {
  background: #f0fdf4;
}

#root_dept_wise_student_count .dwsc-total-row .deptmntNameCls {
  background: #dcfce7 !important;
  color: #14532d;
}

#root_dept_wise_student_count .dwsc-table thead th:first-child {
  border-top-left-radius: 11px;
}

#root_dept_wise_student_count .dwsc-table thead th:last-child {
  border-top-right-radius: 11px;
}

/* ===== News & Awards list polish (naw-*) ? append only ===== */
#root_newsandawardslist_web .naw-header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

#root_newsandawardslist_web .naw-header-main {
  min-width: 0;
  flex: 1 1 auto;
  text-align: left;
}

#root_newsandawardslist_web .naw-header {
  text-align: left;
}

#root_newsandawardslist_web .naw-title {
  justify-content: flex-start;
  font-size: 26px;
}

#root_newsandawardslist_web .naw-title .fa {
  color: #ca8a04;
}

#root_newsandawardslist_web .naw-heading-label {
  font-weight: 700;
}

#root_newsandawardslist_web .naw-back {
  flex-shrink: 0;
}

#root_newsandawardslist_web .naw-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 14px;
  border: none;
  border-radius: 8px;
  background: #05053d;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

#root_newsandawardslist_web .naw-back-btn:hover {
  background: #0b0b5c;
}

#root_newsandawardslist_web .naw-back-btn:focus-visible,
#root_newsandawardslist_web .naw-view-link:focus-visible,
#root_newsandawardslist_web .naw-item-link:focus-visible {
  outline: 2px solid #ca8a04;
  outline-offset: 2px;
}

#root_newsandawardslist_web .naw-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

#root_newsandawardslist_web .naw-item {
  height: 100%;
}

#root_newsandawardslist_web .naw-item-inner,
#root_newsandawardslist_web .item {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
}

#root_newsandawardslist_web .naw-info,
#root_newsandawardslist_web .info {
  gap: 10px;
  padding: 16px 18px 14px;
  height: 100%;
  box-sizing: border-box;
}

#root_newsandawardslist_web .naw-item-title {
  font-size: 17px;
}

#root_newsandawardslist_web .naw-item-link:hover {
  color: #a16207;
}

#root_newsandawardslist_web .naw-summary {
  display: block;
  margin-top: 6px;
  color: #374151;
  word-break: break-word;
}

#root_newsandawardslist_web .naw-item-actions,
#root_newsandawardslist_web .bottom-info {
  text-align: right;
  border-top: 1px solid #e5e7eb;
  padding-top: 10px;
}

#root_newsandawardslist_web .naw-view-link,
#root_newsandawardslist_web .bottom-info a {
  min-height: 36px;
  padding: 6px 14px;
  border-radius: 8px;
  background: #16a34a;
  font-size: 13px;
}

#root_newsandawardslist_web .naw-view-link:hover,
#root_newsandawardslist_web .bottom-info a:hover {
  background: #15803d;
}

#root_newsandawardslist_web .naw-empty {
  margin: 24px auto;
  max-width: 420px;
  text-align: center;
  padding: 28px 18px;
  border: 1px dashed #d1d5db;
  border-radius: 12px;
  background: #f9fafb;
  color: #6b7280;
}

#root_newsandawardslist_web .naw-empty--hidden,
#root_newsandawardslist_web .naw-empty[hidden] {
  display: none !important;
}

#root_newsandawardslist_web .naw-toolbar {
  display: none;
}

@media (max-width: 767px) {
  #root_newsandawardslist_web .naw-list {
    grid-template-columns: 1fr;
  }

  #root_newsandawardslist_web .naw-header-row {
    flex-direction: column;
    align-items: flex-start;
  }

  #root_newsandawardslist_web .naw-back,
  #root_newsandawardslist_web .naw-back-btn {
    width: 100%;
    justify-content: center;
  }

  #root_newsandawardslist_web .naw-title {
    font-size: 20px;
  }
}

@media (min-width: 1024px) {
  #root_newsandawardslist_web .naw-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Phase 3 UI polish ? college departments web (cdweb-*) */
#root_college_departments_web .cdweb-page {
  min-height: 52vh;
}

#root_college_departments_web .cdweb-header {
  margin-bottom: 22px;
}

#root_college_departments_web .cdweb-table tbody td {
  padding: 15px 16px;
}

#root_college_departments_web .cdweb-dept-link {
  display: inline-block;
  max-width: 100%;
  line-height: 1.35;
}

#root_college_departments_web .cdweb-btn-view .fa {
  font-size: 13px;
}

#root_college_departments_web .cdweb-empty p {
  margin-top: 4px;
}

@media (max-width: 640px) {
  #root_college_departments_web .cdweb-col-action {
    min-width: 108px;
  }

  #root_college_departments_web .cdweb-btn-view {
    width: auto;
    min-width: 88px;
    padding: 8px 12px;
  }

  #root_college_departments_web .cdweb-subtitle {
    font-size: 13px;
    padding: 0 4px;
  }
}

/* ------------------------ Public Rules and Regulations (wrar-*) ------------------------ */
#root_web_rules_and_regulation {
  width: 100%;
  box-sizing: border-box;
}

#root_web_rules_and_regulation .wrar-page {
  width: 100%;
  box-sizing: border-box;
}

#root_web_rules_and_regulation .wrar-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
  padding: 24px;
  min-height: 360px;
  box-sizing: border-box;
  max-width: 100%;
}

#root_web_rules_and_regulation .wrar-card.webRulesAndRegulationHDCls {
  visibility: hidden;
  overflow: hidden;
}

#root_web_rules_and_regulation .wrar-header {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
}

#root_web_rules_and_regulation .wrar-title {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  color: #05053d;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  line-height: 1.3;
}

#root_web_rules_and_regulation .wrar-title .fa {
  color: #16a34a;
  font-size: 22px;
}

#root_web_rules_and_regulation .wrar-subtitle {
  margin: 8px 0 0;
  font-size: 14px;
  color: #6b7280;
}

#root_web_rules_and_regulation .wrar-sections {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

#root_web_rules_and_regulation .wrar-section {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #ffffff;
  padding: 16px 18px 12px;
}

#root_web_rules_and_regulation .wrar-section-title,
#root_web_rules_and_regulation .rulesAndReguHeadName {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
  color: #05053d;
  line-height: 1.35;
  padding-bottom: 10px;
  border-bottom: 1px solid #f1f5f9;
}

#root_web_rules_and_regulation .wrar-rule-list,
#root_web_rules_and_regulation .rulesAndReguSub {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
}

#root_web_rules_and_regulation .wrar-rule-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 12px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
}

#root_web_rules_and_regulation .wrar-rule-no,
#root_web_rules_and_regulation .subNo {
  flex: 0 0 28px;
  max-width: 28px;
  font-weight: 700;
  color: #16a34a;
  font-size: 14px;
  line-height: 1.5;
  padding-top: 1px;
}

#root_web_rules_and_regulation .wrar-rule-desc,
#root_web_rules_and_regulation .subDesc {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 14px;
  color: #374151;
  line-height: 1.55;
  word-break: break-word;
  padding: 0;
}

#root_web_rules_and_regulation .wrar-no-sub,
#root_web_rules_and_regulation .noSubRulesFnd {
  color: #b91c1c;
  font-size: 13px;
  padding: 8px 4px;
}

#root_web_rules_and_regulation .wrar-empty {
  margin: 24px auto;
  max-width: 420px;
  text-align: center;
  padding: 28px 18px;
  border: 1px dashed #d1d5db;
  border-radius: 12px;
  background: #f9fafb;
  color: #6b7280;
}

#root_web_rules_and_regulation .wrar-empty--hidden,
#root_web_rules_and_regulation .wrar-empty[hidden] {
  display: none !important;
}

#root_web_rules_and_regulation .wrar-empty-icon {
  font-size: 28px;
  color: #9ca3af;
  margin-bottom: 8px;
}

#root_web_rules_and_regulation .wrar-empty h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: #374151;
}

#root_web_rules_and_regulation .wrar-empty p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}

@media (max-width: 767px) {
  #root_web_rules_and_regulation .wrar-card {
    padding: 16px;
  }

  #root_web_rules_and_regulation .wrar-title {
    font-size: 20px;
  }

  #root_web_rules_and_regulation .wrar-section {
    padding: 14px;
  }

  #root_web_rules_and_regulation .wrar-section-title,
  #root_web_rules_and_regulation .rulesAndReguHeadName {
    font-size: 16px;
  }
}

/* ===== News & Awards detail (public web) nawv-* ===== */
#root_newsAndAwardsview_web {
  color: #111827;
  width: 100%;
  box-sizing: border-box;
}

#root_newsAndAwardsview_web .nawv-page {
  width: 100%;
  box-sizing: border-box;
}

#root_newsAndAwardsview_web .nawv-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
  padding: 24px;
  min-height: 360px;
  box-sizing: border-box;
}

#root_newsAndAwardsview_web .nawv-header {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
}

#root_newsAndAwardsview_web .nawv-header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

#root_newsAndAwardsview_web .nawv-header-main {
  min-width: 0;
  flex: 1 1 auto;
}

#root_newsAndAwardsview_web .nawv-title {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  color: #05053d;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  line-height: 1.3;
}

#root_newsAndAwardsview_web .nawv-title .fa {
  color: #ca8a04;
  font-size: 22px;
}

#root_newsAndAwardsview_web .nawv-subtitle {
  margin: 8px 0 0;
  font-size: 14px;
  color: #6b7280;
}

#root_newsAndAwardsview_web .nawv-back-wrap {
  flex-shrink: 0;
}

#root_newsAndAwardsview_web .nawv-back-btn,
#root_newsAndAwardsview_web #back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 14px;
  border: none;
  border-radius: 8px;
  background: #05053d;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

#root_newsAndAwardsview_web .nawv-back-btn:hover,
#root_newsAndAwardsview_web #back:hover {
  background: #0b0b5c;
}

#root_newsAndAwardsview_web .nawv-back-btn:focus-visible,
#root_newsAndAwardsview_web #back:focus-visible {
  outline: 2px solid #ca8a04;
  outline-offset: 2px;
}

#root_newsAndAwardsview_web .nawv-detail-host {
  width: 100%;
}

#root_newsAndAwardsview_web .nawv-detail-inner,
#root_newsAndAwardsview_web .item {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #ffffff;
  padding: 20px 22px;
  box-sizing: border-box;
}

#root_newsAndAwardsview_web .nawv-info,
#root_newsAndAwardsview_web .info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

#root_newsAndAwardsview_web .nawv-detail-title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
}

#root_newsAndAwardsview_web .nawv-detail-link,
#root_newsAndAwardsview_web .nawv-detail-title a {
  color: inherit;
  text-decoration: none;
  pointer-events: none;
}

#root_newsAndAwardsview_web .nawv-meta {
  margin: 0;
  font-size: 14px;
  color: #4b5563;
}

#root_newsAndAwardsview_web .nawv-date,
#root_newsAndAwardsview_web .pull-right {
  float: none;
  display: inline-block;
  color: #374151;
}

#root_newsAndAwardsview_web .nawv-summary,
#root_newsAndAwardsview_web .aCenter {
  margin: 0;
  text-align: left;
  font-size: 15px;
  line-height: 1.65;
  color: #1f2937;
  word-break: break-word;
}

#root_newsAndAwardsview_web .nawv-purpose {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid #e5e7eb;
}

#root_newsAndAwardsview_web .nawv-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 6px;
}

#root_newsAndAwardsview_web .nawv-purpose-text {
  font-size: 14px;
  line-height: 1.6;
  color: #374151;
  word-break: break-word;
}

#root_newsAndAwardsview_web .nawv-detail-actions {
  min-height: 0;
}

#root_newsAndAwardsview_web .nawv-empty,
#root_newsAndAwardsview_web .noRec {
  margin: 24px auto;
  max-width: 420px;
  text-align: center;
  padding: 28px 18px;
  border: 1px dashed #d1d5db;
  border-radius: 12px;
  background: #f9fafb;
  color: #6b7280;
}

#root_newsAndAwardsview_web .nawv-empty--hidden,
#root_newsAndAwardsview_web .nawv-empty[hidden],
#root_newsAndAwardsview_web .noRec[hidden] {
  display: none !important;
}

#root_newsAndAwardsview_web .nawv-empty-icon {
  font-size: 28px;
  color: #9ca3af;
  margin-bottom: 8px;
}

#root_newsAndAwardsview_web .nawv-empty h3,
#root_newsAndAwardsview_web .noRecordId {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: #374151;
}

#root_newsAndAwardsview_web .nawv-empty p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}

@media (max-width: 640px) {
  #root_newsAndAwardsview_web .nawv-card {
    padding: 16px;
  }

  #root_newsAndAwardsview_web .nawv-title {
    font-size: 20px;
  }

  #root_newsAndAwardsview_web .nawv-header-row {
    flex-direction: column;
    align-items: flex-start;
  }

  #root_newsAndAwardsview_web .nawv-back-wrap,
  #root_newsAndAwardsview_web .nawv-back-btn,
  #root_newsAndAwardsview_web #back {
    width: 100%;
    justify-content: center;
  }

  #root_newsAndAwardsview_web .nawv-detail-title {
    font-size: 18px;
  }
}

/* wrar polish ? denser readable rules, section hover (appended only) */
#root_web_rules_and_regulation .wrar-section {
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#root_web_rules_and_regulation .wrar-section:hover {
  border-color: #bbf7d0;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

#root_web_rules_and_regulation .wrar-rule-row:nth-child(even) {
  background: #f1f5f9;
}

#root_web_rules_and_regulation .wrar-section-title,
#root_web_rules_and_regulation .rulesAndReguHeadName {
  letter-spacing: 0.01em;
}

#root_web_rules_and_regulation .wrar-rule-desc,
#root_web_rules_and_regulation .subDesc {
  font-size: 14.5px;
}

/* ===== News & Awards detail polish (nawv-*) ? append only ===== */
#root_newsAndAwardsview_web .nawv-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
}

#root_newsAndAwardsview_web .nawv-meta .nawv-label {
  margin-bottom: 0;
}

#root_newsAndAwardsview_web .nawv-date,
#root_newsAndAwardsview_web .pull-right {
  font-size: 14px;
  font-weight: 500;
  color: #374151;
}

#root_newsAndAwardsview_web .nawv-summary,
#root_newsAndAwardsview_web .aCenter {
  font-weight: 400;
  font-size: 15px;
  line-height: 1.7;
  color: #1f2937;
}

#root_newsAndAwardsview_web .nawv-detail-title {
  font-size: 20px;
  letter-spacing: -0.01em;
}

#root_newsAndAwardsview_web .nawv-detail-inner,
#root_newsAndAwardsview_web .item {
  background: #fafafa;
  border-color: #e5e7eb;
}

#root_newsAndAwardsview_web .nawv-purpose {
  margin-top: 8px;
  padding-top: 14px;
}

#root_newsAndAwardsview_web .nawv-card {
  max-width: 100%;
}

@media (min-width: 768px) {
  #root_newsAndAwardsview_web .nawv-detail-inner,
  #root_newsAndAwardsview_web .item {
    padding: 24px 28px;
  }
}

/* ------------------------ Student Election Result (wser-*) ------------------------ */
#root_web_student_election_result .wser-page {
  width: 100%;
  box-sizing: border-box;
  min-height: 500px;
}

#root_web_student_election_result .wser-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
  padding: 24px;
  box-sizing: border-box;
  max-width: 100%;
}

#root_web_student_election_result .wser-header {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
  text-align: center;
}

#root_web_student_election_result .wser-title {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  color: #05053d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  line-height: 1.3;
}

#root_web_student_election_result .wser-title .fa {
  color: #ca8a04;
  font-size: 22px;
}

#root_web_student_election_result .wser-subtitle {
  margin: 8px 0 0;
  font-size: 14px;
  color: #6b7280;
}

#root_web_student_election_result .wser-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 20px;
}

@media (min-width: 640px) {
  #root_web_student_election_result .wser-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  #root_web_student_election_result .wser-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

#root_web_student_election_result .wser-item {
  width: 100%;
  max-width: 100%;
  float: none;
  padding: 0;
  margin: 0;
}

#root_web_student_election_result .wser-card-item,
#root_web_student_election_result .item {
  height: 100%;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  display: flex;
  flex-direction: column;
}

#root_web_student_election_result .wser-card-item:hover,
#root_web_student_election_result .item:hover {
  border-color: #bbf7d0;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}

#root_web_student_election_result .wser-thumb,
#root_web_student_election_result .thumb {
  background: #f0fdf4;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#root_web_student_election_result .wser-thumb-link {
  display: block;
  width: 100%;
  height: 100%;
}

#root_web_student_election_result .wser-photo,
#root_web_student_election_result .galaryImgWidthAndHightCls {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#root_web_student_election_result .wser-info,
#root_web_student_election_result .info {
  padding: 14px 16px 16px;
  text-align: center;
  flex: 1;
}

#root_web_student_election_result .wser-info h4,
#root_web_student_election_result .info h4 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

#root_web_student_election_result .wser-info h4 a,
#root_web_student_election_result .info h4 a {
  color: #065f46;
  text-decoration: none;
  pointer-events: none;
}

#root_web_student_election_result .wser-post,
#root_web_student_election_result .albumNameClass {
  word-break: break-word;
}

#root_web_student_election_result .wser-info p,
#root_web_student_election_result .info p {
  margin: 0;
  font-size: 14px;
  color: #374151;
  line-height: 1.45;
}

#root_web_student_election_result .wser-name {
  font-weight: 600;
  color: #111827;
}

#root_web_student_election_result .wser-empty,
#root_web_student_election_result .norecFountCls {
  text-align: center;
  padding: 40px 16px;
  color: #b91c1c;
  background: #fef2f2;
  border: 1px dashed #fecaca;
  border-radius: 12px;
  margin-top: 8px;
}

#root_web_student_election_result .wser-empty[hidden],
#root_web_student_election_result #tablehide[hidden],
#root_web_student_election_result #election_table[hidden] {
  display: none !important;
}

#root_web_student_election_result .wser-empty-icon {
  font-size: 28px;
  color: #f87171;
  margin-bottom: 8px;
}

#root_web_student_election_result .wser-empty h3 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 700;
  color: #b91c1c;
}

#root_web_student_election_result .wser-empty p {
  margin: 0;
  font-size: 14px;
  color: #6b7280;
  font-weight: 500;
}

@media (max-width: 640px) {
  #root_web_student_election_result .wser-card {
    padding: 16px;
  }

  #root_web_student_election_result .wser-title {
    font-size: 22px;
  }
}

/* Phase 3 UI polish (append-only) */
#root_web_student_election_result .wser-page {
  padding-bottom: 40px;
}

#root_web_student_election_result .wser-thumb {
  background: linear-gradient(180deg, #ecfdf5 0%, #f8fafc 100%);
}

#root_web_student_election_result .wser-info h4 a {
  color: #047857;
}

#root_web_student_election_result .wser-post {
  font-size: 15px;
  font-weight: 700;
}

#root_web_student_election_result .wser-name {
  display: inline-block;
  margin-top: 2px;
  font-size: 14px;
}

#root_web_student_election_result .wser-card-item:focus-within {
  border-color: #86efac;
  box-shadow: 0 0 0 3px rgba(134, 239, 172, 0.35);
}


/* ------------------------ Administrators Web (awweb-*) ------------------------ */
#root_administrators_web {
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

#root_administrators_web .awweb-page {
  width: 100%;
  box-sizing: border-box;
  padding-bottom: 48px;
  min-height: 52vh;
}

#root_administrators_web .awweb-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
  padding: 24px;
  min-height: 420px;
  box-sizing: border-box;
  max-width: 100%;
}

#root_administrators_web .awweb-card.admHDCls {
  visibility: hidden;
}

#root_administrators_web .awweb-header {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
  text-align: center;
}

#root_administrators_web .awweb-title {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  color: #05053d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  line-height: 1.3;
}

#root_administrators_web .awweb-title .fa {
  color: #16a34a;
  font-size: 24px;
}

#root_administrators_web .awweb-subtitle {
  margin: 8px 0 0;
  font-size: 14px;
  color: #6b7280;
}

#root_administrators_web .awweb-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

#root_administrators_web .awweb-nav {
  min-width: 0;
}

#root_administrators_web .awweb-pills {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#root_administrators_web .awweb-pill {
  margin: 0;
}

#root_administrators_web .awweb-pill-link,
#root_administrators_web .menu_title {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #f8fafc;
  color: #111827;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.35;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

#root_administrators_web .awweb-pill-link:hover,
#root_administrators_web .menu_title:hover {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #065f46;
}

#root_administrators_web .awweb-pill.active .awweb-pill-link,
#root_administrators_web .brand-nav.active .awweb-pill-link,
#root_administrators_web .awweb-pill.active .menu_title {
  background: #16a34a;
  border-color: #16a34a;
  color: #ffffff;
}

#root_administrators_web .awweb-content {
  min-width: 0;
}

#root_administrators_web .awweb-pane-title,
#root_administrators_web .head_titles {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #f0fdf4;
  border: 1px solid #dcfce7;
  color: #05053d;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
}

#root_administrators_web .awweb-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
}

#root_administrators_web .awweb-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 14px;
}

#root_administrators_web .awweb-table thead {
  background: #ecfdf5;
}

#root_administrators_web .awweb-table thead th,
#root_administrators_web .tableHeadClass th {
  color: #064e3b;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid #a7f3d0;
  background: #ecfdf5;
}

#root_administrators_web .awweb-table thead th.aCenter,
#root_administrators_web .awweb-col-sno {
  text-align: center;
}

#root_administrators_web .awweb-table tbody td {
  padding: 14px 16px;
  color: #111827;
  border-bottom: 1px solid #f3f4f6;
  vertical-align: middle;
  line-height: 1.45;
}

#root_administrators_web .awweb-table tbody tr:last-child td {
  border-bottom: none;
}

#root_administrators_web .awweb-table tbody tr:nth-child(even) td {
  background: #f9fafb;
}

#root_administrators_web .awweb-table tbody tr:hover td {
  background: #f0fdf4;
}

#root_administrators_web .awweb-col-sno {
  width: 72px;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: #4b5563;
}

#root_administrators_web .awweb-col-year {
  width: 28%;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  color: #374151;
}

#root_administrators_web .awweb-staff {
  display: flex;
  align-items: center;
  gap: 14px;
}

#root_administrators_web .awweb-staff-photo,
#root_administrators_web .staff_img_cls {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  flex-shrink: 0;
}

#root_administrators_web .awweb-staff-name,
#root_administrators_web .aStfNameCls {
  font-size: 16px;
  font-weight: 700;
  color: #05053d;
  line-height: 1.35;
  margin-bottom: 8px;
}

#root_administrators_web .awweb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: none;
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, transform 0.15s ease;
}

#root_administrators_web .awweb-btn-info {
  background: #0284c7;
  color: #ffffff;
}

#root_administrators_web .awweb-btn-info:hover {
  background: #0369a1;
  transform: translateY(-1px);
}

#root_administrators_web .awweb-btn-danger {
  background: #dc2626;
  color: #ffffff;
}

#root_administrators_web .awweb-btn-danger:hover {
  background: #b91c1c;
}

#root_administrators_web .awweb-empty {
  margin-top: 12px;
  text-align: center;
  padding: 36px 16px;
  color: #b91c1c;
  background: #fef2f2;
  border: 1px dashed #fecaca;
  border-radius: 12px;
}

#root_administrators_web .awweb-empty--hidden,
#root_administrators_web .awweb-empty[hidden] {
  display: none !important;
}

#root_administrators_web .awweb-empty-icon {
  font-size: 28px;
  color: #f87171;
  margin-bottom: 8px;
}

#root_administrators_web .awweb-empty h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 700;
  color: #b91c1c;
}

#root_administrators_web .awweb-empty p {
  margin: 0;
  font-size: 14px;
  color: #6b7280;
  font-weight: 500;
}

#root_administrators_web .awweb-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(15, 23, 42, 0.45);
}

#root_administrators_web .awweb-modal-overlay.hidden {
  display: none !important;
}

#root_administrators_web .awweb-modal-overlay.flex {
  display: flex !important;
}

#root_administrators_web .awweb-modal {
  width: 100%;
  max-width: 720px;
  max-height: 90vh;
  overflow: auto;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}

#root_administrators_web .awweb-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid #e5e7eb;
}

#root_administrators_web .awweb-modal-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #05053d;
  line-height: 1.3;
}

#root_administrators_web .awweb-modal-close {
  border: none;
  background: transparent;
  color: #6b7280;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
}

#root_administrators_web .awweb-modal-close:hover {
  color: #111827;
}

#root_administrators_web .awweb-modal-body {
  padding: 18px;
}

#root_administrators_web .awweb-person {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  padding: 12px 14px;
  background: #f9fafb;
  border: 1px solid #eef2f7;
  border-radius: 12px;
}

#root_administrators_web .awweb-person-photo,
#root_administrators_web #staff_imageId {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  flex-shrink: 0;
}

#root_administrators_web .awweb-person-name {
  font-size: 18px;
  font-weight: 700;
  color: #05053d;
}

#root_administrators_web .awweb-person-date,
#root_administrators_web .awweb-person-role {
  margin-top: 4px;
  font-size: 13px;
  color: #6b7280;
}

#root_administrators_web .awweb-about,
#root_administrators_web #about_principal {
  font-size: 14px;
  line-height: 1.65;
  color: #1f2937;
  word-break: break-word;
  min-height: 48px;
  margin-bottom: 16px;
}

#root_administrators_web .awweb-modal-actions {
  display: flex;
  justify-content: flex-end;
}

body.awweb-modal-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  #root_administrators_web .awweb-layout {
    grid-template-columns: 1fr;
  }

  #root_administrators_web .awweb-pills {
    flex-direction: row;
    flex-wrap: wrap;
  }

  #root_administrators_web .awweb-pill {
    flex: 1 1 auto;
  }

  #root_administrators_web .awweb-pill-link {
    text-align: center;
  }
}

@media (max-width: 640px) {
  #root_administrators_web .awweb-card {
    padding: 16px;
    border-radius: 14px;
  }

  #root_administrators_web .awweb-title {
    font-size: 22px;
  }

  #root_administrators_web .awweb-table {
    min-width: 420px;
    font-size: 13px;
  }

  #root_administrators_web .awweb-staff {
    align-items: flex-start;
  }

  #root_administrators_web .awweb-col-year {
    white-space: normal;
  }

  #root_administrators_web .awweb-person {
    align-items: flex-start;
  }
}

/* ===== Department info (public web) dinfo-* ===== */
#root_department_info {
  width: 100%;
  box-sizing: border-box;
  color: #111827;
}

#root_department_info .dinfo-page {
  width: 100%;
  box-sizing: border-box;
}

#root_department_info .dinfo-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
  padding: 24px;
  min-height: 420px;
  box-sizing: border-box;
  max-width: 100%;
}

#root_department_info .dinfo-card.departmentInfoHDCls {
  visibility: hidden;
}

#root_department_info .dinfo-header {
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
}

#root_department_info .dinfo-title {
  margin: 0 0 16px;
  font-size: 28px;
  font-weight: 700;
  color: #05053d;
  line-height: 1.3;
}

#root_department_info .dinfo-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

#root_department_info .dinfo-students {
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  padding: 10px 14px;
  background: #f0fdf4;
  border: 1px solid #dcfce7;
  border-radius: 10px;
}

#root_department_info .dinfo-hod {
  text-align: center;
  min-width: 120px;
}

#root_department_info .dinfo-hod-photo,
#root_department_info #deptInchargePhoto,
#root_department_info .disImage {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #fff;
  display: block;
  margin: 0 auto 8px;
}

#root_department_info .dinfo-hod-name {
  font-size: 14px;
  color: #0f172a;
}

#root_department_info .dinfo-hod-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6b7280;
  margin-top: 2px;
}

#root_department_info .dinfo-section {
  margin-bottom: 28px;
}

#root_department_info .dinfo-section-title {
  margin: 0 0 14px;
  font-size: 20px;
  font-weight: 700;
  color: #05053d;
  padding-bottom: 8px;
  border-bottom: 1px solid #f3f4f6;
}

#root_department_info .dinfo-about {
  font-size: 14.5px;
  line-height: 1.7;
  color: #1f2937;
  word-break: break-word;
  margin-bottom: 12px;
}

#root_department_info .dinfo-about-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
}

#root_department_info .dinfo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 8px 14px;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease;
}

#root_department_info .dinfo-btn-primary {
  background: #05053d;
  color: #fff;
}

#root_department_info .dinfo-btn-primary:hover {
  background: #0b0b5c;
}

#root_department_info .dinfo-btn-success {
  background: #16a34a;
  color: #fff;
}

#root_department_info .dinfo-btn-success:hover {
  background: #15803d;
}

#root_department_info .dinfo-btn-info {
  background: #0284c7;
  color: #fff;
}

#root_department_info .dinfo-btn-info:hover {
  background: #0369a1;
}

#root_department_info .dinfo-btn:focus-visible {
  outline: 2px solid #ca8a04;
  outline-offset: 2px;
}

#root_department_info .dinfo-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
}

#root_department_info .dinfo-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 14px;
}

#root_department_info .dinfo-table thead {
  background: #ecfdf5;
}

#root_department_info .dinfo-table thead th,
#root_department_info .tableHeadClass th {
  color: #064e3b;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid #a7f3d0;
  background: #ecfdf5;
}

#root_department_info .dinfo-table thead th.aCenter {
  text-align: center;
}

#root_department_info .dinfo-table tbody td {
  padding: 14px 16px;
  color: #111827;
  border-bottom: 1px solid #f3f4f6;
  vertical-align: middle;
  line-height: 1.45;
}

#root_department_info .dinfo-table tbody tr:nth-child(even) td {
  background: #f9fafb;
}

#root_department_info .dinfo-table tbody tr:hover td {
  background: #f0fdf4;
}

#root_department_info .dinfo-col-sno {
  width: 72px;
  text-align: center;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: #4b5563;
}

#root_department_info .dinfo-col-action {
  width: 200px;
  text-align: center;
}

#root_department_info .dinfo-course-meta,
#root_department_info .deptYearAndTermCls {
  margin-top: 4px;
  font-size: 12px;
  color: #6b7280;
}

#root_department_info .dinfo-staff-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 14px;
}

@media (min-width: 640px) {
  #root_department_info .dinfo-staff-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  #root_department_info .dinfo-staff-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

#root_department_info .dinfo-staff-card,
#root_department_info .teacBorders {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fafafa;
  box-sizing: border-box;
  float: none;
  width: 100%;
  max-width: 100%;
  margin: 0;
}

#root_department_info .dinfo-staff-card:hover {
  border-color: #bbf7d0;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

#root_department_info .dinfo-staff-photo-wrap {
  flex-shrink: 0;
}

#root_department_info .dinfo-staff-photo,
#root_department_info .webTechStaffListImg {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #fff;
  display: block;
}

#root_department_info .dinfo-staff-body {
  min-width: 0;
  flex: 1;
}

#root_department_info .dinfo-staff-name,
#root_department_info .teacDots {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
  word-break: break-word;
}

#root_department_info .dinfo-staff-role {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 10px;
}

#root_department_info .dinfo-empty,
#root_department_info .noRecordFoundCLASS,
#root_department_info .noRecordFoundCLASSHead {
  text-align: center;
  padding: 24px 16px;
  color: #6b7280;
  background: #f9fafb;
  border: 1px dashed #d1d5db;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
}

#root_department_info .dinfo-empty[hidden],
#root_department_info .noRecordFoundCLASS[hidden],
#root_department_info .noRecordFoundCLASSHead[hidden] {
  display: none !important;
}

#root_department_info .dinfo-link-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

#root_department_info .dinfo-links-section .dinfo-section-title {
  margin-bottom: 16px;
}

@media (max-width: 640px) {
  #root_department_info .dinfo-card {
    padding: 16px;
  }

  #root_department_info .dinfo-title {
    font-size: 22px;
  }

  #root_department_info .dinfo-meta {
    flex-direction: column;
  }

  #root_department_info .dinfo-students {
    width: 100%;
    box-sizing: border-box;
  }

  #root_department_info .dinfo-link-actions .dinfo-btn {
    width: 100%;
  }

  #root_department_info .dinfo-col-action .dinfo-btn {
    width: 100%;
    white-space: normal;
  }
}

/* Phase 3 UI polish ? administrators web (awweb-*) */
#root_administrators_web .awweb-staff-meta {
  min-width: 0;
  flex: 1 1 auto;
}

#root_administrators_web .awweb-staff-name {
  word-break: break-word;
  overflow-wrap: anywhere;
}

#root_administrators_web .awweb-btn-info:focus-visible,
#root_administrators_web .awweb-pill-link:focus-visible,
#root_administrators_web .awweb-modal-close:focus-visible {
  outline: 2px solid #86efac;
  outline-offset: 2px;
}

#root_administrators_web .awweb-about {
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px solid #eef2f7;
  border-radius: 10px;
}

#root_administrators_web .awweb-pane-title {
  letter-spacing: 0.01em;
}

@media (max-width: 640px) {
  #root_administrators_web .awweb-header {
    text-align: left;
  }

  #root_administrators_web .awweb-title {
    justify-content: flex-start;
  }

  #root_administrators_web .awweb-staff {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  #root_administrators_web .awweb-staff-photo,
  #root_administrators_web .staff_img_cls {
    width: 56px;
    height: 56px;
  }

  #root_administrators_web .awweb-btn-info {
    width: 100%;
  }

  #root_administrators_web .awweb-table {
    min-width: 0;
    width: 100%;
  }

  #root_administrators_web .awweb-table thead {
    display: none;
  }

  #root_administrators_web .awweb-table,
  #root_administrators_web .awweb-table tbody,
  #root_administrators_web .awweb-table tr,
  #root_administrators_web .awweb-table td {
    display: block;
    width: 100%;
  }

  #root_administrators_web .awweb-table tbody tr {
    border-bottom: 1px solid #e5e7eb;
    padding: 12px 10px;
  }

  #root_administrators_web .awweb-table tbody tr:nth-child(even) td {
    background: transparent;
  }

  #root_administrators_web .awweb-table tbody td {
    border-bottom: none;
    padding: 4px 0;
  }

  #root_administrators_web .awweb-col-sno {
    width: auto;
    text-align: left;
    font-size: 12px;
    color: #6b7280;
  }

  #root_administrators_web .awweb-col-sno::before {
    content: 'S.No. ';
    font-weight: 700;
    color: #064e3b;
  }

  #root_administrators_web .awweb-col-year {
    width: auto;
    white-space: normal;
    font-size: 13px;
  }

  #root_administrators_web .awweb-col-year::before {
    content: 'Year: ';
    font-weight: 700;
    color: #064e3b;
  }

  #root_administrators_web .awweb-pills {
    gap: 6px;
  }

  #root_administrators_web .awweb-pill {
    flex: 1 1 calc(50% - 6px);
  }
}

/* ------------------------ Public Staff Profile (wspf-*) ------------------------ */
#root_web_staff_profile {
  width: 100%;
  box-sizing: border-box;
}

#root_web_staff_profile .wspf-page {
  width: 100%;
  box-sizing: border-box;
}

#root_web_staff_profile .wspf-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
  padding: 24px;
  min-height: 480px;
  box-sizing: border-box;
  max-width: 100%;
}

#root_web_staff_profile #webStaffProfileHDId {
  min-height: 480px;
}

#root_web_staff_profile .wspf-header {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
}

#root_web_staff_profile .wspf-title {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  color: #05053d;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  line-height: 1.3;
}

#root_web_staff_profile .wspf-title .fa {
  color: #16a34a;
  font-size: 22px;
}

#root_web_staff_profile .wspf-subtitle {
  margin: 8px 0 0;
  font-size: 14px;
  color: #6b7280;
}

#root_web_staff_profile .wspf-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-bottom: 22px;
  padding: 16px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #f8fafc;
}

#root_web_staff_profile .wspf-photo-wrap {
  flex: 0 0 auto;
}

#root_web_staff_profile .wspf-photo,
#root_web_staff_profile .photo {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #fff;
  display: block;
}

#root_web_staff_profile .wspf-identity {
  min-width: 0;
  flex: 1 1 220px;
}

#root_web_staff_profile #name,
#root_web_staff_profile .wspf-name {
  margin: 0;
  padding: 0;
  font-size: 22px;
  font-weight: 700;
  color: #05053d;
  line-height: 1.3;
  word-break: break-word;
}

#root_web_staff_profile #designation,
#root_web_staff_profile .wspf-designation {
  margin-top: 6px;
  padding: 0;
  font-size: 15px;
  color: #4b5563;
  line-height: 1.4;
}

#root_web_staff_profile .wspf-info-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 22px;
}

#root_web_staff_profile .wspf-row {
  display: grid;
  grid-template-columns: minmax(140px, 220px) 1fr;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid #f1f5f9;
  align-items: start;
}

#root_web_staff_profile .wspf-row:last-child {
  border-bottom: none;
}

#root_web_staff_profile .wspf-row:nth-child(even) {
  background: #f8fafc;
}

#root_web_staff_profile .wspf-label,
#root_web_staff_profile .bordalng {
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
  margin: 0;
  padding-top: 2px;
}

#root_web_staff_profile .wspf-value,
#root_web_staff_profile .bordalng1 {
  font-size: 14px;
  color: #1f2937;
  line-height: 1.5;
  word-break: break-word;
  min-width: 0;
}

#root_web_staff_profile .wspf-stack .wspf-qual-item,
#root_web_staff_profile .wspf-qual-item {
  margin-bottom: 6px;
}

#root_web_staff_profile .wspf-stack .wspf-qual-item:last-child {
  margin-bottom: 0;
}

#root_web_staff_profile .wspf-section {
  margin-top: 8px;
  margin-bottom: 18px;
  padding: 16px 18px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #ffffff;
}

#root_web_staff_profile .wspf-section-title {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
  color: #05053d;
  line-height: 1.3;
  padding-bottom: 10px;
  border-bottom: 1px solid #f1f5f9;
}

#root_web_staff_profile .wspf-add-master,
#root_web_staff_profile .head_title.wspf-add-master {
  margin: 14px 0 8px;
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
}

#root_web_staff_profile .wspf-add-master:first-child {
  margin-top: 0;
}

#root_web_staff_profile .wspf-add-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#root_web_staff_profile .wspf-add-item,
#root_web_staff_profile .additionInfoDescCls {
  padding: 10px 12px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  font-size: 14px;
  color: #374151;
  line-height: 1.5;
}

#root_web_staff_profile .wspf-docs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#root_web_staff_profile .wspf-doc-row {
  padding: 10px 12px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  font-size: 14px;
  color: #374151;
}

#root_web_staff_profile .wspf-doc-row label {
  font-weight: 600;
  color: #0f172a;
  margin: 0;
}

#root_web_staff_profile .wspf-doc-link {
  color: #15803d;
  font-weight: 600;
  text-decoration: none;
}

#root_web_staff_profile .wspf-doc-link:hover {
  text-decoration: underline;
  color: #166534;
}

#root_web_staff_profile .wspf-empty,
#root_web_staff_profile .noRecFoundClass {
  margin-top: 8px;
  padding: 14px;
  text-align: center;
  border: 1px dashed #d1d5db;
  border-radius: 10px;
  background: #f9fafb;
  color: #6b7280;
  font-size: 14px;
}

#root_web_staff_profile .wspf-empty--hidden,
#root_web_staff_profile .wspf-empty[hidden] {
  display: none !important;
}

@media (max-width: 767px) {
  #root_web_staff_profile .wspf-card {
    padding: 16px;
  }

  #root_web_staff_profile .wspf-title {
    font-size: 20px;
  }

  #root_web_staff_profile .wspf-hero {
    flex-direction: column;
    align-items: flex-start;
  }

  #root_web_staff_profile .wspf-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  #root_web_staff_profile .wspf-section {
    padding: 14px;
  }
}

/* ===== Department info polish (dinfo-*) ? append only ===== */
#root_department_info .dinfo-about {
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.75;
  color: #1f2937;
}

#root_department_info .dinfo-staff-card,
#root_department_info .teacBorders {
  background: #ffffff;
}

#root_department_info .dinfo-section-title {
  letter-spacing: 0.01em;
}

#root_department_info .dinfo-link-actions .dinfo-btn-info {
  background: #0369a1;
}

#root_department_info .dinfo-link-actions .dinfo-btn-info:hover {
  background: #075985;
}

#root_department_info .dinfo-students {
  line-height: 1.4;
}

#root_department_info .dinfo-table tbody td {
  padding: 15px 16px;
}

@media (min-width: 1280px) {
  #root_department_info .dinfo-staff-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* wspf polish ? empty values, photo, doc focus (appended only) */
#root_web_staff_profile .wspf-value:empty::before {
  content: "?";
  color: #9ca3af;
}

#root_web_staff_profile .wspf-photo,
#root_web_staff_profile .photo {
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

#root_web_staff_profile .wspf-doc-link:focus-visible {
  outline: 2px solid #16a34a;
  outline-offset: 2px;
  border-radius: 4px;
}

#root_web_staff_profile .wspf-hero {
  transition: border-color 0.2s ease;
}

#root_web_staff_profile .wspf-section:hover {
  border-color: #bbf7d0;
}

/* ------------------------ Public homepage header nav (phnav-*) ------------------------ */
.phnav-spacer {
  padding-top: 52px;
  box-sizing: border-box;
}

#menu_root .phnav-root {
  box-sizing: border-box;
}

#menu_root .phnav-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 16px;
  box-sizing: border-box;
  width: 100%;
}

#menu_root .phnav-logo-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}

#menu_root .phnav-logo,
#menu_root .menulogoimg.phnav-logo {
  display: block;
  height: 34px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  background: #ffffff;
  border-radius: 4px;
  padding: 2px;
}

#menu_root .phnav-menu {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 4px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

#menu_root .phnav-item {
  position: relative;
  flex-shrink: 0;
  margin: 0;
  list-style: none;
}

#menu_root .phnav-link,
#menu_root .phnav-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin: 0;
  padding: 8px 2px;
  border: none;
  background: transparent;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}

#menu_root .phnav-link:hover,
#menu_root .phnav-link-btn:hover {
  color: #67e8f9;
}

#menu_root .phnav-caret {
  display: inline-block;
  font-size: 10px;
  line-height: 1;
  opacity: 0.9;
}

#menu_root .phnav-icon-link {
  padding: 8px 6px;
  font-size: 14px;
}

#menu_root .phnav-dropdown {
  top: 100%;
  left: 0;
  z-index: 60;
  margin-top: 0;
  padding: 6px 0;
  min-width: 160px;
}

#menu_root .phnav-dropdown a {
  color: #1f2937;
  white-space: nowrap;
}

#menu_root .phnav-user {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 0 0 0 8px;
  list-style: none;
  flex-shrink: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

#menu_root .phnav-welcome,
#menu_root .phnav-logout-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  white-space: nowrap;
}

#menu_root .phnav-welcome-text {
  font-size: 13px;
  font-weight: 500;
  color: #e5e7eb;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
}

#menu_root .phnav-user-name {
  font-weight: 700;
  color: #ffffff;
}

#menu_root .phnav-logout {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

#menu_root .phnav-logout:hover {
  color: #67e8f9;
}

@media (max-width: 900px) {
  #menu_root .phnav-bar {
    padding: 0 10px;
    gap: 8px;
  }

  #menu_root .phnav-welcome-text {
    max-width: 110px;
  }

  #menu_root .phnav-user {
    gap: 10px;
  }

  #menu_root .phnav-link,
  #menu_root .phnav-link-btn {
    font-size: 12px;
  }
}

@media (max-width: 640px) {
  .phnav-spacer {
    padding-top: 56px;
  }

  #menu_root .phnav-welcome-text {
    max-width: 72px;
  }

  #menu_root .phnav-logo,
  #menu_root .menulogoimg.phnav-logo {
    height: 28px;
    max-width: 72px;
  }
}

/* phnav polish ? vertical centering and logo shell */
#menu_root .phnav-bar {
  align-items: center;
}

#menu_root .phnav-link,
#menu_root .phnav-link-btn,
#menu_root .phnav-logout,
#menu_root .phnav-welcome {
  min-height: 48px;
}

#menu_root .phnav-logo-link:empty,
#menu_root .phnav-logo[src=''],
#menu_root .phnav-logo:not([src]) {
  display: none;
}

#menu_root .phnav-logo[src*='none'] {
  opacity: 0.85;
}

/* phnav submenu open fix ? prevent overflow clipping + click/hover visibility */
#menu_root .phnav-root,
#menu_root .phnav-bar {
  overflow: visible;
}

#menu_root .phnav-menu {
  overflow-x: auto;
  overflow-y: visible;
}

#menu_root .phnav-dropdown,
#menu_root .dropdown-menu.phnav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  margin: 0;
  padding: 6px 0;
  min-width: 160px;
  background: #ffffff;
  color: #1f2937;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
}

#menu_root .phnav-item:hover > .phnav-dropdown,
#menu_root .phnav-item.phnav-open > .phnav-dropdown,
#menu_root .dropdown:hover > .phnav-dropdown,
#menu_root .dropdown.phnav-open > .phnav-dropdown {
  display: block !important;
  visibility: visible !important;
}

/* Ensure dropdowns are not clipped (CSS overflow-x:auto forces overflow-y to auto) */
#menu_root .phnav-menu {
  overflow: visible;
  flex-wrap: wrap;
  row-gap: 0;
}

/* ------------------------ Teaching Staff List (wstl-*) ------------------------ */
#root_web_staff_list .wstl-page {
  width: 100%;
  box-sizing: border-box;
  min-height: 500px;
}

#root_web_staff_list .wstl-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
  padding: 24px;
  box-sizing: border-box;
  max-width: 100%;
}

#root_web_staff_list .wstl-header {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
}

#root_web_staff_list .wstl-header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

#root_web_staff_list .wstl-title {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  color: #05053d;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  line-height: 1.3;
}

#root_web_staff_list .wstl-title .fa {
  color: #16a34a;
  font-size: 22px;
}

#root_web_staff_list .wstl-subtitle {
  margin: 8px 0 0;
  font-size: 14px;
  color: #6b7280;
}

#root_web_staff_list .wstl-search {
  position: relative;
  flex: 1 1 220px;
  max-width: 320px;
  padding-top: 0;
}

#root_web_staff_list .wstl-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  pointer-events: none;
}

#root_web_staff_list .wstl-search-input,
#root_web_staff_list #staff_name {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 10px 12px 10px 36px;
  font-size: 14px;
  color: #111827;
  background: #fff;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

#root_web_staff_list .wstl-search-input:focus,
#root_web_staff_list #staff_name:focus {
  border-color: #86efac;
  box-shadow: 0 0 0 3px rgba(134, 239, 172, 0.35);
}

#root_web_staff_list .wstl-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 20px;
}

@media (min-width: 640px) {
  #root_web_staff_list .wstl-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  #root_web_staff_list .wstl-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

#root_web_staff_list .wstl-item,
#root_web_staff_list .teacBorderes {
  width: 100%;
  max-width: 100%;
  float: none;
  padding: 0;
  margin: 0;
}

#root_web_staff_list .wstl-card-item,
#root_web_staff_list .item {
  height: 100%;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  display: flex;
  flex-direction: column;
}

#root_web_staff_list .wstl-card-item:hover,
#root_web_staff_list .item:hover {
  border-color: #bbf7d0;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}

#root_web_staff_list .wstl-thumb,
#root_web_staff_list .thumb {
  background: linear-gradient(180deg, #ecfdf5 0%, #f8fafc 100%);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#root_web_staff_list .wstl-thumb-link {
  display: block;
  width: 100%;
  height: 100%;
}

#root_web_staff_list .wstl-photo,
#root_web_staff_list .galaryImgWidthAndHightTwoCls {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#root_web_staff_list .wstl-info,
#root_web_staff_list .info {
  padding: 14px 16px 16px;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
}

#root_web_staff_list .wstl-info h4,
#root_web_staff_list .info h4 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

#root_web_staff_list .wstl-info h4 a,
#root_web_staff_list .info h4 a {
  color: #065f46;
  text-decoration: none;
  pointer-events: none;
}

#root_web_staff_list .wstl-name,
#root_web_staff_list .teacDotss,
#root_web_staff_list .albumNameClass {
  word-break: break-word;
}

#root_web_staff_list .wstl-info p,
#root_web_staff_list .info p {
  margin: 0 0 12px;
  font-size: 14px;
  color: #4b5563;
  line-height: 1.45;
  flex: 1;
}

#root_web_staff_list .wstl-designation,
#root_web_staff_list .viewStaff {
  font-weight: 500;
}

#root_web_staff_list .wstl-actions,
#root_web_staff_list .bottom-info {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid #f3f4f6;
}

#root_web_staff_list .wstl-view-btn,
#root_web_staff_list .bottom-info a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  padding: 8px 14px;
  border-radius: 8px;
  background: #16a34a;
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
  transition: background-color 0.15s ease;
}

#root_web_staff_list .wstl-view-btn:hover,
#root_web_staff_list .bottom-info a:hover {
  background: #15803d;
}

#root_web_staff_list .wstl-empty {
  text-align: center;
  padding: 40px 16px;
  color: #b91c1c;
  background: #fef2f2;
  border: 1px dashed #fecaca;
  border-radius: 12px;
  margin-top: 8px;
}

#root_web_staff_list .wstl-empty[hidden],
#root_web_staff_list #no_record_found[hidden],
#root_web_staff_list #displayStaffId[hidden] {
  display: none !important;
}

#root_web_staff_list .wstl-empty-icon {
  font-size: 28px;
  color: #f87171;
  margin-bottom: 8px;
}

#root_web_staff_list .wstl-empty h3,
#root_web_staff_list .noRecordCenter {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 700;
  color: #b91c1c;
  text-align: center;
}

#root_web_staff_list .wstl-empty p {
  margin: 0;
  font-size: 14px;
  color: #6b7280;
  font-weight: 500;
}

#root_web_staff_list .webStaffListHDCls {
  visibility: hidden;
}

#root_web_staff_list .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 640px) {
  #root_web_staff_list .wstl-card {
    padding: 16px;
  }

  #root_web_staff_list .wstl-title {
    font-size: 22px;
  }

  #root_web_staff_list .wstl-search {
    max-width: 100%;
    flex-basis: 100%;
  }

  #root_web_staff_list .wstl-header-row {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Phase 3 UI polish (append-only) */
#root_web_staff_list .wstl-page {
  padding-bottom: 40px;
}

#root_web_staff_list .wstl-view-btn:focus,
#root_web_staff_list .bottom-info a:focus {
  outline: 2px solid #86efac;
  outline-offset: 2px;
}

#root_web_staff_list .wstl-card-item:focus-within {
  border-color: #86efac;
  box-shadow: 0 0 0 3px rgba(134, 239, 172, 0.3);
}

#root_web_staff_list .wstl-name {
  font-size: 15px;
}

#root_web_staff_list .wstl-designation {
  font-size: 13px;
}


/* ------------------------ Public Non Teaching Staff list (ntsc-*) ------------------------ */
#root_non_teach_staff_list {
  width: 100%;
  box-sizing: border-box;
}

#root_non_teach_staff_list .ntsc-page {
  width: 100%;
  box-sizing: border-box;
}

#root_non_teach_staff_list .ntsc-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
  padding: 24px;
  min-height: 420px;
  box-sizing: border-box;
  max-width: 100%;
}

#root_non_teach_staff_list .ntsc-card.nonTeachStaffListHDCls {
  visibility: hidden;
  overflow: hidden;
}

#root_non_teach_staff_list .ntsc-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
}

#root_non_teach_staff_list .ntsc-header-main {
  min-width: 0;
  flex: 1 1 240px;
}

#root_non_teach_staff_list .ntsc-title {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  color: #05053d;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  line-height: 1.3;
}

#root_non_teach_staff_list .ntsc-title .fa {
  color: #16a34a;
  font-size: 22px;
}

#root_non_teach_staff_list .ntsc-subtitle {
  margin: 8px 0 0;
  font-size: 14px;
  color: #6b7280;
}

#root_non_teach_staff_list .ntsc-search {
  flex: 0 1 280px;
  width: 100%;
  max-width: 320px;
  padding-top: 0;
}

#root_non_teach_staff_list .ntsc-search-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
  margin-bottom: 6px;
}

#root_non_teach_staff_list .ntsc-search-input,
#root_non_teach_staff_list #staff_name {
  width: 100%;
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  color: #111827;
  background: #fff;
  box-sizing: border-box;
}

#root_non_teach_staff_list .ntsc-search-input:focus,
#root_non_teach_staff_list #staff_name:focus {
  outline: none;
  border-color: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
}

#root_non_teach_staff_list .ntsc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

#root_non_teach_staff_list .ntsc-item {
  min-width: 0;
  height: 100%;
}

#root_non_teach_staff_list .ntsc-item-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #ffffff;
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

#root_non_teach_staff_list .ntsc-item-inner:hover {
  border-color: #a7f3d0;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}

#root_non_teach_staff_list .ntsc-thumb {
  background: #f8fafc;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
  padding: 16px;
}

#root_non_teach_staff_list .ntsc-photo,
#root_non_teach_staff_list .galaryImgWidthAndHightTwoCls {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #fff;
  display: block;
}

#root_non_teach_staff_list .ntsc-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px 16px;
  flex: 1 1 auto;
}

#root_non_teach_staff_list .ntsc-name {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
}

#root_non_teach_staff_list .ntsc-name-link,
#root_non_teach_staff_list .ntsc-thumb-link {
  color: inherit;
  text-decoration: none;
}

#root_non_teach_staff_list .dots,
#root_non_teach_staff_list .albumNameClass {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#root_non_teach_staff_list .ntsc-designation {
  margin: 0;
  font-size: 14px;
  color: #4b5563;
  line-height: 1.45;
  flex: 1 1 auto;
}

#root_non_teach_staff_list .ntsc-actions {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid #e5e7eb;
  text-align: right;
}

#root_non_teach_staff_list .ntsc-view-link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 14px;
  border-radius: 8px;
  background: #16a34a;
  color: #fff !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

#root_non_teach_staff_list .ntsc-view-link:hover {
  background: #15803d;
}

#root_non_teach_staff_list .ntsc-empty {
  margin: 24px auto;
  max-width: 420px;
  text-align: center;
  padding: 28px 18px;
  border: 1px dashed #d1d5db;
  border-radius: 12px;
  background: #f9fafb;
  color: #6b7280;
}

#root_non_teach_staff_list .ntsc-empty--hidden,
#root_non_teach_staff_list .ntsc-empty[hidden] {
  display: none !important;
}

#root_non_teach_staff_list .ntsc-empty-icon {
  font-size: 28px;
  color: #9ca3af;
  margin-bottom: 8px;
}

#root_non_teach_staff_list .ntsc-empty h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: #374151;
}

#root_non_teach_staff_list .ntsc-empty p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}

@media (max-width: 1023px) {
  #root_non_teach_staff_list .ntsc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  #root_non_teach_staff_list .ntsc-card {
    padding: 16px;
  }

  #root_non_teach_staff_list .ntsc-title {
    font-size: 20px;
  }

  #root_non_teach_staff_list .ntsc-header {
    flex-direction: column;
    align-items: stretch;
  }

  #root_non_teach_staff_list .ntsc-search {
    max-width: none;
    flex: 1 1 auto;
  }

  #root_non_teach_staff_list .ntsc-grid {
    grid-template-columns: 1fr;
  }
}

/* ------------------------ Web Student Info (wsi-*) ------------------------ */
#root_web_student_info {
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

#root_web_student_info .wsi-page {
  width: 100%;
  box-sizing: border-box;
  padding-bottom: 48px;
  min-height: 52vh;
}

#root_web_student_info .wsi-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
  padding: 24px;
  min-height: 320px;
  box-sizing: border-box;
  max-width: 100%;
}

#root_web_student_info .wsi-header {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
  text-align: center;
}

#root_web_student_info .wsi-title {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  color: #05053d;
  line-height: 1.3;
}

#root_web_student_info .wsi-subtitle {
  margin: 8px 0 0;
  font-size: 14px;
  color: #6b7280;
}

#root_web_student_info .wsi-profile {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

#root_web_student_info .wsi-photo-wrap {
  flex-shrink: 0;
}

#root_web_student_info .wsi-photo,
#root_web_student_info #studPhotoId {
  width: 100px;
  height: 110px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #f8fafc;
  display: block;
}

#root_web_student_info .wsi-details {
  flex: 1 1 220px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#root_web_student_info .wsi-name,
#root_web_student_info #firstname {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: #05053d;
  line-height: 1.3;
}

#root_web_student_info .wsi-meta,
#root_web_student_info #studStdSec,
#root_web_student_info #regno {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #374151;
  line-height: 1.4;
}

#root_web_student_info .wsi-edit-btn,
#root_web_student_info .editBoxIcon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  padding: 10px 14px;
  border: none;
  border-radius: 10px;
  background: #16a34a;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

#root_web_student_info .wsi-edit-btn:hover,
#root_web_student_info .editBoxIcon:hover {
  background: #15803d;
}

#root_web_student_info .wsi-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 70;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(15, 23, 42, 0.45);
}

#root_web_student_info .wsi-modal-overlay.hidden {
  display: none !important;
}

#root_web_student_info .wsi-modal-overlay.flex {
  display: flex !important;
}

#root_web_student_info .wsi-modal {
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow: auto;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}

#root_web_student_info .wsi-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid #e5e7eb;
}

#root_web_student_info .wsi-modal-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #05053d;
}

#root_web_student_info .wsi-modal-close {
  border: none;
  background: transparent;
  color: #6b7280;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

#root_web_student_info .wsi-modal-close:hover {
  color: #111827;
}

#root_web_student_info .wsi-modal-body {
  padding: 18px;
}

#root_web_student_info .wsi-form-row {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

#root_web_student_info .wsi-label {
  font-size: 13px;
  font-weight: 600;
  color: #374151;
}

#root_web_student_info .wsi-input-group {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

#root_web_student_info .wsi-mobile-host {
  flex: 1 1 auto;
  min-width: 0;
}

#root_web_student_info .wsi-input,
#root_web_student_info .form-control {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  color: #111827;
  background: #ffffff;
}

#root_web_student_info .wsi-input:focus,
#root_web_student_info .form-control:focus {
  outline: none;
  border-color: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.18);
}

#root_web_student_info .wsi-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 10px;
  background: #f3f4f6;
  cursor: pointer;
  flex-shrink: 0;
}

#root_web_student_info .wsi-icon-key {
  color: #ca8a04;
  background: #fef9c3;
}

#root_web_student_info .wsi-icon-mobile {
  color: #0284c7;
  background: #e0f2fe;
}

#root_web_student_info .wsi-icon-go {
  color: #16a34a;
  background: #dcfce7;
}

#root_web_student_info .wsi-icon-cancel {
  color: #dc2626;
  background: #fee2e2;
}

#root_web_student_info .wsi-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 8px;
}

#root_web_student_info .wsi-error,
#root_web_student_info .norecFount {
  color: #b91c1c;
  font-size: 13px;
  font-weight: 600;
}

#root_web_student_info #mobileAndPasswordDivId.hidden {
  display: none !important;
}

body.wsi-modal-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  #root_web_student_info .wsi-card {
    padding: 16px;
  }

  #root_web_student_info .wsi-title {
    font-size: 22px;
  }

  #root_web_student_info .wsi-profile {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  #root_web_student_info .wsi-details {
    align-items: center;
  }

  #root_web_student_info .wsi-form-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  #root_web_student_info .wsi-label {
    text-align: left;
  }
}

/* ntsc polish ? focus, photo fallback, denser cards (appended only) */
#root_non_teach_staff_list .ntsc-view-link:focus-visible,
#root_non_teach_staff_list #staff_name:focus-visible {
  outline: 2px solid #16a34a;
  outline-offset: 2px;
}

#root_non_teach_staff_list .ntsc-photo {
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

#root_non_teach_staff_list .ntsc-item-inner {
  background: #ffffff;
}

#root_non_teach_staff_list .ntsc-designation .viewStaff {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (min-width: 1280px) {
  #root_non_teach_staff_list .ntsc-grid {
    gap: 20px;
  }
}

/* ===== Student attendance report (public) satt-* ===== */
#root_stud_attend {
  width: 100%;
  box-sizing: border-box;
  color: #111827;
}

#root_stud_attend .satt-page {
  width: 100%;
  box-sizing: border-box;
}

#root_stud_attend .satt-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
  padding: 24px;
  min-height: 420px;
  box-sizing: border-box;
  max-width: 100%;
  width: 100%;
}

#root_stud_attend .satt-card.studAttendHDCls {
  visibility: hidden;
}

#root_stud_attend .satt-header {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
  text-align: center;
}

#root_stud_attend .satt-title {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  color: #05053d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  line-height: 1.3;
}

#root_stud_attend .satt-title .fa {
  color: #16a34a;
  font-size: 22px;
}

#root_stud_attend .satt-subtitle {
  margin: 8px 0 0;
  font-size: 14px;
  color: #6b7280;
}

#root_stud_attend .satt-profile {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding: 14px 16px;
  background: #f0fdf4;
  border: 1px solid #dcfce7;
  border-radius: 12px;
}

#root_stud_attend .satt-profile[hidden],
#root_stud_attend .display_attendance[hidden],
#root_stud_attend .satt-result[hidden],
#root_stud_attend .no_recod[hidden],
#root_stud_attend .satt-empty[hidden] {
  display: none !important;
}

#root_stud_attend .satt-profile-main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

#root_stud_attend .satt-img,
#root_stud_attend .single-img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #fff;
  display: block;
}

#root_stud_attend .satt-name {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
}

#root_stud_attend .satt-class {
  display: block;
  font-size: 13px;
  color: #6b7280;
  margin-top: 2px;
}

#root_stud_attend .satt-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

#root_stud_attend .satt-stat,
#root_stud_attend .attAvgClass {
  font-size: 14px;
  font-weight: 600;
  color: #065f46;
  padding: 8px 12px;
  background: #ffffff;
  border: 1px solid #a7f3d0;
  border-radius: 8px;
}

#root_stud_attend .satt-stat-avg .totoalAvg {
  color: #05053d;
  font-size: 16px;
}

#root_stud_attend .satt-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  margin-bottom: 16px;
}

#root_stud_attend .satt-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 14px;
}

#root_stud_attend .satt-table thead {
  background: #ecfdf5;
}

#root_stud_attend .satt-table thead th,
#root_stud_attend .tableAttnHead {
  color: #064e3b;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid #a7f3d0;
  background: #ecfdf5;
}

#root_stud_attend .satt-table tbody td {
  padding: 14px 16px;
  color: #111827;
  border-bottom: 1px solid #f3f4f6;
  vertical-align: middle;
}

#root_stud_attend .satt-table tbody tr:nth-child(even) td {
  background: #f9fafb;
}

#root_stud_attend .satt-table tbody tr:hover td {
  background: #f0fdf4;
}

#root_stud_attend .satt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

#root_stud_attend .satt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 8px 14px;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

#root_stud_attend .satt-btn-primary {
  background: #05053d;
  color: #fff;
}

#root_stud_attend .satt-btn-primary:hover {
  background: #0b0b5c;
}

#root_stud_attend .satt-btn-success {
  background: #16a34a;
  color: #fff;
}

#root_stud_attend .satt-btn-success:hover {
  background: #15803d;
}

#root_stud_attend .satt-btn:focus-visible {
  outline: 2px solid #ca8a04;
  outline-offset: 2px;
}

#root_stud_attend .satt-hidden-form {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

#root_stud_attend .satt-empty,
#root_stud_attend .no_recod {
  margin: 24px auto;
  max-width: 420px;
  text-align: center;
  padding: 28px 18px;
  border: 1px dashed #fecaca;
  border-radius: 12px;
  background: #fef2f2;
  color: #b91c1c;
}

#root_stud_attend .satt-empty-icon {
  font-size: 28px;
  color: #f87171;
  margin-bottom: 8px;
}

#root_stud_attend .noRecordCenterCls {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 700;
  color: #b91c1c;
  text-align: center;
}

#root_stud_attend .satt-empty p {
  margin: 0;
  font-size: 13px;
  color: #6b7280;
  font-weight: 500;
}

#root_stud_attend .satt-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
}

#root_stud_attend .satt-modal.hidden {
  display: none !important;
}

#root_stud_attend .satt-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
}

#root_stud_attend .satt-modal-dialog {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  padding: 16px;
  box-sizing: border-box;
}

#root_stud_attend .satt-modal-content {
  width: 100%;
  max-width: 920px;
  max-height: 90vh;
  overflow: auto;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}

#root_stud_attend .satt-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid #e5e7eb;
}

#root_stud_attend .satt-modal-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #05053d;
}

#root_stud_attend .satt-modal-close {
  border: none;
  background: transparent;
  color: #6b7280;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
}

#root_stud_attend .satt-modal-close:hover {
  color: #111827;
}

#root_stud_attend .satt-modal-body {
  padding: 18px;
}

#root_stud_attend .satt-modal-table-wrap {
  overflow-x: auto;
}

#root_stud_attend .satt-modal-table {
  width: 100%;
  min-width: 420px;
  border-collapse: collapse;
  font-size: 13px;
}

#root_stud_attend .satt-modal-table th.header,
#root_stud_attend .satt-modal-table td.header,
#root_stud_attend .header {
  background-color: #ced5fc;
  text-align: center;
  font-weight: 700;
  padding: 8px 10px;
  border: 1px solid #e5e7eb;
}

#root_stud_attend .satt-modal-table td {
  text-align: center;
  padding: 8px 10px;
  border: 1px solid #e5e7eb;
}

#root_stud_attend .present {
  text-align: center;
  background-color: #d6fbd9;
  color: #000;
}

#root_stud_attend .absent {
  text-align: center;
  background-color: #d8d8d8;
  color: #000;
}

#root_stud_attend .holiday {
  text-align: center;
  background-color: #fcd3d3;
}

#root_stud_attend .weeklyholiday {
  border: 1px solid #ff0;
  text-align: center;
  background-color: #ffdede;
}

body.satt-modal-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  #root_stud_attend .satt-card {
    padding: 16px;
  }

  #root_stud_attend .satt-title {
    font-size: 22px;
  }

  #root_stud_attend .satt-profile {
    flex-direction: column;
    align-items: flex-start;
  }

  #root_stud_attend .satt-actions .satt-btn,
  #root_stud_attend .thViewCls .satt-btn {
    width: 100%;
  }
}

@media print {
  #root_stud_attend .satt-actions,
  #root_stud_attend .thViewCls,
  #root_stud_attend .satt-modal {
    display: none !important;
  }
}

/* ------------------------ Class Subject Trainers (cstr-*) ------------------------ */
#root_class_subject_trainers .cstr-page {
  width: 100%;
  box-sizing: border-box;
  min-height: 500px;
}

#root_class_subject_trainers .cstr-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
  padding: 24px;
  box-sizing: border-box;
  max-width: 100%;
}

#root_class_subject_trainers .cstr-header {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
  text-align: center;
}

#root_class_subject_trainers .cstr-title {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  color: #05053d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  line-height: 1.3;
}

#root_class_subject_trainers .cstr-title .fa {
  color: #16a34a;
  font-size: 22px;
}

#root_class_subject_trainers .cstr-subtitle {
  margin: 8px 0 0;
  font-size: 14px;
  color: #6b7280;
}

#root_class_subject_trainers .cstr-filters {
  margin-bottom: 20px;
  padding: 16px;
  background: #f0fdf4;
  border: 1px solid #dcfce7;
  border-radius: 12px;
}

#root_class_subject_trainers .cstr-filter-row {
  display: grid;
  grid-template-columns: auto minmax(140px, 1fr) auto minmax(140px, 1fr);
  gap: 10px 14px;
  align-items: center;
  margin: 0;
}

#root_class_subject_trainers .cstr-label {
  font-size: 13px;
  font-weight: 600;
  color: #065f46;
  margin: 0;
  text-align: right;
  white-space: nowrap;
}

#root_class_subject_trainers .cstr-select,
#root_class_subject_trainers #deptId,
#root_class_subject_trainers #coureseId {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 14px;
  color: #111827;
  background: #fff;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

#root_class_subject_trainers .cstr-select:focus,
#root_class_subject_trainers #deptId:focus,
#root_class_subject_trainers #coureseId:focus {
  border-color: #86efac;
  box-shadow: 0 0 0 3px rgba(134, 239, 172, 0.35);
}

#root_class_subject_trainers .cstr-section-title {
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 700;
  color: #05053d;
  text-align: center;
}

#root_class_subject_trainers .cstr-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 18px;
}

@media (min-width: 768px) {
  #root_class_subject_trainers .cstr-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

#root_class_subject_trainers .cstr-item {
  width: 100%;
  max-width: 100%;
  float: none;
  padding: 0;
  margin: 0;
}

#root_class_subject_trainers .cstr-card-item,
#root_class_subject_trainers .item {
  height: 100%;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

#root_class_subject_trainers .cstr-card-item:hover,
#root_class_subject_trainers .item:hover {
  border-color: #bbf7d0;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}

#root_class_subject_trainers .cstr-info,
#root_class_subject_trainers .info {
  padding: 16px;
}

#root_class_subject_trainers .cstr-info h4,
#root_class_subject_trainers .info h4 {
  margin: 0 0 12px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  padding-bottom: 10px;
  border-bottom: 1px solid #f3f4f6;
}

#root_class_subject_trainers .cstr-info h4 a,
#root_class_subject_trainers .info h4 a {
  color: #065f46;
  text-decoration: none;
  pointer-events: none;
}

#root_class_subject_trainers .cstr-subject {
  word-break: break-word;
}

#root_class_subject_trainers .cstr-periods,
#root_class_subject_trainers .trinerFont-size {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
}

#root_class_subject_trainers .cstr-info > p,
#root_class_subject_trainers .info > p {
  margin: 0;
}

#root_class_subject_trainers .cstr-trainers,
#root_class_subject_trainers .moreInfoClasswe {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#root_class_subject_trainers .cstr-trainer-row,
#root_class_subject_trainers .ims {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 10px;
  width: 100%;
  float: none;
  margin: 0;
}

#root_class_subject_trainers .cstr-trainer-photo,
#root_class_subject_trainers .cstr-trainer-meta {
  float: none;
  width: auto;
  padding: 0;
}

#root_class_subject_trainers .cstr-photo,
#root_class_subject_trainers .trainerImgWidthHightCls {
  width: 72px !important;
  height: 72px !important;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #fff;
  display: block;
}

#root_class_subject_trainers .trainerClass,
#root_class_subject_trainers .cstr-trainer-name {
  font-size: 16px;
  font-weight: 700;
  padding: 0 0 4px;
  line-height: 1.3;
}

#root_class_subject_trainers .trainerClass a,
#root_class_subject_trainers .cstr-trainer-name a {
  color: #047857;
  text-decoration: none;
}

#root_class_subject_trainers .trainerClass a:hover,
#root_class_subject_trainers .cstr-trainer-name a:hover {
  color: #065f46;
  text-decoration: underline;
}

#root_class_subject_trainers .subjectClass,
#root_class_subject_trainers .sessionClass,
#root_class_subject_trainers .cstr-trainer-role,
#root_class_subject_trainers .cstr-trainer-sessions {
  font-size: 13px;
  color: #4b5563;
  padding: 0 0 2px;
  line-height: 1.4;
}

#root_class_subject_trainers .cstr-empty {
  text-align: center;
  padding: 36px 16px;
  color: #b91c1c;
  background: #fef2f2;
  border: 1px dashed #fecaca;
  border-radius: 12px;
  margin-top: 8px;
}

#root_class_subject_trainers .cstr-empty[hidden],
#root_class_subject_trainers #noSubRecords[hidden],
#root_class_subject_trainers #classesSubInfor[hidden] {
  display: none !important;
}

#root_class_subject_trainers .cstr-empty-icon {
  font-size: 28px;
  color: #f87171;
  margin-bottom: 8px;
}

#root_class_subject_trainers .cstr-empty h3,
#root_class_subject_trainers .error_message {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 700;
  color: #b91c1c;
  text-align: center;
}

#root_class_subject_trainers .cstr-empty p {
  margin: 0;
  font-size: 14px;
  color: #6b7280;
  font-weight: 500;
}

#root_class_subject_trainers .classSubTrainersHDCls {
  visibility: hidden;
}

@media (max-width: 768px) {
  #root_class_subject_trainers .cstr-filter-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  #root_class_subject_trainers .cstr-label {
    text-align: left;
  }
}

@media (max-width: 640px) {
  #root_class_subject_trainers .cstr-card {
    padding: 16px;
  }

  #root_class_subject_trainers .cstr-title {
    font-size: 22px;
  }

  #root_class_subject_trainers .cstr-trainer-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* Phase 3 UI polish (append-only) */
#root_class_subject_trainers .cstr-page {
  padding-bottom: 40px;
}

#root_class_subject_trainers .cstr-select:focus-visible,
#root_class_subject_trainers #deptId:focus-visible,
#root_class_subject_trainers #coureseId:focus-visible {
  outline: 2px solid #16a34a;
  outline-offset: 2px;
}

#root_class_subject_trainers .cstr-card-item:focus-within {
  border-color: #86efac;
  box-shadow: 0 0 0 3px rgba(134, 239, 172, 0.3);
}

#root_class_subject_trainers .cstr-trainer-name a:focus-visible {
  outline: 2px solid #86efac;
  outline-offset: 2px;
  border-radius: 4px;
}


/* Phase 3 UI polish ? web student info (wsi-*) */
#root_web_student_info .wsi-page {
  min-height: 48vh;
}

#root_web_student_info .wsi-profile {
  padding: 8px 4px 4px;
}

#root_web_student_info .wsi-edit-btn:focus-visible,
#root_web_student_info .wsi-icon-btn:focus-visible,
#root_web_student_info .wsi-modal-close:focus-visible {
  outline: 2px solid #86efac;
  outline-offset: 2px;
}

#root_web_student_info .wsi-input-group .wsi-input,
#root_web_student_info .wsi-mobile-host .wsi-input,
#root_web_student_info .wsi-mobile-host .form-control {
  flex: 1 1 auto;
}

@media (max-width: 640px) {
  #root_web_student_info .wsi-edit-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ===== Student attendance polish (satt-*) ? append only ===== */
#root_stud_attend .satt-title {
  letter-spacing: 0.01em;
}

#root_stud_attend .satt-profile:empty,
#root_stud_attend .satt-profile-main:empty {
  display: none;
}

#root_stud_attend .satt-profile-text:has(#stud_name:empty):has(#stud_std_sec:empty) {
  display: none;
}

#root_stud_attend .satt-table tbody td {
  padding: 15px 16px;
  line-height: 1.45;
}

#root_stud_attend .satt-stat-avg {
  min-width: 88px;
  text-align: center;
}

#root_stud_attend .monthClass {
  font-weight: 700;
  color: #0f172a;
}

#root_stud_attend .satt-modal-content {
  border: 1px solid #e5e7eb;
}

@media (max-width: 640px) {
  #root_stud_attend .satt-stats {
    width: 100%;
  }

  #root_stud_attend .satt-stat {
    flex: 1 1 auto;
  }
}

/* ------------------------ Public header responsive drawer (phnav-*) ------------------------ */
body.phnav-no-scroll {
  overflow: hidden;
  touch-action: none;
}

#menu_root .phnav-root {
  background: #0c0d38;
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.22);
}

#menu_root .phnav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  margin-left: auto;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

#menu_root .phnav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

#menu_root .phnav-root.phnav-mobile-open .phnav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

#menu_root .phnav-root.phnav-mobile-open .phnav-toggle-bar:nth-child(2) {
  opacity: 0;
}

#menu_root .phnav-root.phnav-mobile-open .phnav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

#menu_root .phnav-panel {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
  gap: 12px;
}

#menu_root .phnav-backdrop {
  display: none;
}

#menu_root .phnav-session {
  display: flex;
  align-items: center;
  gap: 10px;
}

#menu_root .phnav-avatar-wrap {
  display: inline-flex;
  line-height: 0;
}

#menu_root .phnav-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.35);
  background: #fff;
}

#menu_root .phnav-signin {
  list-style: none;
  margin: 0;
}

#menu_root .phnav-signin-dropdown {
  position: relative;
}

#menu_root .phnav-signin-dropdown.phnav-open > .phnav-dropdown {
  display: block !important;
  visibility: visible !important;
}

#menu_root .phnav-signin-menu {
  right: 0;
  left: auto;
}

@media (min-width: 1024px) {
  #menu_root .phnav-menu {
    flex-wrap: nowrap;
    overflow: visible;
  }

  #menu_root .phnav-panel {
    overflow: visible;
  }
}

@media (max-width: 1023px) {
  .phnav-spacer {
    padding-top: 56px;
  }

  #menu_root .phnav-bar {
    min-height: 56px;
    padding: 0 12px;
    position: relative;
  }

  #menu_root .phnav-toggle {
    display: inline-flex;
  }

  #menu_root .phnav-panel {
    display: none;
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 14px 24px;
    background: #0c0d38;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  }

  #menu_root .phnav-root.phnav-mobile-open .phnav-panel {
    display: flex;
  }

  #menu_root .phnav-backdrop {
    display: none;
    position: fixed;
    inset: 56px 0 0 0;
    z-index: 65;
    background: rgba(15, 23, 42, 0.45);
  }

  #menu_root .phnav-root.phnav-mobile-open .phnav-backdrop {
    display: block;
  }

  #menu_root .phnav-menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 2px;
    width: 100%;
    overflow: visible;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  #menu_root .phnav-item {
    width: 100%;
  }

  #menu_root .phnav-link,
  #menu_root .phnav-link-btn,
  #menu_root .phnav-icon-link {
    width: 100%;
    justify-content: flex-start;
    min-height: 44px;
    padding: 10px 12px;
    font-size: 15px;
    border-radius: 8px;
  }

  #menu_root .phnav-link:hover,
  #menu_root .phnav-link-btn:hover {
    background: rgba(255, 255, 255, 0.08);
  }

  #menu_root .phnav-dropdown,
  #menu_root .dropdown-menu.phnav-dropdown {
    position: static !important;
    width: 100% !important;
    max-width: none !important;
    column-count: 1 !important;
    margin: 0 0 8px;
    border-radius: 10px;
    box-shadow: none;
    border: 1px solid #e5e7eb;
  }

  #menu_root .phnav-user {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
    padding: 14px 0 0;
    border-left: none;
  }

  #menu_root .phnav-welcome-text {
    max-width: none;
  }

  #menu_root .phnav-session {
    flex-wrap: wrap;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
  }

  #menu_root .phnav-logout {
    min-height: 44px;
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
  }

  #menu_root .phnav-signin-menu {
    right: auto;
    left: 0;
  }
}

@media (max-width: 640px) {
  #menu_root .phnav-logo,
  #menu_root .menulogoimg.phnav-logo {
    height: 30px;
    max-width: 96px;
  }

  #menu_root .phnav-user-name {
    max-width: 140px;
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: bottom;
  }
}

/* ------------------------ Class Time Table (ctt-*) ------------------------ */
#root_class_time_table .ctt-page {
  width: 100%;
  box-sizing: border-box;
  min-height: 500px;
}

#root_class_time_table .ctt-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
  padding: 24px;
  box-sizing: border-box;
  max-width: 100%;
}

#root_class_time_table .ctt-header {
  margin-bottom: 16px;
  text-align: center;
}

#root_class_time_table .ctt-title {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  color: #05053d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  line-height: 1.3;
}

#root_class_time_table .ctt-title .fa {
  color: #16a34a;
  font-size: 22px;
}

#root_class_time_table .ctt-subtitle {
  margin: 8px 0 0;
  font-size: 14px;
  color: #6b7280;
}

#root_class_time_table .ctt-filters {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
}

#root_class_time_table .ctt-filter-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 720px;
  margin: 0 auto;
}

#root_class_time_table .ctt-label {
  display: block;
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 600;
  color: #065f46;
}

#root_class_time_table .ctt-select,
#root_class_time_table #department1,
#root_class_time_table #class_id {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 14px;
  color: #111827;
  background: #fff;
  outline: none;
}

#root_class_time_table .ctt-select:focus,
#root_class_time_table #department1:focus,
#root_class_time_table #class_id:focus {
  border-color: #86efac;
  box-shadow: 0 0 0 3px rgba(134, 239, 172, 0.35);
}

#root_class_time_table .ctt-class-title {
  margin: 0 0 14px;
  font-weight: 700;
  text-align: center;
  font-size: 18px;
  color: #0f172a;
}

#root_class_time_table .ctt-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
}

#root_class_time_table #mtable,
#root_class_time_table .ctt-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  margin: 0;
}

#root_class_time_table .seven {
  font-weight: 700;
  font-size: 14px;
  text-align: center;
  line-height: 1.35;
  color: #111827;
}

#root_class_time_table .seven_head {
  font-weight: 700;
  font-style: italic;
  font-size: 14px;
  text-align: center;
  background-color: #ecfdf5 !important;
  color: #065f46;
  padding: 10px 8px;
  border: 1px solid #d1fae5;
  vertical-align: middle;
}

#root_class_time_table .period_head {
  font-weight: 700;
  font-size: 14px;
  text-align: center;
  background-color: #dcfce7 !important;
  color: #14532d;
  padding: 10px 8px;
  border: 1px solid #bbf7d0;
  vertical-align: middle;
}

#root_class_time_table .staff_name {
  font-size: 11px;
  text-align: center;
  color: #4b5563;
  margin-top: 2px;
  line-height: 1.3;
}

#root_class_time_table .text_align,
#root_class_time_table .sub_subject {
  text-align: center;
  padding: 10px 8px;
  border: 1px solid #e5e7eb;
  vertical-align: middle;
  background: #fff;
}

#root_class_time_table .sub_subject .seven {
  color: #047857;
}

#root_class_time_table .ctt-download {
  margin-top: 14px;
  display: flex;
  justify-content: flex-end;
}

#root_class_time_table .ctt-print-wrap {
  margin-top: 16px;
  text-align: center;
}

#root_class_time_table .ctt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

#root_class_time_table .ctt-btn-print,
#root_class_time_table .btn-success {
  background: #16a34a;
  color: #fff;
}

#root_class_time_table .ctt-btn-print:hover,
#root_class_time_table .btn-success:hover {
  background: #15803d;
}

#root_class_time_table .ctt-btn-pdf,
#root_class_time_table .btn-primary {
  background: #05053d;
  color: #fff;
}

#root_class_time_table .ctt-btn-pdf:hover,
#root_class_time_table .btn-primary:hover {
  background: #0b0b5c;
}

#root_class_time_table .ctt-empty {
  text-align: center;
  padding: 36px 16px;
  color: #b91c1c;
  background: #fef2f2;
  border: 1px dashed #fecaca;
  border-radius: 12px;
  margin-top: 12px;
}

#root_class_time_table .ctt-empty[hidden],
#root_class_time_table #printDivId[hidden],
#root_class_time_table #cttEmptyState[hidden] {
  display: none !important;
}

#root_class_time_table .ctt-empty-icon {
  font-size: 28px;
  color: #f87171;
  margin-bottom: 8px;
}

#root_class_time_table .ctt-empty h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 700;
}

#root_class_time_table .ctt-empty p {
  margin: 0;
  font-size: 14px;
  color: #6b7280;
}

@media (max-width: 640px) {
  #root_class_time_table .ctt-card {
    padding: 16px;
  }

  #root_class_time_table .ctt-title {
    font-size: 22px;
  }

  #root_class_time_table .ctt-filter-row {
    grid-template-columns: 1fr;
  }

  #root_class_time_table .ctt-download {
    justify-content: stretch;
  }

  #root_class_time_table .ctt-btn-pdf,
  #root_class_time_table .btn-primary {
    width: 100%;
  }
}

@media print {
  #menu_root,
  .wftr-root,
  #root_class_time_table #standardAndSectionDivId,
  #root_class_time_table #printDivId,
  #root_class_time_table .ctt-download {
    display: none !important;
  }

  #root_class_time_table .ctt-card {
    box-shadow: none;
    border: none;
    padding: 0;
  }

  #root_class_time_table #mtable {
    min-width: 0;
  }
}

/* Phase 3 UI polish (append-only) */
#root_class_time_table .ctt-page {
  padding-bottom: 40px;
}

#root_class_time_table .ctt-filters {
  background: #f0fdf4;
  border: 1px solid #dcfce7;
  border-radius: 12px;
  padding: 16px;
  border-bottom: none;
  margin-bottom: 18px;
}

#root_class_time_table .ctt-select:focus-visible,
#root_class_time_table #department1:focus-visible,
#root_class_time_table #class_id:focus-visible {
  outline: 2px solid #16a34a;
  outline-offset: 2px;
}

#root_class_time_table .ctt-btn:focus-visible {
  outline: 2px solid #86efac;
  outline-offset: 2px;
}

#root_class_time_table #mtable tr:hover td.sub_subject {
  background: #f8fafc;
}


/* ------------------------ Public College Groups (wcgrp-*) ------------------------ */
#root_web_college_groups {
  width: 100%;
  box-sizing: border-box;
}

#root_web_college_groups .wcgrp-page {
  width: 100%;
  box-sizing: border-box;
}

#root_web_college_groups .wcgrp-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
  padding: 24px;
  min-height: 420px;
  box-sizing: border-box;
  max-width: 100%;
}

#root_web_college_groups .wcgrp-card.webCollegeGroupsHDCls {
  visibility: hidden;
  overflow: hidden;
}

#root_web_college_groups .wcgrp-header {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
}

#root_web_college_groups .wcgrp-title {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  color: #05053d;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  line-height: 1.3;
}

#root_web_college_groups .wcgrp-title .fa {
  color: #16a34a;
  font-size: 22px;
}

#root_web_college_groups .wcgrp-subtitle {
  margin: 8px 0 0;
  font-size: 14px;
  color: #6b7280;
}

#root_web_college_groups .wcgrp-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

#root_web_college_groups .wcgrp-item {
  min-width: 0;
  height: 100%;
}

#root_web_college_groups .wcgrp-item-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #ffffff;
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

#root_web_college_groups .wcgrp-item-inner:hover {
  border-color: #a7f3d0;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}

#root_web_college_groups .wcgrp-thumb {
  background: #f8fafc;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
  padding: 16px;
}

#root_web_college_groups .wcgrp-photo,
#root_web_college_groups .galaryImgWidthAndHightCls {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #fff;
  display: block;
}

#root_web_college_groups .wcgrp-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px 16px;
  flex: 1 1 auto;
}

#root_web_college_groups .wcgrp-name {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
}

#root_web_college_groups .wcgrp-name-link,
#root_web_college_groups .wcgrp-thumb-link {
  color: inherit;
  text-decoration: none;
}

#root_web_college_groups .albumNameClass {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#root_web_college_groups .wcgrp-meta {
  margin: 0;
  font-size: 14px;
  color: #4b5563;
  line-height: 1.45;
  flex: 1 1 auto;
}

#root_web_college_groups .wcgrp-desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

#root_web_college_groups .wcgrp-count {
  display: inline-block;
  margin-top: 4px;
  font-weight: 600;
  color: #374151;
}

#root_web_college_groups .wcgrp-actions {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid #e5e7eb;
  text-align: right;
}

#root_web_college_groups .wcgrp-view-link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 14px;
  border-radius: 8px;
  background: #16a34a;
  color: #fff !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

#root_web_college_groups .wcgrp-view-link:hover {
  background: #15803d;
}

#root_web_college_groups .wcgrp-empty {
  margin: 24px auto;
  max-width: 420px;
  text-align: center;
  padding: 28px 18px;
  border: 1px dashed #d1d5db;
  border-radius: 12px;
  background: #f9fafb;
  color: #6b7280;
}

#root_web_college_groups .wcgrp-empty--hidden,
#root_web_college_groups .wcgrp-empty[hidden] {
  display: none !important;
}

#root_web_college_groups .wcgrp-empty-icon {
  font-size: 28px;
  color: #9ca3af;
  margin-bottom: 8px;
}

#root_web_college_groups .wcgrp-empty h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: #374151;
}

#root_web_college_groups .wcgrp-empty p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}

@media (max-width: 1023px) {
  #root_web_college_groups .wcgrp-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  #root_web_college_groups .wcgrp-card {
    padding: 16px;
  }

  #root_web_college_groups .wcgrp-title {
    font-size: 20px;
  }

  #root_web_college_groups .wcgrp-grid {
    grid-template-columns: 1fr;
  }
}

/* ------------------------ View Student Syllabus (vss-*) ------------------------ */
#root_view_student_syllabus {
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

#root_view_student_syllabus .vss-page {
  width: 100%;
  box-sizing: border-box;
  padding-bottom: 48px;
  min-height: 52vh;
}

#root_view_student_syllabus .vss-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
  padding: 24px;
  min-height: 360px;
  box-sizing: border-box;
  max-width: 100%;
}

#root_view_student_syllabus .vss-card.viewStudentSyllabusHDCls {
  visibility: hidden;
}

#root_view_student_syllabus .vss-header {
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e5e7eb;
  text-align: center;
}

#root_view_student_syllabus .vss-title {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  color: #05053d;
  line-height: 1.3;
}

#root_view_student_syllabus .vss-subtitle {
  margin: 8px 0 0;
  font-size: 14px;
  color: #6b7280;
}

#root_view_student_syllabus .vss-filter-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 8px;
}

#root_view_student_syllabus .vss-label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
}

#root_view_student_syllabus .vss-select,
#root_view_student_syllabus .form-control {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  color: #111827;
  background: #ffffff;
}

#root_view_student_syllabus .vss-select:focus,
#root_view_student_syllabus .form-control:focus {
  outline: none;
  border-color: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.18);
}

#root_view_student_syllabus .vss-units {
  margin-top: 20px;
}

#root_view_student_syllabus .vss-unit-title,
#root_view_student_syllabus .heading_title {
  margin: 18px 0 10px;
  font-size: 18px;
  font-weight: 700;
  color: #05053d;
  padding-bottom: 8px;
  border-bottom: 1px solid #e5e7eb;
}

#root_view_student_syllabus .vss-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  margin-bottom: 14px;
}

#root_view_student_syllabus .vss-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 14px;
}

#root_view_student_syllabus .vss-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #f3f4f6;
  vertical-align: top;
  color: #111827;
  line-height: 1.45;
}

#root_view_student_syllabus .vss-table tr:last-child td {
  border-bottom: none;
}

#root_view_student_syllabus .vss-table tr:nth-child(even) td {
  background: #f9fafb;
}

#root_view_student_syllabus .vss-table tr:hover td {
  background: #f0fdf4;
}

#root_view_student_syllabus .vss-topic {
  font-weight: 600;
  color: #1f2937;
  width: 42%;
}

#root_view_student_syllabus .vss-schedule {
  width: 30%;
  color: #4b5563;
  font-size: 13px;
}

#root_view_student_syllabus .vss-status {
  width: 28%;
  font-weight: 600;
  font-size: 13px;
}

#root_view_student_syllabus .vss-status-done,
#root_view_student_syllabus .compStatusTrCls {
  color: #15803d;
}

#root_view_student_syllabus .vss-status-progress,
#root_view_student_syllabus .inProCls {
  color: #0369a1;
}

#root_view_student_syllabus .vss-status-pending,
#root_view_student_syllabus .notStartedCls {
  color: #b45309;
}

#root_view_student_syllabus .vss-row-complete td {
  background: #f0fdf4;
}

#root_view_student_syllabus .vss-empty {
  margin-top: 12px;
  text-align: center;
  padding: 32px 16px;
  color: #b91c1c;
  background: #fef2f2;
  border: 1px dashed #fecaca;
  border-radius: 12px;
}

#root_view_student_syllabus .vss-empty--hidden,
#root_view_student_syllabus .vss-empty[hidden] {
  display: none !important;
}

#root_view_student_syllabus .vss-empty-icon {
  font-size: 28px;
  color: #f87171;
  margin-bottom: 8px;
}

#root_view_student_syllabus .vss-no-subtopics,
#root_view_student_syllabus .view_student_syllabuse5 {
  color: #b91c1c;
  font-size: 15px;
  font-weight: 600;
  padding: 12px;
}

#root_view_student_syllabus .vss-docs {
  margin-top: 20px;
}

#root_view_student_syllabus .vss-doc-title {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
  color: #05053d;
}

#root_view_student_syllabus .vss-doc-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #f8fafc;
}

#root_view_student_syllabus .vss-doc-name {
  font-size: 14px;
  color: #1f2937;
  word-break: break-word;
  flex: 1 1 auto;
}

#root_view_student_syllabus .vss-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 10px;
  background: #16a34a;
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

#root_view_student_syllabus .vss-download:hover {
  background: #15803d;
}

@media (max-width: 768px) {
  #root_view_student_syllabus .vss-card {
    padding: 16px;
  }

  #root_view_student_syllabus .vss-title {
    font-size: 22px;
  }

  #root_view_student_syllabus .vss-filter-row {
    grid-template-columns: 1fr;
  }

  #root_view_student_syllabus .vss-table {
    min-width: 420px;
    font-size: 13px;
  }
}

/* wcgrp polish ? focus, photo shell (appended only) */
#root_web_college_groups .wcgrp-view-link:focus-visible {
  outline: 2px solid #16a34a;
  outline-offset: 2px;
}

#root_web_college_groups .wcgrp-photo {
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

@media (min-width: 1280px) {
  #root_web_college_groups .wcgrp-grid {
    gap: 20px;
  }
}
@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");

/* ===== Student fees info (public) ? scoped under #root_web_student_fees_info ===== */
#root_web_student_fees_info.student-fees-page {
  --sf-brand: #43a047;
  --sf-brand-dark: #388e3c;
  --sf-brand-deep: #2e7d32;
  --sf-brand-soft: #e8f5e9;
  --sf-brand-glow: rgba(67, 160, 71, 0.22);
  --sf-wallet: #1976d2;
  --sf-wallet-soft: #e3f2fd;
  --sf-instant: #f59e0b;
  --sf-instant-soft: #fff8e1;
  --sf-ink: #1b2e1f;
  --sf-muted: #5f6f62;
  --sf-card: #ffffff;
  --sf-border: #c8e6c9;
  --sf-page-bg: #f0f7f2;
  --sf-banner: linear-gradient(165deg, #dcedc8 0%, #e8f5e9 45%, #f0f7f2 100%);
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  color: var(--sf-ink);
  min-height: calc(100vh - 65px);
  padding-bottom: 48px;
  background: var(--sf-page-bg);
  width: 100%;
  box-sizing: border-box;
}
#root_web_student_fees_info.student-fees-page * { box-sizing: border-box; }

body.sf-fees-active { background: #f0f7f2 !important; }

#root_web_student_fees_info .sf-shell {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 16px;
}

#root_web_student_fees_info .sf-top-banner {
  background: var(--sf-banner);
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  padding: 16px 0 18px;
  margin-bottom: 0;
  border-bottom: 1px solid #c5e1a5;
  overflow: visible;
}
#root_web_student_fees_info .sf-top-banner::after {
  content: "";
  position: absolute;
  right: 8%; top: 10px;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(129, 199, 132, 0.35) 0%, transparent 70%);
  pointer-events: none;
}
#root_web_student_fees_info .sf-banner-inner {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}

#root_web_student_fees_info .headTitle {
  text-align: left;
  margin: 0 0 12px;
  color: var(--sf-brand-deep) !important;
}
#root_web_student_fees_info .headTitle span {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--sf-brand-deep) !important;
  font-size: 13px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1px;
}
#root_web_student_fees_info .headTitle span::before {
  content: "\f571";
  font-family: "Font Awesome 6 Free"; font-weight: 900;
  font-size: 13px; color: var(--sf-brand-dark);
}

#root_web_student_fees_info .sf-header-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#root_web_student_fees_info .sf-hero {
  background: #fff;
  border: 1px solid var(--sf-border);
  border-left: 4px solid var(--sf-brand-dark);
  border-radius: 16px;
  padding: 14px 18px;
  display: flex; align-items: center; gap: 16px;
  width: 100%;
  box-shadow: 0 4px 16px rgba(46, 125, 50, 0.08);
}
#root_web_student_fees_info .sf-avatar {
  width: 58px; height: 58px; flex: 0 0 58px;
  background: linear-gradient(145deg, var(--sf-brand-dark), var(--sf-brand));
  color: #fff;
  font-weight: 800; font-size: 24px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  text-transform: uppercase;
  box-shadow: 0 4px 12px var(--sf-brand-glow);
}
#root_web_student_fees_info .sf-hero-text { flex: 1; min-width: 0; }
#root_web_student_fees_info .sf-hero-text h2,
#root_web_student_fees_info .sf-hero-text #stud_name {
  margin: 0 0 8px;
  font-size: 18px; font-weight: 800;
  color: var(--sf-ink);
  line-height: 1.3;
  position: static !important;
  padding: 0 !important;
  display: block;
  word-break: break-word;
}
#root_web_student_fees_info .sf-hero-meta {
  display: flex; flex-wrap: wrap; gap: 8px;
  font-size: 12px;
  position: static !important;
}
#root_web_student_fees_info .sf-hero-meta #studStdSec,
#root_web_student_fees_info .sf-hero-meta #reg_no { position: static !important; padding: 0 !important; }
#root_web_student_fees_info .sf-hero-meta span {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--sf-brand-soft);
  border: 1px solid var(--sf-border);
  border-radius: 999px;
  padding: 4px 12px;
  color: var(--sf-muted);
}
#root_web_student_fees_info .sf-hero-meta strong { color: var(--sf-brand-deep); font-weight: 700; }
#root_web_student_fees_info .sf-hero-meta i { color: var(--sf-brand-dark); font-size: 11px; }

#root_web_student_fees_info .sf-top-banner .sf-summary-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 0;
  width: 100%;
}
@media (min-width: 520px) {
  #root_web_student_fees_info .sf-top-banner .sf-summary-row {
    grid-template-columns: 1fr 1fr;
  }
}
#root_web_student_fees_info .sf-top-banner .sf-summary-row.sf-single-stat {
  grid-template-columns: 1fr;
  max-width: 360px;
}
#root_web_student_fees_info .sf-stat-card {
  background: #fff;
  border-radius: 14px;
  padding: 14px 14px 14px 54px;
  box-shadow: 0 4px 14px rgba(46, 125, 50, 0.08);
  border: 1px solid var(--sf-border);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 82px;
  min-width: 0;
  overflow: visible;
}
#root_web_student_fees_info .sf-stat-card::before {
  content: "\f3d1";
  font-family: "Font Awesome 6 Free"; font-weight: 900;
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  line-height: 36px;
  text-align: center;
}
#root_web_student_fees_info .sf-balance-card::before {
  content: "\f0d6";
  background: linear-gradient(135deg, #c8e6c9, #a5d6a7);
  color: var(--sf-brand-deep);
}
#root_web_student_fees_info .sf-wallet-card::before {
  content: "\f555";
  background: linear-gradient(135deg, #bbdefb, #90caf9);
  color: var(--sf-wallet);
}
#root_web_student_fees_info .sf-stat-label {
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .65px;
  color: var(--sf-muted); margin-bottom: 4px;
}
#root_web_student_fees_info .sf-stat-value {
  font-size: 22px; font-weight: 800;
  color: var(--sf-brand-deep); line-height: 1.1;
}
#root_web_student_fees_info .sf-stat-value i { font-size: 15px; margin-right: 2px; opacity: .85; }
#root_web_student_fees_info .sf-wallet-card .sf-stat-value { color: var(--sf-wallet); }

#root_web_student_fees_info .sf-shell > .sf-card:first-of-type,
#root_web_student_fees_info .sf-shell > #noaccWiseId + .sf-card,
#root_web_student_fees_info .sf-shell > .sf-card.fees_div_class {
  margin-top: 16px;
}

#root_web_student_fees_info .sf-wallet-actions { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; }
#root_web_student_fees_info .sf-wallet-card { padding-bottom: 12px; }
#root_web_student_fees_info .sf-wallet-link {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 700;
  color: var(--sf-wallet);
  background: var(--sf-wallet-soft);
  border: 1px solid #90caf9;
  border-radius: 999px;
  padding: 5px 10px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s, box-shadow .15s;
}
#root_web_student_fees_info .sf-wallet-link:hover {
  background: #fff;
  box-shadow: 0 2px 10px rgba(59, 130, 246, 0.2);
  text-decoration: none; color: #1e40af;
}

#root_web_student_fees_info .sf-toolbar { display: none; }
#root_web_student_fees_info .sf-card-title-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 20px;
  background: linear-gradient(180deg, #f1f8f4, #fff);
  border-bottom: 1px solid var(--sf-border);
}
#root_web_student_fees_info .sf-card-title-bar .sf-card-title {
  margin: 0; padding: 0;
  border: none; background: none;
  flex: 1;
  min-width: 180px;
}
#root_web_student_fees_info .sf-toolbar-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

#root_web_student_fees_info .sf-card {
  background: var(--sf-card);
  border: 1px solid var(--sf-border);
  border-radius: 18px;
  padding: 0;
  margin-bottom: 16px;
  box-shadow: 0 4px 18px rgba(46, 125, 50, 0.06);
  overflow: hidden;
}
#root_web_student_fees_info .sf-card-title {
  font-size: 14px; font-weight: 800;
  color: var(--sf-ink);
  margin: 0; padding: 18px 22px;
  display: flex; align-items: center; gap: 10px;
  background: linear-gradient(180deg, #f1f8f4, #fff);
  border-bottom: 1px solid var(--sf-border);
}
#root_web_student_fees_info .sf-card-title i {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--sf-brand-dark), var(--sf-brand));
  color: #fff;
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px;
  box-shadow: 0 4px 12px var(--sf-brand-glow);
}
#root_web_student_fees_info .sf-card > .sf-table-wrap,
#root_web_student_fees_info .sf-card > .sf-pay-footer { padding-left: 22px; padding-right: 22px; }
#root_web_student_fees_info .sf-card > .sf-table-wrap { padding-top: 16px; padding-bottom: 8px; }
#root_web_student_fees_info .sf-instant-card .sf-card-title i {
  background: linear-gradient(135deg, #d97706, #f59e0b);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

#root_web_student_fees_info .sf-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
#root_web_student_fees_info .sf-table {
  width: 100%; border-collapse: collapse; margin: 0;
}
#root_web_student_fees_info .sf-table thead th {
  background: linear-gradient(180deg, var(--sf-brand-dark), var(--sf-brand-deep));
  color: #fff;
  text-align: left;
  font-weight: 800 !important;
  padding: 12px 16px;
  font-size: 11px;
  letter-spacing: .65px;
  text-transform: uppercase;
  border: none;
}
#root_web_student_fees_info .sf-table thead tr th:nth-child(2),
#root_web_student_fees_info .sf-th-right { text-align: right; }
#root_web_student_fees_info .sf-table thead th:first-child { border-radius: 10px 0 0 0; }
#root_web_student_fees_info .sf-table thead th:last-child  { border-radius: 0 10px 0 0; text-align: center; width: 100px; }
#root_web_student_fees_info .sf-table tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
  font-size: 13.5px;
  background: #fff;
}
#root_web_student_fees_info .sf-table tbody tr:last-child td { border-bottom: none; }
#root_web_student_fees_info .sf-table tbody tr:hover td { background: var(--sf-brand-soft); }
#root_web_student_fees_info .sf-table tbody td:last-child { text-align: center; }

#root_web_student_fees_info .sf-fee-name { font-size: 14px; font-weight: 700; color: var(--sf-ink); display: block; }
#root_web_student_fees_info .sf-fee-due  { font-size: 11.5px; color: var(--sf-muted); margin-top: 4px; display: block; }
#root_web_student_fees_info .sf-fee-due i { color: var(--sf-brand); margin-right: 3px; }
#root_web_student_fees_info .sf-amt-cell { text-align: right; font-weight: 800; color: var(--sf-brand-deep); white-space: nowrap; font-size: 15px; }
#root_web_student_fees_info .sf-amt-cell i { margin-right: 2px; opacity: .8; }
#root_web_student_fees_info .sf-amt-input {
  width: 88px; padding: 8px 10px;
  border: 2px solid var(--sf-border);
  border-radius: 10px; text-align: right;
  font-size: 13px; font-weight: 600;
  background: #f8fafc;
  transition: border-color .15s, box-shadow .15s;
}
#root_web_student_fees_info .sf-amt-input:focus {
  outline: none;
  border-color: var(--sf-brand);
  background: #fff;
  box-shadow: 0 0 0 4px var(--sf-brand-glow);
}
#root_web_student_fees_info .sf-amt-input.sf-invalid { border-color: #ef4444; box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.15); }
#root_web_student_fees_info .sf-office-tag {
  display: inline-flex; align-items: center; gap: 5px;
  background: #fef3c7; color: #92400e;
  border: 1px solid #fcd34d;
  border-radius: 999px; padding: 5px 14px;
  font-size: 12px; font-weight: 700;
}
#root_web_student_fees_info input[type=checkbox] {
  width: 20px; height: 20px;
  cursor: pointer; accent-color: var(--sf-brand-dark);
}

#root_web_student_fees_info .sf-select-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

#root_web_student_fees_info .sf-pay-footer {
  margin: 0 0 20px;
  padding: 18px 22px;
  background: var(--sf-brand-soft);
  border-top: 1px solid var(--sf-border);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
}
#root_web_student_fees_info .sf-pay-summary { font-size: 14px; color: var(--sf-muted); font-weight: 600; }
#root_web_student_fees_info .sf-pay-summary strong {
  font-size: 22px; font-weight: 800; color: var(--sf-brand-deep);
  margin-left: 8px;
}
#root_web_student_fees_info .sf-pay-summary strong i { font-size: 15px; }

#root_web_student_fees_info .sf-action-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
#root_web_student_fees_info .sf-btn {
  border: none; border-radius: 999px; height: 46px; padding: 0 24px;
  font-weight: 700; font-size: 13.5px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: inherit;
  transition: transform .15s ease, box-shadow .15s ease;
}
#root_web_student_fees_info .sf-btn:hover { transform: translateY(-2px); }
#root_web_student_fees_info .sf-btn-pay {
  background: linear-gradient(135deg, var(--sf-brand-deep), var(--sf-brand-dark));
  color: #fff;
  box-shadow: 0 6px 18px var(--sf-brand-glow);
}
#root_web_student_fees_info .sf-btn-pay:hover { box-shadow: 0 10px 28px rgba(16, 185, 129, 0.4); }
#root_web_student_fees_info .sf-btn-wallet {
  background: #fff; color: var(--sf-wallet);
  border: 2px solid var(--sf-wallet);
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.15);
}
#root_web_student_fees_info .sf-btn-wallet:hover { background: var(--sf-wallet-soft); }
#root_web_student_fees_info .sf-btn-outline {
  background: #fff; color: var(--sf-ink);
  border: 2px solid var(--sf-border);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
}
#root_web_student_fees_info .sf-btn-outline:hover { border-color: var(--sf-brand); color: var(--sf-brand-deep); background: #f0fdf4; }
#root_web_student_fees_info .sf-btn-challan {
  background: var(--sf-ink); color: #fff;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.2);
}

#root_web_student_fees_info .sf-txn-credit { color: #059669; font-weight: 800; }
#root_web_student_fees_info .sf-txn-debit  { color: #dc2626; font-weight: 800; }
#root_web_student_fees_info .sf-txn-type { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 11px; font-weight: 700; }
#root_web_student_fees_info .sf-txn-type-credit { background: #d1fae5; color: #047857; }
#root_web_student_fees_info .sf-txn-type-debit  { background: #fee2e2; color: #b91c1c; }
#root_web_student_fees_info .sf-empty {
  text-align: center; padding: 32px;
  color: var(--sf-muted); font-size: 14px;
  background: #fff; border-radius: 16px;
  border: 1px dashed var(--sf-border);
}

#root_web_student_fees_info #partialPaidAmtFormId,
#root_web_student_fees_info .sf-partial-form {
  background: var(--sf-card);
  border: 1px solid var(--sf-border);
  border-radius: 20px; padding: 24px; margin-top: 16px;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}
#root_web_student_fees_info .sf-partial-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
#root_web_student_fees_info .sf-partial-label {
  min-width: 100px;
  font-weight: 700;
  color: var(--sf-ink);
}
#root_web_student_fees_info .sf-partial-input {
  width: 100%;
  max-width: 280px;
}
#root_web_student_fees_info .sf-partial-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 16px;
}

#root_web_student_fees_info .sf-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
}
#root_web_student_fees_info .sf-modal.hidden { display: none !important; }
#root_web_student_fees_info .sf-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
}
#root_web_student_fees_info .sf-modal-dialog {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  padding: 16px;
}
#root_web_student_fees_info .sf-modal-content {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 20px;
  border: none;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.2);
  overflow: hidden;
}
#root_web_student_fees_info .sf-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: linear-gradient(135deg, var(--sf-brand-deep), var(--sf-brand-dark));
  color: #fff;
  border: none;
  padding: 14px 18px;
}
#root_web_student_fees_info .sf-modal-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}
#root_web_student_fees_info .sf-modal-close {
  border: none;
  background: transparent;
  color: #fff;
  opacity: .9;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
#root_web_student_fees_info .sf-modal-body { padding: 18px; }
#root_web_student_fees_info .sf-modal-footer {
  background: #f8fafc;
  padding: 14px 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}
#root_web_student_fees_info .sf-field { margin-bottom: 14px; }
#root_web_student_fees_info .sf-field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--sf-ink);
}
#root_web_student_fees_info .sf-field-control {
  width: 100%;
  padding: 10px 12px;
  border: 2px solid var(--sf-border);
  border-radius: 10px;
  font-size: 14px;
  background: #f8fafc;
}
#root_web_student_fees_info .sf-field-control:focus {
  outline: none;
  border-color: var(--sf-brand);
  background: #fff;
  box-shadow: 0 0 0 4px var(--sf-brand-glow);
}

#root_web_student_fees_info #stud_name,
#root_web_student_fees_info #studStdSec,
#root_web_student_fees_info #reg_no {
  position: static !important;
  padding: 0 !important;
}

#root_web_student_fees_info .webStudentFeesInfoHDCls {
  visibility: hidden;
}

body.sf-modal-open { overflow: hidden; }

@media (max-width: 600px) {
  #root_web_student_fees_info .sf-hero { flex-direction: row; text-align: left; }
  #root_web_student_fees_info .sf-hero-meta { justify-content: flex-start; }
  #root_web_student_fees_info .sf-stat-card { padding-left: 54px; min-height: 80px; }
  #root_web_student_fees_info .sf-pay-footer { flex-direction: column; align-items: stretch; }
  #root_web_student_fees_info .sf-action-bar { justify-content: stretch; }
  #root_web_student_fees_info .sf-action-bar .sf-btn { flex: 1; justify-content: center; }
  #root_web_student_fees_info .sf-partial-input { max-width: 100%; }
}

/* ===== view_student_syllabus Phase 3 mobile stack (append-only) ===== */
@media (max-width: 640px) {
  #root_view_student_syllabus .vss-table-wrap {
    overflow-x: visible;
  }

  #root_view_student_syllabus .vss-table {
    min-width: 0 !important;
    width: 100%;
    display: block;
  }

  #root_view_student_syllabus .vss-table tbody,
  #root_view_student_syllabus .vss-table tr {
    display: block;
    width: 100%;
  }

  #root_view_student_syllabus .vss-table tr {
    padding: 12px 14px;
    border-bottom: 1px solid #f3f4f6;
  }

  #root_view_student_syllabus .vss-table tr:last-child {
    border-bottom: none;
  }

  #root_view_student_syllabus .vss-table td {
    display: block;
    width: 100% !important;
    padding: 4px 0;
    border-bottom: none;
  }

  #root_view_student_syllabus .vss-topic {
    font-size: 14px;
    margin-bottom: 4px;
  }

  #root_view_student_syllabus .vss-schedule {
    font-size: 12px;
  }

  #root_view_student_syllabus .vss-status {
    margin-top: 4px;
    font-size: 13px;
  }

  #root_view_student_syllabus .vss-doc-card {
    flex-direction: column;
    align-items: stretch;
  }

  #root_view_student_syllabus .vss-download {
    justify-content: center;
  }
}

/* ------------------------ Public Question Bank (wqb-*) ------------------------ */
#root_web_question_bank {
  width: 100%;
  box-sizing: border-box;
}

#root_web_question_bank .wqb-page {
  width: 100%;
  box-sizing: border-box;
}

#root_web_question_bank .wqb-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
  padding: 24px;
  min-height: 420px;
  box-sizing: border-box;
  max-width: 100%;
}

#root_web_question_bank .wqb-card.webQueBankHDCls {
  visibility: hidden;
  overflow: hidden;
}

#root_web_question_bank .wqb-header {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
}

#root_web_question_bank .wqb-title {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  color: #05053d;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  line-height: 1.3;
}

#root_web_question_bank .wqb-title .fa {
  color: #16a34a;
  font-size: 22px;
}

#root_web_question_bank .wqb-subtitle {
  margin: 8px 0 0;
  font-size: 14px;
  color: #6b7280;
}

#root_web_question_bank .wqb-filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 16px;
  margin-bottom: 20px;
}

#root_web_question_bank .wqb-field {
  min-width: 0;
  margin: 0;
}

#root_web_question_bank .wqb-label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #4b5563;
}

#root_web_question_bank .wqb-select {
  width: 100%;
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  color: #111827;
  background: #fff;
  box-sizing: border-box;
}

#root_web_question_bank .wqb-select:focus {
  outline: none;
  border-color: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
}

#root_web_question_bank .wqb-results {
  margin-top: 8px;
  padding-top: 8px;
}

#root_web_question_bank .wqb-subject-head {
  margin-bottom: 12px;
  font-size: 16px;
  color: #0f172a;
}

#root_web_question_bank .wqb-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
}

#root_web_question_bank .wqb-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
  background: #fff;
}

#root_web_question_bank .wqb-table .tableHeadClass th,
#root_web_question_bank .wqb-table th {
  background: #05053d;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  padding: 12px 14px;
  white-space: nowrap;
}

#root_web_question_bank .wqb-table th.aCenter,
#root_web_question_bank .wqb-table td.aCenter,
#root_web_question_bank .wqb-col-sno {
  text-align: center;
}

#root_web_question_bank .wqb-table td {
  padding: 12px 14px;
  font-size: 14px;
  color: #374151;
  border-top: 1px solid #f1f5f9;
  vertical-align: middle;
}

#root_web_question_bank .wqb-table tr:nth-child(even) td {
  background: #f8fafc;
}

#root_web_question_bank .wqb-download-link {
  text-decoration: none;
}

#root_web_question_bank .wqb-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 6px 12px;
  border-radius: 8px;
  background: #16a34a;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

#root_web_question_bank .wqb-download-link:hover .wqb-download-btn {
  background: #15803d;
}

#root_web_question_bank .wqb-empty {
  margin: 20px auto;
  max-width: 420px;
  text-align: center;
  padding: 24px 16px;
  border: 1px dashed #d1d5db;
  border-radius: 12px;
  background: #f9fafb;
  color: #6b7280;
}

#root_web_question_bank .wqb-empty-icon {
  font-size: 28px;
  color: #9ca3af;
  margin-bottom: 8px;
}

#root_web_question_bank .QuestionNoRecordCls {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #374151;
  text-align: center;
}

#root_web_question_bank .wqb-hidden-form {
  display: none;
}

@media (max-width: 900px) {
  #root_web_question_bank .wqb-filters {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  #root_web_question_bank .wqb-card {
    padding: 16px;
  }

  #root_web_question_bank .wqb-title {
    font-size: 20px;
  }

  #root_web_question_bank .wqb-table {
    min-width: 420px;
  }
}

/* ------------------------ Public Study Materials (wsm-*) ------------------------ */
#root_web_study_materials {
  width: 100%;
  box-sizing: border-box;
}

#root_web_study_materials .wsm-page {
  width: 100%;
  box-sizing: border-box;
}

#root_web_study_materials .wsm-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
  padding: 24px;
  min-height: 420px;
  box-sizing: border-box;
  max-width: 100%;
}

#root_web_study_materials .wsm-header {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
}

#root_web_study_materials .wsm-title {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  color: #05053d;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  line-height: 1.3;
}

#root_web_study_materials .wsm-title .fa {
  color: #16a34a;
  font-size: 22px;
}

#root_web_study_materials .wsm-subtitle {
  margin: 8px 0 0;
  font-size: 14px;
  color: #6b7280;
}

#root_web_study_materials .wsm-filters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
  margin-bottom: 12px;
  align-items: end;
}

#root_web_study_materials .wsm-field {
  min-width: 0;
  margin: 0;
}

#root_web_study_materials .wsm-label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #4b5563;
}

#root_web_study_materials .wsm-select,
#root_web_study_materials .form-control {
  width: 100%;
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  color: #111827;
  background: #fff;
  box-sizing: border-box;
}

#root_web_study_materials .wsm-select:focus,
#root_web_study_materials .form-control:focus {
  outline: none;
  border-color: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
}

#root_web_study_materials .wsm-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  min-height: 36px;
}

#root_web_study_materials .wsm-toggle {
  display: inline-flex;
  align-items: center;
}

#root_web_study_materials .wsm-units {
  margin-top: 16px;
}

#root_web_study_materials .wsm-table-panel {
  margin-top: 16px;
}

#root_web_study_materials .wsm-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
}

#root_web_study_materials .wsm-table,
#root_web_study_materials .wsm-unit-table,
#root_web_study_materials .wsm-subtopic-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  background: #fff;
}

#root_web_study_materials .wsm-unit-table {
  min-width: 0;
  margin: 0 0 12px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
}

#root_web_study_materials .wsm-table .tableHeadClass th,
#root_web_study_materials .wsm-table th,
#root_web_study_materials .wsm-subtopic-table .tableHeadClass th,
#root_web_study_materials .wsm-subtopic-table th {
  background: #05053d;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  padding: 12px 14px;
  white-space: nowrap;
}

#root_web_study_materials .wsm-unit-table .heading_title {
  background: #f1f5f9;
  color: #05053d;
  font-size: 15px;
  font-weight: 700;
  padding: 12px 14px;
  text-align: left;
}

#root_web_study_materials .wsm-table th.aCenter,
#root_web_study_materials .wsm-table td.aCenter,
#root_web_study_materials .wsm-subtopic-table th.aCenter,
#root_web_study_materials .wsm-subtopic-table td.aCenter {
  text-align: center;
}

#root_web_study_materials .wsm-table td,
#root_web_study_materials .wsm-subtopic-table td {
  padding: 12px 14px;
  font-size: 14px;
  color: #374151;
  border-top: 1px solid #f1f5f9;
  vertical-align: middle;
}

#root_web_study_materials .wsm-table tr:nth-child(even) td,
#root_web_study_materials .wsm-subtopic-table tr:nth-child(even) td {
  background: #f8fafc;
}

#root_web_study_materials .wsm-empty {
  margin: 20px auto;
  max-width: 420px;
  text-align: center;
  padding: 24px 16px;
  border: 1px dashed #d1d5db;
  border-radius: 12px;
  background: #f9fafb;
  color: #6b7280;
  font-size: 15px;
  font-weight: 600;
}

#root_web_study_materials .wsm-empty[hidden],
#root_web_study_materials .wsm-table-panel[hidden],
#root_web_study_materials .wsm-units[hidden] {
  display: none !important;
}

#root_web_study_materials .wsm-hidden-form {
  display: none;
}

#root_web_study_materials .single-img,
#root_web_study_materials .img-thumbnail {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: #fff;
}

#root_web_study_materials .staff-img-thumbnail {
  display: inline-block;
  width: 72px;
  height: 72px;
  object-fit: cover;
  padding: 4px;
  background-color: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}

#root_web_study_materials .viewIcon,
#root_web_study_materials .downloadIcon,
#root_web_study_materials .youtubeIcon,
#root_web_study_materials .arrowLeft,
#root_web_study_materials .hideIcon,
#root_web_study_materials .closeIcon {
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

#root_web_study_materials .viewIcon {
  color: #0d9488;
}

#root_web_study_materials .downloadIcon {
  color: #16a34a;
}

#root_web_study_materials .youtubeIcon {
  color: #dc2626;
}

#root_web_study_materials .arrowLeft {
  color: #2563eb;
}

#root_web_study_materials .hideIcon {
  color: #6b7280;
}

#root_web_study_materials .closeIcon {
  color: #dc2626;
  font-size: 16px;
  font-style: normal;
  font-family: inherit;
  font-weight: 600;
}

#root_web_study_materials .wsm-subtopic-wrap {
  width: 100%;
  margin-bottom: 12px;
  box-sizing: border-box;
}

#root_web_study_materials .wsm-subtopic-table {
  min-width: 720px;
}

#root_web_study_materials .wsm-doc-box {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 8px 0 16px;
}

#root_web_study_materials .wsm-doc-card,
#root_web_study_materials .borders.webTopPad {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex: 1 1 320px;
  max-width: 100%;
  width: auto;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #f8fafc;
  box-sizing: border-box;
}

#root_web_study_materials .wsm-doc-card .col-xs-9,
#root_web_study_materials .wsm-doc-card .col-xs-3,
#root_web_study_materials .borders .col-xs-9,
#root_web_study_materials .borders .col-xs-3,
#root_web_study_materials .borders .col-xs-12,
#root_web_study_materials .borders .col-xs-6 {
  float: none;
  width: auto;
  padding: 0;
  position: static;
}

#root_web_study_materials .wsm-doc-card .col-xs-9,
#root_web_study_materials .borders .col-xs-9 {
  flex: 1 1 auto;
  min-width: 0;
}

#root_web_study_materials .wsm-doc-card .col-xs-3,
#root_web_study_materials .borders .col-xs-3 {
  flex: 0 0 auto;
}

#root_web_study_materials .wsm-no-subtopics {
  color: #dc2626;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  padding: 12px;
}

#root_web_study_materials .padLeft5Bottom12 {
  padding: 0 0 12px;
}

#root_web_study_materials .webTopPad1 {
  padding-top: 4px;
  font-size: 13px;
  color: #374151;
  line-height: 1.45;
}

body.wsm-modal-open {
  overflow: hidden;
}

#root_web_study_materials .wsm-modal {
  position: fixed;
  inset: 0;
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

#root_web_study_materials .wsm-modal.hidden {
  display: none !important;
}

#root_web_study_materials .wsm-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
}

#root_web_study_materials .wsm-modal-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 720px;
  max-height: calc(100vh - 32px);
  overflow: auto;
}

#root_web_study_materials .wsm-modal-lg {
  max-width: 720px;
}

#root_web_study_materials .wsm-modal-image {
  max-width: 840px;
}

#root_web_study_materials .wsm-modal-content {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.18);
  overflow: hidden;
}

#root_web_study_materials .wsm-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid #e5e7eb;
  background: #f8fafc;
}

#root_web_study_materials .wsm-modal-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #05053d;
}

#root_web_study_materials .wsm-modal-close {
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  color: #6b7280;
  cursor: pointer;
  padding: 0 4px;
}

#root_web_study_materials .wsm-modal-close:hover {
  color: #111827;
}

#root_web_study_materials .wsm-modal-body {
  padding: 16px 18px 20px;
}

#root_web_study_materials .wsm-modal-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 14px;
}

#root_web_study_materials .wsm-video-wrap {
  width: 100%;
  overflow: auto;
}

#root_web_study_materials .wsm-iframe {
  width: 100%;
  max-width: 640px;
  height: 360px;
  border: 0;
  border-radius: 10px;
  background: #0f172a;
}

#root_web_study_materials .wsm-photo,
#root_web_study_materials .height500px {
  max-width: 100%;
  height: auto;
  max-height: 70vh;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
}

@media (max-width: 900px) {
  #root_web_study_materials .wsm-filters {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  #root_web_study_materials .wsm-card {
    padding: 16px;
  }

  #root_web_study_materials .wsm-title {
    font-size: 20px;
  }

  #root_web_study_materials .wsm-table,
  #root_web_study_materials .wsm-subtopic-table {
    min-width: 520px;
    font-size: 13px;
  }

  #root_web_study_materials .wsm-iframe {
    height: 220px;
  }
}

/* ===== Student fees info polish ? append only ===== */
#root_web_student_fees_info .sf-btn:focus-visible,
#root_web_student_fees_info .sf-wallet-link:focus-visible {
  outline: 2px solid #ca8a04;
  outline-offset: 2px;
}

#root_web_student_fees_info .sf-table tbody td {
  line-height: 1.45;
}

#root_web_student_fees_info .sf-hero {
  transition: box-shadow 0.15s ease;
}

#root_web_student_fees_info .sf-card:hover {
  box-shadow: 0 6px 22px rgba(46, 125, 50, 0.09);
}

#root_web_student_fees_info .sf-modal-content {
  max-width: 440px;
}

@media (max-width: 640px) {
  #root_web_student_fees_info .sf-toolbar-inline {
    width: 100%;
  }

  #root_web_student_fees_info .sf-toolbar-inline .sf-btn {
    flex: 1 1 auto;
    justify-content: center;
  }
}

/* ===== Public footer contact lines (append-only) ===== */
.wftr-root .wftr-contact-line {
  font-style: normal;
  font-family: inherit;
  display: block;
  color: #d1d5db;
  line-height: 1.65;
  word-break: break-word;
}

.wftr-root .wftr-contact-line:empty {
  min-height: 0;
}

/* wqb polish ? focus and download alignment (appended only) */
#root_web_question_bank .wqb-select:focus-visible,
#root_web_question_bank .wqb-download-link:focus-visible .wqb-download-btn {
  outline: 2px solid #16a34a;
  outline-offset: 2px;
}

#root_web_question_bank .wqb-col-dl {
  text-align: center;
  white-space: nowrap;
}

/* wsm Phase 3 polish ? status badges, empty icon, action hover (append-only) */
#root_web_study_materials .wsm-status {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

#root_web_study_materials .wsm-status-done {
  background: #dcfce7;
  color: #166534;
}

#root_web_study_materials .wsm-status-progress {
  background: #e0f2fe;
  color: #075985;
}

#root_web_study_materials .wsm-status-pending {
  background: #f3f4f6;
  color: #4b5563;
}

#root_web_study_materials .wsm-empty-icon {
  font-size: 28px;
  color: #9ca3af;
  margin-bottom: 8px;
}

#root_web_study_materials .viewIcon,
#root_web_study_materials .downloadIcon,
#root_web_study_materials .youtubeIcon,
#root_web_study_materials .arrowLeft,
#root_web_study_materials .hideIcon {
  padding: 6px;
  border-radius: 8px;
  transition: background-color 0.15s ease, color 0.15s ease;
}

#root_web_study_materials .viewIcon:hover,
#root_web_study_materials .arrowLeft:hover,
#root_web_study_materials .hideIcon:hover,
#root_web_study_materials .downloadIcon:hover,
#root_web_study_materials .youtubeIcon:hover {
  background: #f1f5f9;
}

#root_web_study_materials .viewIcon {
  color: #16a34a;
}

#root_web_study_materials .wsm-table td b,
#root_web_study_materials .wsm-doc-card b,
#root_web_study_materials .borders b {
  font-weight: 600;
  color: #1f2937;
}

#root_web_study_materials .wsm-modal-close:focus-visible,
#root_web_study_materials .viewIcon:focus-visible,
#root_web_study_materials .downloadIcon:focus-visible,
#root_web_study_materials .youtubeIcon:focus-visible,
#root_web_study_materials .arrowLeft:focus-visible,
#root_web_study_materials .hideIcon:focus-visible,
#root_web_study_materials .closeIcon:focus-visible {
  outline: 2px solid #16a34a;
  outline-offset: 2px;
}

@media (min-width: 1024px) {
  #root_web_study_materials .wsm-filters {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    align-items: end;
  }

  #root_web_study_materials .wsm-actions {
    grid-column: auto;
    margin: 0;
    padding-bottom: 2px;
  }
}

/* ===== Student Survey list (public) ssur-* ===== */
#root_student_survey {
  width: 100%;
  box-sizing: border-box;
  color: #111827;
}

#root_student_survey .ssur-page {
  width: 100%;
  box-sizing: border-box;
}

#root_student_survey .ssur-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
  padding: 24px;
  min-height: 420px;
  box-sizing: border-box;
  max-width: 100%;
}

#root_student_survey .ssur-card.checkkResultHDCls {
  visibility: hidden;
}

#root_student_survey .ssur-header {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
  text-align: center;
}

#root_student_survey .ssur-title {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  color: #05053d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  line-height: 1.3;
}

#root_student_survey .ssur-title .fa {
  color: #16a34a;
  font-size: 22px;
}

#root_student_survey .ssur-subtitle {
  margin: 8px 0 0;
  font-size: 14px;
  color: #6b7280;
}

#root_student_survey .ssur-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px) {
  #root_student_survey .ssur-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  #root_student_survey .ssur-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

#root_student_survey .ssur-item,
#root_student_survey .exam_result_borders {
  min-width: 0;
  height: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #ffffff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
  float: none;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

#root_student_survey .ssur-item:hover {
  border-color: #bbf7d0;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}

#root_student_survey .ssur-item-head,
#root_student_survey .exam_result_topPad1 {
  background: linear-gradient(135deg, #16a34a, #15803d);
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 16px;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

#root_student_survey .ssur-item-body {
  padding: 14px 16px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

#root_student_survey .ssur-meta-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

#root_student_survey .ssur-meta-label {
  width: 42%;
  padding: 8px 4px;
  color: #6b7280;
  font-weight: 600;
  border: none;
  vertical-align: top;
}

#root_student_survey .ssur-meta-value {
  padding: 8px 4px;
  color: #111827;
  font-weight: 600;
  border: none;
  word-break: break-word;
}

#root_student_survey .ssur-item-actions {
  text-align: center;
  padding-top: 12px;
  border: none;
}

#root_student_survey .ssur-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 16px;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

#root_student_survey .ssur-btn-primary {
  background: #05053d;
  color: #fff;
}

#root_student_survey .ssur-btn-primary:hover {
  background: #0b0b5c;
}

#root_student_survey .ssur-btn-done {
  background: #dcfce7;
  color: #166534;
  cursor: default;
}

#root_student_survey .ssur-btn:focus-visible {
  outline: 2px solid #ca8a04;
  outline-offset: 2px;
}

#root_student_survey .ssur-empty {
  margin: 24px auto;
  max-width: 420px;
  text-align: center;
  padding: 28px 18px;
  border: 1px dashed #d1d5db;
  border-radius: 12px;
  background: #f9fafb;
  color: #6b7280;
}

#root_student_survey .ssur-empty[hidden] {
  display: none !important;
}

#root_student_survey .ssur-empty-icon {
  font-size: 28px;
  color: #9ca3af;
  margin-bottom: 8px;
}

#root_student_survey .ssur-empty h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: #374151;
}

#root_student_survey .ssur-empty p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}

@media (max-width: 640px) {
  #root_student_survey .ssur-card {
    padding: 16px;
  }

  #root_student_survey .ssur-title {
    font-size: 22px;
  }

  #root_student_survey .ssur-btn {
    width: 100%;
  }
}

/* ===== Student Survey polish (ssur-*) ? append only ===== */
#root_student_survey .ssur-meta-value {
  text-align: right;
}

#root_student_survey .ssur-item-body {
  justify-content: space-between;
}

#root_student_survey .ssur-item-actions {
  margin-top: auto;
  border-top: 1px solid #f3f4f6;
  padding-top: 14px;
}

#root_student_survey .ssur-title {
  letter-spacing: 0.01em;
}

#root_student_survey .ssur-btn-done {
  border: 1px solid #bbf7d0;
}

/* ------------------------ Public Student Library (slib-*) ------------------------ */
#root_student_library {
  width: 100%;
  box-sizing: border-box;
}

#root_student_library .slib-page {
  width: 100%;
  box-sizing: border-box;
}

#root_student_library .slib-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
  padding: 24px;
  min-height: 420px;
  box-sizing: border-box;
  max-width: 100%;
}

#root_student_library .slib-header {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
}

#root_student_library .slib-title {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  color: #05053d;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  line-height: 1.3;
}

#root_student_library .slib-title .fa {
  color: #16a34a;
  font-size: 22px;
}

#root_student_library .slib-subtitle {
  margin: 8px 0 0;
  font-size: 14px;
  color: #6b7280;
}

#root_student_library .slib-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px 14px;
  margin-bottom: 20px;
}

#root_student_library .slib-search-form {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px 14px;
  flex: 1 1 420px;
  min-width: 0;
}

#root_student_library .slib-field {
  min-width: 0;
  margin: 0;
}

#root_student_library .slib-field-grow {
  flex: 1 1 240px;
}

#root_student_library .slib-field-actions,
#root_student_library .slib-history-wrap {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
}

#root_student_library .slib-label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #4b5563;
}

#root_student_library .slib-label-spacer {
  visibility: hidden;
  height: 19px;
  margin-bottom: 6px;
}

#root_student_library .slib-input,
#root_student_library .form-control {
  width: 100%;
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  color: #111827;
  background: #fff;
  box-sizing: border-box;
}

#root_student_library .slib-input:focus,
#root_student_library .form-control:focus {
  outline: none;
  border-color: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
}

#root_student_library .slib-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 16px;
  border: 0;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  line-height: 1.2;
  white-space: nowrap;
}

#root_student_library .slib-btn-primary {
  background: #16a34a;
  color: #ffffff;
}

#root_student_library .slib-btn-primary:hover {
  background: #15803d;
}

#root_student_library .slib-btn-secondary {
  background: #05053d;
  color: #ffffff;
}

#root_student_library .slib-btn-secondary:hover {
  background: #12124f;
}

#root_student_library .slib-btn-back {
  background: #2563eb;
  color: #ffffff;
}

#root_student_library .slib-btn-back:hover {
  background: #1d4ed8;
}

#root_student_library .slib-btn:focus-visible,
#root_student_library .slib-input:focus-visible {
  outline: 2px solid #16a34a;
  outline-offset: 2px;
}

#root_student_library .slib-table-panel {
  margin-top: 8px;
}

#root_student_library .slib-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
}

#root_student_library .slib-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  background: #fff;
  border: 0;
}

#root_student_library .slib-table .tableHeadClass th,
#root_student_library .slib-table th {
  background: #05053d;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  padding: 12px 14px;
  white-space: nowrap;
}

#root_student_library .slib-table th.aCenter,
#root_student_library .slib-table td.aCenter,
#root_student_library .slib-table td.tableLeftContent {
  text-align: center;
}

#root_student_library .slib-table td {
  padding: 12px 14px;
  font-size: 14px;
  color: #374151;
  border-top: 1px solid #f1f5f9;
  vertical-align: middle;
}

#root_student_library .slib-table tr:nth-child(even) td {
  background: #f8fafc;
}

#root_student_library .slib-book-thumb,
#root_student_library .single-img,
#root_student_library .img-thumbnail,
#root_student_library .staff_img_cls {
  width: 56px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: #fff;
}

#root_student_library .slib-book-info {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

#root_student_library .slib-book-info-img {
  flex: 0 0 auto;
}

#root_student_library .slib-book-info-text {
  min-width: 0;
  flex: 1 1 auto;
}

#root_student_library .slib-book-name {
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
}

#root_student_library .slib-book-meta {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.4;
}

#root_student_library .slib-due {
  display: inline-block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 700;
  color: #b45309;
}

#root_student_library .slib-status {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: #e0f2fe;
  color: #075985;
}

#root_student_library .slib-empty {
  margin: 20px auto;
  max-width: 420px;
  text-align: center;
  padding: 24px 16px;
  border: 1px dashed #d1d5db;
  border-radius: 12px;
  background: #f9fafb;
  color: #6b7280;
}

#root_student_library .slib-empty[hidden] {
  display: none !important;
}

#root_student_library .slib-empty-icon {
  font-size: 28px;
  color: #9ca3af;
  margin-bottom: 8px;
}

#root_student_library .slib-empty-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #374151;
}

#root_student_library .slib-back {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

#root_student_library .slib-back[hidden] {
  display: none !important;
}

#root_student_library label.error {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #dc2626;
  font-weight: 600;
}

@media (max-width: 767px) {
  #root_student_library .slib-card {
    padding: 16px;
  }

  #root_student_library .slib-title {
    font-size: 20px;
  }

  #root_student_library .slib-toolbar,
  #root_student_library .slib-search-form {
    flex-direction: column;
    align-items: stretch;
  }

  #root_student_library .slib-field-actions,
  #root_student_library .slib-history-wrap {
    width: 100%;
  }

  #root_student_library .slib-btn {
    width: 100%;
  }

  #root_student_library .slib-label-spacer {
    display: none;
  }

  #root_student_library .slib-table {
    min-width: 560px;
    font-size: 13px;
  }
}

/* ------------------------ Public Student Internal Marks list (wsim-*) ------------------------ */
#root_web_student_internal_mark {
  width: 100%;
  box-sizing: border-box;
}

#root_web_student_internal_mark .wsim-page {
  width: 100%;
  box-sizing: border-box;
}

#root_web_student_internal_mark .wsim-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
  padding: 24px;
  min-height: 360px;
  box-sizing: border-box;
  max-width: 100%;
}

#root_web_student_internal_mark .wsim-header {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
}

#root_web_student_internal_mark .wsim-title {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  color: #05053d;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  line-height: 1.3;
}

#root_web_student_internal_mark .wsim-title .fa {
  color: #16a34a;
  font-size: 22px;
}

#root_web_student_internal_mark .wsim-subtitle {
  margin: 8px 0 0;
  font-size: 14px;
  color: #6b7280;
}

#root_web_student_internal_mark .wsim-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

#root_web_student_internal_mark .wsim-item {
  min-width: 0;
  height: 100%;
}

#root_web_student_internal_mark .wsim-item-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #ffffff;
  padding: 16px 18px;
  box-sizing: border-box;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

#root_web_student_internal_mark .wsim-item-inner:hover {
  border-color: #a7f3d0;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}

#root_web_student_internal_mark .wsim-item-title {
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 17px;
  font-weight: 700;
  color: #05053d;
  line-height: 1.35;
  word-break: break-word;
}

#root_web_student_internal_mark .wsim-meta-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 14px;
  flex: 1 1 auto;
}

#root_web_student_internal_mark .wsim-meta-table th {
  width: 40%;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
  padding: 6px 8px 6px 0;
  vertical-align: top;
}

#root_web_student_internal_mark .wsim-meta-table td {
  font-size: 14px;
  color: #1f2937;
  padding: 6px 0;
  vertical-align: top;
  word-break: break-word;
}

#root_web_student_internal_mark .wsim-item-actions {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #e5e7eb;
  text-align: center;
}

#root_web_student_internal_mark .wsim-view-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 16px;
  border: none;
  border-radius: 8px;
  background: #16a34a;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

#root_web_student_internal_mark .wsim-view-btn:hover {
  background: #15803d;
}

#root_web_student_internal_mark .wsim-view-btn:focus-visible {
  outline: 2px solid #16a34a;
  outline-offset: 2px;
}

#root_web_student_internal_mark .wsim-empty {
  grid-column: 1 / -1;
  margin: 12px auto;
  max-width: 420px;
  text-align: center;
  padding: 28px 18px;
  border: 1px dashed #d1d5db;
  border-radius: 12px;
  background: #f9fafb;
  color: #6b7280;
}

#root_web_student_internal_mark .wsim-empty-icon {
  font-size: 28px;
  color: #9ca3af;
  margin-bottom: 8px;
}

#root_web_student_internal_mark .wsim-empty h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: #374151;
}

#root_web_student_internal_mark .wsim-empty p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}

#root_web_student_internal_mark .wsim-mark-det,
#root_web_student_internal_mark .wsim-print {
  display: none;
}

@media (max-width: 1023px) {
  #root_web_student_internal_mark .wsim-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  #root_web_student_internal_mark .wsim-card {
    padding: 16px;
  }

  #root_web_student_internal_mark .wsim-title {
    font-size: 20px;
  }

  #root_web_student_internal_mark .wsim-grid {
    grid-template-columns: 1fr;
  }

  #root_web_student_internal_mark .wsim-view-btn {
    width: 100%;
  }
}

/* ===== web_student_assignment (wsa-*) ? append-only ===== */
#root_web_student_assignment {
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

#root_web_student_assignment .wsa-page {
  width: 100%;
  box-sizing: border-box;
  padding-bottom: 48px;
  min-height: 52vh;
}

#root_web_student_assignment .wsa-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
  padding: 24px;
  min-height: 360px;
  box-sizing: border-box;
  max-width: 100%;
}

#root_web_student_assignment .wsa-header {
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e5e7eb;
  text-align: center;
}

#root_web_student_assignment .wsa-title {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  color: #05053d;
  line-height: 1.3;
}

#root_web_student_assignment .wsa-subtitle {
  margin: 8px 0 0;
  font-size: 14px;
  color: #6b7280;
}

#root_web_student_assignment .wsa-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 18px;
  justify-content: flex-end;
}

#root_web_student_assignment .wsa-filter-field {
  min-width: 200px;
  max-width: 280px;
  width: 100%;
}

#root_web_student_assignment .wsa-label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
}

#root_web_student_assignment .wsa-select,
#root_web_student_assignment .form-control {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  color: #111827;
  background: #ffffff;
}

#root_web_student_assignment .wsa-select:focus,
#root_web_student_assignment .form-control:focus {
  outline: none;
  border-color: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.18);
}

#root_web_student_assignment .wsa-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
}

#root_web_student_assignment .wsa-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 14px;
  margin: 0;
}

#root_web_student_assignment .wsa-table thead th,
#root_web_student_assignment .wsa-head-row th {
  background: #05053d;
  color: #ffffff;
  font-weight: 600;
  font-size: 13px;
  padding: 12px 14px;
  text-align: left;
  white-space: nowrap;
  border: none;
}

#root_web_student_assignment .wsa-table thead th.aCenter {
  text-align: center;
}

#root_web_student_assignment .wsa-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #f3f4f6;
  vertical-align: top;
  color: #111827;
  line-height: 1.45;
  background: #ffffff;
}

#root_web_student_assignment .wsa-table tbody tr:nth-child(even) td {
  background: #f9fafb;
}

#root_web_student_assignment .wsa-table tbody tr:hover td {
  background: #f0fdf4;
}

#root_web_student_assignment .wsa-table tbody tr:last-child td {
  border-bottom: none;
}

#root_web_student_assignment .wsa-td-name {
  font-weight: 600;
  color: #1f2937;
}

#root_web_student_assignment .wsa-td-desc {
  color: #4b5563;
  max-width: 280px;
}

#root_web_student_assignment .wsa-status-pending {
  color: #b45309;
  font-weight: 600;
}

#root_web_student_assignment .wsa-status-done {
  color: #15803d;
  font-weight: 600;
}

#root_web_student_assignment .wsa-view-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  border: none;
  border-radius: 10px;
  background: #16a34a;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  line-height: 1;
}

#root_web_student_assignment .wsa-view-btn:hover {
  background: #15803d;
}

#root_web_student_assignment .wsa-view-btn .viewIcon {
  color: #ffffff;
  font-size: 14px;
}

#root_web_student_assignment .wsa-empty {
  margin-top: 12px;
  text-align: center;
  padding: 32px 16px;
  color: #b91c1c;
  background: #fef2f2;
  border: 1px dashed #fecaca;
  border-radius: 12px;
}

#root_web_student_assignment .wsa-empty[hidden] {
  display: none !important;
}

#root_web_student_assignment .wsa-empty-icon {
  font-size: 28px;
  color: #f87171;
  margin-bottom: 8px;
}

#root_web_student_assignment .wsa-empty-text {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
}

@media (max-width: 768px) {
  #root_web_student_assignment .wsa-card {
    padding: 16px;
  }

  #root_web_student_assignment .wsa-title {
    font-size: 22px;
  }

  #root_web_student_assignment .wsa-filter-row {
    justify-content: stretch;
  }

  #root_web_student_assignment .wsa-filter-field {
    max-width: none;
  }
}

@media (max-width: 640px) {
  #root_web_student_assignment .wsa-table-wrap {
    overflow-x: visible;
    border: none;
  }

  #root_web_student_assignment .wsa-table {
    min-width: 0;
    display: block;
  }

  #root_web_student_assignment .wsa-table thead {
    display: none;
  }

  #root_web_student_assignment .wsa-table tbody,
  #root_web_student_assignment .wsa-table tr {
    display: block;
    width: 100%;
  }

  #root_web_student_assignment .wsa-table tr {
    margin-bottom: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 10px 12px;
    background: #ffffff;
  }

  #root_web_student_assignment .wsa-table td {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 8px 0;
    border-bottom: 1px solid #f3f4f6;
    text-align: right !important;
  }

  #root_web_student_assignment .wsa-table td:last-child {
    border-bottom: none;
  }

  #root_web_student_assignment .wsa-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: #6b7280;
    text-align: left;
    flex: 0 0 42%;
  }

  #root_web_student_assignment .wsa-table tbody tr:nth-child(even) td,
  #root_web_student_assignment .wsa-table tbody tr:hover td {
    background: transparent;
  }

  #root_web_student_assignment .wsa-view-label {
    display: inline;
  }
}

@media (min-width: 641px) {
  #root_web_student_assignment .wsa-view-label {
    display: none;
  }
}

/* ===== web_student_assignment Phase 3 polish (append-only) ===== */
#root_web_student_assignment .wsa-view-btn:focus-visible {
  outline: 2px solid #16a34a;
  outline-offset: 2px;
}

#root_web_student_assignment .wsa-filter-row {
  justify-content: flex-start;
}

#root_web_student_assignment .wsa-td-desc {
  word-break: break-word;
}

@media (max-width: 640px) {
  #root_web_student_assignment .wsa-td-action {
    flex-direction: column;
    align-items: stretch;
  }

  #root_web_student_assignment .wsa-td-action::before {
    margin-bottom: 4px;
  }

  #root_web_student_assignment .wsa-view-btn {
    width: 100%;
    min-height: 40px;
  }
}

/* wsim polish — denser cards on large screens (appended only) */
@media (min-width: 1280px) {
  #root_web_student_internal_mark .wsim-grid {
    gap: 20px;
  }
}

#root_web_student_internal_mark .wsim-meta-table th {
  width: 110px;
}

/* ===== Student Certificate Request (scr-*) — append only ===== */
#root_student_certificate_request {
  width: 100%;
  box-sizing: border-box;
}

#root_student_certificate_request .scr-page {
  width: 100%;
  box-sizing: border-box;
}

#root_student_certificate_request .scr-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  border: 1px solid #e5e7eb;
  padding: 22px 22px 20px;
}

#root_student_certificate_request .scr-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px 18px;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid #e5e7eb;
}

#root_student_certificate_request .scr-title {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  color: #05053d;
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.25;
}

#root_student_certificate_request .scr-title .fa {
  color: #15803d;
  font-size: 0.9em;
}

#root_student_certificate_request .scr-subtitle {
  margin: 6px 0 0;
  font-size: 14px;
  color: #6b7280;
  line-height: 1.45;
}

#root_student_certificate_request .scr-student {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-bottom: 16px;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
}

#root_student_certificate_request .scr-student[hidden] {
  display: none !important;
}

#root_student_certificate_request .scr-student-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  align-items: baseline;
}

#root_student_certificate_request .scr-student-name {
  font-weight: 700;
  color: #111827;
  font-size: 15px;
}

#root_student_certificate_request .scr-student-class,
#root_student_certificate_request .scr-student-reg {
  font-size: 13px;
  color: #4b5563;
  font-weight: 600;
}

#root_student_certificate_request .scr-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

#root_student_certificate_request .scr-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 14px;
}

#root_student_certificate_request .scr-table thead th,
#root_student_certificate_request .scr-table .tableHead th {
  background: #05053d;
  color: #fff;
  font-weight: 600;
  padding: 12px 14px;
  text-align: left;
  white-space: nowrap;
  border: none;
}

#root_student_certificate_request .scr-table thead th.feesDetailCenterCls,
#root_student_certificate_request .scr-table td[align="center"],
#root_student_certificate_request .scr-td-sno,
#root_student_certificate_request .scr-td-status,
#root_student_certificate_request .scr-td-action {
  text-align: center;
}

#root_student_certificate_request .scr-table tbody td {
  padding: 12px 14px;
  border-bottom: 1px solid #e5e7eb;
  color: #111827;
  vertical-align: middle;
}

#root_student_certificate_request .scr-table tbody tr:nth-child(even) td {
  background: #f9fafb;
}

#root_student_certificate_request .scr-table tbody tr:hover td {
  background: #f3f4f6;
}

#root_student_certificate_request .scr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 16px;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  line-height: 1.2;
  white-space: nowrap;
}

#root_student_certificate_request .scr-btn-sm {
  min-height: 34px;
  padding: 6px 12px;
  font-size: 12px;
}

#root_student_certificate_request .scr-btn-success {
  background: #15803d;
  color: #fff;
}

#root_student_certificate_request .scr-btn-success:hover {
  background: #166534;
}

#root_student_certificate_request .scr-btn-danger {
  background: #dc2626;
  color: #fff;
}

#root_student_certificate_request .scr-btn-danger:hover {
  background: #b91c1c;
}

#root_student_certificate_request .scr-btn-muted {
  background: #e5e7eb;
  color: #6b7280;
  cursor: not-allowed;
}

#root_student_certificate_request .scr-btn:focus-visible {
  outline: 2px solid #ca8a04;
  outline-offset: 2px;
}

#root_student_certificate_request .scr-empty {
  margin: 24px auto;
  max-width: 420px;
  text-align: center;
  padding: 28px 18px;
  border: 1px dashed #d1d5db;
  border-radius: 12px;
  background: #f9fafb;
  color: #6b7280;
}

#root_student_certificate_request .scr-empty[hidden] {
  display: none !important;
}

#root_student_certificate_request .scr-empty-icon {
  font-size: 28px;
  color: #9ca3af;
  margin-bottom: 8px;
}

#root_student_certificate_request .scr-empty h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: #374151;
}

#root_student_certificate_request .scr-empty p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}

#root_student_certificate_request .scr-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1050;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(15, 23, 42, 0.45);
}

#root_student_certificate_request .scr-modal.scr-modal-open {
  display: flex;
}

body.scr-modal-lock {
  overflow: hidden;
}

#root_student_certificate_request .scr-modal-dialog {
  width: 100%;
  max-width: 720px;
  max-height: calc(100vh - 32px);
  overflow: auto;
}

#root_student_certificate_request .scr-modal-content {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.25);
  border: 1px solid #e5e7eb;
}

#root_student_certificate_request .scr-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid #e5e7eb;
}

#root_student_certificate_request .scr-modal-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #05053d;
  text-align: center;
  flex: 1;
}

#root_student_certificate_request .scr-modal-close {
  border: none;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  color: #6b7280;
  cursor: pointer;
  padding: 0 4px;
}

#root_student_certificate_request .scr-modal-close:hover {
  color: #111827;
}

#root_student_certificate_request .scr-modal-body {
  padding: 18px;
}

#root_student_certificate_request .scr-cert-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

#root_student_certificate_request .scr-cert-item,
#root_student_certificate_request .divBtnMargLeftCls {
  display: inline-block;
}

#root_student_certificate_request .scr-cert-empty {
  margin: 8px 0 0;
  color: #6b7280;
  font-size: 14px;
}

#root_student_certificate_request .scr-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 8px;
  border-top: 1px solid #f3f4f6;
}

#root_student_certificate_request #addRequestForm label.error {
  color: #dc2626;
  font-size: 12px;
  font-weight: 600;
}

@media (max-width: 640px) {
  #root_student_certificate_request .scr-card {
    padding: 16px;
  }

  #root_student_certificate_request .scr-title {
    font-size: 22px;
  }

  #root_student_certificate_request .scr-header .scr-btn {
    width: 100%;
  }

  #root_student_certificate_request .scr-btn-sm {
    width: 100%;
    white-space: normal;
  }

  #root_student_certificate_request .scr-form-actions {
    justify-content: stretch;
  }

  #root_student_certificate_request .scr-form-actions .scr-btn {
    width: 100%;
  }

  #root_student_certificate_request .scr-cert-list {
    flex-direction: column;
  }

  #root_student_certificate_request .scr-cert-list .scr-btn {
    width: 100%;
  }
}

/* ===== Student Certificate Request polish (scr-*) — append only ===== */
#root_student_certificate_request .scr-student-class::before,
#root_student_certificate_request .scr-student-reg::before {
  content: "|";
  margin-right: 10px;
  color: #d1d5db;
  font-weight: 400;
}

#root_student_certificate_request .scr-td-status {
  font-weight: 600;
}

#root_student_certificate_request .scr-header-text {
  min-width: 0;
  flex: 1 1 240px;
}

#root_student_certificate_request .scr-modal-dialog {
  animation: scrModalIn 0.18s ease-out;
}

@keyframes scrModalIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ------------------------ View Group Member (vgmem-*) ------------------------ */
#root_view_group_member .vgmem-page {
  width: 100%;
  box-sizing: border-box;
}

#root_view_group_member .vgmem-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
  padding: 24px;
  min-height: 420px;
  box-sizing: border-box;
  max-width: 100%;
}

#root_view_group_member .vgmem-header {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
}

#root_view_group_member .vgmem-kicker {
  margin: 0 0 10px;
}

#root_view_group_member .vgmem-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #16a34a;
  text-decoration: none;
}

#root_view_group_member .vgmem-back:hover {
  color: #15803d;
  text-decoration: underline;
}

#root_view_group_member .vgmem-title {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  color: #05053d;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  line-height: 1.3;
}

#root_view_group_member .vgmem-title .fa {
  color: #16a34a;
  font-size: 22px;
}

#root_view_group_member .vgmem-subtitle {
  margin: 8px 0 0;
  font-size: 14px;
  color: #6b7280;
}

#root_view_group_member .vgmem-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#root_view_group_member .vgmem-leads {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

#root_view_group_member .vgmem-lead {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #f8fafc;
  min-width: 0;
}

#root_view_group_member .vgmem-lead-photo {
  flex: 0 0 auto;
}

#root_view_group_member .vgmem-photo,
#root_view_group_member .viewGroupImageCls {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #fff;
  display: block;
}

#root_view_group_member .vgmem-lead-meta {
  min-width: 0;
  flex: 1 1 auto;
}

#root_view_group_member .vgmem-lead-name,
#root_view_group_member .nameClass {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  word-break: break-word;
}

#root_view_group_member .vgmem-lead-role,
#root_view_group_member .groupClass {
  margin-top: 4px;
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
}

#root_view_group_member .vgmem-members-wrap {
  border-top: 1px solid #e5e7eb;
  padding-top: 20px;
}

#root_view_group_member .vgmem-members-title {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 700;
  color: #05053d;
}

#root_view_group_member .vgmem-members-count {
  display: inline-flex;
  align-items: center;
  margin-left: 10px;
  padding: 2px 10px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #15803d;
  font-size: 12px;
  font-weight: 700;
  vertical-align: middle;
}

#root_view_group_member .vgmem-unassigned {
  color: #94a3b8;
  font-weight: 600;
  font-size: 16px;
}

#root_view_group_member #diplayGroupMember {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

#root_view_group_member #diplayGroupMember > .vgmem-members-title {
  grid-column: 1 / -1;
}

#root_view_group_member .vgmem-member,
#root_view_group_member .viewGroupBorders {
  position: relative;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #ffffff;
  margin: 0;
  padding: 0;
  min-width: 0;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

#root_view_group_member .vgmem-member:hover {
  border-color: #a7f3d0;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}

#root_view_group_member .vgmem-member-inner,
#root_view_group_member .viewGroupIms {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
}

#root_view_group_member .vgmem-member-photo {
  flex: 0 0 auto;
}

#root_view_group_member .vgmem-member-img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #fff;
  display: block;
}

#root_view_group_member .vgmem-member-info {
  min-width: 0;
  flex: 1 1 auto;
}

#root_view_group_member .vgmem-member-name,
#root_view_group_member .studNameClass {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  word-break: break-word;
}

#root_view_group_member .vgmem-member-meta,
#root_view_group_member .stdSec {
  margin-top: 4px;
  font-size: 12px;
  color: #4b5563;
  line-height: 1.4;
}

#root_view_group_member .vgmem-member-reg,
#root_view_group_member .regNo {
  margin-top: 2px;
  font-size: 12px;
  color: #6b7280;
}

#root_view_group_member .vgmem-empty {
  text-align: center;
  padding: 28px 16px;
  color: #6b7280;
}

#root_view_group_member .vgmem-empty-icon {
  font-size: 28px;
  color: #94a3b8;
  margin-bottom: 8px;
}

#root_view_group_member .vgmem-empty h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: #334155;
}

#root_view_group_member .vgmem-empty p {
  margin: 0;
  font-size: 13px;
}

@media (max-width: 768px) {
  #root_view_group_member .vgmem-leads,
  #root_view_group_member #diplayGroupMember {
    grid-template-columns: 1fr;
  }

  #root_view_group_member .vgmem-card {
    padding: 16px;
  }

  #root_view_group_member .vgmem-title {
    font-size: 22px;
  }

  #root_view_group_member .vgmem-lead-name,
  #root_view_group_member .nameClass {
    font-size: 18px;
  }
}

/* slib Phase 3 polish — table wrap visibility, meta spacing (append-only) */
#root_student_library .slib-table-wrap[hidden],
#root_student_library .slib-table-wrap.is-slib-hidden {
  display: none !important;
}

#root_student_library .slib-book-meta {
  display: block;
}

#root_student_library .slib-back {
  justify-content: center;
}

#root_student_library .slib-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

/* ===== Web Scholarship (wsch-*) — append only ===== */
#root_web_scholarship {
  width: 100%;
  box-sizing: border-box;
}

#root_web_scholarship .wsch-page {
  width: 100%;
  box-sizing: border-box;
}

#root_web_scholarship .wsch-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  border: 1px solid #e5e7eb;
  padding: 22px 22px 20px;
}

#root_web_scholarship .wsch-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px 18px;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid #e5e7eb;
}

#root_web_scholarship .wsch-header-text {
  min-width: 0;
  flex: 1 1 240px;
}

#root_web_scholarship .wsch-title {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  color: #05053d;
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.25;
}

#root_web_scholarship .wsch-title .fa {
  color: #494ba8;
  font-size: 0.9em;
}

#root_web_scholarship .wsch-subtitle {
  margin: 6px 0 0;
  font-size: 14px;
  color: #6b7280;
  line-height: 1.45;
}

#root_web_scholarship .wsch-table-wrap,
#root_web_scholarship .wsch-modal-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

#root_web_scholarship .wsch-table,
#root_web_scholarship .wsch-modal-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 14px;
}

#root_web_scholarship .wsch-modal-table {
  min-width: 720px;
}

#root_web_scholarship .wsch-table .tableHeadClass th,
#root_web_scholarship .wsch-modal-table .tableHeadClass th,
#root_web_scholarship .wsch-table thead th {
  background: #05053d;
  color: #fff;
  font-weight: 600;
  padding: 12px 14px;
  text-align: center;
  white-space: nowrap;
  border: none;
}

#root_web_scholarship .wsch-table td,
#root_web_scholarship .wsch-modal-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #e5e7eb;
  color: #111827;
  vertical-align: middle;
}

#root_web_scholarship .wsch-table td.centerCls,
#root_web_scholarship .wsch-table .centerCls,
#root_web_scholarship .wsch-modal-table .centerCls {
  text-align: center;
}

#root_web_scholarship .wsch-table tbody tr:nth-child(even) td,
#root_web_scholarship .wsch-modal-table tr:nth-child(even) td {
  background: #f9fafb;
}

#root_web_scholarship .wsch-table tbody tr:hover td,
#root_web_scholarship .wsch-modal-table tr:hover td {
  background: #f3f4f6;
}

#root_web_scholarship .wsch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 16px;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  line-height: 1.2;
  white-space: nowrap;
}

#root_web_scholarship .wsch-btn-success {
  background: #15803d;
  color: #fff;
}

#root_web_scholarship .wsch-btn-success:hover {
  background: #166534;
}

#root_web_scholarship .wsch-btn-info {
  background: #0369a1;
  color: #fff;
}

#root_web_scholarship .wsch-btn-info:hover {
  background: #075985;
}

#root_web_scholarship .wsch-btn-danger {
  background: #dc2626;
  color: #fff;
}

#root_web_scholarship .wsch-btn-danger:hover {
  background: #b91c1c;
}

#root_web_scholarship .wsch-btn:focus-visible {
  outline: 2px solid #ca8a04;
  outline-offset: 2px;
}

#root_web_scholarship .wsch-empty {
  margin: 24px auto;
  max-width: 420px;
  text-align: center;
  padding: 28px 18px;
  border: 1px dashed #d1d5db;
  border-radius: 12px;
  background: #f9fafb;
  color: #6b7280;
}

#root_web_scholarship .wsch-empty[hidden] {
  display: none !important;
}

#root_web_scholarship .wsch-empty-icon {
  font-size: 28px;
  color: #9ca3af;
  margin-bottom: 8px;
}

#root_web_scholarship .wsch-empty h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: #374151;
}

#root_web_scholarship .wsch-empty p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}

#root_web_scholarship .wsch-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1050;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(15, 23, 42, 0.45);
}

#root_web_scholarship .wsch-modal.wsch-modal-open {
  display: flex;
}

body.wsch-modal-lock {
  overflow: hidden;
}

#root_web_scholarship .wsch-modal-dialog {
  width: 100%;
  max-width: 960px;
  max-height: calc(100vh - 32px);
  overflow: auto;
  animation: wschModalIn 0.18s ease-out;
}

@keyframes wschModalIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

#root_web_scholarship .wsch-modal-content {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.25);
  border: 1px solid #e5e7eb;
}

#root_web_scholarship .wsch-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid #e5e7eb;
}

#root_web_scholarship .wsch-modal-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #05053d;
  flex: 1;
}

#root_web_scholarship .wsch-modal-close {
  border: none;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  color: #6b7280;
  cursor: pointer;
  padding: 0 4px;
}

#root_web_scholarship .wsch-modal-close:hover {
  color: #111827;
}

#root_web_scholarship .wsch-modal-body {
  padding: 18px;
}

#root_web_scholarship .wsch-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 14px;
  margin-top: 8px;
  border-top: 1px solid #f3f4f6;
}

/* Apply arrow button (moved from inline JSP style) */
#root_web_scholarship button.arrow-wrapper {
  --primary-color: #494ba8fc;
  --secondary-color: #fff;
  --hover-color: #111;
  --arrow-width: 10px;
  --arrow-stroke: 2px;
  box-sizing: border-box;
  border: 0;
  border-radius: 20px;
  color: var(--secondary-color);
  padding: 1em 1.8em;
  background: var(--primary-color);
  display: inline-flex;
  transition: 0.2s background;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  font-weight: bold;
  cursor: pointer;
  min-height: 40px;
}

#root_web_scholarship button.arrow-wrapper .arrow {
  margin-top: 1px;
  width: var(--arrow-width);
  background: var(--primary-color);
  height: var(--arrow-stroke);
  position: relative;
  transition: 0.2s;
  display: inline-block;
}

#root_web_scholarship button.arrow-wrapper .arrow::before {
  content: "";
  box-sizing: border-box;
  position: absolute;
  border: solid var(--secondary-color);
  border-width: 0 var(--arrow-stroke) var(--arrow-stroke) 0;
  display: inline-block;
  top: -3px;
  right: 3px;
  transition: 0.2s;
  padding: 3px;
  transform: rotate(-45deg);
}

#root_web_scholarship button.arrow-wrapper:hover {
  background-color: var(--hover-color);
}

#root_web_scholarship button.arrow-wrapper:hover .arrow {
  background: var(--secondary-color);
}

#root_web_scholarship button.arrow-wrapper:hover .arrow:before {
  right: 0;
}

@media (max-width: 640px) {
  #root_web_scholarship .wsch-card {
    padding: 16px;
  }

  #root_web_scholarship .wsch-title {
    font-size: 22px;
  }

  #root_web_scholarship .wsch-header .wsch-btn {
    width: 100%;
  }

  #root_web_scholarship .wsch-modal-actions {
    justify-content: stretch;
  }

  #root_web_scholarship .wsch-modal-actions .wsch-btn {
    width: 100%;
  }
}

/* ------------------------ Public Student Transport Request (strq-*) ------------------------ */
#root_student_transport_request {
  width: 100%;
  box-sizing: border-box;
}

#root_student_transport_request .strq-page {
  width: 100%;
  box-sizing: border-box;
}

#root_student_transport_request .strq-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
  padding: 24px;
  min-height: 420px;
  box-sizing: border-box;
  max-width: 100%;
}

#root_student_transport_request .strq-header {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
}

#root_student_transport_request .strq-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

#root_student_transport_request .strq-title {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  color: #05053d;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  line-height: 1.3;
}

#root_student_transport_request .strq-title .fa {
  color: #16a34a;
  font-size: 22px;
}

#root_student_transport_request .strq-subtitle {
  margin: 8px 0 0;
  font-size: 14px;
  color: #6b7280;
}

#root_student_transport_request .strq-section {
  margin-top: 20px;
}

#root_student_transport_request .strq-section[hidden] {
  display: none !important;
}

#root_student_transport_request .strq-section-title {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
  color: #05053d;
}

#root_student_transport_request .strq-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 14px;
  border: 0;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  line-height: 1.2;
  white-space: nowrap;
}

#root_student_transport_request .strq-btn-sm {
  min-height: 34px;
  padding: 6px 10px;
  font-size: 13px;
}

#root_student_transport_request .strq-btn-primary {
  background: #16a34a;
  color: #ffffff;
}

#root_student_transport_request .strq-btn-primary:hover {
  background: #15803d;
}

#root_student_transport_request .strq-btn-danger {
  background: #dc2626;
  color: #ffffff;
}

#root_student_transport_request .strq-btn-danger:hover {
  background: #b91c1c;
}

#root_student_transport_request .strq-btn-muted {
  background: #e5e7eb;
  color: #111827;
}

#root_student_transport_request .strq-btn-muted:hover {
  background: #d1d5db;
}

#root_student_transport_request .strq-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

#root_student_transport_request .strq-btn:focus-visible,
#root_student_transport_request .strq-select:focus-visible,
#root_student_transport_request .strq-textarea:focus-visible {
  outline: 2px solid #16a34a;
  outline-offset: 2px;
}

#root_student_transport_request .strq-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
}

#root_student_transport_request .strq-table-wrap.is-strq-hidden {
  display: none !important;
}

#root_student_transport_request .strq-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
  background: #fff;
}

#root_student_transport_request .strq-table .tableHead th,
#root_student_transport_request .strq-table th {
  background: #05053d;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  padding: 12px 14px;
  white-space: nowrap;
}

#root_student_transport_request .strq-table th.feesDetailCenterCls,
#root_student_transport_request .strq-table td.tableLeftContent,
#root_student_transport_request .strq-table td[align="center"] {
  text-align: center;
}

#root_student_transport_request .strq-table td {
  padding: 12px 14px;
  font-size: 14px;
  color: #374151;
  border-top: 1px solid #f1f5f9;
  vertical-align: middle;
}

#root_student_transport_request .strq-table tr:nth-child(even) td {
  background: #f8fafc;
}

#root_student_transport_request .strq-status {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: #e0f2fe;
  color: #075985;
}

#root_student_transport_request .strq-empty {
  margin: 16px auto;
  max-width: 420px;
  text-align: center;
  padding: 24px 16px;
  border: 1px dashed #d1d5db;
  border-radius: 12px;
  background: #f9fafb;
  color: #6b7280;
}

#root_student_transport_request .strq-empty[hidden] {
  display: none !important;
}

#root_student_transport_request .strq-empty-icon {
  font-size: 28px;
  color: #9ca3af;
  margin-bottom: 8px;
}

#root_student_transport_request .strq-empty-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #374151;
}

#root_student_transport_request .strq-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
  margin-bottom: 14px;
}

#root_student_transport_request .strq-field {
  min-width: 0;
  margin: 0 0 14px;
}

#root_student_transport_request .strq-label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #4b5563;
}

#root_student_transport_request .strq-select,
#root_student_transport_request .strq-textarea,
#root_student_transport_request .form-control {
  width: 100%;
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  color: #111827;
  background: #fff;
  box-sizing: border-box;
}

#root_student_transport_request .strq-textarea {
  min-height: 96px;
  resize: vertical;
}

#root_student_transport_request .strq-select:focus,
#root_student_transport_request .strq-textarea:focus,
#root_student_transport_request .form-control:focus {
  outline: none;
  border-color: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
}

#root_student_transport_request .strq-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 8px;
}

#root_student_transport_request label.error {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #dc2626;
  font-weight: 600;
}

body.strq-modal-open {
  overflow: hidden;
}

#root_student_transport_request .strq-modal {
  position: fixed;
  inset: 0;
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

#root_student_transport_request .strq-modal.hidden {
  display: none !important;
}

#root_student_transport_request .strq-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
}

#root_student_transport_request .strq-modal-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 720px;
  max-height: calc(100vh - 32px);
  overflow: auto;
}

#root_student_transport_request .strq-modal-sm {
  max-width: 420px;
}

#root_student_transport_request .strq-modal-lg {
  max-width: 760px;
}

#root_student_transport_request .strq-modal-content {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.18);
  overflow: hidden;
}

#root_student_transport_request .strq-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid #e5e7eb;
  background: #f8fafc;
}

#root_student_transport_request .strq-modal-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #05053d;
}

#root_student_transport_request .strq-modal-close {
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  color: #6b7280;
  cursor: pointer;
  padding: 0 4px;
}

#root_student_transport_request .strq-modal-close:hover {
  color: #111827;
}

#root_student_transport_request .strq-modal-body {
  padding: 16px 18px 20px;
}

#root_student_transport_request .strq-dialog-msg {
  margin: 0 0 16px;
  font-size: 15px;
  color: #374151;
  line-height: 1.5;
}

@media (max-width: 767px) {
  #root_student_transport_request .strq-card {
    padding: 16px;
  }

  #root_student_transport_request .strq-title {
    font-size: 20px;
  }

  #root_student_transport_request .strq-header-row {
    flex-direction: column;
    align-items: stretch;
  }

  #root_student_transport_request .strq-header-row .strq-btn {
    width: 100%;
  }

  #root_student_transport_request .strq-form-grid {
    grid-template-columns: 1fr;
  }

  #root_student_transport_request .strq-table {
    min-width: 560px;
    font-size: 13px;
  }

  #root_student_transport_request .strq-form-actions {
    flex-direction: column;
  }

  #root_student_transport_request .strq-form-actions .strq-btn {
    width: 100%;
  }
}

/* ------------------------ Web Exam Application Request (wearm-*) ------------------------ */
#root_web_exam_application_request .wearm-page {
  width: 100%;
  box-sizing: border-box;
}

#root_web_exam_application_request .wearm-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
  padding: 24px;
  min-height: 420px;
  box-sizing: border-box;
  max-width: 100%;
}

#root_web_exam_application_request .wearm-header {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
}

#root_web_exam_application_request .wearm-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

#root_web_exam_application_request .wearm-title {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  color: #05053d;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  line-height: 1.3;
}

#root_web_exam_application_request .wearm-title .fa {
  color: #16a34a;
  font-size: 22px;
}

#root_web_exam_application_request .wearm-subtitle {
  margin: 8px 0 0;
  font-size: 14px;
  color: #6b7280;
}

#root_web_exam_application_request .wearm-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

#root_web_exam_application_request .wearm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
}

#root_web_exam_application_request .wearm-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

#root_web_exam_application_request .wearm-btn-primary {
  background: #2563eb;
  color: #fff;
}

#root_web_exam_application_request .wearm-btn-primary:hover:not(:disabled) {
  background: #1d4ed8;
}

#root_web_exam_application_request .wearm-btn-success {
  background: #16a34a;
  color: #fff;
}

#root_web_exam_application_request .wearm-btn-success:hover:not(:disabled) {
  background: #15803d;
}

#root_web_exam_application_request .wearm-btn-danger {
  background: #dc2626;
  color: #fff;
}

#root_web_exam_application_request .wearm-btn-danger:hover:not(:disabled) {
  background: #b91c1c;
}

#root_web_exam_application_request .wearm-btn:focus-visible {
  outline: 2px solid #86efac;
  outline-offset: 2px;
}

#root_web_exam_application_request .wearm-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
}

#root_web_exam_application_request .wearm-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  background: #fff;
}

#root_web_exam_application_request .wearm-table thead th,
#root_web_exam_application_request .wearm-table .tableHeadClass th {
  background: #f8fafc;
  color: #05053d;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  padding: 12px 10px;
  border-bottom: 1px solid #e5e7eb;
  white-space: nowrap;
}

#root_web_exam_application_request .wearm-table tbody td,
#root_web_exam_application_request .wearm-modal-table td {
  padding: 11px 10px;
  font-size: 13px;
  color: #334155;
  border-bottom: 1px solid #f1f5f9;
  text-align: center;
  vertical-align: middle;
  word-break: break-word;
}

#root_web_exam_application_request .wearm-table tbody tr:nth-child(even) td {
  background: #fafafa;
}

#root_web_exam_application_request .wearm-table tbody tr:hover td {
  background: #f0fdf4;
}

#root_web_exam_application_request .wearm-empty {
  text-align: center;
  padding: 36px 16px;
  color: #6b7280;
}

#root_web_exam_application_request .wearm-empty-icon {
  font-size: 28px;
  color: #94a3b8;
  margin-bottom: 8px;
}

#root_web_exam_application_request .wearm-empty h2,
#root_web_exam_application_request .wearm-empty .noRecordFoundCls {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: #334155;
}

#root_web_exam_application_request .wearm-empty p {
  margin: 0;
  font-size: 13px;
}

#root_web_exam_application_request .wearm-download {
  margin-top: 20px;
}

#root_web_exam_application_request .wearm-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1050;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(15, 23, 42, 0.45);
}

#root_web_exam_application_request .wearm-modal.wearm-modal-open {
  display: flex;
}

body.wearm-modal-lock {
  overflow: hidden;
}

#root_web_exam_application_request .wearm-modal-dialog {
  width: 100%;
  max-width: 920px;
  max-height: calc(100vh - 32px);
  overflow: auto;
}

#root_web_exam_application_request .wearm-modal-content {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.25);
  border: 1px solid #e5e7eb;
}

#root_web_exam_application_request .wearm-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid #e5e7eb;
}

#root_web_exam_application_request .wearm-modal-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #05053d;
  flex: 1;
}

#root_web_exam_application_request .wearm-modal-close {
  border: none;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  color: #64748b;
  cursor: pointer;
  padding: 0 4px;
}

#root_web_exam_application_request .wearm-modal-close:hover {
  color: #0f172a;
}

#root_web_exam_application_request .wearm-modal-body {
  padding: 16px 18px 18px;
}

#root_web_exam_application_request .wearm-modal-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  margin-bottom: 16px;
}

#root_web_exam_application_request .wearm-modal-table {
  min-width: 640px;
}

#root_web_exam_application_request .wearm-modal-empty {
  text-align: center;
  padding: 24px 12px;
  color: #6b7280;
  font-size: 14px;
  font-weight: 600;
}

#root_web_exam_application_request .wearm-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

@media (max-width: 640px) {
  #root_web_exam_application_request .wearm-card {
    padding: 16px;
  }

  #root_web_exam_application_request .wearm-title {
    font-size: 22px;
  }

  #root_web_exam_application_request .wearm-header-actions,
  #root_web_exam_application_request .wearm-header-actions .wearm-btn,
  #root_web_exam_application_request .wearm-download .wearm-btn,
  #root_web_exam_application_request .wearm-modal-actions .wearm-btn {
    width: 100%;
  }

  #root_web_exam_application_request .wearm-modal-actions {
    justify-content: stretch;
  }
}

/* ===== web_album (walb-*) — append-only ===== */
#root_web_album {
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

#root_web_album .walb-page {
  width: 100%;
  box-sizing: border-box;
  padding-bottom: 48px;
  min-height: 52vh;
}

#root_web_album .walb-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
  padding: 24px;
  min-height: 360px;
  box-sizing: border-box;
  max-width: 100%;
}

#root_web_album .walb-card.webAlbumHDCls {
  visibility: hidden;
}

#root_web_album .walb-header {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
}

#root_web_album .walb-header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
}

#root_web_album .walb-title {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  color: #05053d;
  line-height: 1.3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

#root_web_album .walb-title .fa {
  color: #16a34a;
  font-size: 22px;
}

#root_web_album .walb-subtitle {
  margin: 8px 0 0;
  font-size: 14px;
  color: #6b7280;
}

#root_web_album .walb-header-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

#root_web_album .walb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 14px;
  border: none;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  line-height: 1.2;
  text-decoration: none;
}

#root_web_album .walb-btn-primary,
#root_web_album .btn-success {
  background: #16a34a;
  color: #ffffff;
}

#root_web_album .walb-btn-primary:hover,
#root_web_album .btn-success:hover {
  background: #15803d;
}

#root_web_album .walb-btn-secondary,
#root_web_album .btn-info {
  background: #0369a1;
  color: #ffffff;
}

#root_web_album .walb-btn-secondary:hover,
#root_web_album .btn-info:hover {
  background: #075985;
}

#root_web_album .walb-btn:focus-visible {
  outline: 2px solid #16a34a;
  outline-offset: 2px;
}

#root_web_album .walb-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

#root_web_album .walb-col {
  min-width: 0;
  width: 100%;
  float: none;
  padding: 0;
}

#root_web_album .walb-item,
#root_web_album .item {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

#root_web_album .walb-item:hover,
#root_web_album .item:hover {
  border-color: #a7f3d0;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.1);
  transform: translateY(-2px);
}

#root_web_album .walb-thumb,
#root_web_album .thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #f3f4f6;
  overflow: hidden;
}

#root_web_album .walb-thumb-link {
  display: block;
  width: 100%;
  height: 100%;
}

#root_web_album .walb-photo,
#root_web_album .galaryImgWidthAndHightTwoCls {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#root_web_album .walb-info,
#root_web_album .info {
  padding: 14px 16px 16px;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
}

#root_web_album .walb-info h4,
#root_web_album .info h4 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  color: #05053d;
}

#root_web_album .walb-info h4 a,
#root_web_album .info h4 a {
  color: inherit;
  text-decoration: none;
  pointer-events: none;
}

#root_web_album .albumNameClass {
  word-break: break-word;
}

#root_web_album .walb-info p,
#root_web_album .info p {
  margin: 0 0 12px;
  font-size: 14px;
  color: #4b5563;
  line-height: 1.5;
  flex: 1;
}

#root_web_album .walb-meta b {
  color: #374151;
  font-weight: 600;
}

#root_web_album .viewImgAlbum,
#root_web_album .viewAlbum {
  color: #111827;
  font-weight: 600;
}

#root_web_album .walb-actions,
#root_web_album .bottom-info {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #f3f4f6;
}

#root_web_album .walb-view-link,
#root_web_album .bottom-info a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 110px;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 10px;
  background: #16a34a;
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

#root_web_album .walb-view-link:hover,
#root_web_album .bottom-info a:hover {
  background: #15803d;
}

#root_web_album .walb-view-link:focus-visible {
  outline: 2px solid #16a34a;
  outline-offset: 2px;
}

#root_web_album .walb-empty {
  grid-column: 1 / -1;
  margin: 8px auto;
  max-width: 420px;
  text-align: center;
  padding: 32px 18px;
  border: 1px dashed #fecaca;
  border-radius: 12px;
  background: #fef2f2;
  color: #b91c1c;
}

#root_web_album .walb-empty[hidden] {
  display: none !important;
}

#root_web_album .walb-empty-icon {
  font-size: 28px;
  color: #f87171;
  margin-bottom: 8px;
}

#root_web_album .walb-empty h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: #991b1b;
}

#root_web_album .walb-empty p {
  margin: 0;
  font-size: 13px;
  color: #b91c1c;
  line-height: 1.45;
}

@media (max-width: 1023px) {
  #root_web_album .walb-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  #root_web_album .walb-card {
    padding: 16px;
  }

  #root_web_album .walb-title {
    font-size: 22px;
  }

  #root_web_album .walb-header-row {
    flex-direction: column;
    align-items: stretch;
  }

  #root_web_album .walb-header-actions,
  #root_web_album .walb-header-actions .walb-btn,
  #root_web_album .walb-back-wrap .walb-btn {
    width: 100%;
  }

  #root_web_album .walb-grid {
    grid-template-columns: 1fr;
  }

  #root_web_album .walb-view-link,
  #root_web_album .bottom-info a {
    width: 100%;
  }
}

/* ===== web_album Phase 3 polish (append-only) ===== */
#root_web_album .walb-header-copy {
  min-width: 0;
  flex: 1 1 auto;
}

#root_web_album .walb-info,
#root_web_album .info {
  background: #fafafa;
}

#root_web_album .walb-btn-secondary,
#root_web_album .btn-info {
  background: #05053d;
}

#root_web_album .walb-btn-secondary:hover,
#root_web_album .btn-info:hover {
  background: #111827;
}

/* ===== Web Scholarship polish (wsch-*) — append only ===== */
#root_web_scholarship .wsch-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

#root_web_scholarship .wsch-status-pending {
  background: #e0e7ff;
  color: #3730a3;
}

#root_web_scholarship .wsch-status-ok {
  background: #dcfce7;
  color: #166534;
}

#root_web_scholarship .wsch-status-bad {
  background: #fee2e2;
  color: #991b1b;
}

#root_web_scholarship .wsch-table-wrap {
  position: relative;
}

#root_web_scholarship .wsch-table-wrap::after {
  content: "";
  pointer-events: none;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 28px;
  background: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,0.95));
  opacity: 0;
}

@media (max-width: 640px) {
  #root_web_scholarship .wsch-table-wrap::after {
    opacity: 1;
  }

  #root_web_scholarship .wsch-table {
    min-width: 560px;
    font-size: 13px;
  }

  #root_web_scholarship .wsch-btn-info {
    min-height: 34px;
    padding: 6px 10px;
    font-size: 12px;
  }
}

/* strq Phase 3 polish — status variants (append-only) */
#root_student_transport_request .strq-status-pending {
  background: #fef3c7;
  color: #92400e;
}

#root_student_transport_request .strq-status-done {
  background: #dcfce7;
  color: #166534;
}

#root_student_transport_request .strq-modal-close:focus-visible,
#root_student_transport_request #strqAlertOk:focus-visible,
#root_student_transport_request #strqConfirmYes:focus-visible,
#root_student_transport_request #strqConfirmNo:focus-visible {
  outline: 2px solid #16a34a;
  outline-offset: 2px;
}

/* ===== Public Web Library (wlib-*) — append only ===== */
#root_web_library {
  width: 100%;
  box-sizing: border-box;
}

#root_web_library .wlib-page {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

#root_web_library .wlib-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  border: 1px solid #e5e7eb;
  padding: 22px 22px 20px;
}

#root_web_library .wlib-card.studSearchLibHDCls {
  visibility: hidden;
}

#root_web_library .wlib-header {
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
}

#root_web_library .wlib-title {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  color: #05053d;
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.25;
}

#root_web_library .wlib-title .fa {
  color: #15803d;
  font-size: 0.9em;
}

#root_web_library .wlib-subtitle {
  margin: 6px 0 0;
  font-size: 14px;
  color: #6b7280;
  line-height: 1.45;
}

#root_web_library .wlib-about-body {
  color: #374151;
  font-size: 15px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

#root_web_library .wlib-about-body p {
  margin: 0 0 10px;
}

#root_web_library .wlib-search-form {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px 14px;
  margin-bottom: 18px;
}

#root_web_library .wlib-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

#root_web_library .wlib-field-grow {
  flex: 1 1 280px;
}

#root_web_library .wlib-field-actions {
  flex: 0 0 auto;
}

#root_web_library .wlib-label {
  font-size: 13px;
  font-weight: 600;
  color: #4b5563;
}

#root_web_library .wlib-label-spacer {
  visibility: hidden;
  height: 1.1em;
}

#root_web_library .wlib-input,
#root_web_library .form-control {
  width: 100%;
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  color: #111827;
  background: #fff;
  box-sizing: border-box;
}

#root_web_library .wlib-input:focus,
#root_web_library .form-control:focus {
  outline: none;
  border-color: #05053d;
  box-shadow: 0 0 0 3px rgba(5, 5, 61, 0.12);
}

#root_web_library .wlib-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 42px;
  padding: 8px 16px;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

#root_web_library .wlib-btn-success {
  background: #15803d;
  color: #fff;
}

#root_web_library .wlib-btn-success:hover {
  background: #166534;
}

#root_web_library .wlib-btn:focus-visible,
#root_web_library .wlib-input:focus-visible {
  outline: 2px solid #ca8a04;
  outline-offset: 2px;
}

#root_web_library .wlib-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

#root_web_library .wlib-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 14px;
}

#root_web_library .wlib-table .tableHeadClass th,
#root_web_library .wlib-table thead th {
  background: #05053d;
  color: #fff;
  font-weight: 600;
  padding: 12px 14px;
  text-align: left;
  white-space: nowrap;
  border: none;
}

#root_web_library .wlib-table th.aCenter,
#root_web_library .wlib-td-sno {
  text-align: center;
}

#root_web_library .wlib-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #e5e7eb;
  color: #111827;
  vertical-align: middle;
}

#root_web_library .wlib-table tr:nth-child(even) td {
  background: #f9fafb;
}

#root_web_library .wlib-book {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

#root_web_library .wlib-book-img,
#root_web_library .staff_img_cls,
#root_web_library .img-thumbnail {
  width: 56px;
  height: 72px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
  background: #f3f4f6;
}

#root_web_library .wlib-book-text {
  min-width: 0;
  flex: 1;
}

#root_web_library .headTitleCls,
#root_web_library .wlib-book-name {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 4px;
}

#root_web_library .wlib-book-meta {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.4;
}

#root_web_library .availableCls {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: #dcfce7;
  color: #166534;
}

#root_web_library .notAvailableCls {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: #fee2e2;
  color: #991b1b;
}

#root_web_library .wlib-td-avail {
  text-align: center;
  white-space: nowrap;
}

#root_web_library .wlib-empty {
  margin: 24px auto;
  max-width: 420px;
  text-align: center;
  padding: 28px 18px;
  border: 1px dashed #d1d5db;
  border-radius: 12px;
  background: #f9fafb;
  color: #6b7280;
}

#root_web_library .wlib-empty[hidden] {
  display: none !important;
}

#root_web_library .wlib-empty-icon {
  font-size: 28px;
  color: #9ca3af;
  margin-bottom: 8px;
}

#root_web_library .wlib-empty h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: #dc2626;
}

#root_web_library .wlib-empty p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}

#root_web_library #searchISBNNOFORM label.error {
  color: #dc2626;
  font-size: 12px;
  font-weight: 600;
}

@media (max-width: 640px) {
  #root_web_library .wlib-card {
    padding: 16px;
  }

  #root_web_library .wlib-title {
    font-size: 22px;
  }

  #root_web_library .wlib-search-form {
    flex-direction: column;
    align-items: stretch;
  }

  #root_web_library .wlib-field-actions,
  #root_web_library .wlib-btn {
    width: 100%;
  }

  #root_web_library .wlib-label-spacer {
    display: none;
  }

  #root_web_library .wlib-table {
    min-width: 520px;
    font-size: 13px;
  }
}

#root_web_exam_application_request .wearm-btn-muted {
  background: #94a3b8;
  color: #fff;
  cursor: not-allowed;
}

#root_web_exam_application_request .wearm-table tbody td.tableLeftContent {
  font-weight: 600;
  color: #0f172a;
}

#root_web_exam_application_request .wearm-modal-table input[type='checkbox'] {
  width: 16px;
  height: 16px;
  cursor: pointer;
}

/* ------------------------ Public Web Transport (wtr-*) ------------------------ */
#root_web_transport {
  width: 100%;
  box-sizing: border-box;
}

#root_web_transport .wtr-page {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

#root_web_transport .wtr-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
  padding: 24px;
  box-sizing: border-box;
  max-width: 100%;
}

#root_web_transport .wtr-card[hidden] {
  display: none !important;
}

#root_web_transport .wtr-routes-card {
  min-height: 320px;
}

#root_web_transport .wtr-header {
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e5e7eb;
}

#root_web_transport .wtr-title {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  color: #05053d;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  line-height: 1.3;
}

#root_web_transport .wtr-title .fa {
  color: #16a34a;
  font-size: 22px;
}

#root_web_transport .wtr-subtitle {
  margin: 8px 0 0;
  font-size: 14px;
  color: #6b7280;
}

#root_web_transport .wtr-about-content {
  font-size: 15px;
  line-height: 1.65;
  color: #374151;
  word-break: break-word;
}

#root_web_transport .wtr-about-content p {
  margin: 0 0 12px;
}

#root_web_transport .wtr-about-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

#root_web_transport .wtr-routes {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

#root_web_transport .wtr-routes[hidden] {
  display: none !important;
}

#root_web_transport .wtr-route-title,
#root_web_transport .head_title {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  color: #05053d;
  padding: 10px 14px;
  background: #f1f5f9;
  border-radius: 10px;
  border-left: 4px solid #16a34a;
}

#root_web_transport .wtr-table-wrap,
#root_web_transport .center-table {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
}

#root_web_transport .wtr-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
  background: #fff;
}

#root_web_transport .wtr-table .tableHeadClass th,
#root_web_transport .wtr-table th {
  background: #05053d;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  padding: 12px 14px;
  white-space: nowrap;
}

#root_web_transport .wtr-table th.aCenter,
#root_web_transport .wtr-table td.tableLeftContent,
#root_web_transport .wtr-table td.aCenter {
  text-align: center;
}

#root_web_transport .wtr-table td {
  padding: 12px 14px;
  font-size: 14px;
  color: #374151;
  border-top: 1px solid #f1f5f9;
  vertical-align: middle;
}

#root_web_transport .wtr-table tr:nth-child(even) td {
  background: #f8fafc;
}

#root_web_transport .wtr-table .fa-clock-o {
  color: #6b7280;
  margin-right: 4px;
}

#root_web_transport .wtr-empty {
  margin: 20px auto;
  max-width: 420px;
  text-align: center;
  padding: 24px 16px;
  border: 1px dashed #d1d5db;
  border-radius: 12px;
  background: #f9fafb;
  color: #6b7280;
}

#root_web_transport .wtr-empty[hidden] {
  display: none !important;
}

#root_web_transport .wtr-empty-icon {
  font-size: 28px;
  color: #9ca3af;
  margin-bottom: 8px;
}

#root_web_transport .wtr-empty-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #374151;
}

@media (max-width: 767px) {
  #root_web_transport .wtr-card {
    padding: 16px;
  }

  #root_web_transport .wtr-title {
    font-size: 20px;
  }

  #root_web_transport .wtr-route-title,
  #root_web_transport .head_title {
    font-size: 16px;
  }

  #root_web_transport .wtr-table {
    min-width: 480px;
    font-size: 13px;
  }
}

/* ------------------------ Web Hostel (whstl-*) ------------------------ */
#root_web_hostel .whstl-page {
  width: 100%;
  box-sizing: border-box;
}

#root_web_hostel .whstl-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
  padding: 24px;
  min-height: 420px;
  box-sizing: border-box;
  max-width: 100%;
}

#root_web_hostel .whstl-card.hostelHDCls {
  visibility: hidden;
  overflow: hidden;
}

#root_web_hostel .whstl-header {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
}

#root_web_hostel .whstl-title {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  color: #05053d;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  line-height: 1.3;
}

#root_web_hostel .whstl-title .fa {
  color: #16a34a;
  font-size: 22px;
}

#root_web_hostel .whstl-subtitle {
  margin: 8px 0 0;
  font-size: 14px;
  color: #6b7280;
}

#root_web_hostel .whstl-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

#root_web_hostel .whstl-item {
  min-width: 0;
  height: 100%;
}

#root_web_hostel .whstl-item-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #ffffff;
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

#root_web_hostel .whstl-item-inner:hover {
  border-color: #a7f3d0;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}

#root_web_hostel .whstl-thumb {
  background: #f8fafc;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
  padding: 16px;
}

#root_web_hostel .whstl-photo,
#root_web_hostel .imgWidthAndHightCls {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #fff;
  display: block;
}

#root_web_hostel .whstl-thumb-link {
  display: inline-block;
  text-decoration: none;
}

#root_web_hostel .whstl-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px 16px;
  flex: 1 1 auto;
}

#root_web_hostel .whstl-name {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  word-break: break-word;
}

#root_web_hostel .whstl-name-link {
  color: inherit;
  text-decoration: none;
}

#root_web_hostel .whstl-meta {
  margin: 0;
  font-size: 13px;
  color: #4b5563;
  line-height: 1.5;
}

#root_web_hostel .whstl-actions {
  margin-top: auto;
  padding-top: 8px;
}

#root_web_hostel .whstl-more-link {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: #16a34a;
  text-decoration: none;
}

#root_web_hostel .whstl-more-link:hover {
  color: #15803d;
  text-decoration: underline;
}

#root_web_hostel .whstl-empty {
  text-align: center;
  padding: 36px 16px;
  color: #6b7280;
}

#root_web_hostel .whstl-empty--hidden,
#root_web_hostel .whstl-empty[hidden] {
  display: none !important;
}

#root_web_hostel .whstl-empty-icon {
  font-size: 28px;
  color: #94a3b8;
  margin-bottom: 8px;
}

#root_web_hostel .whstl-empty h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: #334155;
}

#root_web_hostel .whstl-empty p {
  margin: 0;
  font-size: 13px;
}

#root_web_hostel .whstl-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1024px) {
  #root_web_hostel .whstl-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  #root_web_hostel .whstl-card {
    padding: 16px;
  }

  #root_web_hostel .whstl-title {
    font-size: 22px;
  }

  #root_web_hostel .whstl-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Public Web Library polish (wlib-*) — append only ===== */
#root_web_library .wlib-table-wrap {
  position: relative;
}

#root_web_library .wlib-table-wrap::after {
  content: "";
  pointer-events: none;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 28px;
  background: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,0.95));
  opacity: 0;
}

#root_web_library .wlib-about-body {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 14px 16px;
}

#root_web_library .wlib-search-card {
  min-height: auto;
}

@media (max-width: 640px) {
  #root_web_library .wlib-table-wrap::after {
    opacity: 1;
  }
}

/* ===== web_college_documents (wcdoc-*) — append-only ===== */
#root_web_college_documents {
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

#root_web_college_documents .wcdoc-page {
  width: 100%;
  box-sizing: border-box;
  padding-bottom: 48px;
  min-height: 52vh;
}

#root_web_college_documents .wcdoc-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
  padding: 24px;
  min-height: 320px;
  box-sizing: border-box;
  max-width: 100%;
}

#root_web_college_documents .wcdoc-header {
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e5e7eb;
  text-align: center;
}

#root_web_college_documents .wcdoc-title {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  color: #05053d;
  line-height: 1.3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

#root_web_college_documents .wcdoc-title .fa {
  color: #16a34a;
  font-size: 22px;
}

#root_web_college_documents .wcdoc-subtitle {
  margin: 8px 0 0;
  font-size: 14px;
  color: #6b7280;
}

#root_web_college_documents .wcdoc-panel {
  width: 100%;
  float: none;
  padding: 0;
}

#root_web_college_documents .wcdoc-panel[hidden] {
  display: none !important;
}

#root_web_college_documents .wcdoc-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
}

#root_web_college_documents .wcdoc-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 14px;
  margin: 0;
}

#root_web_college_documents .wcdoc-table thead th,
#root_web_college_documents .wcdoc-head-row th {
  background: #05053d;
  color: #ffffff;
  font-weight: 600;
  font-size: 13px;
  padding: 12px 14px;
  text-align: left;
  white-space: nowrap;
  border: none;
}

#root_web_college_documents .wcdoc-table thead th.aCenter {
  text-align: center;
}

#root_web_college_documents .wcdoc-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #f3f4f6;
  vertical-align: middle;
  color: #111827;
  line-height: 1.45;
  background: #ffffff;
}

#root_web_college_documents .wcdoc-table tbody tr:nth-child(even) td {
  background: #f9fafb;
}

#root_web_college_documents .wcdoc-table tbody tr:hover td {
  background: #f0fdf4;
}

#root_web_college_documents .wcdoc-table tbody tr:last-child td {
  border-bottom: none;
}

#root_web_college_documents .wcdoc-td-name {
  font-weight: 600;
  color: #1f2937;
  word-break: break-word;
}

#root_web_college_documents .wcdoc-td-num {
  width: 72px;
}

#root_web_college_documents .wcdoc-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 10px;
  background: #16a34a;
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

#root_web_college_documents .wcdoc-download:hover {
  background: #15803d;
}

#root_web_college_documents .wcdoc-download:focus-visible {
  outline: 2px solid #16a34a;
  outline-offset: 2px;
}

#root_web_college_documents .wcdoc-empty {
  margin-top: 12px;
  text-align: center;
  padding: 32px 16px;
  color: #b91c1c;
  background: #fef2f2;
  border: 1px dashed #fecaca;
  border-radius: 12px;
}

#root_web_college_documents .wcdoc-empty[hidden] {
  display: none !important;
}

#root_web_college_documents .wcdoc-empty-icon {
  font-size: 28px;
  color: #f87171;
  margin-bottom: 8px;
}

#root_web_college_documents .wcdoc-empty-text {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
}

@media (max-width: 768px) {
  #root_web_college_documents .wcdoc-card {
    padding: 16px;
  }

  #root_web_college_documents .wcdoc-title {
    font-size: 22px;
  }
}

@media (max-width: 640px) {
  #root_web_college_documents .wcdoc-table-wrap {
    overflow-x: visible;
    border: none;
  }

  #root_web_college_documents .wcdoc-table {
    min-width: 0;
    display: block;
  }

  #root_web_college_documents .wcdoc-table thead {
    display: none;
  }

  #root_web_college_documents .wcdoc-table tbody,
  #root_web_college_documents .wcdoc-table tr {
    display: block;
    width: 100%;
  }

  #root_web_college_documents .wcdoc-table tr {
    margin-bottom: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 10px 12px;
    background: #ffffff;
  }

  #root_web_college_documents .wcdoc-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 8px 0;
    border-bottom: 1px solid #f3f4f6;
    text-align: right !important;
  }

  #root_web_college_documents .wcdoc-table td:last-child {
    border-bottom: none;
  }

  #root_web_college_documents .wcdoc-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: #6b7280;
    text-align: left;
    flex: 0 0 42%;
  }

  #root_web_college_documents .wcdoc-table tbody tr:nth-child(even) td,
  #root_web_college_documents .wcdoc-table tbody tr:hover td {
    background: transparent;
  }

  #root_web_college_documents .wcdoc-download {
    width: 100%;
  }

  #root_web_college_documents .wcdoc-td-action {
    flex-direction: column;
    align-items: stretch;
  }

  #root_web_college_documents .wcdoc-td-action::before {
    margin-bottom: 4px;
  }
}

/* ===== web_college_documents Phase 3 polish (append-only) ===== */
#root_web_college_documents .wcdoc-table thead th:last-child {
  width: 200px;
  text-align: center;
}

#root_web_college_documents .wcdoc-download[href="#"] {
  opacity: 0.65;
  pointer-events: none;
}

/* wtr Phase 3 polish — about prose + table clock (append-only) */
#root_web_transport .wtr-about-content ul,
#root_web_transport .wtr-about-content ol {
  margin: 0 0 12px;
  padding-left: 1.25rem;
}

#root_web_transport .wtr-about-content a {
  color: #15803d;
  text-decoration: underline;
}

#root_web_transport .wtr-about-content a:hover {
  color: #166534;
}

#root_web_transport .wtr-table tbody tr:hover td {
  background: #f0fdf4;
}

@media (min-width: 1024px) {
  #root_web_transport .wtr-page {
    gap: 24px;
  }
}

#root_web_hostel .whstl-more-link::after {
  content: ' \f105';
  font-family: FontAwesome;
  font-size: 12px;
  margin-left: 2px;
}

#root_web_hostel .whstl-item-inner:focus-within {
  border-color: #86efac;
  box-shadow: 0 0 0 3px rgba(134, 239, 172, 0.35);
}

/* ===== College Poll / Election List (cpoll-*) — append only ===== */
#root_college_poll {
  width: 100%;
  box-sizing: border-box;
}

#root_college_poll .cpoll-page {
  width: 100%;
  box-sizing: border-box;
}

#root_college_poll .cpoll-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  border: 1px solid #e5e7eb;
  padding: 22px 22px 20px;
}

#root_college_poll .cpoll-header {
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
}

#root_college_poll .cpoll-title {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  color: #05053d;
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.25;
}

#root_college_poll .cpoll-title .fa {
  color: #0369a1;
  font-size: 0.9em;
}

#root_college_poll .cpoll-subtitle {
  margin: 6px 0 0;
  font-size: 14px;
  color: #6b7280;
  line-height: 1.45;
}

#root_college_poll .cpoll-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  position: relative;
}

#root_college_poll .cpoll-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 14px;
}

#root_college_poll .cpoll-table .tableHeadClass th,
#root_college_poll .cpoll-table thead th {
  background: #05053d;
  color: #fff;
  font-weight: 600;
  padding: 12px 14px;
  text-align: left;
  white-space: nowrap;
  border: none;
}

#root_college_poll .cpoll-table th.centerCls,
#root_college_poll .cpoll-table td.centerCls,
#root_college_poll .cpoll-td-sno {
  text-align: center;
}

#root_college_poll .cpoll-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #e5e7eb;
  color: #111827;
  vertical-align: middle;
}

#root_college_poll .cpoll-table tr:nth-child(even) td {
  background: #f9fafb;
}

#root_college_poll .cpoll-table tr:hover td {
  background: #f3f4f6;
}

#root_college_poll .cpoll-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 6px 14px;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

#root_college_poll .cpoll-btn-info {
  background: #0369a1;
  color: #fff;
}

#root_college_poll .cpoll-btn-info:hover {
  background: #075985;
}

#root_college_poll .cpoll-btn:focus-visible {
  outline: 2px solid #ca8a04;
  outline-offset: 2px;
}

#root_college_poll .cpoll-closed {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: #e5e7eb;
  color: #4b5563;
}

#root_college_poll .cpoll-empty {
  margin: 24px auto;
  max-width: 420px;
  text-align: center;
  padding: 28px 18px;
  border: 1px dashed #d1d5db;
  border-radius: 12px;
  background: #f9fafb;
  color: #6b7280;
}

#root_college_poll .cpoll-empty[hidden] {
  display: none !important;
}

#root_college_poll .cpoll-empty-icon {
  font-size: 28px;
  color: #9ca3af;
  margin-bottom: 8px;
}

#root_college_poll .cpoll-empty h3,
#root_college_poll .cpoll-empty .error_message {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: #dc2626;
}

#root_college_poll .cpoll-empty p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}

@media (max-width: 640px) {
  #root_college_poll .cpoll-card {
    padding: 16px;
  }

  #root_college_poll .cpoll-title {
    font-size: 22px;
  }

  #root_college_poll .cpoll-table {
    min-width: 640px;
    font-size: 13px;
  }

  #root_college_poll .cpoll-table-wrap::after {
    content: "";
    pointer-events: none;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 28px;
    background: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,0.95));
  }
}

/* ===== College Poll polish (cpoll-*) — append only ===== */
#root_college_poll .cpoll-table td:nth-child(2) {
  font-weight: 600;
  color: #111827;
}

#root_college_poll .cpoll-table td:nth-child(3) {
  color: #4b5563;
}

#root_college_poll #WinnersThId[style*="display: none"],
#root_college_poll #dateThId[style*="display: none"] {
  /* jQuery hide keeps layout predictable via display:none */
}

/* ------------------------ Public College Events (cev-*) ------------------------ */
#root_college_events_web {
  width: 100%;
  box-sizing: border-box;
}

#root_college_events_web .cev-page {
  width: 100%;
  box-sizing: border-box;
}

#root_college_events_web .cev-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
  padding: 24px;
  min-height: 420px;
  box-sizing: border-box;
  max-width: 100%;
}

#root_college_events_web .cev-header {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
}

#root_college_events_web .cev-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

#root_college_events_web .cev-title {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  color: #05053d;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  line-height: 1.3;
}

#root_college_events_web .cev-title .fa {
  color: #16a34a;
  font-size: 22px;
}

#root_college_events_web .cev-subtitle {
  margin: 8px 0 0;
  font-size: 14px;
  color: #6b7280;
}

#root_college_events_web .cev-back-wrap {
  flex: 0 0 auto;
}

#root_college_events_web .cev-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 14px;
  border: 0;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  line-height: 1.2;
  white-space: nowrap;
}

#root_college_events_web .cev-btn-back {
  background: #2563eb;
  color: #ffffff;
}

#root_college_events_web .cev-btn-back:hover {
  background: #1d4ed8;
}

#root_college_events_web .cev-btn:focus-visible,
#root_college_events_web .cev-event-actions a:focus-visible,
#root_college_events_web .cev-more a:focus-visible {
  outline: 2px solid #16a34a;
  outline-offset: 2px;
}

#root_college_events_web .cev-section {
  margin-top: 8px;
  margin-bottom: 28px;
}

#root_college_events_web .cev-section-title,
#root_college_events_web .headTitleFees {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 700;
  color: #05053d;
}

#root_college_events_web .cev-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

#root_college_events_web .cev-event-card {
  min-width: 0;
}

#root_college_events_web .cev-event-item,
#root_college_events_web .item {
  height: 100%;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  overflow: hidden;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

#root_college_events_web .cev-event-item:hover,
#root_college_events_web .item:hover {
  border-color: #bbf7d0;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

#root_college_events_web .cev-event-info,
#root_college_events_web .info {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 100%;
  box-sizing: border-box;
}

#root_college_events_web .cev-event-name {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  color: #0f172a;
}

#root_college_events_web .cev-event-name a,
#root_college_events_web .albumNameClass {
  color: #05053d;
  text-decoration: none;
}

#root_college_events_web .cev-event-meta,
#root_college_events_web .cev-event-info p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: #4b5563;
}

#root_college_events_web .cev-event-actions,
#root_college_events_web .bottom-info {
  margin-top: auto;
  padding-top: 8px;
}

#root_college_events_web .cev-event-actions a,
#root_college_events_web .bottom-info a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 6px 14px;
  border-radius: 8px;
  background: #16a34a;
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

#root_college_events_web .cev-event-actions a:hover,
#root_college_events_web .bottom-info a:hover {
  background: #15803d;
}

#root_college_events_web .cev-empty,
#root_college_events_web .norecFount {
  margin: 12px auto 0;
  max-width: 420px;
  text-align: center;
  padding: 24px 16px;
  border: 1px dashed #d1d5db;
  border-radius: 12px;
  background: #f9fafb;
  color: #6b7280;
  font-size: 15px;
  font-weight: 600;
}

#root_college_events_web .cev-empty[hidden] {
  display: none !important;
}

#root_college_events_web .cev-empty-icon {
  font-size: 28px;
  color: #9ca3af;
  margin-bottom: 8px;
}

#root_college_events_web .cev-empty-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #374151;
}

#root_college_events_web .cev-more {
  text-align: center;
  margin-top: 8px;
}

#root_college_events_web .cev-more a {
  color: #2563eb;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
}

#root_college_events_web .cev-more a:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

@media (max-width: 1024px) {
  #root_college_events_web .cev-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  #root_college_events_web .cev-card {
    padding: 16px;
  }

  #root_college_events_web .cev-title {
    font-size: 20px;
  }

  #root_college_events_web .cev-header-row {
    flex-direction: column;
    align-items: stretch;
  }

  #root_college_events_web .cev-btn-back {
    width: 100%;
  }

  #root_college_events_web .cev-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== web_notable_alumni (wnalu-*) — append-only ===== */
#root_web_notable_alumni {
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

#root_web_notable_alumni .wnalu-page {
  width: 100%;
  box-sizing: border-box;
  padding-bottom: 48px;
  min-height: 52vh;
}

#root_web_notable_alumni .wnalu-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
  padding: 24px;
  min-height: 360px;
  box-sizing: border-box;
  max-width: 100%;
}

#root_web_notable_alumni .wnalu-header {
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e5e7eb;
  text-align: center;
}

#root_web_notable_alumni .wnalu-title {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  color: #05053d;
  line-height: 1.3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

#root_web_notable_alumni .wnalu-title .fa {
  color: #16a34a;
  font-size: 22px;
}

#root_web_notable_alumni .wnalu-subtitle {
  margin: 8px 0 0;
  font-size: 14px;
  color: #6b7280;
}

#root_web_notable_alumni .wnalu-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#root_web_notable_alumni .wnalu-item {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 16px 20px;
  align-items: start;
  padding: 16px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #ffffff;
  box-sizing: border-box;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

#root_web_notable_alumni .wnalu-item:hover {
  border-color: #a7f3d0;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}

#root_web_notable_alumni .wnalu-photo-wrap {
  width: 120px;
  height: 140px;
  border-radius: 12px;
  overflow: hidden;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
}

#root_web_notable_alumni .wnalu-photo,
#root_web_notable_alumni .webStaffListImgCls,
#root_web_notable_alumni .thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
}

#root_web_notable_alumni .wnalu-body {
  min-width: 0;
}

#root_web_notable_alumni .wnalu-name {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  color: #05053d;
  line-height: 1.35;
  word-break: break-word;
}

#root_web_notable_alumni .wnalu-summary {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.55;
  word-break: break-word;
}

#root_web_notable_alumni .wnalu-more-wrap {
  margin-top: 10px;
}

#root_web_notable_alumni .wnalu-more-link,
#root_web_notable_alumni a.wnalu-more-link {
  color: #0254eb;
  text-decoration: none;
  font-size: 14px;
  cursor: pointer;
}

#root_web_notable_alumni .wnalu-more-link:hover,
#root_web_notable_alumni .wnalu-more-link:visited {
  color: #0254eb;
  text-decoration: underline;
}

#root_web_notable_alumni .wnalu-more-link:focus-visible {
  outline: 2px solid #16a34a;
  outline-offset: 2px;
  border-radius: 4px;
}

#root_web_notable_alumni .morecontent span {
  display: none;
}

#root_web_notable_alumni .wnalu-empty {
  margin-top: 8px;
  text-align: center;
  padding: 32px 16px;
  color: #b91c1c;
  background: #fef2f2;
  border: 1px dashed #fecaca;
  border-radius: 12px;
}

#root_web_notable_alumni .wnalu-empty[hidden] {
  display: none !important;
}

#root_web_notable_alumni .wnalu-empty-icon {
  font-size: 28px;
  color: #f87171;
  margin-bottom: 8px;
}

#root_web_notable_alumni .wnalu-empty h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: #991b1b;
}

#root_web_notable_alumni .wnalu-empty p {
  margin: 0;
  font-size: 13px;
  color: #b91c1c;
}

/* Modal */
#root_web_notable_alumni .wnalu-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1050;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(15, 23, 42, 0.55);
  box-sizing: border-box;
}

#root_web_notable_alumni .wnalu-modal-overlay.hidden {
  display: none !important;
}

#root_web_notable_alumni .wnalu-modal-overlay.flex {
  display: flex !important;
}

#root_web_notable_alumni .wnalu-modal {
  width: 100%;
  max-width: 720px;
  max-height: min(86vh, 860px);
  overflow: auto;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.25);
  box-sizing: border-box;
}

#root_web_notable_alumni .wnalu-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px 10px;
  border-bottom: 1px solid #e5e7eb;
}

#root_web_notable_alumni .wnalu-modal-title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #05053d;
  line-height: 1.3;
}

#root_web_notable_alumni .wnalu-modal-close {
  border: none;
  background: transparent;
  color: #6b7280;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
}

#root_web_notable_alumni .wnalu-modal-close:hover {
  color: #111827;
}

#root_web_notable_alumni .wnalu-modal-body {
  padding: 16px 18px;
  font-size: 14px;
  color: #374151;
  line-height: 1.6;
  word-break: break-word;
}

#root_web_notable_alumni .wnalu-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 12px 18px 18px;
  border-top: 1px solid #f3f4f6;
}

#root_web_notable_alumni .wnalu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 14px;
  border: none;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

#root_web_notable_alumni .wnalu-btn-close {
  background: #dc2626;
  color: #ffffff;
}

#root_web_notable_alumni .wnalu-btn-close:hover {
  background: #b91c1c;
}

body.wnalu-modal-open {
  overflow: hidden;
}

@media (max-width: 767px) {
  #root_web_notable_alumni .wnalu-card {
    padding: 16px;
  }

  #root_web_notable_alumni .wnalu-title {
    font-size: 22px;
  }

  #root_web_notable_alumni .wnalu-item {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  #root_web_notable_alumni .wnalu-body {
    width: 100%;
  }

  #root_web_notable_alumni .wnalu-modal-actions .wnalu-btn {
    width: 100%;
  }
}

/* ===== web_notable_alumni Phase 3 polish (append-only) ===== */
#root_web_notable_alumni .wnalu-summary {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

#root_web_notable_alumni .wnalu-more-link b {
  font-weight: 700;
}

#root_web_notable_alumni .wnalu-btn:focus-visible,
#root_web_notable_alumni .wnalu-modal-close:focus-visible {
  outline: 2px solid #16a34a;
  outline-offset: 2px;
}

/* ------------------------ Web Alumni Info (wainf-*) ------------------------ */
#root_web_alumni_info .wainf-page {
  width: 100%;
  box-sizing: border-box;
}

#root_web_alumni_info .wainf-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
  padding: 24px;
  min-height: 420px;
  box-sizing: border-box;
  max-width: 100%;
}

#root_web_alumni_info .wainf-header {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
}

#root_web_alumni_info .wainf-title {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  color: #05053d;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  line-height: 1.3;
}

#root_web_alumni_info .wainf-title .fa {
  color: #16a34a;
  font-size: 22px;
}

#root_web_alumni_info .wainf-subtitle {
  margin: 8px 0 0;
  font-size: 14px;
  color: #6b7280;
}

#root_web_alumni_info .wainf-content {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 18px 16px;
  background: #fafafa;
  margin-bottom: 20px;
}

#root_web_alumni_info .wainf-section-title,
#root_web_alumni_info .news_web_view_heads {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  color: #05053d;
  margin-bottom: 12px;
  line-height: 1.35;
}

#root_web_alumni_info .wainf-body,
#root_web_alumni_info #AlumniInfo {
  font-size: 14px;
  line-height: 1.65;
  color: #334155;
  word-break: break-word;
  overflow-wrap: anywhere;
}

#root_web_alumni_info #AlumniInfo img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

#root_web_alumni_info #AlumniInfo a {
  color: #0254eb;
  text-decoration: underline;
}

#root_web_alumni_info #AlumniInfo a:visited {
  color: #0254eb;
}

#root_web_alumni_info a.morelink {
  text-decoration: none;
  outline: none;
  color: #16a34a;
  font-weight: 600;
}

#root_web_alumni_info .morecontent span {
  display: none;
}

#root_web_alumni_info .wainf-empty,
#root_web_alumni_info .noAlumniInfoFoundCls {
  text-align: center;
  padding: 28px 12px;
  color: #6b7280;
}

#root_web_alumni_info .wainf-empty-icon {
  font-size: 28px;
  color: #94a3b8;
  margin-bottom: 8px;
}

#root_web_alumni_info .wainf-empty h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: #334155;
}

#root_web_alumni_info .wainf-empty p {
  margin: 0;
  font-size: 13px;
}

#root_web_alumni_info .wainf-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding-top: 4px;
}

#root_web_alumni_info .wainf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

#root_web_alumni_info .wainf-btn-info {
  background: #0ea5e9;
  color: #fff;
}

#root_web_alumni_info .wainf-btn-info:hover {
  background: #0284c7;
}

#root_web_alumni_info .wainf-btn-success {
  background: #16a34a;
  color: #fff;
}

#root_web_alumni_info .wainf-btn-success:hover {
  background: #15803d;
}

#root_web_alumni_info .wainf-btn-primary {
  background: #2563eb;
  color: #fff;
}

#root_web_alumni_info .wainf-btn-primary:hover {
  background: #1d4ed8;
}

#root_web_alumni_info .wainf-btn:focus-visible {
  outline: 2px solid #86efac;
  outline-offset: 2px;
}

@media (max-width: 640px) {
  #root_web_alumni_info .wainf-card {
    padding: 16px;
  }

  #root_web_alumni_info .wainf-title {
    font-size: 22px;
  }

  #root_web_alumni_info .wainf-actions {
    flex-direction: column;
    align-items: stretch;
  }

  #root_web_alumni_info .wainf-btn {
    width: 100%;
    white-space: normal;
  }
}

#root_web_alumni_info .wainf-body p,
#root_web_alumni_info #AlumniInfo p {
  margin: 0 0 12px;
}

#root_web_alumni_info .wainf-body ul,
#root_web_alumni_info #AlumniInfo ul {
  margin: 0 0 12px;
  padding-left: 1.25rem;
}

#root_web_alumni_info .wainf-body li,
#root_web_alumni_info #AlumniInfo li {
  margin-bottom: 6px;
}

#root_web_alumni_info .wainf-body h1,
#root_web_alumni_info .wainf-body h2,
#root_web_alumni_info .wainf-body h3,
#root_web_alumni_info #AlumniInfo h1,
#root_web_alumni_info #AlumniInfo h2,
#root_web_alumni_info #AlumniInfo h3 {
  margin: 0 0 10px;
  color: #05053d;
  font-weight: 700;
  line-height: 1.35;
}

/* cev Phase 3 polish — meta spacing, view link (append-only) */
#root_college_events_web .cev-event-meta .viewStaff {
  color: #1f2937;
}

#root_college_events_web .cev-event-meta .moreInfoClasswe {
  display: inline-block;
  margin-top: 4px;
}

#root_college_events_web .cev-section + .cev-section {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #f1f5f9;
}

/* ===== Public Alumni Meetings (wameet-*) — append only ===== */
#root_web_alumni_meet {
  width: 100%;
  box-sizing: border-box;
}

#root_web_alumni_meet .wameet-page {
  width: 100%;
  box-sizing: border-box;
}

#root_web_alumni_meet .wameet-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  border: 1px solid #e5e7eb;
  padding: 22px 22px 20px;
}

#root_web_alumni_meet .wameet-header {
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 1px solid #e5e7eb;
}

#root_web_alumni_meet .wameet-title {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  color: #05053d;
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.25;
}

#root_web_alumni_meet .wameet-title .fa {
  color: #0369a1;
  font-size: 0.9em;
}

#root_web_alumni_meet .wameet-subtitle {
  margin: 6px 0 0;
  font-size: 14px;
  color: #6b7280;
  line-height: 1.45;
}

#root_web_alumni_meet .wameet-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

#root_web_alumni_meet .wameet-item,
#root_web_alumni_meet .alumMeetMgn {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  padding: 16px 16px 14px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

#root_web_alumni_meet .wameet-item:hover {
  border-color: #d1d5db;
}

#root_web_alumni_meet .wameet-item-title {
  font-size: 17px;
  color: #05053d;
  margin-bottom: 8px;
}

#root_web_alumni_meet .wameet-item-meta {
  font-size: 14px;
  color: #374151;
  margin-bottom: 4px;
}

#root_web_alumni_meet .wameet-item-meta .fa {
  color: #6b7280;
  margin-right: 4px;
}

#root_web_alumni_meet .wameet-item-summary {
  margin-top: 10px;
  font-size: 14px;
  color: #4b5563;
  line-height: 1.55;
}

#root_web_alumni_meet .wameet-more-link,
#root_web_alumni_meet a {
  color: #0254EB;
}

#root_web_alumni_meet a:visited {
  color: #0254EB;
}

#root_web_alumni_meet a.morelink {
  text-decoration: none;
  outline: none;
}

#root_web_alumni_meet .morecontent span {
  display: none;
}

#root_web_alumni_meet .wameet-docs {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #f3f4f6;
}

#root_web_alumni_meet .wameet-docs-label {
  font-size: 13px;
  color: #374151;
  margin-bottom: 6px;
}

#root_web_alumni_meet .wameet-doc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

#root_web_alumni_meet .wameet-doc-table td {
  padding: 6px 8px;
  vertical-align: middle;
}

#root_web_alumni_meet .wameet-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  min-width: 32px;
  padding: 4px 10px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

#root_web_alumni_meet .wameet-btn-danger {
  background: #dc2626;
  color: #fff;
}

#root_web_alumni_meet .wameet-btn-danger:hover {
  background: #b91c1c;
}

#root_web_alumni_meet .wameet-empty {
  margin: 24px auto;
  max-width: 420px;
  text-align: center;
  padding: 28px 18px;
  border: 1px dashed #d1d5db;
  border-radius: 12px;
  background: #f9fafb;
  color: #6b7280;
}

#root_web_alumni_meet .wameet-empty[hidden] {
  display: none !important;
}

#root_web_alumni_meet .wameet-empty-icon {
  font-size: 28px;
  color: #9ca3af;
  margin-bottom: 8px;
}

#root_web_alumni_meet .wameet-empty h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: #374151;
}

#root_web_alumni_meet .wameet-empty p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}

#root_web_alumni_meet .wameet-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1050;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(15, 23, 42, 0.45);
}

#root_web_alumni_meet .wameet-modal.wameet-modal-open {
  display: flex;
}

body.wameet-modal-lock {
  overflow: hidden;
}

#root_web_alumni_meet .wameet-modal-dialog {
  width: 100%;
  max-width: 760px;
  max-height: calc(100vh - 32px);
  overflow: auto;
  animation: wameetModalIn 0.18s ease-out;
}

@keyframes wameetModalIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

#root_web_alumni_meet .wameet-modal-content {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.25);
  border: 1px solid #e5e7eb;
}

#root_web_alumni_meet .wameet-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid #e5e7eb;
}

#root_web_alumni_meet .wameet-modal-title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #05053d;
  flex: 1;
  line-height: 1.3;
}

#root_web_alumni_meet .wameet-modal-close {
  border: none;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  color: #6b7280;
  cursor: pointer;
  padding: 0 4px;
}

#root_web_alumni_meet .wameet-modal-close:hover {
  color: #111827;
}

#root_web_alumni_meet .wameet-modal-summary {
  padding: 18px;
  font-size: 15px;
  color: #374151;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

@media (max-width: 640px) {
  #root_web_alumni_meet .wameet-card {
    padding: 16px;
  }

  #root_web_alumni_meet .wameet-title {
    font-size: 22px;
  }

  #root_web_alumni_meet .wameet-item {
    padding: 14px;
  }
}

/* ===== Public Alumni Meetings polish (wameet-*) — append only ===== */
#root_web_alumni_meet .wameet-doc-table tr {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

#root_web_alumni_meet .wameet-doc-table td {
  display: block;
}

#root_web_alumni_meet .wameet-item-summary a.wameet-more-link {
  font-weight: 600;
  white-space: nowrap;
}

#root_web_alumni_meet .wameet-modal-summary p {
  margin: 0 0 10px;
}

/* ------------------------ Public Online Application (wapl-*) ------------------------ */
#root_application {
  width: 100%;
  box-sizing: border-box;
}

#root_application .wapl-page {
  width: 100%;
  box-sizing: border-box;
}

#root_application .wapl-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
  padding: 24px;
  min-height: 420px;
  box-sizing: border-box;
  max-width: 100%;
}

#root_application .wapl-header {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
}

#root_application .wapl-title {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  color: #05053d;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  line-height: 1.3;
}

#root_application .wapl-title .fa {
  color: #16a34a;
  font-size: 22px;
}

#root_application .wapl-subtitle {
  margin: 8px 0 0;
  font-size: 14px;
  color: #6b7280;
}

#root_application .wapl-toolbar {
  margin-bottom: 16px;
}

#root_application .wapl-toolbar[hidden] {
  display: none !important;
}

#root_application .wapl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 14px;
  border: 0;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  line-height: 1.2;
  white-space: nowrap;
}

#root_application .wapl-btn-primary {
  background: #16a34a;
  color: #ffffff;
}

#root_application .wapl-btn-primary:hover {
  background: #15803d;
}

#root_application .wapl-btn:focus-visible,
#root_application .wapl-apply-link:focus-visible,
#root_application #waplAlertOk:focus-visible {
  outline: 2px solid #16a34a;
  outline-offset: 2px;
}

#root_application .wapl-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

#root_application .wapl-app-card,
#root_application .box.border-shadow-left {
  min-width: 0;
  width: auto;
  margin: 0;
  padding: 0;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  overflow: hidden;
  box-sizing: border-box;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

#root_application .wapl-app-card:hover,
#root_application .box.border-shadow-left:hover {
  border-color: #bbf7d0;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

#root_application .wapl-app-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

#root_application .wapl-app-thumb,
#root_application .thumb.appImgAlignCls {
  text-align: center;
  padding: 16px 16px 0;
  background: #ffffff;
}

#root_application .wapl-app-img,
#root_application .appImgCls {
  max-width: 60%;
  height: auto;
  max-height: 120px;
  object-fit: contain;
  border-radius: 8px;
}

#root_application .wapl-app-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 1 auto;
}

#root_application .wapl-app-name,
#root_application .wapl-app-body h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #05053d;
  line-height: 1.35;
  text-align: center;
}

#root_application .moreInfoThreeLine {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 60px;
}

#root_application .wapl-app-meta {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: #4b5563;
}

#root_application .wapl-app-actions,
#root_application .bottom-info {
  margin-top: auto;
  padding-top: 8px;
  text-align: center;
}

#root_application .wapl-apply-link,
#root_application .bottom-info a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #16a34a;
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.02em;
}

#root_application .wapl-apply-link:hover,
#root_application .bottom-info a:hover {
  background: #15803d;
}

#root_application .wapl-empty,
#root_application .norecFount {
  margin: 20px auto 0;
  max-width: 420px;
  text-align: center;
  padding: 24px 16px;
  border: 1px dashed #d1d5db;
  border-radius: 12px;
  background: #f9fafb;
  color: #6b7280;
  font-size: 15px;
  font-weight: 600;
}

#root_application .wapl-empty[hidden] {
  display: none !important;
}

#root_application .wapl-empty-icon {
  font-size: 28px;
  color: #9ca3af;
  margin-bottom: 8px;
}

#root_application .wapl-empty-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #374151;
}

body.wapl-modal-open {
  overflow: hidden;
}

#root_application .wapl-modal {
  position: fixed;
  inset: 0;
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

#root_application .wapl-modal.hidden {
  display: none !important;
}

#root_application .wapl-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
}

#root_application .wapl-modal-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
}

#root_application .wapl-modal-content {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.18);
  overflow: hidden;
}

#root_application .wapl-modal-header {
  padding: 14px 18px;
  border-bottom: 1px solid #e5e7eb;
  background: #f8fafc;
}

#root_application .wapl-modal-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #05053d;
}

#root_application .wapl-modal-body {
  padding: 16px 18px 20px;
}

#root_application .wapl-dialog-msg {
  margin: 0 0 16px;
  font-size: 15px;
  color: #374151;
  line-height: 1.5;
}

#root_application .wapl-dialog-actions {
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 1024px) {
  #root_application .wapl-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  #root_application .wapl-card {
    padding: 16px;
  }

  #root_application .wapl-title {
    font-size: 20px;
  }

  #root_application .wapl-grid {
    grid-template-columns: 1fr;
  }

  #root_application .wapl-app-img,
  #root_application .appImgCls {
    max-width: 70%;
  }

  #root_application .wapl-apply-link,
  #root_application .bottom-info a {
    width: 100%;
  }
}

/* ------------------------ Web Alumni Registration (wareg-*) ------------------------ */
#root_web_alumni_registration .wareg-page {
  width: 100%;
  box-sizing: border-box;
}

#root_web_alumni_registration .wareg-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
  padding: 24px;
  min-height: 420px;
  box-sizing: border-box;
  max-width: 100%;
}

#root_web_alumni_registration .wareg-header {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
}

#root_web_alumni_registration .wareg-title {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  color: #05053d;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  line-height: 1.3;
}

#root_web_alumni_registration .wareg-title .fa {
  color: #16a34a;
  font-size: 22px;
}

#root_web_alumni_registration .wareg-subtitle {
  margin: 8px 0 0;
  font-size: 14px;
  color: #6b7280;
}

#root_web_alumni_registration .wareg-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

#root_web_alumni_registration .wareg-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 20px;
}

#root_web_alumni_registration .wareg-field {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

#root_web_alumni_registration .wareg-label,
#root_web_alumni_registration .control-label {
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  margin: 0;
}

#root_web_alumni_registration .wareg-input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  color: #0f172a;
  background: #fff;
  min-height: 42px;
}

#root_web_alumni_registration .wareg-input:focus {
  outline: none;
  border-color: #86efac;
  box-shadow: 0 0 0 3px rgba(134, 239, 172, 0.35);
}

#root_web_alumni_registration .wareg-input:disabled {
  background: #f8fafc;
  color: #94a3b8;
  cursor: not-allowed;
}

#root_web_alumni_registration .wareg-radio-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  min-height: 42px;
  margin: 0;
}

#root_web_alumni_registration .wareg-radio {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #334155;
  font-weight: 500;
  margin: 0;
  cursor: pointer;
}

#root_web_alumni_registration .wareg-actions {
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

#root_web_alumni_registration .wareg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  line-height: 1.2;
}

#root_web_alumni_registration .wareg-btn-success {
  background: #16a34a;
  color: #fff;
}

#root_web_alumni_registration .wareg-btn-success:hover {
  background: #15803d;
}

#root_web_alumni_registration .wareg-btn:focus-visible {
  outline: 2px solid #86efac;
  outline-offset: 2px;
}

#root_web_alumni_registration label.error,
#root_web_alumni_registration .wareg-error {
  color: #dc2626;
  font-size: 12px;
  font-weight: 500;
  margin: 0;
}

#root_web_alumni_registration .wareg-input.error {
  border-color: #f97316;
}

@media (max-width: 768px) {
  #root_web_alumni_registration .wareg-card {
    padding: 16px;
  }

  #root_web_alumni_registration .wareg-title {
    font-size: 22px;
  }

  #root_web_alumni_registration .wareg-row {
    grid-template-columns: 1fr;
  }

  #root_web_alumni_registration .wareg-actions,
  #root_web_alumni_registration .wareg-btn {
    width: 100%;
  }
}

/* ===== contact_us (wcus-*) — append-only ===== */
#root_contact_us {
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

#root_contact_us .wcus-page {
  width: 100%;
  box-sizing: border-box;
  padding-bottom: 48px;
  min-height: 52vh;
}

#root_contact_us .wcus-card,
#root_contact_us .headDiv {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
  padding: 0;
  overflow: hidden;
  box-sizing: border-box;
  max-width: 100%;
  margin: 0 auto;
}

#root_contact_us .wcus-header {
  padding: 22px 24px 16px;
  text-align: center;
  border-bottom: 1px solid #e5e7eb;
  background: #f8fafc;
}

#root_contact_us .wcus-title {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  color: #05053d;
  line-height: 1.3;
}

#root_contact_us .wcus-subtitle {
  margin: 8px 0 0;
  font-size: 14px;
  color: #6b7280;
}

#root_contact_us .wcus-map-section {
  padding: 20px 24px 8px;
  text-align: center;
}

#root_contact_us .wcus-map-frame {
  display: inline-block;
  max-width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  background: #f3f4f6;
}

#root_contact_us .wcus-map-img {
  display: block;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

#root_contact_us .wcus-map-img--fallback {
  width: 100%;
  min-height: 180px;
  object-fit: cover;
  background: #e5e7eb;
}

#root_contact_us .wcus-map-link-wrap {
  margin: 12px 0 0;
}

#root_contact_us .wcus-map-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0254eb;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

#root_contact_us .wcus-map-link:hover,
#root_contact_us .wcus-map-link:visited {
  color: #0254eb;
  text-decoration: underline;
}

#root_contact_us .wcus-map-link:focus-visible {
  outline: 2px solid #16a34a;
  outline-offset: 2px;
  border-radius: 4px;
}

#root_contact_us .wcus-details {
  padding: 8px 24px 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

#root_contact_us .wcus-block {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
}

#root_contact_us .wcus-heading {
  margin: 0;
  padding: 10px 14px;
  background: #05053d;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

#root_contact_us .wcus-text {
  margin: 0;
  padding: 14px;
  font-size: 14px;
  color: #374151;
  line-height: 1.65;
}

#root_contact_us .wcus-inline-link {
  color: #111827;
  text-decoration: none;
  font-weight: 500;
}

#root_contact_us .wcus-inline-link:hover {
  color: #16a34a;
  text-decoration: underline;
}

#root_contact_us .wcus-inline-link:focus-visible {
  outline: 2px solid #16a34a;
  outline-offset: 2px;
  border-radius: 4px;
}

@media (min-width: 768px) {
  #root_contact_us .wcus-details {
    grid-template-columns: 1fr 1fr;
  }

  #root_contact_us #contactUsAddressBlock {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  #root_contact_us .wcus-header,
  #root_contact_us .wcus-map-section,
  #root_contact_us .wcus-details {
    padding-left: 16px;
    padding-right: 16px;
  }

  #root_contact_us .wcus-title {
    font-size: 22px;
  }

  #root_contact_us .wcus-details {
    padding-bottom: 16px;
  }
}

/* ===== contact_us Phase 3 polish (append-only) ===== */
#root_contact_us .wcus-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

#root_contact_us .wcus-title .fa {
  color: #16a34a;
  font-size: 22px;
}

#root_contact_us .wcus-map-img {
  max-height: 360px;
  width: 100%;
  object-fit: cover;
}

#root_contact_us #contactUsEmailBlock {
  grid-column: 1 / -1;
}

@media (min-width: 768px) {
  #root_contact_us #contactUsEmailBlock {
    grid-column: auto;
  }

  #root_contact_us .wcus-details {
    grid-template-columns: 1fr 1fr;
  }
}

/* ===== Public View Web Album (vwalb-*) — append only ===== */
#root_view_web_album {
  width: 100%;
  box-sizing: border-box;
}

#root_view_web_album .vwalb-page {
  width: 100%;
  box-sizing: border-box;
}

#root_view_web_album .vwalb-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  border: 1px solid #e5e7eb;
  padding: 22px 22px 20px;
}

#root_view_web_album .vwalb-card.viewWebAlbumHDCls {
  visibility: hidden;
}

#root_view_web_album .vwalb-header {
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 1px solid #e5e7eb;
}

#root_view_web_album .vwalb-title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: #05053d;
  line-height: 1.35;
  word-break: break-word;
}

#root_view_web_album .vwalb-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 10px;
}

#root_view_web_album .vwalb-stat {
  font-size: 13px;
  color: #6b7280;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  padding: 4px 12px;
}

#root_view_web_album .vwalb-stat strong {
  color: #111827;
  font-weight: 700;
}

#root_view_web_album .vwalb-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

#root_view_web_album .vwalb-col,
#root_view_web_album .c-one-third {
  min-width: 0;
}

#root_view_web_album .vwalb-thumb,
#root_view_web_album .imgSlide {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #f3f4f6;
  aspect-ratio: 4 / 3;
}

#root_view_web_album .vwalb-thumb a,
#root_view_web_album .imgSlide a {
  display: block;
  width: 100%;
  height: 100%;
}

#root_view_web_album .vwalb-thumb img,
#root_view_web_album .imgSlide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

#root_view_web_album .vwalb-thumb:hover img,
#root_view_web_album .imgSlide:hover img {
  transform: scale(1.04);
}

#root_view_web_album .vwalb-empty {
  margin: 24px auto;
  max-width: 420px;
  text-align: center;
  padding: 28px 18px;
  border: 1px dashed #d1d5db;
  border-radius: 12px;
  background: #f9fafb;
  color: #6b7280;
}

#root_view_web_album .vwalb-empty[hidden] {
  display: none !important;
}

#root_view_web_album .vwalb-empty-icon {
  font-size: 28px;
  color: #9ca3af;
  margin-bottom: 8px;
}

#root_view_web_album .vwalb-empty h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: #374151;
}

#root_view_web_album .vwalb-empty p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}

#root_view_web_album .vwalb-actions {
  display: flex;
  justify-content: center;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid #f3f4f6;
}

#root_view_web_album .vwalb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 16px;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

#root_view_web_album .vwalb-btn-danger {
  background: #dc2626;
  color: #fff;
}

#root_view_web_album .vwalb-btn-danger:hover {
  background: #b91c1c;
}

#root_view_web_album .vwalb-btn:focus-visible {
  outline: 2px solid #ca8a04;
  outline-offset: 2px;
}

/* ===== Public View Web Album polish (vwalb-*) — append only ===== */
#root_view_web_album .vwalb-thumb a:focus-visible {
  outline: 2px solid #ca8a04;
  outline-offset: 2px;
}

#root_view_web_album .vwalb-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.18), transparent 45%);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

#root_view_web_album .vwalb-thumb:hover::after {
  opacity: 1;
}

@media (max-width: 900px) {
  #root_view_web_album .vwalb-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  #root_view_web_album .vwalb-card {
    padding: 16px;
  }

  #root_view_web_album .vwalb-title {
    font-size: 18px;
  }

  #root_view_web_album .vwalb-grid {
    grid-template-columns: 1fr;
  }

  #root_view_web_album .vwalb-btn {
    width: 100%;
  }
}

/* wapl Phase 3 polish — meta labels, card spacing (append-only) */
#root_application .wapl-app-meta b {
  color: #1f2937;
  font-weight: 600;
}

#root_application .wapl-app-card + .wapl-app-card {
  /* grid gap handles spacing */
}

#root_application .wapl-empty {
  margin-top: 28px;
}

#root_web_alumni_registration .wareg-label:has(+ .wareg-input[required]),
#root_web_alumni_registration label[for='arAcademicYearFromId'],
#root_web_alumni_registration label[for='arAcademicYearToId'],
#root_web_alumni_registration label[for='arFirstNameId'],
#root_web_alumni_registration label[for='arDOBId'],
#root_web_alumni_registration label[for='arAadhaarId'],
#root_web_alumni_registration label[for='arMobileId'],
#root_web_alumni_registration label[for='arCountryId'],
#root_web_alumni_registration label[for='arEmailId'],
#root_web_alumni_registration label[for='arCityId'] {
  /* required labels already include * in text */
}

#root_web_alumni_registration .ui-autocomplete {
  max-height: 220px;
  overflow-y: auto;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

/* wapl fix — center application card images (append-only) */
#root_application .wapl-app-thumb,
#root_application .thumb.appImgAlignCls,
#root_application .appImgAlignCls {
  display: flex !important;
  align-items: center;
  justify-content: center;
  text-align: center !important;
  width: 100%;
}

#root_application .wapl-app-img,
#root_application .appImgCls {
  display: block;
  margin-left: auto !important;
  margin-right: auto !important;
  float: none !important;
}
