.letters-carousel .owl-item + .owl-item {
  background: #efefefa6 !important;

  border-radius: 6px;
}
.letters {
  padding: 0 44px;
}
.search-container {
  background: linear-gradient(to right, #374d98, #1976f9);
  border-radius: 7px;
  width: 100%;
  padding: 30px 40px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 40px;
  margin-top: 40px;
  position: relative;
  border: 1px solid transparent;
  -webkit-box-shadow: 3px 3px 0px 0 rgba(0, 0, 0, 0.1);
  box-shadow: 3px 3px 0px 0 rgba(0, 0, 0, 0.1);
  -webkit-box-shadow: 3px 3px 0px 0 rgba(0, 0, 0, 0.1);
  box-shadow: 3px 3px 0px 0 rgba(0, 0, 0, 0.1);
}
.hiddensearchbox {
}
.hiddenboxrow {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.search-container .form-control {
  border-radius: 7px;
  border: none;
  padding-right: 20px;
  box-shadow: none;
  height: 42px;
  line-height: 42px;
  font-size: 14px;
  margin: 0 5px;
}
.hiddensearchbox .form-control {
  border: 1px solid #ccc;
}
.search-container .btn-search {
  background: #fff;
  color: #2a2ac0;
  font-weight: bold;
  border-radius: 7px;
  padding: 6px 20px;
  border: none;
  height: 42px;
  line-height: 28px; /* centers the text & icon */
}

[dir="ltr"] .search-container .btn-search {
  margin-left: 10px;
  margin-right: 0;
}

/* For RTL layouts */
[dir="rtl"] .search-container .btn-search {
  margin-right: 10px;
  margin-left: 0;
}
.search-container select {
  border-radius: 25px;
  border: none;
  padding: 6px 20px;
  margin-left: 10px;
}
.search-container .settings-icon {
  color: #fff;
  cursor: pointer;
  font-size: 32px;
  margin-left: 10px;
  margin-right: 10px;
}

/* Base Select2 container */
.select2-container--krajee-bs3 {
  margin: 0 5px;
}
.select2-container .select2-selection--single {
  height: 42px; /* same as input */
  border-radius: 7px !important;
  border: none !important;
  padding: 6px 20px;
  box-shadow: none;
  display: flex;
  align-items: center;
}

/* Remove default arrow box look */
.select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  height: 100%;
  top: 50%;
  transform: translateY(-50%);
  right: 10px;
}

/* Placeholder/text inside */
.select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  line-height: 42px;
  font-size: 14px;
  padding-right: 10px;
  color: #555;
}

/* Focus state (like input focus) */
.select2-container--default.select2-container--open .select2-selection--single {
  border: 1px solid rgba(33, 150, 243, 0.3);
  box-shadow: 0 0 8px rgba(33, 150, 243, 0.3);
}
.select2-container--krajee-bs3
  .select2-selection--single
  .select2-selection__arrow {
  height: 100%;
}

/* Hidden popup box */
.settings-box {
  position: absolute;
  top: 110%;
  left: 0px; /* adjust to place under cog */
  right: 0px;
  background: #fff;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 4px 15px rgba(33, 150, 243, 0.4);
  border: 1px solid rgba(33, 150, 243, 0.2);
  display: none; /* hidden by default */
  z-index: 999;
}

.settings-box .select2-container .select2-selection--single {
  border: 1px solid #ccc !important;
}
@media only screen and (min-width: 991px) {
  .searchboxrspnsvemd {
    display: none;
  }
  .searchboxrspnsvelg {
    display: flex;
  }
}
@media only screen and (max-width: 991px) {
  .searchboxrspnsvemd {
    display: flex;
  }
  .searchboxrspnsvemd .hiddenboxrow {
    display: block;
  }
  .searchboxrspnsvelg {
    display: none;
  }
}

@media only screen and (max-width: 440px) {
  .search-container {
    margin-top: 10px;
    padding: 20px 10px;
  }
}
body {
  background: #ebeff1e6;
}
.top-mask {
  position: relative;
}
.top-mask::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 605px;
  inset-inline: 0;
  top: 0;
  z-index: -1;
  background-repeat: repeat;
}
.top-mask::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 605px;
  inset-inline: 0;
  top: 0;
  z-index: -1;
}

.pagination > li > a,
.pagination > li > span,
.pagination > li:first-child > a,
.pagination > li:first-child > span,
.pagination > .disabled > a,
.pagination > .disabled > a:focus,
.pagination > .disabled > a:hover,
.pagination > .disabled > span,
.pagination > .disabled > span:focus,
.pagination > .disabled > span:hover {
  background: transparent !important;
  border: 0 !important;
  border-color: transparent;
}
.pagination > .active > a,
.pagination > .active > a:focus,
.pagination > .active > a:hover,
.pagination > .active > span,
.pagination > .active > span:focus,
.pagination > .active > span:hover {
  background-color: transparent !important;
  border-color: transparent !important;
  color: #6c090c !important;
}
.letters-carousel .owl-item a.letter.single-letter.active {
  color: #fff !important;
  background: #8f1317 !important;
}

.letters-carousel .owl-item + .owl-item‌ {
  border: 0 !important;
}
.select2-container--krajee-bs3[dir="rtl"] .select2-selection--single,
.select2-container--krajee-bs3[dir="ltr"] .select2-selection--single {
  display: flex;
  height: 45px;
  justify-content: center;
  align-items: center;
  background: #fff !important;
}
.intro .form-wrapper button {
  height: 45px;
  background: #8f1317 !important;
}
.intro .form-wrapper button:before {
  border-color: transparent #8f1317 transparent !important;
}

.intro .form-wrapper input {
  text-align: center;
  display: flex;
  height: 45px;
  justify-content: center;
  align-items: center;
  background: #fff;
}
.intro .form-wrapper .select2-selection__arrow {
  background: #8f1317 !important;
  height: 45px;
}
.letters-carousel .owl-item a {
  line-height: 35px !important;
  color: #000;
}
.letters-carousel .owl-item {
  border: 0 !important;
  background: #fff !important;
  transition: all 150ms linear;
}
.letters-carousel .owl-item:hover {
  background: #8f1317 !important;
  cursor: pointer;
}
.letters-carousel .owl-item:hover a {
  color: #fff !important;
}

.letters-carousel .owl-nav .owl-prev {
  left: auto;
  right: -54px;
  border-radius: 10px !important;
  height: 100%;
  padding-top: 0px !important;
}
.letters-carousel .owl-nav .owl-next {
  right: auto;
  left: -51px;
  border-radius: 10px !important;
  height: 100%;
  padding-top: 0px !important;
}
.letters-carousel .owl-item {
  border: 1px solid #fff;
  border-right: 1px solid #fff !important;
  border-radius: 10px;
  overflow: hidden;
}
.counter-number {
  font-size: 3.2rem;
  font-weight: bold;
  margin: 0;
}
.counter-title {
  margin: 0.9rem 0 1rem 0;
}
.statistics .facultycounterinfo:first-child‌ {
  padding-right: 0;
}
.statistics .facultycounterinfo:last-child {
  padding-left: 0;
}
.facultycounterinfo .fcounterholder {
  background: rgba(255, 255, 255, 0.97) !important;
  border-radius: 19px !important;
  border-bottom: 3px solid;
}
.intro {
  padding: 40px 0;
  display: none;
  height: 100vh;
  padding-bottom: 200px;
  background-color: rgba(0, 0, 0, 0.12) !important;
}
.intro .form-wrapper {
  border-radius: 5px;
  max-width: 80%;
  margin: 0 auto;
}
#faculties .sortable-header a {
  position: relative;
  padding-right: 15px;
  color: #fff !important;
}

#faculties .sortable-header a:after {
  content: "\f0dc"; /* Default Font Awesome sort icon */
  font-family: "FontAwesome";
  font-weight: 900;
  position: absolute;
  right: 5px;
  color: #fff;
}

#faculties .sortable-header a.asc:after {
  content: "\f062"; /* Up arrow */
  color: green;
}

