/* @import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Oswald:wght@200..700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Quicksand:wght@300..700&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap'); */

* {
  box-sizing: border-box;
  /* user-select: none; */
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif !important;
  margin: 0;
  padding: 0;
  background-color: #F6F6F6 !important;
  color: #1F1B1A;
  background: #fff !important;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 0 !important;
}

p {
  margin-bottom: 0 !important;
  color: #1F1B1A;
}

h1 {
  font-size: 4rem !important;
}

hr {
  background-color: #939393;
}

.bg-primary {
  background-color: #98383E !important;
}

.normal_label {
  font-size: 13px;
  color: #1F1B1A;
  color: #5A5452;
}

label {
  font-size: 13px;
  color: #1F1B1A;
  color: #5A5452;
}

.dropdown-item {
  font-size: 13px;
}

.container-fluid {
  padding: 0 3rem !important;
}

.navbar {
  z-index: 99999;
  height: 60px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
}

.logo img {
  width: 200px;
}

.btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition-duration: 0.3s !important;
  font-size: 12px !important;
}

.btn-success {
  background-color: #2F6B4F !important;
  border: #2F6B4F !important;
  transition-duration: 1s;
}

.btn-success:hover {
  background-color: #25553e !important;
}

.btn-primary {
  background-color: #98383E !important;
  border: #98383E !important;
  transition-duration: 1s;
}

.btn-primary:hover {
  background-color: #7F2C31 !important;
}

.btn-warning {
  background-color: #D6CF4B !important;
  border: #D6CF4B !important;
  font-size: 12px !important;
}

.btn-warning:hover {
  background-color: #bdb742 !important;
}

.btn-outline-primary {
  border: 1px solid #98383E !important;
  font-size: 12px !important;
  color: #1F1B1A !important;
  transition-duration: 1s;
}

.btn-outline-primary:hover {
  background-color: #E7E1DC !important;
}

.hero_area {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
}

.hero_text {
  color: #fff;
}

.card {
  background-color: #fff !important;
  padding: 1rem !important;
  border-radius: 15px !important;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px !important;
}

.card02 {
  background-color: #fff;
  padding: 1rem;
  border-radius: 15px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}

.sub-head {
  font-size: 15px;
  font-weight: 600;
  color: #8A5A2B;
}

/* login */

.login-card {
  width: 400px;
}

/* floating label */

.floating-label-container {
  position: relative;
}

.floating-label-input {
  width: 100%;
  padding: 15px 16px 10px 16px;
  border: 1px solid #E7E1DC;
  border-radius: 12px;
  background: #FBFAF8;
  color: #5A5452;
  font-size: 13px;
  outline: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.floating-label-input:focus {
  background: #E7E1DC;
}

.floating-label-input:disabled {
  background: #EBEAE6 !important;
  color: #8C8785 !important;
  cursor: not-allowed;
  border-color: #D7D1CC !important;
}

.floating-label-input:disabled~.floating-label {
  color: #8C8785 !important;
  background: #fff !important;
}

.floating-label {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #5A5452;
  font-size: 13px;
  pointer-events: none;
  transition: all 0.3s ease;
  background: transparent;
  padding: 0 4px;
}

.floating-label-input:focus+.floating-label,
.floating-label-input:not(:placeholder-shown)+.floating-label {
  top: 0;
  transform: translateY(-50%);
  font-size: 12px;
  color: #5A5452;
  background: #fff;
}

#markAbsentForm .floating-label {
  top: 0;
  font-size: 12px;
  background: #fff;
}

/* stepper */

ol.stepper {
  --default-b: #E7E1DC;
  --default-c: #5A5452;
  --active-b: #98383E;
  --active-c: white;
  --circle: 2.2em;
  --b: 2px;

  display: flex;
  list-style: none;
  justify-content: space-between;
  margin: 30px 0 30px;
  /* Increased top margin */
  padding: 0;
  font-size: 13px;
  font-weight: 500;
  counter-reset: step;
}

ol.stepper li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  flex: 1;
  text-align: center;
  color: var(--active-b);
}

/* The Connecting Line */
ol.stepper li::after {
  content: "";
  position: absolute;
  height: var(--b);
  width: 100%;
  background: var(--active-b);
  top: calc(var(--circle) / 2 - var(--b) / 2);
  left: 50%;
  z-index: 0;
}

ol.stepper li:last-child::after {
  display: none;
}

/* Future Steps Line */
ol.stepper li.active::after,
ol.stepper li.active~li::after {
  background: var(--default-b);
}

/* The Circle */
ol.stepper li::before {
  content: counter(step);
  counter-increment: step;
  display: flex;
  justify-content: center;
  align-items: center;
  width: var(--circle);
  height: var(--circle);
  border: 3px solid #fff;
  box-sizing: border-box;
  background: #EC5800;
  color: var(--active-c);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 600;
  z-index: 1;
  position: relative;
  box-shadow: 0 0 0 2px var(--active-b);
}

/* Active Step */
ol.stepper li.active {
  font-weight: 700;
}

ol.stepper li.active::before {
  box-shadow: 0 0 0 4px #98383e33, 0 0 0 2px var(--active-b);
  background: #EC5800;
}

ol.stepper li.completed::before {
  box-shadow: 0 0 0 4px rgba(152, 56, 62, 0.2), 0 0 0 2px var(--active-b);
  background: #198754;
}

/* Future Steps Circle & Text */
ol.stepper li.active~li {
  color: var(--default-c);
}

ol.stepper li.active~li::before {
  background: #fff;
  color: var(--default-c);
  border-color: #fff;
  box-shadow: 0 0 0 2px var(--default-b);
}

@media (max-width: 600px) {
  ol.stepper {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  ol.stepper li {
    flex-direction: row;
    text-align: left;
    width: 100%;
  }

  /* The vertical line for mobile */
  ol.stepper li::after {
    width: var(--b);
    height: calc(100% + 20px);
    top: calc(var(--circle) / 2);
    left: calc(var(--circle) / 2 - var(--b) / 2);
  }
}

/* image upload */

#picture__input {
  display: none;
}

.picture {
  width: 400px;
  height: 290px;
  aspect-ratio: 16/9;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  border: 2px dashed #aaa;
  cursor: pointer;
  /* font-family: sans-serif;
  transition: color 300ms ease-in-out, background 300ms ease-in-out;
  outline: none; */
  overflow: hidden;
}

.picture:hover {
  color: #777;
  background: #f0f0f0;
}

.picture:active {
  border-color: turquoise;
  color: turquoise;
  background: #eee;
}

.picture:focus {
  color: #777;
  background: #ccc;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.picture__img {
  max-width: 100%;
}

/* preview */

.pro_pic {
  display: flex;
  align-items: center;
}

.pro_pic img {
  width: 100px;
  border-radius: 100px;
  margin-right: 1rem;
}

/* side nav */

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 260px;
  background: #E7E1DC;
  z-index: 100;
  transition: all 0.5s ease;
}

.sidebar.close {
  width: 55px;
}

.sidebar .logo-details {
  height: 60px;
  width: 100%;
  display: flex;
  align-items: center;
}

.sidebar .logo-details i {
  font-size: 30px;
  color: #1F1B1A;
  height: 50px;
  min-width: 78px;
  text-align: center;
  line-height: 50px;
}

.sidebar .logo-details .logo_name {
  font-size: 22px;
  color: #1F1B1A;
  font-weight: 600;
  transition: 0.3s ease;
  transition-delay: 0.1s;
}

