@import url("https://fonts.googleapis.com/css2?family=Lexend:wght@100..900&display=swap");
@import url("https://fonts.googleapis.com/css?family=Material+Icons|Material+Icons+Outlined|Material+Icons+Two+Tone|Material+Icons+Round|Material+Icons+Sharp");
* {
  box-sizing: border-box;
}
body {
  font-family: "Lexend", sans-serif;
  font-size: 16px;
}
.lexendFont {
  font-family: "Lexend", sans-serif;
}
body {
  background: #fff;
  margin: 0;
}
ul {
  list-style: none;
}
select,
input,
textarea,
button {
  outline: none !important;
}
textarea {
  resize: vertical;
}
a {
  text-decoration: none;
  cursor: pointer;
}
.scroll::-webkit-scrollbar {
  width: 0;
  height: 0;
}
.scroll::-webkit-scrollbar-track {
  background: #e5e5e5;
}
.scroll::-webkit-scrollbar-thumb {
  background: #333;
}
.scroll::-webkit-scrollbar-thumb:hover {
  background: #333;
}

.dbLeft:hover {
  width: 380px;
}
.dbLeft:hover .dbMenu li a .text {
  display: block;
}
.dbLeft:hover .dbMenu > li {
  overflow: visible;
}
.dbLogo .over {
  display: none;
}
.dbLeft:hover .dbLogo .over {
  display: block;
}
.dbLeft:hover .dbLogo .front {
  display: none;
}
.dbMenu > li {
  width: 100%;
  overflow: hidden;
}
.dbMenu > li > a {
  height: 50px;
  padding: 0 30px;
  color: #fff;
  font-size: 16px;
  width: 380px;
}
.dbMenu > li > a:hover {
  background: #fff;
  color: var(--primarColor);
}
.dbMenu > li > a.active {
  background: #fff;
  color: var(--primarColor);
}
.dbMenu li a .text {
  display: none;
  white-space: wrap;
  text-align: left;
}
.dbMenu li a .icon img.over {
  display: none;
}
.dbMenu li a:hover .icon img.over {
  display: block;
}
.dbMenu li a:hover .icon img.front {
  display: none;
}
.dbMenu li a.active .icon img.over {
  display: block;
}
.dbMenu li a.active .icon img.front {
  display: none;
}
.dbMenu li.user a {
  padding: 0 26px;
  font-size: 16px;
}
.dbMenu li.user a:hover {
  background: transparent;
  color: #fff;
}
.dbMenu li.user a .text span {
  font-size: 14px;
  font-weight: 200;
}
.calendar .group li {
  width: 14.28%;
}
.calendar .group li.status-green span {
  display: block;
  background: #84a66d;
}
.calendar .group li.status-blue span {
  display: block;
  background: #3d89bc;
}
.calendar .group li.status-orange span {
  display: block;
  background: #db7960;
}
.calendar .group li.status-yellow span {
  display: block;
  background: #fdc185;
}
.calendar .group li.today {
  color: #fff;
}
.calendar .group li.today:before {
  content: "";
  width: 24px;
  height: 24px;
  background: #003b71;
  position: absolute;
  left: 50%;
  top: 10px;
  z-index: -1;
  margin-left: -12px;
}

#content_header_box {
  background: #d45711;
  max-width: 450px;
  border-radius: 8px;
  width: 100%;
  padding: 10px 15px;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  margin: 0;
}
.fill_dvm {
  background-color: #ffc000;
}
.fill_tech {
  background-color: #92d050;
  color: white;
}
.fill_css {
  background-color: #b188d0;
  color: white;
}
.fill_aca {
  background-color: #bf8f00;
  color: white;
}
.fill_grm {
  background-color: #b4c6e7;
}
.fill_mgr {
  background-color: #00b0f0;
}
.fill_pto {
  background-color: #a1cee9;
}
.fill_dev {
  background-color: #c2865e;
}
.fill_ext {
  background-color: #ffe699;
}
.fill_out {
  background-color: #bbbbbb;
}
.fill_gray {
  background-color: #bfbfbf;
}
.fill_ltgray {
  background-color: #dddddd;
}
.fill_black {
  background-color: #000000;
}

