﻿/* ============================================================
   DTS PORTAL - DepEd Carcar City
   Theme: Green (#2e7d32), Gold (#c9a227), Black (#1a1a1a)
   ============================================================ */

/* --- Color Variables (via CSS custom properties) --- */
:root {
  --green-dark: #1b5e20;
  --green-main: #2e7d32;
  --green-light: #4caf50;
  --green-pale: #e8f5e9;
  --gold-dark: #a07c10;
  --gold-main: #c9a227;
  --gold-light: #f0c040;
  --black-main: #1a1a1a;
  --black-soft: #2c2c2c;
  --white: #ffffff;
  --gray-light: #f5f5f5;
  --gray-border: #ddd;
}

/* --- Reset / Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  color: #333;
  background-color: #f4f4f4;
  line-height: 1.5;
  margin: 0;
  padding: 0;
}

/* Dashboard full-height layout */
body.dts-dashboard-page {
  overflow: hidden;
  height: 100vh;
}

img {
  display: inline-block;
  height: auto;
  max-width: 100%;
}

ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* --- Top Navigation Bar (logo strip) --- */
.top_nav {
  background-color: var(--black-main);
  padding: 8px 16px;
  border-bottom: 3px solid var(--gold-main);
  display: flex;
  align-items: center;
}

.top_nav img {
  height: 56px;
  width: auto;
}

/* --- Bootstrap Navbar Override --- */
.navbar {
  border-radius: 0 !important;
  margin-bottom: 0 !important;
  background-color: var(--green-main) !important;
  border: none !important;
  border-bottom: 2px solid var(--gold-main) !important;
  min-height: 46px;
}

.navbar-inverse .navbar-nav > li > a {
  color: var(--white) !important;
  font-weight: 500;
  padding: 14px 16px;
  transition:
    background 0.2s,
    color 0.2s;
}

.navbar-inverse .navbar-nav > li > a:hover,
.navbar-inverse .navbar-nav > li > a:focus {
  background-color: var(--green-dark) !important;
  color: var(--gold-light) !important;
}

.navbar-inverse .navbar-nav > .active > a,
.navbar-inverse .navbar-nav > .active > a:hover,
.navbar-inverse .navbar-nav > .active > a:focus {
  background-color: var(--green-dark) !important;
  color: var(--gold-main) !important;
  border-bottom: 3px solid var(--gold-main);
}

/* Dropdown */
.navbar-inverse .dropdown-menu {
  background-color: var(--black-soft) !important;
  border: 1px solid var(--gold-main) !important;
  border-radius: 0 0 4px 4px;
}

.navbar-inverse .dropdown-menu > li > a {
  color: var(--white) !important;
  padding: 8px 16px;
}

.navbar-inverse .dropdown-menu > li > a:hover {
  background-color: var(--green-main) !important;
  color: var(--gold-light) !important;
}

/* Hamburger icon */
.navbar-inverse .navbar-toggle {
  border-color: var(--gold-main) !important;
}
.navbar-inverse .navbar-toggle .icon-bar {
  background-color: var(--gold-main) !important;
}
.navbar-inverse .navbar-toggle:hover,
.navbar-inverse .navbar-toggle:focus {
  background-color: var(--green-dark) !important;
}

/* --- Breadcrumb --- */
.breadcrumb {
  background-color: var(--green-pale);
  border: 1px solid #c8e6c9;
  border-radius: 4px;
  padding: 8px 16px;
  margin-bottom: 16px;
  font-size: 13px;
}

.breadcrumb > li + li::before {
  color: var(--green-main);
}

.breadcrumb a {
  color: var(--green-main);
  font-weight: 500;
}

.breadcrumb a:hover {
  color: var(--gold-dark);
  text-decoration: underline;
}

.breadcrumb > .active {
  color: var(--black-soft);
}

/* --- Panels --- */
.panel {
  border-radius: 6px !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
  border: 1px solid var(--gray-border) !important;
  margin-bottom: 20px;
}

.panel-default > .panel-heading {
  background-color: var(--green-main) !important;
  color: var(--white) !important;
  border-bottom: 2px solid var(--gold-main) !important;
  border-radius: 5px 5px 0 0 !important;
  padding: 10px 15px;
}

.panel-default > .panel-heading .panel-title {
  color: var(--white) !important;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.3px;
}

.panel-body {
  padding: 15px;
}

