@font-face {
  font-family: 'Mulish';
  src: url('../font/Mulish/Mulish-Black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Mulish';
  src: url('../font/Mulish/Mulish-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Mulish';
  src: url('../font/Mulish/Mulish-ExtraBold.woff2') format('woff2');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Mulish';
  src: url('../font/Mulish/Mulish-Bold.woff2') format('woff2');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Mulish';
  src: url('../font/Mulish/Mulish-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Mulish';
  src: url('../font/Mulish/Mulish-ExtraLight.woff2') format('woff2');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Mulish';
  src: url('../font/Mulish/Mulish-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Mulish';
  src: url('../font/Mulish/Mulish-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

html {
  scrollbar-color: #1464f4 #f1f1f1;
  scrollbar-width: 0.625rem;
}

/* width */
::-webkit-scrollbar {
  width: 0.625rem;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #1464f4;
  border-radius: 0.313rem;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #1464f4;
}

body {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5rem;
  letter-spacing: -0.02rem;
  color: #3c3c3c;
  position: relative;
  font-family: "Mulish", sans-serif;
  background: #F7F9F9;
}

.container {
  max-width: 1440px;
}

img {
  max-width: 100%;
  height: auto;
  border: none;
}

a {
  outline: none;
}

p:last-child {
  margin-bottom: 0;
}

#wrapper {
  position: relative;
}

#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}

#site-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
}

#site-header .container {
  display: flex;
  justify-content: space-between;
}

#main {
  padding-top: 7.813rem;
  padding-bottom: 7.125rem;
}

/* AJAX Loading */

.ajax-load {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1051;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(225, 225, 225, 0.5);
}

.ajax-load .ic-vf-load {
  display: inline-block;
  width: 6.25rem;
  height: 6.25rem;
  background-image: url("../images/loading-icon.gif");
  background-size: 100% 100%;
}

.ajax-progress-fullscreen {
  display: none !important;
}

.box-car-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.box-car-head .user {
  padding: 10px;
  position: relative;
  border-radius: 3px;
  cursor: pointer;
}

.box-car-head .user_pop {
  position: absolute;
  z-index: 99;
  top: 54px;
  right: 0;
  visibility: hidden;
  opacity: 0;
  transition: 0.3s;
  transform: translateY(-24px);
  min-width: 291px;
  padding: 10px;
  white-space: nowrap;
  background: #FFFFFF;
  box-shadow: 0px 16px 48px rgb(0 0 0 / 18%);
  border-radius: 3px;
}

.box-car-head .user:hover .user_pop {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  z-index: 1000;
}

.user_pop ul {
  padding: 0;
  list-style: none outside;
  text-align: left;
  margin: 0;
}

.user_pop ul.menu li {
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  margin: 0;
}

.user_pop ul.menu li a {
  display: block;
  padding: 10px;
}

.user_pop ul.menu li a:hover {
  text-decoration: none;
  color: #fff;
  background-color: #1464f4;
}

.user_pop .submenu {
  display: none;
  position: absolute;
  padding-left: 1rem;
  background: #fff;
}

.user_pop .menu-parent:hover .submenu {
  display: block;
}

.box-car-head .user:hover {
  background: rgba(44, 114, 198, 0.1);
}

.ajax-progress-throbber {
  display: none !important;
}

.pagination .page-item {
  margin: 0 2px;
}

.pagination .page-link {
  border-radius: 0.25rem;
  color: #007bff;
  transition: background-color 0.2s, color 0.2s;
}

.pagination .page-link:hover {
  background-color: #e9ecef;
  text-decoration: none;
}

.pagination .page-item.active .page-link {
  background-color: #007bff;
  color: white;
  border-color: #007bff;
}

.views-exposed-form {
  display: flex;
  gap: 2rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.views-exposed-form .form-text {
  margin: 0;
  padding: 0.375rem 0.75rem;
  border-radius: 20px;
  border: 1px solid #ccc;
}

.views-exposed-form .form-select {
  padding: 0.5rem 0.75rem;
  border: 1px solid #ccc;
  border-radius: 20px;
  font-size: 14px;
  background-color: white;
}

.views-exposed-form .form-item {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.views-exposed-form .form-item label {
  margin: 0;
  font-weight: 600;
}

table.table {
  background-color: #fff;
  border: none;
}

table.table thead {
  background-color: #d9e1e2;
}

table.table th {
  border: none;
  vertical-align: top;
  padding: 0.5rem 1rem;
}

table.table td {
  border: none;
  border-bottom: 1px solid #f7f9f9;
  vertical-align: top;
  padding: 0.5rem 1rem;
}

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

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

/* Select2 styling fix — prevent mobile zoom */
.select2-container .select2-selection--single {
  height: 38px !important;
  padding: 6px 10px;
  font-size: 16px !important;
  border: 1px solid #ced4da !important;
  border-radius: 6px !important;
  display: flex;
  align-items: center;
}

.select2-selection__rendered {
  font-size: 16px !important;
  line-height: 40px !important;
  color: #333 !important;
}

.select2-selection__arrow {
  height: 40px !important;
}

.select2-container--default {
  width: auto !important;
}

.select2-search.select2-search--dropdown input {
  outline: none !important;
}

/* Dropdown menu */
.select2-container--default .select2-results__option {
  font-size: 16px !important;
}

input[data-drupal-selector="edit-submit-quiz-results"],
input[data-drupal-selector="edit-submit-survey-report"],
input[data-drupal-selector="edit-submit-survey-report-detail"],
input[data-drupal-selector="edit-submit-survey"] {
  padding-top: 8px;
    padding-right: 16px;
    padding-bottom: 8px;
    padding-left: 16px;
    border-width: 1px;
    color: #fff;
    background-color: #1464F4;
    margin: 0;
    border-radius: 20px;
}

@media (max-width: 768px) {
  .box-car-head {
    justify-content: center;
  }

  .box-car-head .user_pop {
    left: auto;
    right: 0;
  }

  #main {
    padding-top: 7.813rem;
    padding-bottom: 9.188rem;
  }

  .views-exposed-form {
    flex-direction: column;
  }

  .views-exposed-form .form-text {
    width: 100%;
  }

  .views-exposed-form .js-form-type-select {
    justify-content: space-between;
  }

  .views-exposed-form .form-select {
    width: 50%;
  }

  .card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e5e5;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 8px;
    grid-row-gap: 8px;
  }

  .card .mb-2 {
    display: flex;
    gap: 6px;
    flex-direction: column;
  }

  /* Labels */
  .card .mb-2 strong {
    font-weight: 600;
    min-width: 140px;
    display: inline-block;
  }

  .card .mb-2:first-child,
  .card .mb-2:last-child {
    grid-column: span 2;
  }

  .card .mb-2:first-child strong,
  .card .mb-2:last-child strong {
    display: none;
  }

  .card .mb-2:first-child {
    font-size: 24px;
    text-align: center;
  }
}