#weekly_calendar_content div {
  margin: 0 !important;
  float: none !important;
}
#weekly_calendar_content > div {display: flex; justify-content: space-between; align-items: center;}
#weekly_calendar_content > div > div:nth-child(2) {
  background: none !important;
  padding: 0 !important;
  border: none !important;
  float: none !important;
}
#weekly_calendar_content > div > div:nth-child(2) a {background: #013d4b; height: 34px; font-size: 16px; display: inline-flex; color: #fff; align-items: center; padding: 0 24px; border-radius: 30px; text-decoration: none;}
#weekly_calendar_content > div > div:nth-child(2) a:hover {background: #d45711;}
#weekly_calendar_content table {
  border-radius: 10px 10px 0 0;
  width: 100%;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.1);
  margin: 15px 0 20px 0 !important;
  float: none !important;
}
#weekly_calendar_content table tr:first-child {
  background: #013d4b;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
}
#weekly_calendar_content table tr:first-child td {
  padding: 10px 8px !important;
  font-size: 16px;
}
#weekly_calendar_content table tr:nth-child(2) {
  background: #bacbce;
  font-size: 14px;
  font-weight: 500;
  color: #000;
}
#weekly_calendar_content table tr:nth-child(2) td {padding: 10px 5px !important;}
#weekly_calendar_content table tr:first-child td:first-child {
  padding: 10px 8px !important;
}
#weekly_calendar_content table tr:first-child td:last-child {
  padding: 10px 8px !important;
}
#weekly_calendar_content table tr:first-child td:first-child {
  border-radius: 10px 0 0 0;
}
#weekly_calendar_content table tr:first-child td:last-child {
  border-radius: 0 10px 0 0;
}
#weekly_calendar_content table tr td {
  font-size: 12px;
  padding: 2px !important;
  width: auto !important;
}
#weekly_calendar_content table tr td:first-child {
  padding: 2px 8px !important;
}
#weekly_calendar_content table tr td:last-child {
  padding: 2px 8px !important;
}

.ticket_status_tooltip {
  position: relative;
}
.ticket_status_tooltip:hover .ticket_status_tooltip_text {
  visibility: visible;
}

.label_fit_content {
  width: fit-content;
}

@media (max-width: 767px) {
  .dbLeft:hover {
    width: 100%;
  }
  .dbLogo {
    height: auto !important;
    margin: 0 !important;
  }
  .dbLogo .front {
    display: none;
  }
  .dbLogo .over {
    display: block;
    width: 130px;
  }
  .showMobMenu i {
    width: 32px;
    height: 3px;
    border: none;
    padding: 0;
    display: block;
    border-radius: 6px;
    background: #fff;
    margin-bottom: 7px;
    transition: ease-in-out 0.4s;
  }
  .showMobMenu.active {
    margin-top: -3px;
  }
  .showMobMenu.active i:nth-child(3) {
    display: none;
  }
  .showMobMenu.active i:nth-child(1) {
    transform: rotate(45deg);
    background: #fff;
  }
  .showMobMenu.active i:nth-child(2) {
    transform: rotate(-45deg);
    margin: -10px auto 0 auto;
    background: #fff;
  }
  .dbMenuBox.active {
    left: 0;
  }
  .dbMenu > li {
    overflow: visible;
  }
  .dbMenu > li > a {
    padding: 0 20px;
    font-size: 17px;
    width: 100%;
  }
  .dbMenu li a .text {
    display: block;
    white-space: nowrap;
  }
  .dbMenu li.user a {
    padding: 0 16px;
  }
}
.paginated_box {
  max-height: 500px;
}

/* HTM Stack Rank Report Fixes */
.db_arrow_up {
  width: 0;
  height: 0;
  cursor: pointer;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid #f58220;
  display: inline-block;
  margin: 0 2px;
}

.db_arrow_dn {
  width: 0;
  height: 0;
  cursor: pointer;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid #f58220;
  display: inline-block;
  margin: 0 2px;
}

.db_arrow_up_off {
  width: 0;
  height: 0;
  cursor: pointer;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid #013d4b;
  opacity: 0.2;
  display: inline-block;
  margin: 0 2px;
}

.db_arrow_dn_off {
  width: 0;
  height: 0;
  cursor: pointer;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid #013d4b;
  opacity: 0.2;
  display: inline-block;
  margin: 0 2px;
}

/* HTM Stack Rank Table Styling */

.htm-stack-rank-table th {
  font-size: 11px !important;
}

/* Soften the white borders in table headers */
.htm-stack-rank-table thead th {
  border-color: rgba(255, 255, 255, 0.6) !important;
}

.htm-stack-rank-table thead td {
  border-color: rgba(255, 255, 255, 0.6) !important;
}


