#general_jzis h1 {
    color: white;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
}

.container td.call-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.navbar-nav .nav-link {
  font-size: 16px;
}

.navbar-nav .nav-link:hover {
  color: #3837d1;
  transition: color 0.3s ease, font-weight 0.3s ease, text-decoration 0.3s ease;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show {
  color: #3837d1;
  font-weight: bold;
  text-decoration: underline;
}

a.btn.btn-primary, button.btn.btn-primary {
  color: #3837d1;
  background-color: white;
}

a.btn.btn-primary:hover, button.btn.btn-primary:hover {
  color: white;
  background-color: #3837d1;
}

ul.pagination {
  a {
    color: #3837d1;
  }

  li.page-item.active a {
    background-color: #3837d1;
  }
}

a.icon-jz {
  color: #3837d1;
  font-weight: 600;
}

.container {
  background-color: #0d49fe14;
  padding: 15px;
  border-radius: 15px;
}

h2 {
  color: #3837d1;
  font-weight: bold;
  font-size: 26px;
  font-family: sans-serif;
}

footer {
    display: flex;
    justify-content: center;
}

@import 'https://fonts.googleapis.com/css?family=Open+Sans:600,700';

* {font-family: 'Open Sans', sans-serif;}

.rwd-table {
  margin: auto;
  min-width: 300px;
  max-width: 100%;
  border-collapse: collapse;
}

.rwd-table tr:first-child {
  border-top: none;
  background: #3837d1;
  color: #fff;
}

.rwd-table tr {
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  background-color: #f5f9fc;
}

.rwd-table tr:nth-child(odd):not(:first-child) {
  background-color: #ebf3f9;
}

.rwd-table th {
  display: none;
}

.rwd-table td {
  display: block;
}

.rwd-table td:first-child {
  margin-top: .5em;
}

.rwd-table td:last-child {
  margin-bottom: .5em;
}

.rwd-table td:before {
  content: attr(data-th) ": ";
  font-weight: bold;
  width: 120px;
  display: inline-block;
  color: #000;
}

.rwd-table th,
.rwd-table td {
  text-align: left;
}

.rwd-table {
  color: #333;
  border-radius: .4em;
  overflow: hidden;
}

.rwd-table tr {
  border-color: #bfbfbf;
}

.rwd-table th,
.rwd-table td {
  padding: .5em 1em;
}
@media screen and (max-width: 768px) {
  .rwd-table tr:nth-child(2) {
    border-top: none;
  }
}
@media screen and (min-width: 769px) {
  .rwd-table tr:hover:not(:first-child) {
    background-color: #d8e7f3;
  }
  .rwd-table td:before {
    display: none;
  }
  .rwd-table th,
  .rwd-table td {
    display: table-cell;
    padding: .25em .5em;
  }
  .rwd-table th:first-child,
  .rwd-table td:first-child {
    padding-left: 0;
  }
  .rwd-table th:last-child,
  .rwd-table td:last-child {
    padding-right: 0;
  }
  .rwd-table th,
  .rwd-table td {
    padding: 1em !important;
  }
}


/* THE END OF THE IMPORTANT STUFF */

/* Basic Styling */
body {
background: white;   
}
h1 {
  text-align: center;
  font-size: 2.4em;
  color: #f2f2f2;
}
.container {
  display: block;
  text-align: center;
}
h3 {
  display: inline-block;
  position: relative;
  text-align: center;
  font-size: 1.5em;
  color: #cecece;
}
h3:before {
  content: "\25C0";
  position: absolute;
  left: -50px;
  -webkit-animation: leftRight 2s linear infinite;
  animation: leftRight 2s linear infinite;
}
h3:after {
  content: "\25b6";
  position: absolute;
  right: -50px;
  -webkit-animation: leftRight 2s linear infinite reverse;
  animation: leftRight 2s linear infinite reverse;
}
@-webkit-keyframes leftRight {
  0%    { -webkit-transform: translateX(0)}
  25%   { -webkit-transform: translateX(-10px)}
  75%   { -webkit-transform: translateX(10px)}
  100%  { -webkit-transform: translateX(0)}
}
@keyframes leftRight {
  0%    { transform: translateX(0)}
  25%   { transform: translateX(-10px)}
  75%   { transform: translateX(10px)}
  100%  { transform: translateX(0)}
}
/* =====================================================================
 * cert_list_pro — scoped to .jz-certlist only.
 * Do not change the global ul.pagination / .rwd-table / .container rules.
 * Other list pages (equipment, procedures, companies, …) are untouched.
 * ===================================================================== */
.jz-certlist {
  text-align: left;
  color: #1c1e2a;
}
.jz-certlist a { text-decoration: none; }
.jz-certlist .jz-company {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 600;
  color: #5c6170;
}
.jz-certlist .section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 8px 0 18px;
  gap: 16px;
}
.jz-certlist .section-head h2 {
  margin: 0;
  color: #3837d1;
  font-weight: bold;
  font-size: 26px;
}
.jz-certlist .btn-create {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  background: #3837d1;
  color: #fff !important;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(56, 55, 209, .25), 0 6px 16px rgba(56, 55, 209, .18);
}
.jz-certlist .btn-create:hover { color: #fff !important; background: #2f2eb8; }

.jz-certlist .jz-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 0 0 16px;
}
.jz-certlist .jz-kpi {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid #e8eaf3;
  border-radius: 14px;
  padding: 16px 16px 16px 18px;
  box-shadow: 0 1px 2px rgba(28, 30, 42, .05), 0 2px 8px rgba(28, 30, 42, .04);
  overflow: hidden;
  min-height: 88px;
  color: inherit;
}
.jz-certlist .jz-kpi::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--jz-accent, #3837d1);
}
.jz-certlist .jz-kpi.is-on {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--jz-accent) 14%, transparent), 0 1px 2px rgba(28, 30, 42, .05);
  border-color: color-mix(in srgb, var(--jz-accent) 35%, #e8eaf3);
}
.jz-certlist .jz-kpi-icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--jz-icon-bg, #ececff);
  color: var(--jz-accent, #3837d1);
}
.jz-certlist .jz-kpi-icon svg { width: 22px; height: 22px; }
.jz-certlist .jz-kpi-copy { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.jz-certlist .jz-kpi-value {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1;
  color: #1c1e2a;
}
.jz-certlist .jz-kpi-label { margin-top: 6px; font-size: 13.5px; font-weight: 600; color: #1c1e2a; }
.jz-certlist .jz-kpi-hint { margin-top: 2px; font-size: 11.5px; color: #8b90a0; }
.jz-certlist .jz-kpi.active { --jz-accent: #1a7f4b; --jz-icon-bg: #e8f7ee; }
.jz-certlist .jz-kpi.review { --jz-accent: #b45309; --jz-icon-bg: #fff4e0; }
.jz-certlist .jz-kpi.expired { --jz-accent: #c41c2b; --jz-icon-bg: #fdecee; }
.jz-certlist .jz-kpi.total { --jz-accent: #3837d1; --jz-icon-bg: #ececff; }

.jz-certlist .jz-card {
  background: #f7f8fe;
  border: 1px solid #e4e7f4;
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(28, 30, 42, .06), 0 8px 24px rgba(56, 55, 209, .06);
  padding: 16px 16px 12px;
}
.jz-certlist .jz-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.jz-certlist .jz-search { flex: 1 1 220px; position: relative; min-width: 0; }
.jz-certlist .jz-search svg {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; color: #8b90a0; pointer-events: none;
}
.jz-certlist .jz-search input {
  width: 100%;
  height: 40px;
  padding: 0 12px 0 38px;
  border: 1px solid #d9dce8;
  border-radius: 10px;
  background: #fff;
  font-size: 13.5px;
  color: #1c1e2a;
  box-shadow: inset 0 1px 2px rgba(28, 30, 42, .03);
}
.jz-certlist .jz-search-go {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  height: 28px;
  padding: 0 10px;
  border: 0;
  border-radius: 8px;
  background: #3837d1;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.jz-certlist .jz-pills {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border: 1px solid #d9dce8;
  border-radius: 10px;
  padding: 3px;
  height: 40px;
  flex: 0 0 auto;
}
.jz-certlist .jz-pill {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: #5c6170;
  white-space: nowrap;
}
.jz-certlist .jz-pill.is-on {
  background: #3837d1;
  color: #fff;
  box-shadow: 0 1px 2px rgba(56, 55, 209, .25);
}
.jz-certlist .jz-show {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #5c6170;
  font-size: 12.5px;
  font-weight: 600;
  margin: 0;
}
.jz-certlist .jz-show select {
  height: 40px;
  min-width: 68px;
  padding: 0 28px 0 12px;
  border: 1px solid #d9dce8;
  border-radius: 10px;
  background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 20 20' fill='none'><path d='M5 7.5 10 12.5 15 7.5' stroke='%235c6170' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat right 10px center;
  font-size: 13px;
  font-weight: 600;
  color: #1c1e2a;
  appearance: none;
  -webkit-appearance: none;
}

.jz-certlist .jz-table-wrap {
  background: transparent;
  overflow: visible;
}
.jz-certlist .rwd-table {
  width: 100%;
  background: #fff;
  border: 1px solid #e3e6ef;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(28, 30, 42, .05);
  overflow: hidden;
}
.jz-certlist .rwd-table th {
  background: #3837d1;
  color: #fff;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 11px 12px;
  white-space: nowrap;
}
.jz-certlist .rwd-table th a {
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.jz-certlist .rwd-table th .sort {
  display: inline-flex;
  flex-direction: column;
  width: 9px;
  height: 12px;
  opacity: .45;
}
.jz-certlist .rwd-table th .sort i {
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
}
.jz-certlist .rwd-table th .sort i.up { border-bottom: 5px solid #fff; margin-bottom: 1px; }
.jz-certlist .rwd-table th .sort i.down { border-top: 5px solid #fff; }
.jz-certlist .rwd-table th.is-sorted .sort { opacity: 1; }
.jz-certlist .rwd-table th.is-sorted.dir-desc .sort i.up { opacity: .35; }
.jz-certlist .rwd-table th.is-sorted.dir-asc .sort i.down { opacity: .35; }
.jz-certlist .rwd-table td {
  padding: 13px 12px;
  font-size: 13px;
  color: #1c1e2a;
  border-bottom: 1px solid #eef0f5;
  vertical-align: middle;
}
.jz-certlist .rwd-table tr:last-child td { border-bottom: none; }
.jz-certlist .rwd-table tbody tr { background: #fff; }
.jz-certlist .rwd-table tbody tr:nth-child(even) { background: #f8f9fd; }
.jz-certlist .rwd-table tbody td:first-child {
  border-left: 4px solid transparent;
  padding-left: 12px;
}
.jz-certlist .rwd-table tbody tr.status-green td:first-child { border-left-color: #2ea36a; }
.jz-certlist .rwd-table tbody tr.status-yellow td:first-child,
.jz-certlist .rwd-table tbody tr.status-amber td:first-child { border-left-color: #e6a317; }
.jz-certlist .rwd-table tbody tr.status-red td:first-child { border-left-color: #e25563; }
.jz-certlist .jz-cert-no { font-weight: 700; color: #3837d1; }
.jz-certlist .jz-due { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.jz-certlist .jz-due-date { font-weight: 650; }
.jz-certlist tr.status-green .jz-due-date { color: #1a7f4b; }
.jz-certlist tr.status-yellow .jz-due-date,
.jz-certlist tr.status-amber .jz-due-date { color: #b45309; }
.jz-certlist tr.status-red .jz-due-date { color: #c41c2b; }
.jz-certlist .jz-badge {
  display: inline-flex;
  align-items: center;
  height: 18px;
  padding: 0 7px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}
.jz-certlist .jz-badge-green { background: #e8f7ee; color: #1a7f4b; }
.jz-certlist .jz-badge-yellow { background: #fff4e0; color: #b45309; }
.jz-certlist .jz-badge-red { background: #fdecee; color: #c41c2b; }

.jz-certlist .jz-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
/* Override the global ".container td.call-actions { flex-direction: column }" */
.jz-certlist td.call-actions.jz-actions { flex-direction: row; gap: 6px; }
/* Desktop: keep the Actions cell a real table cell (a flex <td> does not stretch to the row
   height, so its bottom border and row color were out of line with the other cells). */
@media screen and (min-width: 769px) {
  .jz-certlist .rwd-table td.call-actions.jz-actions { display: table-cell; }
}
.jz-certlist .jz-icon {
  position: relative;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid #d9dce8;
  background: #fff;
  color: #3837d1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.jz-certlist .jz-icon svg { width: 15px; height: 15px; }
.jz-certlist .jz-icon.delete { color: #c41c2b; border-color: #f0b6bc; }
.jz-certlist .jz-icon:hover { background: #f4f5fd; }
.jz-certlist .jz-icon.delete:hover { background: #fdecee; }
.jz-certlist .jz-icon[data-tip]:hover::after,
.jz-certlist .jz-icon:focus::after {
  content: attr(data-tip);
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  background: #1c1e2a;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  padding: 7px 9px;
  border-radius: 6px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(28,30,42,.2);
  z-index: 5;
}

/* Full-width windowed pager — scoped, does not change global ul.pagination */
.jz-certlist .jz-pager { margin: 14px 4px 4px; }
.jz-certlist .jz-pager-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  gap: 8px;
}
.jz-certlist .jz-pager .pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.jz-certlist .jz-pager .nav-side.left { justify-content: flex-start; }
.jz-certlist .jz-pager .nav-side.right { justify-content: flex-end; }
.jz-certlist .jz-pager .nav-pages { justify-content: center; }
.jz-certlist .jz-pager .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  margin-left: -1px;
  color: #3837d1;
  background: #fff;
  border: 1px solid #d9dce8;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
}
.jz-certlist .jz-pager .nav-side .page-item:first-child .page-link,
.jz-certlist .jz-pager .nav-pages .page-item:first-child .page-link {
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}
.jz-certlist .jz-pager .nav-side .page-item:last-child .page-link,
.jz-certlist .jz-pager .nav-pages .page-item:last-child .page-link {
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
}
.jz-certlist .jz-pager .page-item.active .page-link {
  background: #3837d1;
  border-color: #3837d1;
  color: #fff;
  z-index: 1;
}
.jz-certlist .jz-pager .page-item.disabled .page-link {
  color: #9aa0a6;
  background: #f8f9fa;
  pointer-events: none;
}
.jz-certlist .jz-pager .page-item.ellipsis .page-link {
  background: transparent;
  border-color: transparent;
  color: #8b90a0;
  min-width: 22px;
  padding: 0 4px;
  margin-left: 0;
}
.jz-certlist .jz-meta {
  margin: 8px 0 2px;
  text-align: center;
  font-size: 12.5px;
  color: #5c6170;
}
.jz-certlist .jz-empty { text-align: center; color: #5c6170; padding: 24px 12px !important; }

@media (max-width: 900px) {
  .jz-certlist .jz-kpis { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .jz-certlist .jz-kpis { grid-template-columns: 1fr; }
  .jz-certlist .jz-pager-bar {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "pages pages" "left right";
  }
  .jz-certlist .jz-pager .nav-pages { grid-area: pages; }
  .jz-certlist .jz-pager .nav-side.left { grid-area: left; }
  .jz-certlist .jz-pager .nav-side.right { grid-area: right; }
}