.sidebar.close .logo-details .logo_name {
  transition-delay: 0s;
  opacity: 0;
  pointer-events: none;
}

.sidebar .nav-links {
  height: 100%;
  padding: 30px 0 150px 0;
  overflow: auto;
}

.sidebar.close .nav-links {
  overflow: visible;
}

.sidebar .nav-links::-webkit-scrollbar {
  display: none;
}

.sidebar .nav-links li {
  position: relative;
  list-style: none;
  transition: all 0.4s ease;
}

.sidebar .nav-links .active {
  background: #98383E;
  color: #fff;
}

.sidebar .nav-links .active .link_name {
  color: #fff;
}

.sidebar .nav-links .active i {
  color: #F7B56D;
}

.sidebar .nav-links li:hover {
  background: #98383E;
  color: #fff;
}

.sidebar .nav-links li:hover .link_name {
  color: #fff;
}

.sidebar .nav-links li:hover i {
  color: #F7B56D;
}

.sidebar .nav-links li .iocn-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sidebar.close .nav-links li .iocn-link {
  display: block
}

.sidebar .nav-links li i {
  height: 50px;
  min-width: 50px;
  text-align: center;
  line-height: 50px;
  color: #1F1B1A;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.sidebar .nav-links li.showMenu i.arrow {
  transform: rotate(-180deg);
}

.sidebar.close .nav-links i.arrow {
  display: none;
}

.sidebar .nav-links li a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.sidebar .nav-links li a .link_name {
  font-size: 14px;
  font-weight: 400;
  color: #1F1B1A;
  transition: all 0.4s ease;
}

.sidebar.close .nav-links li a .link_name {
  opacity: 0;
  pointer-events: none;
}

.sidebar .nav-links li .sub-menu {
  padding: 6px 6px 14px 50px;
  margin-top: -10px;
  background: #98383E;
  display: none;
}

.sidebar .nav-links li.showMenu .sub-menu {
  display: block;
}

.sidebar .nav-links li .sub-menu a {
  color: #fff;
  font-size: 14px;
  padding: 5px 0;
  white-space: nowrap;
  /* opacity: 0.6; */
  transition: all 0.3s ease;
}

/* .sidebar .nav-links li .sub-menu a:hover{
  opacity: 1;
  color: #fff;
} */
.sidebar.close .nav-links li .sub-menu {
  position: absolute;
  left: 100%;
  top: -10px;
  margin-top: 0;
  padding: 10px 20px;
  border-radius: 0 6px 6px 0;
  opacity: 0;
  display: block;
  pointer-events: none;
  transition: 0s;
}

.sidebar.close .nav-links li:hover .sub-menu {
  top: 0;
  opacity: 1;
  pointer-events: auto;
  transition: all 0.4s ease;
}

.sidebar .nav-links li .sub-menu .link_name {
  display: none;
}

.sidebar.close .nav-links li .sub-menu .link_name {
  font-size: 14px;
  opacity: 1;
  display: block;
}

.sidebar .nav-links li .sub-menu.blank {
  opacity: 1;
  pointer-events: auto;
  padding: 3px 20px 6px 16px;
  opacity: 0;
  pointer-events: none;
}

.sidebar .nav-links li:hover .sub-menu.blank {
  top: 50%;
  transform: translateY(-50%);
}

.sidebar .profile-details {
  position: fixed;
  bottom: 0;
  width: 260px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FBFAF8;
  padding: 12px 0;
  transition: all 0.5s ease;
}

.sidebar.close .profile-details {
  background: none;
}

.sidebar.close .profile-details {
  width: 78px;
}

.sidebar .profile-details .profile-content {
  display: flex;
  align-items: center;
}

.sidebar .profile-details img {
  height: 52px;
  width: 52px;
  object-fit: cover;
  border-radius: 16px;
  margin: 0 14px 0 12px;
  background: #1d1b31;
  transition: all 0.5s ease;
}

.sidebar.close .profile-details img {
  padding: 10px;
}

.sidebar .profile-details .profile_name,
.sidebar .profile-details .job {
  color: #1F1B1A;
  font-size: 18px;
  font-weight: 500;
  white-space: nowrap;
}

.sidebar.close .profile-details i,
.sidebar.close .profile-details .profile_name,
.sidebar.close .profile-details .job {
  display: none;
}

.sidebar .profile-details .job {
  font-size: 12px;
}

.home-section {
  position: relative;
  background: #fff;
  height: 100vh;
  left: 260px;
  width: calc(100% - 260px);
  transition: all 0.5s ease;
  padding: 0 2rem;
}

.sidebar.close~.home-section {
  left: 78px;
  width: calc(100% - 78px);
}

.home-section .home-content {
  height: 60px;
  display: flex;
  align-items: center;
}

.home-section .home-content .bx-menu,
.home-section .home-content .text {
  color: #11101d;
  font-size: 35px;
}

.home-section .home-content .bx-menu {
  margin-right: 15px;
  cursor: pointer;
}

.home-section .home-content .text {
  font-size: 20px;
  font-weight: 600;
}

@media (max-width: 400px) {
  .sidebar.close .nav-links li .sub-menu {
    display: none;
  }

  .sidebar {
    width: 78px;
  }

  .sidebar.close {
    width: 0;
  }

  .home-section {
    left: 78px;
    width: calc(100% - 78px);
    z-index: 100;
  }

  .sidebar.close~.home-section {
    width: 100%;
    left: 0;
  }
}

/* table */

.table tr th {
  background-color: #46444D;
  color: #fff;
  font-size: 13px;
  vertical-align: middle;
  border: 1px solid #fff;
  border-radius: 5px;
}

.table tr td {
  background-color: #F2E9DF;
  color: #1F1B1A;
  font-size: 12px;
  vertical-align: middle;
  border: 1px solid #fff;
  border-radius: 5px;
}

.table tr.interview-absent-row td {
  background-color: #E7E1DC;
  color: #5A5452;
}

/* Keep feedback matrix questions visually consistent with normal table rows. */
.feedback-matrix-table tbody th {
  background-color: #F2E9DF;
  color: #1F1B1A;
  font-weight: 400;
}

/* sidenav */

.sidenav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 99999;
  top: 0;
  right: 0;
  background-color: #fff;
  color: #11101d;
  overflow-x: hidden;
  transition: 0.5s;
  box-shadow: rgba(100, 100, 111, 0.5) 0px 7px 29px 0px;
}

.sidenav .card {
  margin: 0 1rem;
}

.sidenav h5 {
  margin: 0 1rem;
}

.sidenav .d-flex {
  margin: 0 1rem;
}

.sidenav .alert {
  margin: 0 1rem;
}

.sidenav a {
  text-decoration: none;
  color: #11101d;
  display: block;
  transition: 0.3s;
}

.sidenav .closebtn {
  margin: 1rem;
}

.sidenav .closebtn {
  font-size: 18px !important;
  color: #fff !important;
}

.sidenav .btn-bgcolor {
  background-color: #8A5A2B;
}

.sidenav .btn-bgcolor:hover {
  background-color: #c79e75;
}

@media screen and (max-height: 450px) {
  .sidenav {
    padding-top: 15px;
  }
}

/* Internal users */

.internal-user-sidenav {
  max-width: 100%;
  padding-bottom: 2rem;
  pointer-events: none;
}

.internal-user-sidenav.is-open {
  width: min(1000px, 100%);
  pointer-events: auto;
}

#mySidenav .internal-user-form-card {
  padding: 22px !important;
}

.row.internal-user-form-row {
  --bs-gutter-x: 22px;
  --bs-gutter-y: 22px;
}