#faculties .sortable-header a.desc:after {
  content: "\f063"; /* Down arrow */
  color: red;
}
.facultycounterinfo {
  padding: 0rem;
  transform: scale(0.8);
}
.facultycounterinfo .fcounterholder {
  padding: 0;
}
.counter-number {
  font-size: 2.5rem;
}
.counter-title {
  margin: 0rem 0 1.3rem 0;
}
@media only screen and (max-width: 768px) {
  .searchmodel-departmentid {
    margin-top: 1rem;
  }
}
.table > tbody > tr > td {
  border-top: none !important;
}
#faculties table {
  border-collapse: separate !important;
  border-spacing: 0 20px !important;
  background: transparent;
}
#faculties table {
  box-shadow: 0;
  background: transparent;
  border-radius: 16px;
  border: 0px;
  overflow-y: hidden;
}
#faculties table thead {
  box-shadow: 0 3px 15px rgba(19, 47, 99, 0.09);
  background: rgba(37, 52, 102, 1);
}
#faculties table tbody tr {
  background: #fff !important;
  border-radius: 16px;
}

tr .empty {
  height: 100vh;
  text-align: center;
  /* width: 62vw; */
  display: flex;
  justify-content: center;
  align-items: center;
}

.fliter-queries {
  display: flex;
  width: 100%;
  gap: 1rem;
}

.filter-label {
  display: inline-flex;
  align-items: center;
  color: white !important;
  gap: 4px;
  text-decoration: none;
}

#faculties table tbody {
  background: #fff !important;
  border-radius: 16px;
}

.table > tbody > tr > td,
.table > tbody > tr > th,
.table > tfoot > tr > td,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > thead > tr > th‌ {
  vertical-align: middle;
  border-top: 25px solid transparent !important;
  text-align: center;
}

#faculties table > tbody > tr:nth-of-type(odd)‌,
#faculties table > tbody > tr:nth-of-type(even)‌ {
  background: #fff !important;
}
#faculties table tbody {
  position: relative;
  top: 2rem;
}
#faculties table th {
  background-color: transparent;
  border-bottom: 0;
  color: #fff;
  vertical-align: middle;
  text-align: center;
  padding: 10px 0;
}
#faculties table tr.filters {
  display: none;
}
#faculties .group.list-group-image.faculty-image img {
  overflow: hidden;
  border: 0;
  border-radius: 24px;
  transform: scale(0.8);
}
a {
  color: rgba(37, 52, 102, 1) !important;
}
#faculties i.fa {
}
.label-info {
  background-color: #8f1317;
}
#faculties .graytext {
  color: #888;
}
#faculties .faculty-semat-label {
  margin-bottom: 5px;
  font-weight: normal;
}
.faculty-top-bar {
  background: transparent;
  padding: 15px;
  margin-top: 2rem;
  box-shadow: none !important;
  margin-bottom: 15px;
}

/* Mobile (< 768px) */
@media (max-width: 768px) {
  .intro {
    height: auto;
    padding-bottom: 20px;
  }
  .album-carousel,
  .album-carousel .owl-carousel,
  .album-carousel .owl-carousel .owl-item,
  .album-carousel .owl-carousel .owl-item img {
    height: 110vh;
  }
  .facultycounterinfo .fcounterholder h3 span {
    font-size: 20px;
  }
}
/* Tablets (≥ 768px) */
@media (min-width: 769px) {
}

/* Desktops (≥ 1024px) */
@media (min-width: 1024px) {
  .counter-wrapper-box {
    max-width: 80%;
    margin: 0 auto;
  }
}

.intro .form-wrapper input {
  height: 34px !important;
}

.tfshadow {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
.tfshadow:hover {
  box-shadow: 0 4px 15px rgba(33, 150, 243, 0.4); /* hover glow (like right box) */
  border: 1px solid rgba(33, 150, 243, 0.3);
}

.profile-card {
  width: 100%;
  background: #fff;
  border-radius: 7px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin: 30px auto;
  max-width: 600px;
  position: relative;
}

.profile-banner {
  background-repeat: repeat;
  height: 90px;
  position: relative;
}

.profile-avatar {
  overflow: hidden;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 4px solid #fff;
  position: absolute;
  bottom: -50px;
  inset-inline-start: 20px; /* replaces right */
  object-fit: cover;
  background: #fff;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15);
  z-index: 20;
}
.profile-avatar img {
  width: 100%;
}
.profile-body {
  padding: 60px 20px 20px 20px; /* space for avatar */
  text-align: right;
}

.profile-body h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-weight: bold;
  color: #222;
}

.profile-body p {
  margin: 5px 0;
  color: #555;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.profile-header,
.profile-header-sub {
  position: absolute;
  bottom: 5px;
  inset-inline-start: 130px;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  text-overflow: ellipsis;
  z-index: 20;
}

.profile-header-sub {
  bottom: -30px;
  z-index: 2;
}
.profile-header h3 {
  margin: 0;
  font-weight: bold;
  color: #222;
  display: inline-block;
}

.profile-header h3 a {
  display: inline-block;
  max-width: 100%;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.badge-role {
  display: inline-block;
  background: #b71c1c;
  color: #fff;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 12px;
  margin-left: 5px;
}

.profile-header::after {
  content: "";
  flex: 0 0 40px;
  height: 100%;
}

[dir="ltr"] .profile-header::after {
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 1)
  );
  margin-inline-end: -40px;
}

[dir="rtl"] .profile-header::after {
  background: linear-gradient(
    to left,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 1)
  );
  margin-inline-start: -40px;
}

.profile-header-sub::after {
  content: "";
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  z-index: 2;
  width: 50px;
  height: 100%;
}

.profile-body i,
.profile-body .glyphicon {
  color: #777; /* gray icons */
  margin: 0 6px !important; /* spacing between icon & text */
  font-size: 14px; /* same as text size */
  vertical-align: middle;
}
.topbaritems {
  border-radius: 13px;
  background: #f9faff;
  -webkit-box-shadow: 0 15px 15px 0 rgba(0, 0, 0, 0.05);
  box-shadow: 0 15px 15px 0 rgba(0, 0, 0, 0.05);
}

/* Override Bootstrap 3 container widths for modern layouts */
.container {
  max-width: 1320px; /* Today’s standard (~Bootstrap 5) */
  width: 100%;
}

@media (min-width: 768px) {
  .container {
    width: 830px !important;
  }
}

@media (min-width: 1000px) {
  .container {
    width: 1007px !important;
  }
}

@media (min-width: 1200px) {
  .container {
    width: 1140px !important;
  }
}

@media (min-width: 1400px) {
  .container {
    width: 1320px !important;
  }
  .col-xl-3 {
    width: 25% !important;
    float: left !important;
  }
}

.topbaritems.equal-height {
  display: flex;
  flex-wrap: wrap;
}
.topbaritems.equal-height > [class*="col-"] {
  display: flex;
  flex-direction: column;
}
.topbaritems.equal-height .profile-card {
  flex: 1; /* stretch cards equally */
}

.stats-section {
}

.stat-box {
  padding-left: 5px !important;
  padding-right: 5px !important;
}

.stat-line {
  background: #fff;
  border-radius: 12px;
  padding-top: 16px;
  padding-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.stat-line:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.stat-left {
  text-align: left;
  flex: 2;
  padding-left: 15px;
}
.stat-right {
  text-align: right; /* RTL-friendly */
  flex: 1;
  padding-right: 10px;
}
.stat-number {
  font-size: 26px;
  font-weight: bold;
  color: #333;
  line-height: 1.2;
}

.stat-label {
  font-size: 15px;
  color: #666;
  margin-top: 5px;
}

.stat-right img {
  width: 60px;
  height: auto;
  opacity: 0.85;
}
.stat-line:hover .stat-right img {
  opacity: 1;
}

@media (max-width: 1400px) {
  .stat-right img {
    width: 100%;
    height: auto;
    opacity: 0.85;
  }
  .stat-line {
    padding: 5px;
  }
}

@media (max-width: 500px) {
  .stat-right img {
    width: 100%;
    height: auto;
    opacity: 0.85;
  }
  .stat-line {
    padding: 5px;
  }
  .stat-number {
    font-size: 18px;
  }
  .stat-label {
    font-size: 10px;
  }
}
.profilecover:after {
  position: absolute;
  width: 100%;
  height: 10rem;
  content: "";
  background: linear-gradient(to top, rgb(255, 255, 255) 19%, transparent);
  z-index: 1;
}
.profile-body {
  z-index: 10;
  position: relative;
}
.profile-header,
.profile-avatar {
  z-index: 20;
}

/* ========== Grid View Table — Refined ========== */

#faculties-grid {
  --grid-accent: #2563eb;
  --grid-accent-dark: #1e3a8a;
  --grid-ink: #0f172a;
  --grid-muted: #64748b;
  --grid-border: #e2e8f0;
  --grid-row-alt: #f8fafc;
  --grid-row-hover: #eff6ff;
  --grid-radius: 16px;
}