/* --- List Group (sidebar nav) --- */
.list-group-item {
  border-left: 3px solid transparent !important;
  transition: all 0.15s ease;
  color: #333;
  font-size: 14px;
}

.list-group-item:first-child {
  border-radius: 5px 5px 0 0 !important;
}
.list-group-item:last-child {
  border-radius: 0 0 5px 5px !important;
}

.list-group-item:hover,
.list-group-item:focus {
  background-color: var(--green-pale) !important;
  border-left-color: var(--green-main) !important;
  color: var(--green-dark) !important;
  text-decoration: none;
}

.list-group-item.active,
.list-group-item.active:hover {
  background-color: var(--green-main) !important;
  border-color: var(--green-main) !important;
  color: var(--white) !important;
}

/* --- Buttons --- */
.btn-primary {
  background-color: var(--green-main) !important;
  border-color: var(--green-dark) !important;
  color: var(--white) !important;
  font-weight: 500;
  border-radius: 4px;
  transition:
    background 0.2s,
    border-color 0.2s;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: var(--green-dark) !important;
  border-color: var(--black-main) !important;
  color: var(--gold-light) !important;
}

.btn-default {
  background-color: var(--white) !important;
  border-color: var(--gray-border) !important;
  color: #555 !important;
}

.btn-default:hover {
  background-color: var(--gray-light) !important;
  border-color: #bbb !important;
}

/* Gold accent button (use .btn-gold) */
.btn-gold {
  background-color: var(--gold-main);
  border-color: var(--gold-dark);
  color: var(--black-main);
  font-weight: 600;
}

.btn-gold:hover {
  background-color: var(--gold-dark);
  color: var(--white);
}

/* --- Forms --- */
.form-control {
  border-radius: 4px;
  border: 1px solid #ccc;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.08);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  font-size: 14px;
  padding: 7px 12px;
  height: 36px;
}

.form-control:focus {
  border-color: var(--green-light);
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2);
  outline: none;
}

.form-horizontal .control-label {
  font-weight: 600;
  color: var(--black-soft);
  padding-top: 8px;
}

textarea.form-control {
  height: auto;
}

/* --- Input Groups --- */
.input-group-btn .btn {
  height: 36px;
  line-height: 1.4;
}

/* --- Tables --- */
.table {
  background-color: var(--white);
  border-radius: 6px;
  overflow: hidden;
  font-size: 13px;
}

.table thead > tr > th {
  background-color: var(--green-main);
  color: var(--white);
  border-bottom: 2px solid var(--gold-main) !important;
  font-weight: 600;
  padding: 10px 12px;
  white-space: nowrap;
}

.table-striped > tbody > tr:nth-of-type(odd) {
  background-color: var(--green-pale);
}

.table > tbody > tr > td {
  padding: 9px 12px;
  vertical-align: middle;
  border-top: 1px solid #e8e8e8;
}

.table > tbody > tr:hover {
  background-color: #dcedc8 !important;
}

/* --- Alerts --- */
.alert-warning {
  background-color: #fff8e1;
  border-color: var(--gold-main);
  color: #6d4c00;
  border-left: 4px solid var(--gold-main);
  border-radius: 4px;
}

.alert-success {
  background-color: var(--green-pale);
  border-color: var(--green-light);
  color: var(--green-dark);
  border-left: 4px solid var(--green-main);
  border-radius: 4px;
}

.alert-danger {
  border-left: 4px solid #c62828;
  border-radius: 4px;
}

/* --- Badges / Notifications --- */
.badge-notify {
  background-color: #d32f2f;
  color: var(--white);
  font-size: 11px;
  padding: 3px 6px;
  border-radius: 10px;
  font-weight: 700;
  vertical-align: middle;
}

/* --- Modals --- */
.modal-header {
  background-color: var(--green-main);
  color: var(--white);
  border-bottom: 2px solid var(--gold-main);
  border-radius: 5px 5px 0 0;
  padding: 12px 16px;
}

.modal-header .modal-title {
  color: var(--white);
  font-weight: 600;
}

.modal-header .close {
  color: var(--white) !important;
  opacity: 0.8;
  text-shadow: none;
  font-size: 20px;
}

.modal-header .close:hover {
  opacity: 1;
  color: var(--gold-light) !important;
}

.modal-footer {
  background-color: var(--gray-light);
  border-top: 1px solid var(--gray-border);
}