.sidenav .required-marker {
  color: #dc3545 !important;
  font-weight: 600;
}

.internal-user-status-field .floating-label {
  top: 0;
  transform: translateY(-50%);
  font-size: 12px;
  background: #fff;
  z-index: 2;
}

.internal-user-status-control {
  position: relative;
}

.internal-user-status-button {
  height: 49px;
  padding-right: 44px;
  text-align: left;
  display: flex;
  align-items: center;
  position: relative;
}

.internal-user-status-button::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid #98383E;
  border-bottom: 2px solid #98383E;
  transform: translateY(-70%) rotate(45deg);
}

.internal-user-status-button:focus,
.internal-user-status-control.is-open .internal-user-status-button {
  background: #E7E1DC;
  border-color: #E7E1DC;
}

.internal-user-status-menu {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 20;
  border: 1px solid #E7E1DC;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(52, 48, 58, 0.15);
}

.internal-user-status-control.is-open .internal-user-status-menu {
  display: block;
}

.internal-user-status-item {
  width: 100%;
  border: 0;
  background: #fff;
  padding: 10px 16px;
  color: #4a4442;
  text-align: left;
  font-weight: 500;
}

.internal-user-status-item:hover,
.internal-user-status-item:focus {
  background: #98383E;
  color: #fff;
  outline: none;
}

.internal-user-status-item[aria-selected="true"] {
  font-weight: 600;
}

/* Subject matter experts */

.sme-sidenav {
  max-width: 100%;
  padding-bottom: 2rem;
  pointer-events: none;
}

.sme-sidenav.is-open {
  width: min(920px, 100%);
  pointer-events: auto;
}

.sme-field-error {
  min-height: 18px;
  color: #dc3545;
  font-size: 11px;
}

.sme-table-row {
  cursor: pointer;
}

.sme-table-row:focus-visible {
  outline: 2px solid #98383e;
  outline-offset: -2px;
}

.sme-subject-text {
  white-space: normal;
  overflow-wrap: anywhere;
}

.sme-subject-badge {
  margin: 2px;
  background: #e5d2c1;
  color: #593a2d;
  font-weight: 500;
}

.sme-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.sme-action-btn,
.table-action-btn {
  width: 34px;
  height: 34px !important;
  padding: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px !important;
}

.sme-actions .form-switch .form-check-input {
  cursor: pointer;
  background-color: #9ca3af;
  border-color: #9ca3af;
  --bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
}

.sme-actions .form-switch .form-check-input:checked {
  background-color: #198754;
  border-color: #198754;
}

.sme-actions .form-switch .form-check-input:focus {
  border-color: #198754;
  box-shadow: 0 0 0 3px rgba(25, 135, 84, 0.22);
}

.sme-select2-field .select2-container--default .select2-selection--multiple {
  min-height: 46px;
  padding: 7px 10px 3px;
  border: 1px solid #e7e1dc;
  border-radius: 12px;
  background: #fbfaf8;
  color: #5a5452;
  font-family: inherit;
  font-size: 13px;
  font-weight: 400;
  transition: all 0.3s ease;
}

.sme-select2-field:focus-within .select2-selection--multiple,
.sme-select2-field.is-focused .select2-selection--multiple {
  background: #e7e1dc;
}

.sme-select2-field .select2-container--default.select2-container--focus .select2-selection--multiple {
  border-color: #98383e;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(152, 56, 62, 0.14);
}

.sme-select2-field .select2-selection__rendered {
  padding: 0 !important;
}

.sme-select2-field .select2-selection__choice {
  margin-top: 3px !important;
  padding: 2px 8px !important;
  border: 1px solid #d7d1cc !important;
  border-radius: 8px !important;
  background: #f2e9df !important;
  color: #5a5452;
  font-size: 13px;
  font-weight: 400;
  line-height: 20px;
}

.sme-select2-field .select2-selection__choice__remove {
  margin-right: 4px !important;
  color: #98383e !important;
}

.sme-select2-field .select2-search__field {
  color: #5a5452;
  font-family: inherit;
  font-size: 13px !important;
  font-weight: 400;
}

#scheduleInterviewForm [hidden] {
  display: none !important;
}

.sme-select2-field .floating-label {
  z-index: 2;
}

.sme-select2-field:focus-within .floating-label,
.sme-select2-field.is-focused .floating-label,
.sme-select2-field.has-value .floating-label {
  top: 0;
  transform: translateY(-50%);
  font-size: 12px;
  background: #fff;
}

#smeDrawer .select2-dropdown {
  overflow: hidden;
  border: 1px solid #e7e1dc !important;
  border-radius: 10px !important;
  background: #fbfaf8;
  box-shadow: 0 8px 20px rgba(31, 27, 26, 0.12);
  color: #5a5452;
  font-family: inherit;
  font-size: 13px;
  font-weight: 400;
}

#smeDrawer .select2-dropdown .select2-search__field {
  border: 1px solid #d7d1cc !important;
  border-radius: 8px;
  background: #fff;
  color: #5a5452;
  font-family: inherit;
  font-size: 13px;
  outline: 0;
}

#smeDrawer .select2-dropdown .select2-results__option {
  padding: 8px 12px;
  color: #5a5452;
  font-size: 13px;
  font-weight: 400;
}

#smeDrawer .select2-dropdown .select2-results__option[aria-selected="true"] {
  background: #e5d2c1;
  color: #593a2d;
}

#smeDrawer .select2-dropdown .select2-results__option--highlighted[aria-selected] {
  background: #98383e;
  color: #fff;
}

.sme-home {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: #f8f5f1;
}

.sme-home main {
  width: min(480px, calc(100% - 2rem));
  padding: 2rem;
  text-align: center;
}

.sme-home img {
  width: min(240px, 80%);
  margin: 0 auto 1.5rem;
}

#panelistdetails .select2-dropdown {
  overflow: hidden;
  border: 1px solid #e7e1dc !important;
  border-radius: 10px !important;
  background: #fbfaf8;
  box-shadow: 0 8px 20px rgba(31, 27, 26, 0.12);
  color: #5a5452;
  font-family: inherit;
  font-size: 13px;
  font-weight: 400;
}

#panelistdetails .select2-dropdown .select2-search__field {
  border: 1px solid #d7d1cc !important;
  border-radius: 8px;
  background: #fff;
  color: #5a5452;
  font-family: inherit;
  font-size: 13px;
  outline: 0;
}

#panelistdetails .select2-dropdown .select2-results__option {
  padding: 8px 12px;
  color: #5a5452;
  font-size: 13px;
  font-weight: 400;
}

#panelistdetails .select2-dropdown .select2-results__option[aria-selected="true"] {
  background: #e5d2c1;
  color: #593a2d;
}

#panelistdetails .select2-dropdown .select2-results__option--highlighted[aria-selected] {
  background: #98383e;
  color: #fff;
}

/* tabs */

.nav-tabs .nav-link {
  font-size: 13px;
  color: #1F1B1A;
}

.nav-tabs .nav-link.active {
  background-color: #98383E !important;
  color: #fff !important;
}

.nav-pills .nav-link {
  font-size: 13px;
  color: #1F1B1A;
}

.nav-pills .nav-link.active {
  background-color: #98383E !important;
  color: #fff !important;
}

.ver-tab .nav-pills .nav-link {
  text-align: left;
  margin-bottom: 1rem;
}

/* Dynamic Year Blocks */
.year-blocks-container {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
  align-items: start;
}

@media (min-width: 768px) {
  .year-blocks-container {
    flex-wrap: nowrap;
  }
}