#faculties-grid .topbaritems {
  background: #fff;
  border-radius: var(--grid-radius);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 12px 32px -12px rgba(15, 23, 42, 0.12);
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--grid-border);
}

#faculties-grid .teacher-grid-wrapper {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

#faculties-grid .teacher-data-table {
  width: 100%;
  margin-bottom: 0;
  border: none;
  border-collapse: separate;
  border-spacing: 0;
}

/* ---------- Header ---------- */

#faculties-grid .teacher-data-table > thead {
  background: transparent;
}

#faculties-grid .teacher-data-table > thead > tr {
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
}

#faculties-grid .teacher-data-table > thead > tr > th {
  background: transparent;
  color: #f8fafc;
  font-weight: 600;
  font-size: 13px;
  padding: 18px 20px;
  border: none !important;
  border-top: 0 !important;
  white-space: nowrap;
  text-align: center;
  vertical-align: middle !important;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  position: sticky;
  top: 0;
  z-index: 2;
}

#faculties-grid .teacher-data-table > thead > tr > th::after {
  content: "";
  display: block;
  height: 2px;
  width: 100%;
  margin-top: 8px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(59, 130, 246, 0.55),
    transparent
  );
  position: absolute;
  left: 0;
  bottom: 0;
}

/* sortable header affordance, if yii adds <a> inside th */
#faculties-grid .teacher-data-table > thead > tr > th a {
  color: #f8fafc !important;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

#faculties-grid .teacher-data-table > thead > tr > th a:hover {
  color: #93c5fd !important;
}

/* Sort affordance icon — real CSS triangles, genuinely stacked one above
   the other, rather than text glyphs sitting side by side. */
#faculties-grid .teacher-data-table > thead > tr > th a {
  position: relative;
  padding-right: 18px;
}

#faculties-grid .teacher-data-table > thead > tr > th a::before,
#faculties-grid .teacher-data-table > thead > tr > th a::after {
  content: "";
  position: absolute;
  right: 0;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
}

/* top triangle, pointing up */
#faculties-grid .teacher-data-table > thead > tr > th a::before {
  top: 2px;
  border-bottom: 6px solid currentColor;
  opacity: 0.4;
}

/* bottom triangle, pointing down */
#faculties-grid .teacher-data-table > thead > tr > th a::after {
  bottom: 2px;
  border-top: 5px solid currentColor;
  opacity: 0.4;
}

/* Ascending: highlight the top triangle, dim the bottom one */
#faculties-grid .teacher-data-table > thead > tr > th a.asc::before {
  opacity: 1;
  border-bottom-color: #93c5fd;
}

#faculties-grid .teacher-data-table > thead > tr > th a.asc::after {
  opacity: 0.2;
}

/* Descending: highlight the bottom triangle, dim the top one */
#faculties-grid .teacher-data-table > thead > tr > th a.desc::after {
  opacity: 1;
  border-top-color: #93c5fd;
}

#faculties-grid .teacher-data-table > thead > tr > th a.desc::before {
  opacity: 0.2;
}

/* ---------- Body ---------- */

#faculties-grid .teacher-data-table > tbody {
  background: #fff;
}

#faculties-grid .teacher-data-table > tbody > tr {
  transition:
    background 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

#faculties-grid .teacher-data-table > tbody > tr > td {
  padding: 16px 20px;
  vertical-align: middle !important;
  border-top: 1px solid var(--grid-border) !important;
  font-size: 14px;
  color: var(--grid-ink);
  text-align: center;
  line-height: 1.3;
  box-sizing: border-box;
}

#faculties-grid .teacher-data-table > tbody > tr > td > * {
  vertical-align: middle;
}

#faculties-grid .teacher-data-table > tbody > tr:nth-child(even) > td {
  background: var(--grid-row-alt);
}

#faculties-grid .teacher-data-table > tbody > tr:hover > td {
  background: var(--grid-row-hover);
}

/* replace with */
#faculties-grid .teacher-data-table > tbody > tr > td:first-child {
  transition: box-shadow 0.18s ease;
}

#faculties-grid .teacher-data-table > tbody > tr:hover > td:first-child {
  box-shadow: inset 3px 0 0 var(--grid-accent);
}

[dir="rtl"]
  #faculties-grid
  .teacher-data-table
  > tbody
  > tr:hover
  > td:first-child {
  box-shadow: inset -3px 0 0 var(--grid-accent);
}

#faculties-grid .teacher-data-table > tbody > tr:last-child > td {
  border-bottom: none;
}

#faculties-grid .teacher-data-table > tbody > tr:first-child > td {
  border-top: none;
}

/* Name column reads as the primary identity, not a plain link */
#faculties-grid .teacher-data-table td:nth-child(2) {
  font-weight: 600;
}

#faculties-grid .teacher-data-table a {
  color: var(--grid-accent-dark);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition:
    color 0.15s ease,
    border-color 0.15s ease;
}

#faculties-grid .teacher-data-table a:hover {
  color: var(--grid-accent);
  border-bottom-color: currentColor;
  text-decoration: none;
}

/* Numeric / metric columns (Articles, Citations, H-Index, G-Index, CPD) as pill badges */
#faculties-grid .teacher-data-table td:nth-child(5),
#faculties-grid .teacher-data-table td:nth-child(6),
#faculties-grid .teacher-data-table td:nth-child(7),
#faculties-grid .teacher-data-table td:nth-child(8),
#faculties-grid .teacher-data-table td:nth-child(9) {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

#faculties-grid .teacher-data-table td:nth-child(5) span,
#faculties-grid .teacher-data-table td:nth-child(6) span,
#faculties-grid .teacher-data-table td:nth-child(7) span,
#faculties-grid .teacher-data-table td:nth-child(8) span,
#faculties-grid .teacher-data-table td:nth-child(9) span {
  display: inline-block;
  min-width: 34px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eef2ff;
  color: var(--grid-accent-dark);
}

#faculties-grid .teacher-data-table .label-info {
  background: var(--grid-accent);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  color: #fff;
}

/* Serial column de-emphasized */
#faculties-grid .teacher-data-table td:first-child {
  color: var(--grid-muted);
  font-weight: 500;
  font-size: 13px;
}

/* Empty rows / dash placeholders */
#faculties-grid .teacher-data-table td:empty::after,
#faculties-grid .teacher-data-table td:contains("-") {
  color: #cbd5e1;
}

/* ---------- Empty state ---------- */

#faculties-grid .empty {
  padding: 60px 24px;
  text-align: center;
  color: var(--grid-muted);
  font-size: 15px;
  background: #fafbfc;
}

/* ---------- Pagination ---------- */

#faculties-grid .gvt-pagination {
  padding: 20px 24px;
  background: #fff;
  border-top: 1px solid var(--grid-border);
}

#faculties-grid .gvt-pagination .pagination {
  margin: 0;
  display: inline-flex;
  gap: 4px;
}

#faculties-grid .gvt-pagination .pagination > li > a,
#faculties-grid .gvt-pagination .pagination > li > span {
  background: #fff;
  border: 1px solid var(--grid-border);
  color: var(--grid-accent-dark);
  border-radius: 8px;
  margin: 0;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
}

#faculties-grid .gvt-pagination .pagination > li > a:hover {
  background: var(--grid-accent-dark);
  color: #fff;
  border-color: var(--grid-accent-dark);
}