.modal-body {
  overflow-y: auto;
  overflow-x: auto;
  max-height: none;
  max-width: none;
  padding: 15px;
}

/* --- Footer --- */
.footer {
  clear: both;
  position: relative;
  bottom: 0;
  width: 100%;
  text-align: center;
  border-top: 3px solid var(--gold-main);
  background-color: var(--black-main);
  color: #ccc;
  padding: 32px 70px 32px;
  overflow: hidden;
}

.footer .footer-watermark {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  height: 100px;
  width: auto;
  opacity: 0.35;
}

.footer a {
  color: var(--gold-light);
  text-decoration: none;
}
.footer a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer p {
  font-size: 12px;
  color: #aaa;
  margin: 4px 0;
  line-height: 1.5;
}

.footer-links {
  margin: 0 0 6px;
  padding-left: 0;
}

.footer-links li {
  display: inline;
  padding: 0 4px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gold-main);
  letter-spacing: 0.5px;
}

.footer-links .muted {
  color: #555;
}

/* --- Row spacing --- */
.row-fluid {
  margin-top: 20px !important;
  margin-bottom: 20px !important;
}

/* --- Utility --- */
.text-gold {
  color: var(--gold-main);
}
.text-green {
  color: var(--green-main);
}
.bg-green {
  background-color: var(--green-main);
  color: var(--white);
}
.bg-gold {
  background-color: var(--gold-main);
  color: var(--black-main);
}

/* --- Login page --- */
.login-wrapper {
  /*
   * Fill exactly the space between navbar and footer.
   * To tune: open browser DevTools, inspect .top_nav + .navbar for their
   * combined height, and the .footer for its height, then adjust below.
   *   ~102px = top_nav (64px) + navbar (46px) + footer border (3px) - approx
   *   ~160px = footer block height
   * Total subtracted: ~262px. Tweak until no scrollbar appears.
   */
  height: calc(100vh - 262px);
  min-height: 300px; /* safety floor so card never gets crushed */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 15px;
  background-image: url("../IMAGES/depedcarcar.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
}

/* Semi-transparent dark overlay on top of the photo */
.login-wrapper::before {
  content: "";
  position: absolute;
  inset: 0; /* covers the full wrapper */
  background: rgba(0, 0, 0, 0.45); /* 0.0 = no overlay, 1.0 = fully black */
  z-index: 0;
}

/* Keep the card above the overlay */
.login-wrapper > * {
  position: relative;
  z-index: 1;
}

.login-card {
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35); /* stronger shadow over photo */
  overflow: hidden;
  width: 100%;
  max-width: 420px; /* ← change this to make the card wider or narrower */
  min-width: 300px; /* ← minimum width on small screens */
}

.login-card-header {
  background-color: var(--green-main);
  border-bottom: 3px solid var(--gold-main);
  padding: 20px;
  text-align: center;
}

.login-card-header h3 {
  color: var(--white);
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.login-card-header p {
  color: rgba(255, 255, 255, 0.8);
  margin: 4px 0 0;
  font-size: 13px;
}

.login-card-body {
  padding: 24px;
}

/* --- Track page (public) --- */
.track-panel {
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 24px;
  margin-top: 30px;
}

/* --- Sidebar section headers --- */
.sidebar-section-title {
  background-color: var(--green-main);
  color: var(--white);
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  border-radius: 4px 4px 0 0;
  border-bottom: 2px solid var(--gold-main);
  margin-bottom: 0;
}

/* --- Document info list group (trackdocument) --- */
.list-group .list-group-item {
  font-size: 13px;
}

/* --- Misc legacy classes kept for compatibility --- */
.navbar .navbar-inner {
  padding: 0;
}
.no_scroll {
  overflow: visible;
}

.mainh2 {
  background-color: var(--green-main);
  font-size: 18px;
  color: var(--white);
  padding: 8px 15px;
  border-radius: 5px;
  width: 100%;
  margin-top: 0;
  border-bottom: 2px solid var(--gold-main);
}

.grade_title {
  padding: 7px;
  text-align: left;
  background-color: var(--green-main);
  border: 2px solid #c8e6c9;
  border-radius: 4px;
  color: var(--white);
  margin-top: 0;
}

.sidebar_detail {
  font-size: 16px;
  margin-top: 0;
  padding: 7px;
  text-align: left;
  background-color: var(--green-pale);
  color: #333;
}

.detail {
  color: var(--green-main);
  font-size: 12px;
}

/* --- Responsive --- */
@media (max-width: 767px) {
  .top_nav img {
    height: 40px;
  }

  .navbar-inverse .navbar-nav > li > a {
    padding: 10px 14px;
  }

  .col-sm-4 {
    margin-bottom: 15px;
  }

  .footer {
    background-size: 0;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .col-sm-4 {
    margin-bottom: 10px;
  }
}

/* --- DataTables override --- */
table.dataTable thead th {
  background-color: var(--green-main) !important;
  color: var(--white) !important;
  border-bottom: 2px solid var(--gold-main) !important;
}

table.dataTable.stripe tbody tr.odd,
table.dataTable.display tbody tr.odd {
  background-color: var(--green-pale);
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
  background: var(--green-main) !important;
  color: var(--white) !important;
  border-color: var(--green-dark) !important;
  border-radius: 4px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  background: var(--green-pale) !important;
  color: var(--green-dark) !important;
  border-color: var(--green-light) !important;
}

/* --- Scrollbar (webkit) --- */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
  background: var(--green-light);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--green-main);
}