.year-block-subject {
  flex: 2.5;
  min-width: 200px;
}

.year-block-score-type {
  flex: 1.5;
  min-width: 120px;
}

.year-block-gpa-scale {
  flex: 1.5;
  min-width: 140px;
}

.year-block-score-grade {
  flex: 1;
  min-width: 150px;
}

.year-block-date {
  flex: 1.5;
  min-width: 130px;
}

.pd-form-container {
  padding-bottom: 100px !important;
}

/* registration dates */

.ns-form-label span {
  color: #dc3545;
}

.ns-form-group input,
.ns-form-group select {
  width: 100%;
  height: 58px;
  padding: 0 24px;
  border: 1px solid #E7E1DC;
  border-radius: 14px;
  background-color: #FBFAF8;
  color: #5A5452;
  font-size: 15px;
  outline: none;
}

.ns-form-group input:focus,
.ns-form-group select:focus {
  border-color: #d8cfc7;
  box-shadow: none;
}

input[readonly] {
  cursor: not-allowed;
  background-color: #f1f1f1 !important;
}


/* Pagination */
.flex {
  display: flex;
}

.justify-center {
  justify-content: center;
}

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

.join {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.join>.join-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  text-decoration: none;
  color: #555;
  background: transparent;
  border: none;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s ease;
}

.join>.join-item:hover {
  background: #f2f2f2;
  color: #222;
}

.join>.btn-active {
  background: #ececec;
  color: #222;
  font-weight: 600;
}

.join>a.join-item {
  text-decoration: none;
}

.join>button.join-item {
  border: none;
  outline: none;
}

/* Master Control */

.ver-tab,
.control-left-menu {
  overflow: visible;
}

.ver-tab .control-left-menu .nav-link {
  width: 100%;
  text-align: left;
  text-decoration: none;
  border: 0;
  border-radius: 8px;
  margin-bottom: 8px;
  padding: 10px 14px;
  color: #333;
  background-color: transparent;
  transition: all 0.2s ease;
}

.ver-tab .control-left-menu .nav-link:hover {
  background-color: #f2e9df !important;
  color: #98383E !important;
}

.ver-tab .control-left-menu>a.nav-link.active {
  background-color: #98383E !important;
  color: #fff !important;
}

/* Master Setup */

.control-dropdown {
  width: 100%;
}

.control-dropdown .master-main-link {
  width: 100%;
  border: 0;
  font-weight: 500;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
}

.control-dropdown .master-main-link.active {
  background-color: #E7E1DC !important;
  color: #98383E !important;
  font-weight: 600;
}

.control-dropdown-arrow {
  flex-shrink: 0;
  font-size: 18px;
  transition: transform 0.2s ease;
}

.control-dropdown.open .control-dropdown-arrow {
  transform: rotate(180deg);
}

.master-sub-menu {
  display: none;
  margin: -2px 0 10px 18px;
  padding-left: 12px;
  border-left: 2px solid #E7E1DC;
}

.control-dropdown.open .master-sub-menu {
  display: block;
}

.master-sub-menu .master-sub-link {
  font-size: 12px;
  padding: 8px 12px;
  margin-bottom: 6px;
  border-radius: 6px;
  color: #5A5452;
  background-color: transparent;
}

.master-sub-menu .master-sub-link:hover {
  background-color: #f2e9df !important;
  color: #98383E !important;
}

.master-sub-menu .master-sub-link.active {
  background-color: #98383E !important;
  color: #fff !important;
}

.master-sub-menu .master-sub-link:last-child {
  margin-bottom: 0;
}

.master-sub-menu button.master-sub-link {
  cursor: default;
}

/* Toggle */

.status-cell {
  text-align: center;
  vertical-align: middle !important;
}

.status-form {
  margin: 0;
  display: inline-flex;
}

.status-toggle {
  position: relative;
  width: 118px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  padding: 0 14px 0 38px;
  background-color: #9ca3af;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  transition: all 0.25s ease;
  box-shadow: rgba(0, 0, 0, 0.12) 0 2px 6px;
}

.status-toggle::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: #fff;
  transition: transform 0.25s ease;
  box-shadow: rgba(0, 0, 0, 0.25) 0 1px 4px;
}

.status-toggle.active {
  padding: 0 38px 0 14px;
  background-color: #198754;
  justify-content: flex-start;
}

.status-toggle.active::before {
  transform: translateX(84px);
}

.status-toggle:hover {
  filter: brightness(0.95);
}

.status-toggle:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(25, 135, 84, 0.22);
}

/* Registration Dates drawer */

#registrationDateForm {
  padding: 22px;
}

#registrationDateForm .row {
  row-gap: 22px;
}

#registrationStatusField {
  flex: 0 0 100%;
  max-width: 100%;
}

#registrationStatus {
  border-color: #cbb8ba;
  color: #98383E;
  font-weight: 600;
}

#registrationStatus:focus {
  border-color: #98383E;
  box-shadow: 0 0 0 3px rgba(152, 56, 62, 0.16);
}

/* Organization Table */

.organization-table {
  table-layout: fixed;
  width: 100%;
}

.organization-table .small-col {
  width: 145px;
}

/* Content Manager */

.content-table {
  table-layout: fixed;
  width: 100%;
}

.content-table .serial-col {
  width: 90px;
}

.content-table .sort-col {
  width: 120px;
}

.content-table .status-col {
  width: 145px;
}

.content-block-row {
  cursor: pointer;
}

.content-block-row.is-inactive .content-preview {
  color: #6c757d;
}

.content-preview {
  display: block;
  line-height: 1.5;
  word-break: break-word;
}

.content-form-card {
  max-width: 760px;
}

.content-textarea {
  min-height: 105px;
  resize: vertical;
}

/* Responsive Admin Layer */

.master-control-page {
  min-height: 100vh;
  height: auto;
  overflow-x: hidden;
}

/* Control layout */

.master-control-page .control-layout {
  gap: 1rem;
}

.master-control-page .control-left-menu {
  flex: 0 0 260px;
  max-width: 260px;
}

.master-control-page .control-content {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
}

/* Shared table wrapper used by these Control pages */

.master-control-page .admin-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
}

.master-control-page .admin-table-wrap>.table {
  margin-bottom: 0;
  vertical-align: middle;
}

.master-control-page .admin-table-wrap>.table th,
.master-control-page .admin-table-wrap>.table td {
  white-space: nowrap;
}

/* Status toggle limited to Master Control pages */

.master-control-page .status-toggle {
  width: 96px;
  height: 28px;
  padding: 0 10px 0 30px;
  font-size: 10px;
}

.master-control-page .status-toggle::before {
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
}

.master-control-page .status-toggle.active {
  padding: 0 30px 0 10px;
}

.master-control-page .status-toggle.active::before {
  transform: translateX(68px);
}

/* Registration Dates page */

.master-control-page .registration-table {
  min-width: 850px;
}

.master-control-page .registration-toolbar {
  gap: 1rem;
  flex-wrap: wrap;
}

.master-control-page .registration-toolbar .alert {
  flex: 1 1 420px;
  margin-bottom: 0;
}

/* Organisation Name page */

.master-control-page .organization-table {
  min-width: 540px;
}

/* Content Manager pages */

.master-control-page .content-table {
  min-width: 760px;
}

.master-control-page .content-table th:nth-child(2),
.master-control-page .content-table td:nth-child(2) {
  min-width: 320px;
  white-space: normal;
}