#faculties-grid .gvt-pagination .pagination > .active > a,
#faculties-grid .gvt-pagination .pagination > .active > a:hover {
  background: var(--grid-accent-dark);
  color: #fff;
  border-color: var(--grid-accent-dark);
  box-shadow: 0 4px 10px -2px rgba(30, 58, 138, 0.4);
}

#faculties-grid .gvt-pagination .pagination > .disabled > a,
#faculties-grid .gvt-pagination .pagination > .disabled > span {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ---------- Accessibility ---------- */

#faculties-grid .teacher-data-table a:focus-visible,
#faculties-grid .gvt-pagination .pagination > li > a:focus-visible {
  outline: 2px solid var(--grid-accent);
  outline-offset: 2px;
}

/* ---------- Responsive ---------- */

@media (max-width: 991px) {
  #faculties-grid .teacher-data-table > thead > tr > th {
    padding: 14px 16px;
    font-size: 12px;
  }

  #faculties-grid .teacher-data-table > tbody > tr > td {
    padding: 13px 16px;
    font-size: 13px;
  }
}

@media (max-width: 767px) {
  #faculties-grid .topbaritems {
    border-radius: 12px;
  }

  #faculties-grid .teacher-data-table > thead > tr > th {
    padding: 12px 12px;
    font-size: 11px;
  }

  #faculties-grid .teacher-data-table > tbody > tr > td {
    padding: 11px 12px;
    font-size: 12.5px;
  }

  #faculties-grid .gvt-pagination {
    padding: 16px;
  }

  #faculties-grid .gvt-pagination .pagination > li > a,
  #faculties-grid .gvt-pagination .pagination > li > span {
    padding: 6px 10px;
    font-size: 12px;
  }
}

/* ---------- Direction ---------- */

[dir="rtl"] #faculties-grid .teacher-data-table {
  direction: rtl;
}

[dir="rtl"] #faculties-grid .teacher-data-table > tbody > tr:hover {
  box-shadow: inset -3px 0 0 var(--grid-accent);
}

[dir="ltr"] #faculties-grid .teacher-data-table {
  direction: ltr;
}

#faculties-grid .teacher-data-table > thead > tr > th,
#faculties-grid .teacher-data-table > tbody > tr > td {
  text-align: center;
}

.faculty-grid-container {
  --grid-accent: #2563eb;
  --grid-accent-dark: #1e3a8a;
  --grid-ink: #0f172a;
  --grid-muted: #64748b;
  --grid-border: #e2e8f0;
  --grid-row-alt: #f8fafc;
  --grid-row-hover: #eff6ff;
  --grid-radius: 16px;
}

.faculty-grid-container .topbaritems {
  background: #fff;
  border-radius: var(--grid-radius);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 12px 32px -12px rgba(15, 23, 42, 0.12);
  padding: 0;
  overflow-x: auto !important;
  overflow-y: hidden;
  border: 1px solid var(--grid-border);
}

.faculty-grid-container .teacher-grid-wrapper {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.faculty-grid-container .teacher-data-table {
  width: 100%;
  table-layout: auto;
  margin-bottom: 0;
  border: none;
  border-collapse: separate;
  border-spacing: 0;
  font-family: inherit;
}

/* ---------- Header ---------- */

.faculty-grid-container .teacher-data-table > thead {
  background: transparent;
}

.faculty-grid-container .teacher-data-table > thead > tr {
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
}

.faculty-grid-container .teacher-data-table > thead > tr > th {
  background: transparent;
  color: #f8fafc;
  font-weight: 600;
  font-size: 13px;
  padding: 18px 20px;
  border: none !important;
  border-top: 0 !important;
  white-space: nowrap;
  text-align: center;
  vertical-align: middle !important;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  position: sticky;
  top: 0;
  z-index: 2;
}

.faculty-grid-container .teacher-data-table > thead > tr > th::after {
  content: "";
  display: block;
  height: 2px;
  width: 100%;
  margin-top: 8px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(59, 130, 246, 0.55),
    transparent
  );
  position: absolute;
  left: 0;
  bottom: 0;
}

.faculty-grid-container .teacher-data-table > thead > tr > th a {
  color: #f8fafc !important;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
  padding-right: 18px;
}

.faculty-grid-container .teacher-data-table > thead > tr > th a:hover {
  color: #93c5fd !important;
}

.faculty-grid-container .teacher-data-table > thead > tr > th a::before,
.faculty-grid-container .teacher-data-table > thead > tr > th a::after {
  content: "";
  position: absolute;
  right: 0;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
}

.faculty-grid-container .teacher-data-table > thead > tr > th a::before {
  top: 2px;
  border-bottom: 6px solid currentColor;
  opacity: 0.4;
}

.faculty-grid-container .teacher-data-table > thead > tr > th a::after {
  bottom: 2px;
  border-top: 5px solid currentColor;
  opacity: 0.4;
}

.faculty-grid-container .teacher-data-table > thead > tr > th a.asc::before {
  opacity: 1;
  border-bottom-color: #93c5fd;
}

.faculty-grid-container .teacher-data-table > thead > tr > th a.asc::after {
  opacity: 0.2;
}

.faculty-grid-container .teacher-data-table > thead > tr > th a.desc::after {
  opacity: 1;
  border-top-color: #93c5fd;
}

.faculty-grid-container .teacher-data-table > thead > tr > th a.desc::before {
  opacity: 0.2;
}

/* ---------- Body ---------- */

.faculty-grid-container .teacher-data-table > tbody {
  background: #fff;
}

.faculty-grid-container .teacher-data-table > tbody > tr {
  transition:
    background 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.faculty-grid-container .teacher-data-table > tbody > tr > td {
  padding: 16px 20px;
  vertical-align: middle !important;
  border-top: 1px solid var(--grid-border) !important;
  font-size: 14px;
  font-family: inherit;
  color: var(--grid-ink);
  text-align: center;
  line-height: 1.3;
  box-sizing: border-box;
  word-break: break-word;
}

.faculty-grid-container .teacher-data-table > tbody > tr > td > * {
  vertical-align: middle;
}

.faculty-grid-container .teacher-data-table > tbody > tr:nth-child(even) > td {
  background: var(--grid-row-alt);
}

.faculty-grid-container .teacher-data-table > tbody > tr:hover > td {
  background: var(--grid-row-hover);
}

.faculty-grid-container .teacher-data-table > tbody > tr > td:first-child {
  transition: box-shadow 0.18s ease;
}

.faculty-grid-container
  .teacher-data-table
  > tbody
  > tr:hover
  > td:first-child {
  box-shadow: inset 3px 0 0 var(--grid-accent);
}

[dir="rtl"]
  .faculty-grid-container
  .teacher-data-table
  > tbody
  > tr:hover
  > td:first-child {
  box-shadow: inset -3px 0 0 var(--grid-accent);
}

.faculty-grid-container .teacher-data-table > tbody > tr:last-child > td {
  border-bottom: none;
}

.faculty-grid-container .teacher-data-table > tbody > tr:first-child > td {
  border-top: none;
}

/* Links in tables */
.faculty-grid-container .teacher-data-table a {
  color: var(--grid-accent-dark);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition:
    color 0.15s ease,
    border-color 0.15s ease;
}

.faculty-grid-container .teacher-data-table a:hover {
  color: var(--grid-accent);
  border-bottom-color: currentColor;
  text-decoration: none;
}

/* ---------- Class-based cell roles (replaces nth-child targeting) ---------- */

/* Name/identity column -- whichever position it's actually in */
.faculty-grid-container .teacher-data-table td.grid-name-cell {
  font-weight: 600;
}

/* Numeric metric columns (counts, indices, averages) */
.faculty-grid-container .teacher-data-table td.grid-metric-cell {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--grid-accent-dark);
}

.faculty-grid-container .teacher-data-table .label-info {
  background: var(--grid-accent);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  color: #fff;
}

.faculty-grid-container .teacher-data-table td:first-child {
  color: var(--grid-muted);
  font-weight: 500;
  font-size: 13px;
}

.faculty-grid-container .empty {
  padding: 60px 24px;
  text-align: center;
  color: var(--grid-muted);
  font-size: 15px;
  background: #fafbfc;
}

