/* CA Legal 2026.10.24.5 | Admin dashboard / tables / journal / DataTables */

.site-main :is(.dataTables_wrapper, .dt-container) {
  max-width: 100%;
}

.site-main .dataTables_wrapper .row {
  row-gap: .7rem;
}

.site-main .dataTables_wrapper :is(.dataTables_filter, .dataTables_length) {
  max-width: 100%;
}

.site-main .dataTables_wrapper input {
  max-width: 100%;
}

.site-main :is(.dt-container,.dataTables_wrapper) {
  font-size: 14px;
}

.site-main > .container.admin-dashboard-page {
  padding-block: clamp(35px, 5vw, 70px);
}

.dashboard-heading {
  padding-bottom: 24px;
  border-bottom: 1px solid #e3e9ec;
  margin-bottom: 25px;
  border-color: #b5c6cd;
}

.dashboard-heading-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
}

.site-main .dashboard-heading h1 {
  margin: 12px 0 9px;
  font-size: 35px !important;
  font-weight: 400;
}

.dashboard-heading p {
  color: #748291;
  margin: 0;
  font-size: 13px;
}

.dashboard-tiles {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 20px;
}

.dashboard-tile {
  display: flex;
  flex-direction: column;
  padding: 27px 24px 24px;
  border: 1px solid #dee6e9;
  border-radius: 11px;
  background: #fff;
  min-height: 225px;
}

.dashboard-tile-label {
  color: #b18b61;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .13em;
}

.site-main .dashboard-tile h2 {
  font-size: 26px !important;
  margin: 24px 0 9px;
  color: var(--ca-navy) !important;
  font-weight: 400;
}

.dashboard-tile p {
  color: #6d7c8b;
  font-size: 13px;
  flex: 1;
}

.dashboard-tile-actions {
  border-top: 1px solid #e8edef;
  margin-top: 25px;
  padding-top: 12px;
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: space-between;
}

.dashboard-tile-main {
  color: #294963;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  flex: 1;
  text-decoration: none;
  font-weight: 750;
  font-size: 13px;
}

.dashboard-tile-sub {
  font-size: 12px;
  color: #71808a;
  text-decoration: none;
  border-left: 1px solid #e2e6e8;
  padding-left: 13px;
}

.site-main > .container:not(.login-page):not(.admin-dashboard-page), .site-main > .container-fluid {
  max-width: 1220px;
}

.site-main > .container:not(.login-page):not(.admin-dashboard-page) {
  padding-top: clamp(35px,4.5vw,65px);
  padding-bottom: clamp(70px,8vw,105px);
}

.site-main .table-responsive,.site-main .site-table-scroll,.site-main .dt-scroll-body {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.site-main .dashboard-tile {
  border-radius: 2px;
  border: 1px solid #d9e4e7;
  padding: 32px;
  background: #fff;
}

.site-main .dashboard-tile:first-child {
  border-top: 5px solid #af8757;
}

.site-main .dashboard-tile:nth-child(2) {
  border-top: 5px solid #42708c;
}

.site-main .dashboard-tile:nth-child(3) {
  border-top: 5px solid #173b58;
}

.dashboard-tile p,.dashboard-tile-main {
  font-size: 16px;
}

.admin-journal-page .admin-journal-header {
  display: grid;
  gap: 20px;
  padding-bottom: 24px;
  margin-bottom: 18px;
  border-bottom: 1px solid #cbd9de;
}

.admin-journal-page .admin-journal-header h1 {
  margin: 0;
}

.admin-journal-page .admin-journal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
}

.admin-journal-page .admin-journal-actions .form-select {
  width: auto;
  max-width: 100%;
  font-size: 16px !important;
}

.admin-journal-page .admin-journal-search {
  max-width: 520px;
  width: 100%;
}

.admin-access-page {
  max-width: 1230px;
  margin-inline: auto;
  width: 100%;
  padding-inline: max(16px,calc((100vw - 1250px)/2));
  padding-block: 45px 90px;
}

.admin-access-page h2 {
  border-bottom: 1px solid #cbd9de;
  padding-bottom: 18px;
}