.master-control-page .content-preview {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.master-control-page .content-form-card {
  width: calc(100% - 2rem);
  max-width: 760px;
}

/* Tablet */

@media (max-width: 991.98px) {
  .master-control-page {
    padding: 0 1rem;
  }

  .master-control-page .control-layout {
    flex-direction: column;
  }

  .master-control-page .control-left-menu {
    width: 100%;
    max-width: 100%;
    flex: 0 0 auto;
    margin-right: 0 !important;
  }

  .master-control-page .control-content {
    width: 100%;
  }

  .master-control-page .control-left-menu .nav-link {
    margin-bottom: 6px;
  }

  .master-control-page .registration-toolbar {
    align-items: flex-start !important;
  }

  .master-control-page .card02>.d-flex {
    align-items: flex-start !important;
    flex-wrap: wrap;
    gap: 0.75rem;
  }
}

/* Mobile */

@media (max-width: 767.98px) {
  .master-control-page {
    left: 0;
    width: 100%;
    padding: 0 0.85rem;
  }

  .master-control-page .home-content {
    position: sticky;
    top: 0;
    z-index: 50;
    height: 56px;
    background: #fff;
  }

  .master-control-page .home-content .bx-menu {
    font-size: 28px;
  }

  .master-control-page .home-content .text {
    font-size: 18px;
  }

  .master-control-page .status-toggle {
    width: 84px;
    height: 24px;
    padding: 0 8px 0 26px;
    font-size: 9px;
  }

  .master-control-page .status-toggle::before {
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
  }

  .master-control-page .status-toggle.active {
    padding: 0 26px 0 8px;
  }

  .master-control-page .status-toggle.active::before {
    transform: translateX(60px);
  }
}

/* Small mobile */

@media (max-width: 575.98px) {
  .master-control-page {
    padding: 0 0.7rem;
  }

  .master-control-page .registration-toolbar .alert {
    flex-basis: 100%;
    width: 100%;
    margin-right: 0 !important;
  }

  .master-control-page .content-form-card {
    width: calc(100% - 1.5rem);
  }
}

/* Home Page Styles */
.home-shell {
  position: relative;
  z-index: 3;
  min-height: 100vh;
  padding: 120px 96px 48px 40px;
  display: flex;
  align-items: center;
}

.home-grid {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 400px);
  gap: 48px;
  align-items: center;
}

.hero-copy {
  color: #ffffff;
  max-width: 620px;
}

.hero-copy h1 {
  font-size: clamp(28px, 4.5vw, 46px);
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 18px;
}

.hero-copy p {
  font-size: 17px;
  line-height: 1.7;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.9);
}

.hero-start-btn {
  min-width: 300px;
  min-height: 50px;
  margin-top: 12px;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ffffff !important;
  background-color: #a53a42 !important;
  border: none !important;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(165, 58, 66, 0.4);
  transition: all 0.3s ease;
}

.hero-start-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(165, 58, 66, 0.6);
  background-color: #c0392b !important;
}

.deadline-card {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 10px 16px;
  margin: 22px 0 16px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.countdown-wrap {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.countdown-unit {
  min-width: 64px;
  padding: 8px 6px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  backdrop-filter: blur(6px);
}

.countdown-unit strong {
  display: block;
  font-size: 20px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.countdown-unit span {
  display: block;
  margin-top: 4px;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, 0.8);
}

.auth-card {
  border-radius: 8px !important;
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28) !important;
}

.auth-card .card-body {
  padding: 14px 16px !important;
}

.auth-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px !important;
}

.auth-header h3 {
  margin: 0;
  font-size: 20px !important;
  font-weight: 800;
  color: #1f2933;
}

.auth-header p {
  margin: 2px 0 0 !important;
  font-size: 12px !important;
  color: #6c757d;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 10px 0 !important;
  color: #8a8f98;
  font-size: 11px !important;
  font-weight: 600;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e7e1dc;
}

.social-auth-btn {
  min-height: 38px !important;
  border-color: #d7d1cc !important;
  color: #1f2933 !important;
  font-weight: 600 !important;
  font-size: 14px !important;
}

.social-auth-btn img {
  width: 20px !important;
  height: 20px !important;
  margin-right: 8px;
}

.text-link-btn {
  border: 0;
  background: transparent;
  color: #a53a42;
  font-weight: 700;
  padding: 0;
}

.text-link-btn:disabled {
  color: #db9397 !important;
  cursor: not-allowed !important;
}