.faculty-grid-container .gvt-pagination {
  padding: 20px 24px;
  background: #fff;
  border-top: 1px solid var(--grid-border);
}

.faculty-grid-container .gvt-pagination .pagination {
  margin: 0;
  display: inline-flex;
  gap: 4px;
}

.faculty-grid-container .gvt-pagination .pagination > li > a,
.faculty-grid-container .gvt-pagination .pagination > li > span {
  background: #fff;
  border: 1px solid var(--grid-border);
  color: var(--grid-accent-dark);
  border-radius: 8px;
  margin: 0;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
}

.faculty-grid-container .gvt-pagination .pagination > li > a:hover {
  background: var(--grid-accent-dark);
  color: #fff;
  border-color: var(--grid-accent-dark);
}

.faculty-grid-container .gvt-pagination .pagination > .active > a,
.faculty-grid-container .gvt-pagination .pagination > .active > a:hover {
  background: var(--grid-accent-dark);
  color: #fff;
  border-color: var(--grid-accent-dark);
  box-shadow: 0 4px 10px -2px rgba(30, 58, 138, 0.4);
}

.faculty-grid-container .gvt-pagination .pagination > .disabled > a,
.faculty-grid-container .gvt-pagination .pagination > .disabled > span {
  opacity: 0.4;
  cursor: not-allowed;
}

.faculty-grid-container .teacher-data-table a:focus-visible,
.faculty-grid-container .gvt-pagination .pagination > li > a:focus-visible {
  outline: 2px solid var(--grid-accent);
  outline-offset: 2px;
}

@media (max-width: 991px) {
  .faculty-grid-container .teacher-data-table > thead > tr > th {
    padding: 14px 16px;
    font-size: 12px;
  }

  .faculty-grid-container .teacher-data-table > tbody > tr > td {
    padding: 13px 16px;
    font-size: 13px;
  }
}

@media (max-width: 767px) {
  .faculty-grid-container .topbaritems {
    border-radius: 12px;
  }

  .faculty-grid-container .teacher-data-table > thead > tr > th {
    padding: 12px 12px;
    font-size: 11px;
  }

  .faculty-grid-container .teacher-data-table > tbody > tr > td {
    padding: 11px 12px;
    font-size: 12.5px;
  }

  .faculty-grid-container .gvt-pagination {
    padding: 16px;
  }

  .faculty-grid-container .gvt-pagination .pagination > li > a,
  .faculty-grid-container .gvt-pagination .pagination > li > span {
    padding: 6px 10px;
    font-size: 12px;
  }
}

/* ---------- Direction ---------- */

[dir="rtl"] .faculty-grid-container .teacher-data-table {
  direction: rtl;
}

[dir="ltr"] .faculty-grid-container .teacher-data-table {
  direction: ltr;
}

.faculty-grid-container .teacher-data-table > thead > tr > th,
.faculty-grid-container .teacher-data-table > tbody > tr > td {
  text-align: center;
}

.yearly-trends-widget__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 6px;
  background: #eef1f5;
  border-radius: 6px;
}

.yearly-trends-widget__nav-item {
  display: block;
}

.yearly-trends-widget__nav-link {
  display: inline-block;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  color: #5a6472;
  background: transparent;
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}

.yearly-trends-widget__nav-link:hover {
  color: #1a2b4c;
  background: rgba(26, 43, 76, 0.08);
  text-decoration: none;
}

.yearly-trends-widget__nav-link.active {
  color: #ffffff;
  background: #1a2b4c;
}

.yearly-trends-widget__content {
  min-height: 500px;
  height: 500px;
  position: relative;
  background: #ffffff;
  border-radius: 4px;
  padding: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.yearly-trends-widget__pane {
  display: none;
  height: 100%;
  position: relative;
}

.yearly-trends-widget__pane.active {
  display: block;
}

.yearly-trends-widget__pane canvas {
  max-height: 100%;
}

.yearly-trends-widget__nav-link.active,
.yearly-trends-widget__nav-link.active:link,
.yearly-trends-widget__nav-link.active:visited,
.yearly-trends-widget__nav-link.active:hover {
  color: #ffffff !important;
  background: #1a2b4c;
}

.smp-card {
  position: relative;
  background: var(--smp-paper);
  /* border: 1px solid var(--smp-hairline); */
  border-radius: 4px;
  padding-inline-start: 22px;
  padding-inline-end: 16px;
  padding-block: 16px;
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease;
  animation: smp-rise 0.45s ease both;
  animation-delay: var(--smp-delay, 0ms);
}

/* .smp-card::after {
  content: "";
  position: absolute;
  inset-inline-end: 0;
  top: 0;
  width: 16px;
  height: 16px;
  background: linear-gradient(135deg, transparent 50%, var(--smp-hairline) 50%);
} */

.smp-card:hover {
  box-shadow: 0 6px 18px rgba(28, 35, 51, 0.08);
  transform: translateY(-2px);
}

.smp-card__spine {
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--smp-accent);
}

.smp-card__value {
  font-weight: 700;
  font-size: 34px;
  line-height: 1.15;
  margin-block-start: 4px;
}

.smp-card__label {
  font-size: 14px;
  font-weight: 500;
  color: var(--smp-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-block-start: 2px;
}

.smp-card__chart-wrap {
  position: relative;
  width: 100%;
  height: 120px;
  margin-top: 18px;
}

.smp-card__chart-wrap canvas {
  width: 100% !important;
  height: 120px !important;
}

/* ---------- secondary stats card ---------- */

.smp-secondary-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  /* background: var(--smp-hairline); */
  /* border: 1px solid var(--smp-hairline); */
  border-radius: 4px;
  height: 100%;
}

.smp-stat {
  background: var(--smp-paper);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 12px;
  text-align: center;
  transition: background 0.2s ease;
  animation: smp-rise 0.45s ease both;
  animation-delay: var(--smp-stat-delay, 0ms);
}

.smp-stat:first-child {
  border-radius: 4px 0 0 0;
}

.smp-stat:nth-child(2) {
  border-radius: 0 4px 0 0;
}

.smp-stat:nth-child(3) {
  border-radius: 0 0 0 4px;
}

.smp-stat:last-child {
  border-radius: 0 0 4px 0;
}

.smp-stat:hover {
  background: #f8f8f6;
}

.smp-stat__value {
  font-weight: 700;
  font-size: 26px;
  line-height: 1.2;
  color: var(--smp-ink);
  margin-bottom: 8px;
}

.smp-stat__label {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--smp-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.35;
  max-width: 100%;
}
/* ---------- motion + accessibility ---------- */

@keyframes smp-rise {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .smp-card,
  .smp-stat {
    animation: none;
  }
  .smp-card:hover {
    transform: none;
  }
}

@media (max-width: 640px) {
  .smp-card__value {
    font-size: 28px;
  }

  .smp-card__chart-wrap,
  .smp-card__chart-wrap canvas {
    height: 150px !important;
  }

  .smp-stat__value {
    font-size: 22px;
  }

  .smp-stat__label {
    font-size: 9.5px;
  }

  .smp-stat {
    padding: 16px 8px;
  }
}

.smp-status__card {
  position: relative;

  background: var(--smp-paper);

  border: 1px solid var(--smp-hairline);

  border-radius: 6px;

  padding: 20px 22px 24px;

  /* clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%); */
}

/* .smp-status__card::after {
  content: "";

  position: absolute;

  inset-inline-end: 0;

  top: 0;

  width: 16px;

  height: 16px;

  background: linear-gradient(135deg, transparent 50%, var(--smp-hairline) 50%);
} */

.smp-status__head {
  display: flex;

  align-items: baseline;

  justify-content: space-between;

  margin-block-end: 18px;
}

.smp-status__title {
  font-weight: 700;

  font-size: 19px;
}

.smp-status__gauge-row {
  display: flex;

  align-items: center;

  gap: 28px;

  flex-wrap: wrap;
}

.smp-status__gauge {
  position: relative;

  width: 260px;

  height: 260px;

  flex: none;

  margin: 0 auto;
}

.smp-status__gauge-svg {
  width: 100%;

  height: 100%;

  transform: rotate(-90deg);
}