.select2-container--default .select2-selection--multiple {border-radius: 30px !important; border: 2px solid #013d4b !important; height: auto !important; padding: 0 5px 0 10px;}
.select2-container--default .select2-selection--single {border-radius: 30px !important; border: 2px solid #013d4b !important; height: auto !important; padding: 0 5px 0 10px;}
.conCalender tr td {padding: 10px; text-align: center; border: 1px solid #f4f4f4;}

/* Live password requirement checklist -- change-password.php, reset-password.php */
.pw-requirement { color: #dc2626; transition: color 0.15s ease; }
.pw-requirement.pw-rule-met { color: #16a34a; }
.pw-match-indicator { display: block; margin-top: 4px; font-size: 12px; min-height: 1em; }
.pw-match-indicator.pw-rule-met { color: #16a34a; }
.pw-match-indicator.pw-rule-not-met { color: #dc2626; }
#login_form input[type=submit]:disabled { opacity: 0.5; cursor: not-allowed; }
#toggle_shifts_btn {background: #013d4b; height: 30px; color: #fff; border-radius: 30px; padding: 0 24px; border: none; font-size: 16px;}
#toggle_shifts_btn:hover {background: #d45711;}

/* Ticket Leader Report text classes -- not defined in stylesheet.css (the only CSS file
   the ticket operations pages load), so these rendered as default/dark text instead of white */
.white12  { font-size:12px;color:#ffffff;font-family:verdana,arial;font-weight:normal;text-decoration:none; }
.white12b { font-size:12px;color:#ffffff;font-family:verdana,arial;font-weight:bold;text-decoration:none; }

/* Bigger white text inside the Ticket Leader Report flyout specifically -- 12px white-on-dark
   was hard to read; scoped to #ticket_stats_box so it doesn't resize .white12 on the other
   pages (dashboards, HR certs, payroll tools) that already use the same class. */
#ticket_stats_box .white12 { font-size:14px; }

/* Ticket Leader Report skeleton loader -- module-ticket-systems.cgi flyout, mutts-admin.js
   retrieveTicketStatsLeader(). Shaped to match the real report's own table layout (see
   widget-ticket-system-it-metrics.cgi): each table block is 1 dark header row (name/label +
   "T7 Days" + 7 dates = 9 columns) followed by data rows (Opened/Closed/Net, or hourly rows
   for Touches By User) on a light background - so the loading state looks like the report
   itself resolving in, not an unrelated generic placeholder. */
@keyframes ticket-skeleton-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.ticket-skeleton-wrap {
  width: 100%;
}
.ticket-skeleton-bar,
.ticket-skeleton-bar-light {
  width: 100%;
  height: 18px;
  border-radius: 3px;
  background-size: 200% 100%;
  animation: ticket-skeleton-shimmer 1.6s ease-in-out infinite;
}
.ticket-skeleton-bar {
  background-color: #013d4b;
  background-image: linear-gradient(90deg, #013d4b 0%, rgba(255,255,255,0.55) 50%, #013d4b 100%);
}
.ticket-skeleton-bar-light {
  background-color: #e4e4e4;
  background-image: linear-gradient(90deg, #e4e4e4 0%, rgba(255,255,255,0.9) 50%, #e4e4e4 100%);
}
.ticket-skeleton-title {
  height: 22px;
  width: 260px;
  margin-bottom: 10px;
}
.ticket-skeleton-table {
  background-color: #ffffff;
  border: solid 1px #ccc;
  width: 100%;
  margin-bottom: 14px;
  padding: 6px;
  box-sizing: border-box;
}
.ticket-skeleton-row {
  width: 100%;
  display: flex;
  gap: 6px;
  margin-bottom: 6px;
}
.ticket-skeleton-row:last-child {
  margin-bottom: 0;
}
.ticket-skeleton-row > div:first-child {
  flex: 1.6;
}
.ticket-skeleton-row > div {
  flex: 1;
}
.ticket-skeleton-row:nth-child(2) .ticket-skeleton-bar-light { animation-delay: 0.1s; }
.ticket-skeleton-row:nth-child(3) .ticket-skeleton-bar-light { animation-delay: 0.2s; }
.ticket-skeleton-row:nth-child(4) .ticket-skeleton-bar-light { animation-delay: 0.3s; }
.ticket-skeleton-row:nth-child(5) .ticket-skeleton-bar-light { animation-delay: 0.4s; }
.ticket-skeleton-row:nth-child(6) .ticket-skeleton-bar-light { animation-delay: 0.5s; }