.auth-card .btn-primary,
.auth-card .btn-outline-primary {
  min-height: 38px !important;
  font-size: 14px !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-card .floating-label-input {
  height: 44px !important;
  padding-top: 14px !important;
  font-size: 14px !important;
}

.auth-card .floating-label-input:focus~.floating-label,
.auth-card .floating-label-input:not(:placeholder-shown)~.floating-label {
  top: 4px !important;
  font-size: 10px !important;
}

.auth-card .password-toggle {
  font-size: 15px !important;
}

.password-toggle {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 18px;
  color: #6c757d;
  z-index: 10;
}

@media (max-width: 991px) {
  .home-shell {
    padding: 104px 16px 32px;
    align-items: flex-start;
  }

  .home-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-copy h1 {
    font-size: 34px;
  }

  .hero-copy p {
    font-size: 15px;
  }

  .countdown-unit {
    min-width: 68px;
  }

  .hero-start-btn {
    width: 100%;
    min-width: 0;
  }
}

/* Password Reset Page Styles */
.password-page {
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 16px 48px;
  background: #f5f1ec;
}

.password-card {
  width: min(100%, 440px);
  border: 1px solid #ece3db;
  border-radius: 8px !important;
}

.password-card h4 {
  color: #1f2933;
  font-weight: 700;
}

/* Form Styles */
textarea.auto-resize {
  overflow-y: hidden;
  resize: none;
  white-space: pre-wrap;
  word-break: break-word;
}


/* Feedback Form Master */

.master-control-page .feedback-table {
  width: 100%;
  min-width: 720px;
  table-layout: fixed;
}

.master-control-page .feedback-table .feedback-serial-col {
  width: 90px;
}

.master-control-page .feedback-table .feedback-year-col {
  width: 180px;
}

.master-control-page .feedback-table .feedback-action-col {
  width: 140px;
}

.master-control-page .feedback-actions {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.master-control-page .feedback-action-btn {
  width: 34px;
  height: 34px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.master-control-page .feedback-child-row>td {
  padding: 14px !important;
  background-color: #fff !important;
}

.master-control-page .feedback-child-table {
  min-width: 900px;
  margin-bottom: 0;
}

.master-control-page .admin-table-wrap .feedback-child-table th,
.master-control-page .admin-table-wrap .feedback-child-table td {
  white-space: normal;
  overflow-wrap: anywhere;
}

.feedback-sidenav {
  overflow-x: hidden;
  overflow-y: auto;
}

.feedback-sidenav .feedback-form-card {
  width: calc(100% - 2rem);
  max-width: none;
  margin-bottom: 1rem;
}

.feedback-sidenav .feedback-session-card {
  padding: 14px;
  border: 1px solid #E7E1DC;
  border-radius: 12px;
  background-color: #FBFAF8;
}

.feedback-sidenav .feedback-session-heading {
  margin-bottom: 12px !important;
  color: #98383E;
  font-size: 14px;
  font-weight: 600;
}

.feedback-sidenav textarea.floating-label-input {
  min-height: 82px;
  resize: vertical;
}

.feedback-sidenav .errorlist {
  margin: 5px 0 0;
  padding-left: 18px;
  color: #dc3545;
  font-size: 12px;
}

@media (max-width: 767.98px) {
  .feedback-sidenav .feedback-form-card {
    width: calc(100% - 1rem);
    margin-left: 0.5rem;
    margin-right: 0.5rem;
  }

  .feedback-sidenav .feedback-session-card {
    padding: 10px;
  }
}

/* Feedback Form Validation */

.feedback-sidenav .floating-label-input.is-invalid {
  border-color: #dc3545 !important;
  background-color: #fff8f8 !important;
}

.feedback-sidenav .feedback-field-error {
  display: block;
  margin-top: 5px;
  color: #dc3545;
  font-size: 12px;
  line-height: 1.3;
}

.feedback-sidenav .feedback-session-card.has-error {
  border-color: #dc3545;
}

/* Set required asterisk color */
.required {
  color: red;
}

/* Application Preview & Summary */
.preview-section {
  background: #ffffff;
  border-radius: 10px;
  padding: 1.25rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  margin-bottom: 1.25rem;
  border: 1px solid #E7E1DC;
}

.section-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #8A5A2B;
  background-color: #FAF4E8;
  padding: 6px 12px;
  border-left: 4px solid #98383E;
  margin-bottom: 1rem;
  letter-spacing: 0.3px;
}

.sub-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #5A5452;
  margin-top: 0.75rem;
  margin-bottom: 0.5rem;
}

.preview-table {
  width: 100%;
  margin-bottom: 0.75rem;
  border-collapse: collapse;
  font-size: 13px;
}

.preview-table th,
.preview-table td {
  border: 1px solid #E7E1DC;
  padding: 7px 10px;
  vertical-align: top;
  text-align: left;
}

.preview-table th {
  background-color: #FAF4E8;
  font-weight: 700;
  color: #4A4442;
  font-size: 12px;
}

.preview-table tbody tr:hover {
  background-color: #FBF8F5;
}

.field-label {
  font-weight: 600;
  color: #5A5452;
  font-size: 12.5px;
}

.field-value {
  color: #1F1B1A;
  font-size: 13px;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.photo-frame {
  width: 105px;
  height: 125px;
  border: 1px solid #D7D1CC;
  padding: 2px;
  background-color: #ffffff;
  object-fit: cover;
  border-radius: 6px;
}

/* Form Checkbox Brand Color */
.form-check-input:checked {
  background-color: #98383E !important;
  border-color: #98383E !important;
}

.form-check-input:focus {
  border-color: #98383E !important;
  box-shadow: 0 0 0 0.25rem rgba(152, 56, 62, 0.25) !important;
}

/* SE login */

a {
  text-decoration: none !important;
}

.blue-card {
  background: #4A75F0;
  background: linear-gradient(90deg, rgba(74, 117, 240, 1) 0%, rgba(63, 144, 248, 1) 100%);
  padding: 1rem;
  color: #fff;
  border-radius: 10px;
}

.safron-card {
  background: #F76162;
  background: linear-gradient(90deg, rgba(247, 97, 98, 1) 0%, rgba(243, 138, 142, 1) 100%);
  padding: 1rem;
  color: #fff;
  border-radius: 10px;
}

.orange-card {
  background: #F59256;
  background: linear-gradient(90deg, rgba(245, 146, 86, 1) 0%, rgba(255, 174, 101, 1) 100%);
  padding: 1rem;
  color: #fff;
  border-radius: 10px;
}

.viotel-card {
  background: #9476DD;
  background: linear-gradient(90deg, rgba(148, 118, 221, 1) 0%, rgba(179, 158, 231, 1) 100%);
  padding: 1rem;
  color: #fff;
  border-radius: 10px;
}

.btn-foter {
  padding: 0.5rem 1rem;
  box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: #fff;
}

.centr {
  position: relative;
  height: 90vh;
}

.centr .card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.screening-table {
  table-layout: fixed;
  width: 100%;
}

.final-count-tooltip .tooltip-inner {
  width: 360px;
  max-width: calc(100vw - 24px);
}

.header-key {
  font-size: 0.84rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.25;
  white-space: nowrap;
}

.header-unit {
  font-size: 0.72rem;
  font-weight: 400;
  color: #ced4da;
  opacity: 0.85;
  margin-top: 2px;
  line-height: 1.1;
  white-space: nowrap;
}

.screening-table thead th {
  vertical-align: middle;
  padding: 10px 4px;
  background-color: #3d3b48;
  border-bottom: 2px solid #2d2b38;
  overflow: hidden;
}

.screening-table tbody td {
  vertical-align: middle;
  padding: 9px 4px;
  font-weight: 600;
}

.btn-cutoff-edit {
  border: none;
  background: transparent;
  color: #6c757d;
  cursor: pointer;
  font-size: 0.82rem;
  padding: 2px 5px;
  border-radius: 4px;
  transition: all 0.2s ease;
  line-height: 1;
}

.btn-cutoff-edit:hover {
  color: #98383e;
  background: rgba(152, 56, 62, 0.08);
}

.cutoff-display-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.cutoff-text {
  font-size: 0.86rem;
  font-weight: 600;
  color: #333333;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.badge-final-count {
  display: inline-block;
  font-size: 0.92rem;
  font-weight: 700;
  color: #98383e;
  padding: 2px 10px;
  border-radius: 6px;
  background: rgba(152, 56, 62, 0.08);
  transition: all 0.2s ease;
}

.badge-final-count:hover {
  background: rgba(152, 56, 62, 0.18);
}

.sidenav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid #e9ecef;
  background-color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 10;
}

.sidenav-header h5 {
  margin: 0 !important;
  font-size: 1.15rem;
  font-weight: 700;
  color: #1F1B1A;
}

.sidenav-header .closebtn {
  margin: 0 !important;
  padding: 0.25rem 0.6rem !important;
  font-size: 1.1rem !important;
  line-height: 1 !important;
}

/* Cutoff Popover Tooltip */
.cutoff-popover-card {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15), 0 2px 6px rgba(0, 0, 0, 0.08) !important;
  border: 1px solid #d1d5db !important;
  border-radius: 8px !important;
  background-color: #ffffff !important;
  color: #1F1B1A !important;
  max-width: 230px !important;
  z-index: 9999 !important;
}

.cutoff-popover-card .popover-header {
  display: none !important;
}

.cutoff-popover-card .popover-arrow::before {
  border-top-color: #d1d5db !important;
  border-bottom-color: #d1d5db !important;
}

.cutoff-popover-card .popover-arrow::after {
  border-top-color: #ffffff !important;
  border-bottom-color: #ffffff !important;
}

.cutoff-popover-card .popover-body {
  padding: 0.55rem 0.7rem !important;
}

.cutoff-popover-content .popover-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.45rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid #e5e7eb;
}

.cutoff-popover-content .exam-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: #1f2937;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 170px;
}

.cutoff-popover-content .popover-close-btn {
  background: transparent;
  border: none;
  color: #6b7280;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: color 0.15s ease;
}

.cutoff-popover-content .popover-close-btn:hover {
  color: #111827;
}

.cutoff-popover-content .popover-sub-label {
  font-size: 0.68rem;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 0.2rem;
  text-align: left;
}

.cutoff-popover-content .popover-body-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 0.5rem;
}

.cutoff-popover-content .popover-body-row input {
  font-size: 0.85rem;
  padding: 2px 4px;
  height: 28px;
  background-color: #f8fafc;
  color: #0f172a;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  width: 72px;
  text-align: center;
  font-weight: 700;
}