.smp-status__ring-track {
  fill: none;

  stroke: var(--smp-hairline);
}

.smp-status__ring-fill {
  fill: none;

  stroke-linecap: round;

  stroke-dashoffset: var(--ring-offset);

  transition: stroke-dashoffset 0.7s ease;
}

.smp-status__gauge-center {
  position: absolute;

  inset: 0;

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  width: 46%;

  height: 46%;

  margin: auto;

  border-radius: 50%;

  background: var(--smp-paper);

  box-shadow: 0 0 0 1px var(--smp-hairline) inset;
}

.smp-status__gauge-value {
  font-weight: 700;

  font-size: 22px;

  line-height: 1;
}

.smp-status__gauge-label {
  font-size: 10px;

  color: var(--smp-muted);

  text-transform: uppercase;

  letter-spacing: 0.05em;

  margin-block-start: 3px;
}

.smp-status__badge {
  position: absolute;

  transform: translate(-50%, -50%);

  color: #fff;

  border-radius: 999px;

  padding: 3px 8px;

  font-size: 10.5px;

  font-weight: 700;

  white-space: nowrap;

  box-shadow: 0 1px 4px rgba(28, 35, 51, 0.2);
}

.smp-status__legend {
  flex: 1 1 220px;

  display: flex;

  flex-direction: column;

  gap: 10px;

  min-width: 200px;
}

.smp-status__legend-item {
  display: flex;

  align-items: flex-start;

  gap: 8px;
}

.smp-status__legend-rank {
  flex: none;

  width: 16px;

  height: 16px;

  border-radius: 50%;

  border: 1px solid var(--smp-hairline);

  font-size: 12px;

  color: var(--smp-muted);

  display: flex;

  align-items: center;

  justify-content: center;

  margin-block-start: 1px;
}

.smp-status__legend-dot {
  flex: none;

  width: 9px;

  height: 9px;

  border-radius: 50%;

  margin-block-start: 4px;
}

.smp-status__legend-text {
  flex: 1;

  min-width: 0;
}

.smp-status__legend-top {
  display: flex;

  align-items: baseline;

  justify-content: space-between;

  gap: 8px;
}

.smp-status__legend-label {
  font-size: 13px;

  font-weight: 500;

  white-space: nowrap;

  overflow: hidden;

  text-overflow: ellipsis;
}

.smp-status__legend-count {
  font-weight: 700;

  font-size: 13px;

  flex: none;
}

.smp-status__legend-percent {
  font-size: 12px;

  color: var(--smp-muted);
}

.smp-status__empty {
  font-size: 13px;

  color: var(--smp-muted);

  padding-block: 12px;
}

@media (max-width: 560px) {
  .smp-status__gauge-row {
    justify-content: center;
  }

  .smp-status__gauge {
    width: 220px;

    height: 220px;
  }

  .smp-status__legend {
    width: 100%;
  }
}

.tcv-section {
  margin-top: 24px;
  background: #f0f2f5;
  padding: 20px;
  border-radius: 12px;
}

/* ---------- toolbar ---------- */
.tcv-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  gap: 16px;
}

.tcv-toolbar__left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.tcv-toolbar__sort {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 600;
  color: #4b5563;
  background: rgba(255, 255, 255, 0.7);
  padding: 6px 14px;
  border-radius: 6px;
  white-space: nowrap;
}

.tcv-toolbar__sort i {
  font-size: 10px;
  color: #3366cc;
}

.tcv-toolbar__count {
  font-size: 11.5px;
  color: #9ca3af;
  font-weight: 500;
  white-space: nowrap;
}

.tcv-toolbar__right {
  flex-shrink: 0;
}

/* ---------- mini search ---------- */
.tcv-search-mini {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #dcdfe4;
  border-radius: 8px;
  padding: 0 10px;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  width: 200px;
}

.tcv-search-mini:focus-within {
  border-color: #3366cc;
  box-shadow: 0 0 0 3px rgba(51, 102, 204, 0.1);
}

.tcv-search-mini__icon {
  font-size: 11px;
  color: #b0b5be;
  margin-right: 8px;
  flex-shrink: 0;
}

.tcv-search-mini__input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 12.5px;
  color: #1c2333;
  padding: 7px 0;
  width: 100%;
  font-family: inherit;
}

.tcv-search-mini__input::placeholder {
  color: #b8bcc4;
}

.tcv-search-mini__clear {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 4px;
  color: #b0b5be;
  cursor: pointer;
  font-size: 10px;
  margin-left: 4px;
  transition: color 0.2s ease;
  flex-shrink: 0;
}

.tcv-search-mini__clear:hover {
  color: #6b7280;
}

/* ---------- grid ---------- */
.tcv-grid .row {
  margin-left: -8px;
  margin-right: -8px;
}

.tcv-grid .row > [class*="col-"] {
  padding-left: 8px;
  padding-right: 8px;
  margin-bottom: 16px;
}

/* ---------- card ---------- */
.tcv-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #ffffff;
  border: none;
  border-radius: 14px;
  padding: 20px 12px 16px;
  text-decoration: none;
  color: #1c2333;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  min-height: 230px;
  animation: tcv-rise 0.4s cubic-bezier(0.4, 0, 0.2, 1) both;
  animation-delay: var(--tcv-delay, 0ms);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.04),
    0 4px 12px rgba(0, 0, 0, 0.04),
    0 0 0 1px rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
}

.tcv-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  padding: 1px;
  background: linear-gradient(
    160deg,
    rgba(51, 102, 204, 0.18),
    transparent 50%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.tcv-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow:
    0 4px 8px rgba(51, 102, 204, 0.06),
    0 12px 28px rgba(51, 102, 204, 0.1),
    0 20px 40px rgba(0, 0, 0, 0.06),
    0 0 0 1px rgba(51, 102, 204, 0.08);
  color: #1c2333;
}

.tcv-card:hover::after {
  opacity: 1;
}

/* ---------- photo ---------- */
.tcv-card__photo {
  width: 84px;
  height: 84px;
  min-height: 84px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 12px;
  flex-shrink: 0;
  position: relative;
}

.tcv-card__photo::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: conic-gradient(from 180deg, #3366cc, #5b8def, #8bb0ff, #3366cc);
  z-index: -1;
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

.tcv-card:hover .tcv-card__photo::before {
  opacity: 1;
}

.tcv-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 2.5px solid #ffffff;
  border-radius: 50%;
}

.tcv-card__avatar {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #eef3ff 0%, #f8faff 100%);
  color: #b0c4e8;
  font-size: 24px;
  border: 2.5px solid #ffffff;
  border-radius: 50%;
}

/* ---------- info ---------- */
.tcv-card__info {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 62px;
  margin-bottom: 12px;
  width: 100%;
}

.tcv-card__name {
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 4px;
  color: #111827;
  min-height: 18.1px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  letter-spacing: -0.01em;
}