/* --- Placeholder text --- */
:-moz-placeholder {
  color: #aaa !important;
  font-size: 13px;
}
::-webkit-input-placeholder {
  color: #aaa;
  font-size: 13px;
}
::placeholder {
  color: #aaa;
  font-size: 13px;
}

/* ============================================================
   DTS Scrollable Table System — Redesigned
   ============================================================ */

/* ── Toolbar: search bar + record count ── */
.dts-table-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  flex-wrap: wrap;
  padding: 8px 10px;
  background: #f8f8f8;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
}

.dts-table-search {
  position: relative;
  flex: 1;
  min-width: 180px;
  max-width: 320px;
}

.dts-search-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  font-size: 12px;
  pointer-events: none;
}

.dts-table-search .form-control {
  padding-left: 30px;
  padding-right: 28px;
  height: 30px;
  font-size: 12px;
  border-radius: 20px;
  border-color: #ddd;
  background: #fff;
  box-shadow: none;
}

.dts-table-search .form-control:focus {
  border-color: #2e7d32;
  box-shadow: 0 0 0 2px rgba(46,125,50,0.15);
}

.dts-search-clear {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #bbb;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}
.dts-search-clear:hover { color: #c62828; }

.dts-table-info {
  font-size: 11px;
  color: #888;
  white-space: nowrap;
  font-style: italic;
}

/* ── Scrollable table wrapper ── */
.dts-scroll-table-wrap {
  width: 100%;
  overflow-x: auto;
  overflow-y: auto;
  max-height: calc(100vh - 356px);
  min-height: 200px;
  border: 1px solid #e0e0e0;
  border-radius: 6px 6px 0 0;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

/* ── Table base ── */
.dts-scroll-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
  table-layout: fixed;
}

/* ── Sticky header ── */
.dts-scroll-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: linear-gradient(180deg, #2e7d32 0%, #256427 100%);
  color: #fff;
  border-bottom: 3px solid #c9a227;
  padding: 10px 12px;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  user-select: none;
}

/* ── Row styling ── */
.dts-scroll-table tbody tr {
  border-left: 3px solid transparent;
  transition: background 0.1s, border-left-color 0.1s;
}

.dts-scroll-table tbody tr:nth-child(odd)  { background-color: #fafafa; }
.dts-scroll-table tbody tr:nth-child(even) { background-color: #fff; }

.dts-scroll-table tbody tr:hover {
  background-color: #e8f5e9 !important;
  border-left-color: #2e7d32;
}

/* ── Cell styling ── */
.dts-scroll-table tbody td {
  padding: 9px 12px;
  border-bottom: 1px solid #f0f0f0;
  vertical-align: middle;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #333;
  font-size: 12.5px;
}

/* ── Doc # pill — makes tracking numbers stand out ──
   WHY: A document number is the primary identifier. Making it look
   like a badge/pill makes it instantly scannable, like a ticket number
   at a government office window. */
.dts-doc-id {
  display: inline-block;
  font-family: 'Courier New', Courier, monospace;
  font-size: 11px;
  font-weight: 700;
  color: #1b5e20;
  background: #e8f5e9;
  border: 1px solid #c8e6c9;
  border-radius: 4px;
  padding: 2px 7px;
  letter-spacing: 0.3px;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  text-decoration: none;
}
.dts-doc-id:hover {
  background: #2e7d32;
  color: #fff;
  border-color: #2e7d32;
  text-decoration: none;
}

/* ── Date cell — monospace so dates align perfectly ── */
.dts-date {
  font-family: 'Courier New', Courier, monospace;
  font-size: 11.5px;
  color: #555;
  white-space: nowrap;
}

/* ── Person name cell ── */
.dts-person {
  font-size: 12px;
  color: #444;
  font-weight: 500;
}

/* ── Office name cell ── */
.dts-office-name {
  font-size: 11.5px;
  color: #2e7d32;
  font-weight: 600;
}

/* ── Truncated text with tooltip ── */
.dts-cell-truncate {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
  cursor: default;
}

/* ── Wrapping cell (description) ── */
.dts-scroll-table tbody td.cell-wrap {
  white-space: normal;
  word-break: break-word;
  max-width: 260px;
  line-height: 1.4;
}

/* ── Empty state ── */
.dts-empty-row {
  text-align: center;
  padding: 40px 20px !important;
}
.dts-empty-row .dts-empty-icon {
  font-size: 36px;
  color: #ddd;
  display: block;
  margin-bottom: 10px;
}
.dts-empty-row .dts-empty-text {
  color: #aaa;
  font-size: 13px;
  font-style: italic;
}

/* ── Action buttons inside table ── */
.dts-scroll-table .btn-xs {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 3px;
  white-space: nowrap;
  font-weight: 500;
}

/* ── Pagination bar ── */
.dts-load-more-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  border: 1px solid #e0e0e0;
  border-top: none;
  border-radius: 0 0 6px 6px;
  background: #f8f8f8;
  margin-bottom: 20px;
}

.dts-page-label {
  font-size: 12px;
  color: #666;
  font-weight: 500;
}

.dts-load-more-bar .btn {
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 4px;
  font-weight: 500;
}

/* ── Responsive ── */
@media (max-width: 767px) {
  .dts-scroll-table-wrap { max-height: 50vh; }
  .dts-table-search { max-width: 100%; }
  .dts-load-more-bar { margin-bottom: 16px; }
}
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-top: none; /* connects flush to table bottom */
  border-radius: 0 0 4px 4px; /* rounds only the bottom corners */
  background: #fafafa;
  margin-bottom: 20px; /* breathing room before footer */
}

.dts-page-label {
  font-size: 12px;
  color: #666;
}

.dts-load-more-bar .btn {
  font-size: 12px;
  padding: 4px 10px;
}

/* Action buttons inside table cells */
.dts-scroll-table .btn-xs {
  font-size: 11px;
  padding: 2px 7px;
  white-space: nowrap;
}

/* Responsive: on small screens reduce max-height */
@media (max-width: 767px) {
  .dts-scroll-table-wrap {
    max-height: 55vh;
  }
  .dts-table-search {
    max-width: 100%;
  }
}
/* ============================================================
   Office Tabs — shown when user has multiple office assignments
   ============================================================ */

.dts-office-tabs {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  background-color: #1b5e20;
  border-bottom: 3px solid #c9a227;
}

.dts-office-tabs li {
  position: relative;
}

.dts-office-tabs li a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  background: transparent;
  border-right: 1px solid rgba(255,255,255,0.1);
  border-bottom: 3px solid transparent;
  transition: all 0.15s;
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: 0.2px;
}

.dts-office-tabs li a:hover {
  color: #fff;
  background: rgba(255,255,255,0.1);
  border-bottom-color: rgba(201,162,39,0.5);
  text-decoration: none;
}

.dts-office-tabs li.active a {
  color: #fff;
  background: rgba(255,255,255,0.15);
  border-bottom: 3px solid #c9a227;
  font-weight: 700;
}

.dts-office-tabs li.active a::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #c9a227;
  border-radius: 50%;
  flex-shrink: 0;
}

.dts-tab-count {
  background: rgba(255,255,255,0.2);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 10px;
  min-width: 18px;
  text-align: center;
}

.dts-office-tabs li.active .dts-tab-count {
  background: #c9a227;
  color: #1a1a1a;
}

@media (max-width: 767px) {
  .dts-office-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .dts-office-tabs li a {
    padding: 8px 14px;
    font-size: 11px;
  }
}
}