.cutoff-popover-content .popover-body-row input:focus {
  background-color: #ffffff;
  border-color: #98383e;
  box-shadow: 0 0 0 0.15rem rgba(152, 56, 62, 0.2);
  outline: none;
}

.cutoff-popover-content .popover-sep {
  color: #64748b;
  font-weight: 700;
  font-size: 0.88rem;
}

.cutoff-popover-content .popover-footer-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
}

.cutoff-popover-content .popover-footer-row .btn {
  padding: 2px 8px !important;
  font-size: 0.75rem !important;
  height: 24px !important;
  line-height: 1 !important;
  border-radius: 4px !important;
}

.cutoff-popover-content .popover-footer-row .btn-secondary {
  background-color: #e2e8f0 !important;
  border-color: #cbd5e1 !important;
  color: #334155 !important;
}

.cutoff-popover-content .popover-footer-row .btn-secondary:hover {
  background-color: #cbd5e1 !important;
  color: #0f172a !important;
}

.cutoff-popover-content .popover-footer-row .btn-success {
  background-color: #2F6B4F !important;
  border-color: #2F6B4F !important;
  color: #ffffff !important;
}

.cutoff-popover-content .popover-footer-row .btn-success:hover {
  background-color: #24543e !important;
}

/* Student portal: reuse the existing sidebar appearance without its menus. */
.student-portal-sidebar {
  display: flex;
  flex-direction: column;
  width: 260px;
  height: 100dvh;
  z-index: 1045;
}

.student-portal-sidebar .logo-details {
  flex-shrink: 0;
  gap: 8px;
  padding: 0 16px;
  height: 72px;
}

.student-portal-logo-icon { width: 30px; }
.student-portal-sidebar .logo_name img { width: 190px; }
.student-portal-sidebar nav { flex: 1; min-height: 0; overflow-y: auto; }
.student-portal-sidebar .nav-links { height: auto; padding: 30px 0; margin: 0; }
.student-portal-sidebar .nav-links li a { min-height: 54px; }
.student-portal-sidebar .nav-links li a .link_name { font-size: 15px; }

.student-portal-sidebar .profile-details {
  position: static;
  width: 100%;
  gap: 8px;
  padding: 12px;
  flex-shrink: 0;
}

.student-portal-sidebar .profile-details img { width: 46px; height: 46px; margin: 0; }
.student-portal-sidebar .name-job { flex: 1; min-width: 0; }
.student-portal-sidebar .profile_name { overflow: hidden; text-overflow: ellipsis; font-size: 16px; }

.student-portal-icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #1F1B1A;
  font-size: 22px;
  text-decoration: none;
}