.tcv-card__rank {
  font-size: 9px;
  font-weight: 600;
  margin-bottom: 4px;
  min-height: 15px;
  line-height: 1.6;
  background: linear-gradient(135deg, #e8eeff 0%, #f0f4ff 100%);
  color: #3366cc;
  padding: 1px 10px;
  border-radius: 20px;
  letter-spacing: 0.03em;
  box-shadow: 0 1px 3px rgba(51, 102, 204, 0.08);
}

.tcv-card__college {
  font-size: 9.5px;
  color: #6b7280;
  line-height: 1.4;
  min-height: 13.3px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------- stats ---------- */
.tcv-card__stats {
  display: flex;
  gap: 5px;
  width: 100%;
  margin-top: auto;
  height: 50px;
}

.tcv-card__stat {
  flex: 1;
  background: linear-gradient(145deg, #f8f9fc 0%, #f2f4f8 100%);
  border-radius: 8px;
  padding: 8px 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.tcv-card__stat::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #3366cc, transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 0 0 2px 2px;
}

.tcv-card:hover .tcv-card__stat::before {
  opacity: 0.6;
}

.tcv-card:hover .tcv-card__stat {
  background: linear-gradient(145deg, #eef2ff 0%, #f5f8ff 100%);
}

.tcv-card__stat-value {
  font-size: 13px;
  font-weight: 800;
  color: #111827;
  line-height: 1.2;
  min-height: 15.6px;
  letter-spacing: -0.02em;
  transition: color 0.3s ease;
}

.tcv-card:hover .tcv-card__stat-value {
  color: #3366cc;
}

.tcv-card__stat-label {
  font-size: 7px;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 2px;
  min-height: 9.8px;
  font-weight: 600;
  transition: color 0.3s ease;
}

.tcv-card:hover .tcv-card__stat-label {
  color: #6b7db8;
}

/* ---------- empty ---------- */
.tcv-empty {
  text-align: center;
  padding: 48px 20px;
  color: #9ca3af;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 12px;
  backdrop-filter: blur(8px);
}

.tcv-empty__icon {
  font-size: 40px;
  margin-bottom: 12px;
  opacity: 0.35;
}

.tcv-empty__text {
  font-size: 14px;
  margin: 0;
  font-weight: 500;
}

/* ---------- grid wrap transition ---------- */
.tcv-grid-wrap {
  transition: opacity 0.2s ease;
}

/* ---------- animation ---------- */
@keyframes tcv-rise {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .tcv-card {
    animation: none;
  }
  .tcv-card:hover {
    transform: none;
  }
}

@media (max-width: 1200px) {
  .tcv-grid .row > [class*="col-lg-3"] {
    width: 33.333%;
  }
}

@media (max-width: 768px) {
  .tcv-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .tcv-toolbar__left {
    justify-content: space-between;
  }

  .tcv-toolbar__right {
    width: 100%;
  }

  .tcv-search-mini {
    width: 100%;
  }
}

@media (max-width: 992px) {
  .tcv-grid .row > [class*="col-md-6"] {
    width: 50%;
  }
}

@media (max-width: 576px) {
  .tcv-section {
    padding: 14px 10px;
  }

  .tcv-grid .row > [class*="col-"] {
    width: 100%;
  }

  .tcv-card__photo {
    width: 56px;
    height: 56px;
    min-height: 56px;
  }

  .tcv-card {
    padding: 16px 12px 14px;
    min-height: 210px;
  }

  .tcv-card__stats {
    height: 46px;
  }

  .tcv-toolbar__sort,
  .tcv-toolbar__count {
    font-size: 10.5px;
  }
}

.scopus-articles-container {
  margin-top: 20px;
  background: #fff;
}

.scopus-articles-grid {
  overflow-x: auto;
  border: 1px solid #eceef1;
  border-radius: 10px;
  background: #fff;
}

.scopus-articles-table {
  width: 100%;
  margin-bottom: 0;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 13.5px;
  background: #fff;
}

.scopus-articles-table thead {
  background: #fff;
}

.scopus-articles-table thead th {
  border: none;
  border-bottom: 1px solid #eceef1;
  background: #fff;
  color: #8a8f98;
  font-weight: 600;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 12px 14px;
  white-space: nowrap;
  text-align: center;
}

.scopus-articles-table thead th:first-child {
  border-top-left-radius: 10px;
}

.scopus-articles-table thead th:last-child {
  border-top-right-radius: 10px;
}

.scopus-articles-table thead th a {
  color: inherit;
}

.scopus-articles-table thead th a:hover {
  color: #26282c;
  text-decoration: none;
}

.scopus-articles-table tbody {
  background: #fff;
}

.scopus-articles-table tbody td {
  padding: 13px 14px;
  border-bottom: 1px solid #f2f3f5;
  vertical-align: middle;
  color: #444750;
  background: #fff;
}

.scopus-articles-table tbody tr {
  background: #fff;
}

.scopus-articles-table tbody tr:last-child td {
  border-bottom: none;
}

.scopus-articles-table tbody tr:nth-child(even) {
  background: #fff;
}

.scopus-articles-table tbody tr:hover {
  background: #fafafa;
}

.scopus-articles-table tbody tr:hover td {
  background: #fafafa;
}

.scopus-cell-title {
  font-weight: 600;
  color: #26282c;
  display: block;
  max-width: 420px;
}

.scopus-cell-journal {
  color: #6c7078;
}

.scopus-badge {
  display: inline-block;
  min-width: 34px;
  padding: 2px 9px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 12.5px;
}

.scopus-badge-citations {
  background: rgba(54, 162, 235, 0.12);
  color: #2b8ae6;
}

.scopus-articles-container .pagination {
  margin: 18px 0;
  justify-content: flex-end;
  background: #fff;
}

.scopus-articles-container .pagination > li > a,
.scopus-articles-container .pagination > li > span {
  border: none;
  color: #8a8f98;
  font-weight: 500;
  background: #fff;
}

.scopus-articles-container .pagination > .active > a,
.scopus-articles-container .pagination > .active > span {
  background: #26282c;
  border-radius: 6px;
  color: #fff;
}

.scopus-articles-container .pjax-loading .scopus-articles-table {
  opacity: 0.45;
  transition: opacity 0.15s ease;
  pointer-events: none;
}

@media (max-width: 600px) {
  .scopus-collapse-header {
    padding: 16px;
  }

  .scopus-cell-title {
    max-width: 220px;
  }
}

.scopus-collapse-header {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid #e9edf2;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  padding: 18px 22px;
  margin-bottom: 18px;
  cursor: pointer;
  user-select: none;
  transition: border-radius 0.2s ease;
}

.scopus-collapse-header:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(66, 165, 245, 0.25);
}

.scopus-collapse-header.collapsed {
  margin-bottom: 0;
  border-radius: 12px;
}

.scopus-collapse-header-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, #607d8b, #546e7a);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
}

.scopus-collapse-header-text {
  flex: 1;
  min-width: 0;
}

.scopus-collapse-header-text h3 {
  margin: 0 0 4px;
  font-size: 19px;
  font-weight: 600;
  color: #263238;
}

.scopus-collapse-header-text p {
  margin: 0;
  font-size: 13px;
  color: #90a4ae;
}

.scopus-collapse-header-toggle {
  color: #90a4ae;
  font-size: 16px;
}

.scopus-collapse-chevron {
  display: inline-block;
  transition: transform 0.25s ease;
}

.scopus-collapse-header.collapsed .scopus-collapse-chevron {
  transform: rotate(-90deg);
}

.scopus-collapse-body {
  margin-top: -4px;
  background: #fff;
}

.smp-status__card {
        position: relative;
        background: var(--smp-paper);
        border: 1px solid var(--smp-hairline);
        border-radius: 6px;
        padding: 20px 22px 24px;
        /* clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%); */
    }

    /* .smp-status__card::after {
        content: '';
        position: absolute;
        inset-inline-end: 0;
        top: 0;
        width: 16px;
        height: 16px;
        background: linear-gradient(135deg, transparent 50%, var(--smp-hairline) 50%);
    } */

    .smp-status__head {
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        margin-block-end: 18px;
    }

    .smp-status__title {
        font-weight: 700;
        font-size: 19px;
    }

    .smp-status__total {
        font-size: 12px;
        color: var(--smp-muted);
        font-weight: 500;
    }

    /* ---------- concentric ring gauge ---------- */

    .smp-status__gauge-row {
        display: flex;
        align-items: center;
        gap: 28px;
        flex-wrap: wrap;
    }

    .smp-status__gauge {
        position: relative;
        width: 260px;
        height: 260px;
        flex: none;
        margin: 0 auto;
    }

    .smp-status__gauge-svg {
        width: 100%;
        height: 100%;
        transform: rotate(-90deg);
    }

    .smp-status__ring-track {
        fill: none;
        stroke: var(--smp-hairline);
    }

    .smp-status__ring-fill {
        fill: none;
        stroke-linecap: round;
        stroke-dashoffset: var(--ring-offset);
        transition: stroke-dashoffset 0.7s ease;
    }

    .smp-status__gauge-center {
        position: absolute;
        inset: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 46%;
        height: 46%;
        margin: auto;
        border-radius: 50%;
        background: var(--smp-paper);
        box-shadow: 0 0 0 1px var(--smp-hairline) inset;
    }

    .smp-status__gauge-value {
        font-weight: 700;
        font-size: 22px;
        line-height: 1;
    }

    .smp-status__gauge-label {
        font-size: 10px;
        color: var(--smp-muted);
        text-transform: uppercase;
        letter-spacing: 0.05em;
        margin-block-start: 3px;
    }

    .smp-status__badge {
        position: absolute;
        transform: translate(-50%, -50%);
        background: #6b7280;
        color: #fff;
        border-radius: 999px;
        padding: 3px 8px;
        font-size: 10.5px;
        font-weight: 700;
        white-space: nowrap;
        box-shadow: 0 1px 4px rgba(28, 35, 51, 0.2);
    }

    /* ---------- legend ---------- */

    .smp-status__legend {
        flex: 1 1 220px;
        display: flex;
        flex-direction: column;
        gap: 10px;
        min-width: 200px;
    }

    .smp-status__legend-item {
        display: flex;
        align-items: flex-start;
        gap: 8px;
    }

    .smp-status__legend-rank {
        flex: none;
        width: 16px;
        height: 16px;
        border-radius: 50%;
        border: 1px solid var(--smp-hairline);
        font-size: 12px;
        color: var(--smp-muted);
        display: flex;
        align-items: center;
        justify-content: center;
        margin-block-start: 1px;
    }

    .smp-status__legend-dot {
        flex: none;
        width: 9px;
        height: 9px;
        border-radius: 50%;
        margin-block-start: 4px;
    }

    .smp-status__legend-text {
        flex: 1;
        min-width: 0;
    }

    .smp-status__legend-top {
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        gap: 8px;
    }

    .smp-status__legend-label {
        font-size: 13px;
        font-weight: 500;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .smp-status__legend-count {
        font-weight: 700;
        font-size: 13px;
        flex: none;
    }

    .smp-status__legend-percent {
        font-size: 12px;
        color: var(--smp-muted);
    }

    .smp-status__empty {
        font-size: 13px;
        color: var(--smp-muted);
        padding-block: 12px;
    }

    @media (max-width: 560px) {
        .smp-status__gauge-row {
            justify-content: center;
        }
        .smp-status__gauge {
            width: 220px;
            height: 220px;
        }
        .smp-status__legend {
            width: 100%;
        }
    }

    .impact-widget {
        margin-top: 20px;
    }

    .impact-header {
        display: flex;
        align-items: center;
        gap: 14px;
        background: #fff;
        border: 1px solid #e9edf2;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
        padding: 18px 22px;
        margin-bottom: 18px;
        cursor: pointer;
        user-select: none;
        transition: border-radius .2s ease;
    }

    .impact-header:focus {
        outline: none;
        box-shadow: 0 0 0 3px rgba(66, 165, 245, .25);
    }

    .impact-header.collapsed {
        margin-bottom: 0;
        border-radius: 12px;
    }

    .impact-header-icon {
        width: 44px;
        height: 44px;
        min-width: 44px;
        border-radius: 10px;
        background: linear-gradient(135deg, #607D8B, #456E71);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 19px;
    }

    .impact-header-text {
        flex: 1;
        min-width: 0;
    }

    .impact-header-text h3 {
        margin: 0 0 4px;
        font-size: 19px;
        font-weight: 600;
        color: #263238;
    }

    .impact-header-text p {
        margin: 0;
        font-size: 13px;
        color: #90a4ae;
    }

    .impact-header-toggle {
        color: #90a4ae;
        font-size: 16px;
    }

    .impact-chevron {
        display: inline-block;
        transition: transform .25s ease;
    }

    .impact-header.collapsed .impact-chevron {
        transform: rotate(-90deg);
    }

    .impact-body {
        margin-top: -4px;
    }

    .impact-panel {
        background: #fff;
        border: 1px solid #e9edf2;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
        overflow: hidden;
        margin-bottom: 20px;
    }

    .panel-title {
        padding: 18px 22px;
        font-size: 17px;
        font-weight: 600;
        color: #2b2f36;
        background: #fafbfc;
        border-bottom: 1px solid #edf1f5;
    }

    .panel-title i {
        margin-right: 10px;
        color: #4e73df;
    }

    .panel-title-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 8px;
    }

    .fwci-inline-stat {
        font-size: 13px;
        font-weight: 500;
        /* color: #607d8b; */
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .fwci-inline-stat strong {
        font-size: 15px;
        color: #263238;
    }

    .fwci-inline-status {
        padding: 3px 10px;
        border-radius: 999px;
        font-size: 11px;
        font-weight: 600;
        color: #5C6BC0;
        background: #EDEFFB;
    }

    .impact-chart-wrapper {
        position: relative;
        width: 100%;
        height: 340px;
        padding: 20px 22px;
        box-sizing: border-box;
    }

    /* --- Percentage rings --- */

    .ring-row {
        display: flex;
        flex-wrap: wrap;
        gap: 22px;
        padding: 24px 22px;
        justify-content: space-around;
    }

    .ring-stat {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 150px;
    }

    .ring-svg {
        width: 120px;
        height: 120px;
        transform: rotate(-90deg);
    }

    .ring-track {
        fill: none;
        stroke: #eef1f4;
        stroke-width: 10;
    }

    .ring-progress {
        fill: none;
        stroke-width: 10;
        stroke-linecap: round;
        transition: stroke-dashoffset .6s ease;
    }

    .ring-center {
        position: relative;
        margin-top: -84px;
        margin-bottom: 44px;
        width: 120px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .ring-value {
        position: absolute;
        font-weight: 700;
        color: #263238;
        transition: opacity .2s ease, transform .2s ease;
    }

    .ring-percentage {
        font-size: 19px;
        opacity: 1;
        transform: translateY(0);
    }

    .ring-count {
        font-size: 13px;
        opacity: 0;
        transform: translateY(6px);
        white-space: nowrap;
    }

    .ring-stat:hover .ring-percentage {
        opacity: 0;
        transform: translateY(-6px);
    }

    .ring-stat:hover .ring-count {
        opacity: 1;
        transform: translateY(0);
    }

    .ring-label {
        margin-top: 4px;
        text-align: center;
        font-size: 12.5px;
        /* color: #78909c; */
        line-height: 1.35;
    }

    .ring-label i {
        color: #90a4ae;
        margin-right: 4px;
    }

.ring-stat-plain {
    justify-content: center;
    padding-top: 4px;
}

.plain-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFB74D, #FB8C00);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 10px;
}

.plain-stat-value {
    font-size: 22px;
    font-weight: 700;
    color: #263238;
    line-height: 1.2;
}

.plain-stat-sub {
    margin-top: 4px;
    font-size: 11px;
    color: #b0bec5;
    text-align: center;
}


    /* --- Remaining collaboration bars --- */

    .collab-list {
        padding: 18px 22px;
    }

    .collab-metric {
        padding: 12px 0;
        border-bottom: 1px solid #f2f4f7;
    }

    .collab-metric:last-child {
        border-bottom: none;
        padding-bottom: 4px;
    }

    .collab-metric-head {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        margin-bottom: 8px;
    }

    .collab-metric-label {
        font-size: 14px;
        /* color: #455a64; */
    }

    .collab-metric-label i {
        width: 18px;
        color: #90a4ae;
        margin-right: 6px;
    }

    .collab-metric-value {
        font-size: 15px;
        font-weight: 700;
        color: #222;
    }

    .collab-track {
        position: relative;
        height: 8px;
        background: #eef1f4;
        border-radius: 999px;
        overflow: hidden;
    }

    .collab-fill {
        height: 100%;
        background: linear-gradient(90deg, #4DD0E1, #26C6DA);
        border-radius: 999px;
    }

    [dir="rtl"] .collab-track {
        transform: scaleX(-1);
    }

    .collab-metric-sub {
        margin-top: 6px;
        font-size: 11px;
        /* color: #b0bec5; */
    }

    @media (max-width: 600px) {

        .impact-header {
            padding: 16px;
        }

        .impact-chart-wrapper {
            height: 280px;
            padding: 16px;
        }

        .ring-row {
            gap: 18px;
            padding: 20px 12px;
        }

        .ring-stat {
            width: 130px;
        }

    }