.student-portal-icon-button:hover { color: #98383E; }
.student-portal-sidebar .logo-details button i { min-width: 0; height: auto; line-height: normal; font-size: 20px; }
.student-portal-icon-button:focus-visible,
.student-portal-sidebar .nav-links a:focus-visible { outline: 2px solid #98383E; outline-offset: -3px; }
.student-portal-sidebar .nav-links .active a:focus-visible { outline-color: #F7B56D; }

.student-portal-main { min-width: 0; padding: 0 2rem 3rem; transition: margin-left 0.5s ease; }
.student-portal-shell.has-sidebar .student-portal-main { margin-left: 260px; }
.student-portal-shell:not(.has-sidebar) {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 5.5rem;
}
.student-portal-toolbar { display: flex; align-items: center; gap: 16px; min-height: 72px; }
.student-portal-toolbar h1 { font-size: 22px !important; font-weight: 600; }
.student-portal-content { padding-top: 24px; }

/* Student interview schedule */
.student-interview-card {
  border-color: #E7E1DC;
  border-top: 3px solid #98383E;
}

.student-interview-card.is-completed { border-top-color: #2F6B4F; }
.student-interview-card h2 { font-weight: 600; }
.student-interview-card hr { margin: 18px 0; opacity: 0.2; }

.student-interview-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #98383E;
  background: #F2E9DF;
  border-radius: 12px;
}

.student-interview-heading-icon { width: 48px; height: 48px; font-size: 22px; }
.student-interview-card.is-completed .student-interview-heading-icon { color: #2F6B4F; background: #EDF5F0; }
.student-interview-card .student-interview-status { padding: 8px 10px; border-radius: 20px; }

.student-interview-detail {
  height: 100%;
  padding: 14px 16px;
  background: #FBFAF8;
  border: 1px solid #F2E9DF;
  border-radius: 10px;
  overflow-wrap: anywhere;
}

.student-interview-detail dt { font-size: 13px; }
.student-interview-detail dd { font-size: 15px; font-weight: 500; }
.student-interview-detail i { color: #98383E; }
.student-interview-detail li + li { margin-top: 6px; }
.student-interview-day { display: block; margin-top: 4px; font-size: 12px; font-weight: 400; color: #5A5452; }
.student-interview-footer { margin-top: 18px; padding-top: 16px; border-top: 1px solid #E7E1DC; }
.student-interview-footer .btn { min-height: 38px; }
.student-interview-completed { color: #2F6B4F; font-size: 13px; }

.student-portal-sidebar.close { width: 64px; }
.student-portal-sidebar.close .logo-details { padding: 0; justify-content: center; }
.student-portal-sidebar.close .logo_name,
.student-portal-sidebar.close .link_name,
.student-portal-sidebar.close .profile-content,
.student-portal-sidebar.close .name-job { display: none; }
.student-portal-sidebar.close .nav-links a,
.student-portal-sidebar.close .profile-details { justify-content: center; }
.student-portal-sidebar.close .profile-details i { display: inline-block; }
.student-portal-sidebar.close ~ .student-portal-main { margin-left: 64px; }

.student-portal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1040;
  border: 0;
  background: rgba(31, 27, 26, 0.35);
}

body.student-portal-menu-open { overflow: hidden; }

@media (max-width: 767.98px) {
  .student-portal-sidebar,
  .student-portal-sidebar.close { width: min(300px, 85vw); }
  .student-portal-sidebar.close { transform: translateX(-100%); }
  .student-portal-sidebar .logo_name img { width: 165px; }
  .student-portal-sidebar .logo-details { gap: 6px; padding: 0 10px; }
  .student-portal-main { padding: 0 1rem 2rem; }
  .student-portal-shell.has-sidebar .student-portal-main,
  .student-portal-sidebar.close ~ .student-portal-main { margin-left: 0; }
  .student-portal-toolbar { gap: 8px; }
  .student-portal-toolbar h1 { font-size: 20px !important; }
}

@media (prefers-reduced-motion: reduce) {
  .student-portal-sidebar,
  .student-portal-main { transition: none; }
}

/* City and State select2 */
.search-select2-field .select2-container--default .select2-selection--single {
    min-height: 46px;
    height: 46px;
    border: 1px solid #e7e1dc;
    border-radius: 12px;
    background: #fbfaf8;
    color: #5a5452;
    font-family: inherit;
    font-size: 13px;
    font-weight: 400;
    transition: all 0.3s ease;
}

.search-select2-field:focus-within .select2-selection--single,
.search-select2-field.is-focused .select2-selection--single,
.select2-container--open .select2-dropdown--below,
.select2-container--open .select2-dropdown--above {
    background: #e7e1dc !important;
}

.search-select2-field .select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #98383e;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(152, 56, 62, 0.14);
}

.search-select2-field .select2-selection--single .select2-selection__rendered {
    line-height: 44px !important;
    padding-left: 14px !important;
    color: #5a5452 !important;
}

.search-select2-field .select2-selection--single .select2-selection__arrow {
    top: 10px !important;
}

.search-select2-field:focus-within .floating-label,
.search-select2-field.is-focused .floating-label,
.search-select2-field.has-value .floating-label {
    top: 0;
    transform: translateY(-50%);
    font-size: 12px;
    background: #fff;
}

/* Sibling remove button */
.sibling-row .sib-remove {
    display: none !important;
}

.sibling-row:not(:first-child) .sib-remove {
    display: inline-flex !important;
}
/* ================================
   Work Experience Formset
   ================================ */

.experience-row .experience-remove {
    display: none !important;
}

.experience-row:not(:first-child) .experience-remove {
    display: inline-flex !important;
}


/* ================================
   Research / Project Formset
   ================================ */

.research-row .research-remove {
    display: none !important;
}

.research-row:not(:first-child) .research-remove {
    display: inline-flex !important;
}
/* =========================================
   Proposed Study - Formset Remove Buttons
   ========================================= */

/* University Preferences */
.university-row .remove-university {
    display: none !important;
}

.university-row:not(:first-child) .remove-university {
    display: inline-flex !important;
}


/* Applied Scholarships */
.appliedscholarship-row .remove-application {
    display: none !important;
}

.appliedscholarship-row:not(:first-child) .remove-application {
    display: inline-flex !important;
}


/* Past Scholarships */
.pastscholarship-row .pastscholarship-remove {
    display: none !important;
}

.pastscholarship-row:not(:first-child) .pastscholarship-remove {
    display: inline-flex !important;
}


/* Extra-curricular Activities */
.activity-row .activity-remove {
    display: none !important;
}

.activity-row:not(:first-child) .activity-remove {
    display: inline-flex !important;
}


/* Final Interview - Project Theme */
/* Select2 Panelists dropdown */
#scheduleSidenav .select2-container--default
.select2-results__option--highlighted[aria-selected] {
    background-color: #98383E !important;
    color: #FFFFFF !important;
}

#scheduleSidenav .select2-container--default
.select2-results__option[aria-selected="true"] {
    background-color: #98383E !important;
    color: #FFFFFF !important;
}

.schedule-final-interview-link,
.schedule-final-interview-link:hover,
.schedule-final-interview-link:focus {
    color: #98383E !important;
}

.edit-interview-schedule-link,
.edit-interview-schedule-link:hover,
.edit-interview-schedule-link:focus {
    color: #98383E !important;
}

.view-scores-link,
.view-scores-link:hover,
.view-scores-link:focus {
    color: #98383E !important;
}

/* =========================================================
   FINAL INTERVIEW EVALUATION
   UI ONLY - FINAL INTERVIEW
   ========================================================= */

.sme-final-evaluation-section {
    width: 100%;
}

/* Evaluation table */
.sme-final-evaluation-table {
    width: 100%;
    margin-bottom: 0;
}

/* Table headers */
.sme-final-evaluation-table thead th {
    vertical-align: middle;
    padding: 10px 12px;
    line-height: 1.35;
}

/* Main Subject Awareness heading */
.sme-final-evaluation-table .evaluation-group-header {
    text-align: left;
}

/* Weightage text */
.sme-final-evaluation-table .evaluation-weight {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    font-weight: 500;
    color: #777;
}

/* Criteria header */
.sme-final-evaluation-table .evaluation-criteria-header {
    width: 9%;
}

/* Marks label */
.sme-final-evaluation-table .evaluation-marks-label {
    vertical-align: middle;
    font-weight: 600;
}

/* Score input */
.sme-final-evaluation-table .sme-final-score-input {
    width: 100%;
    min-width: 70px;
    height: 40px;
    padding: 5px 8px;
    border: 1px solid #ded8d3;
    border-radius: 8px;
    background: #ffffff;
    text-align: center;
    font-size: 14px;
}

/* Input focus */
.sme-final-evaluation-table .sme-final-score-input:focus {
    border-color: #98383e;
    outline: none;
    box-shadow: 0 0 0 2px rgba(152, 56, 62, 0.10);
}

/* N/A */
.sme-final-evaluation-table .evaluation-na {
    text-align: center;
    color: #999;
    font-weight: 600;
}

/* =========================================================
   TOTAL
   ========================================================= */

.sme-final-total-row {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;

    margin-top: 12px;
    padding: 10px 12px;

    background: #f8f0e3;
    border-left: 4px solid #98383e;
}

.sme-final-total-label {
    font-size: 15px;
    font-weight: 700;
    color: #333;
}

.sme-final-total-value {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 52px;
    height: 30px;
    padding: 0 10px;

    border-radius: 6px;

    background: #12bce3;
    color: #ffffff;

    font-size: 13px;
    font-weight: 700;
}

/* =========================================================
   COMMENT
   ========================================================= */

.sme-final-comment {
    margin-top: 16px;
}

.sme-final-comment textarea {
    width: 100%;
    min-height: 80px;
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .sme-final-evaluation-table {
        min-width: 950px;
    }

    .sme-final-total-row {
        justify-content: flex-end;
    }
}

/* SE interview schedule report */
.se-interview-schedule-report .table {
    min-width: 2200px;
}

.se-interview-schedule-report td {
    white-space: pre-line;
    vertical-align: top;
}

.se-interview-schedule-report .home-content .text {
    white-space: normal;
}

/* Completed SE interview scoring report */
.se-interview-scoring-report .table {
    width: 100%;
    table-layout: fixed;
}

.se-interview-scoring-report .scoring-serial {
    width: 4%;
}

.se-interview-scoring-report .scoring-name {
    width: 10%;
}

.se-interview-scoring-report .scoring-criterion {
    width: 7.5%;
}

.se-interview-scoring-report .scoring-total {
    width: 5%;
}

.se-interview-scoring-report .scoring-comments {
    width: 28.5%;
}

.se-interview-scoring-report th,
.se-interview-scoring-report td {
    overflow-wrap: anywhere;
}

.se-interview-scoring-report td {
    white-space: pre-wrap;
    vertical-align: top;
}

.se-interview-scoring-report .home-content .text {
    white-space: normal;
}

/* Final Interview consolidated scoring report */
.final-interview-consolidated-report .table {
    width: 100%;
    min-width: 2400px;
    table-layout: fixed;
}

.final-interview-consolidated-report .consolidated-serial { width: 3%; }
.final-interview-consolidated-report .consolidated-name { width: 8%; }
.final-interview-consolidated-report .consolidated-gender { width: 4%; }
.final-interview-consolidated-report .consolidated-time { width: 5%; }
.final-interview-consolidated-report .consolidated-panelist { width: 8%; }
.final-interview-consolidated-report .consolidated-score { width: 4.5%; }
.final-interview-consolidated-report .consolidated-total { width: 4%; }
.final-interview-consolidated-report .consolidated-comment { width: 12%; }
.final-interview-consolidated-report .consolidated-admin { width: 9%; }
.final-interview-consolidated-report .consolidated-course { width: 11.5%; }

.final-interview-consolidated-report .table th,
.final-interview-consolidated-report .table td {
    overflow-wrap: anywhere;
}

.final-interview-consolidated-report .table td {
    white-space: pre-line;
    vertical-align: top;
}

/* Subject-level shortlist report */
.shortlisted-final-interview-report .table {
    min-width: 3000px;
}

.shortlisted-final-interview-report .table th {
    min-width: 100px;
    max-width: 260px;
    white-space: normal;
}

.shortlisted-final-interview-report .table td {
    min-width: 100px;
    max-width: 360px;
    white-space: pre-line;
    overflow-wrap: anywhere;
    vertical-align: top;
}
