@import url("https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap");

:root {
  --primary-color: #0e3b6b; /* Darkened primary color */
  --secondary-color: #1e6db3; /* Darkened secondary color */
  --tertiary-color: #d9e6f7; /* Lighter tertiary color */
  --accent-color: #e4ebf7;
  --accent-color-2: #dfe5e8;
  --accent-color-3: #1c5f92; /* Darkened accent color */
  --text-dark: #2c3e50;
  --text-light: #f8f9fa;
  --danger: #e74c3c;
  --success: #27ae60;
  --warning: #f39c12;
  --info: #3498db;
  --border-radius: 0.5rem;
  --card-border-radius: 0.75rem;
  --box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.08);
  --card-box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.05);
  --transition: all 0.3s ease;
  --font-primary: "Work Sans", sans-serif;

  /* Card theme colors */
  --card-theme-1: #246cb3;
  --card-theme-2: #27ae60;
  --card-theme-3: #d44a36;
  --card-theme-4: #e08e12;
  --card-theme-5: #8448a8;

  /* New tab colors */
  --tab-active: #0e3b6b;
  --tab-hover: #d9e6f7;
  --hover-color: #164d88; /* New hover color */
}

html,
body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

body {
  flex: 1;
  font-family: var(--font-primary);
  background-color: #f8fafc;
  color: var(--text-dark);
}

input[readonly].form-control {
  background-color: #e9ecef;
  cursor: not-allowed;
}

.content {
  flex: 1;
}

/* Navbar styling */
.admin-navbar {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  padding: 0.25rem 0;
  box-shadow: 0 0.2rem 0.75rem rgba(0, 0, 0, 0.15);
}

.admin-navbar .navbar-brand {
  color: white;
  font-weight: bold;
}

.admin-navbar .navbar-brand img {
  transition: var(--transition);
  max-width: 60px;
}

/* Secondary Navbar styling */
.secondary-navbar {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
  border-bottom: 1px solid #dee2e6;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  padding: 0.1rem 0;
  min-height: 50px;
  margin-bottom: 1.5rem;
}

.secondary-navbar .nav-link {
  color: #495057 !important;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  font-weight: 500;
  font-size: 0.875rem;
  padding: 0.5rem 0.875rem !important;
  margin: 0 0.25rem;
  position: relative;
  overflow: hidden;
}

.secondary-navbar .nav-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.6),
    transparent
  );
  transition: left 0.5s;
}

.secondary-navbar .nav-link:hover {
  background: linear-gradient(135deg, #ffffff, #f1f3f4);
  color: var(--primary-color) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(14, 59, 107, 0.1);
}

.secondary-navbar .nav-link:hover::before {
  left: 100%;
}

.secondary-navbar .nav-link.active {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white !important;
  box-shadow: 0 2px 12px rgba(14, 59, 107, 0.3);
}

.secondary-navbar .nav-link.active:hover {
  background: linear-gradient(
    135deg,
    var(--hover-color),
    var(--accent-color-3)
  );
  color: white !important;
  box-shadow: 0 3px 15px rgba(14, 59, 107, 0.4);
}

.secondary-navbar .nav-link .material-symbols-outlined {
  font-size: 18px;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 20;
}

.secondary-navbar .dropdown-toggle::after {
  font-size: 0.625rem;
  margin-left: 0.25rem;
  border: none;
  content: "▼";
  transition: transform 0.2s ease;
}

.secondary-navbar .dropdown.show .dropdown-toggle::after {
  transform: rotate(180deg);
}

.secondary-navbar .dropdown-menu {
  border: 1px solid #dee2e6;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  background: #ffffff;
  margin-top: 0.375rem;
  padding: 0.375rem;
  min-width: 200px;
  z-index: 1020;
  position: absolute;
}

.secondary-navbar .dropdown-item {
  color: #495057;
  padding: 0.5rem 0.875rem;
  transition: all 0.2s ease;
  border-radius: 6px;
  margin: 0.125rem 0;
  font-size: 0.875rem;
  font-weight: 500;
}

.secondary-navbar .dropdown-item:hover {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  color: var(--primary-color);
  transform: translateX(3px);
}

.secondary-navbar .dropdown-item:active {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
}

/* Sidebar styling */
.admin-sidebar {
  background: linear-gradient(
    180deg,
    var(--primary-color),
    var(--secondary-color)
  );
  box-shadow: var(--box-shadow);
  border-radius: var(--border-radius);
}

.admin-sidebar .offcanvas-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-sidebar .list-unstyled a {
  border-radius: var(--border-radius);
  transition: var(--transition);
  padding: 0.5rem 1rem;
  margin-bottom: 0.25rem;
}

.admin-sidebar .list-unstyled a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateX(5px);
}

.admin-sidebar .dropdown-menu {
  background-color: var(--accent-color);
  box-shadow: var(--box-shadow);
  border: none;
}

.admin-sidebar .dropdown-item {
  transition: var(--transition);
}

.admin-sidebar .dropdown-item:hover {
  background-color: rgba(0, 0, 0, 0.05);
  transform: translateX(3px);
}

/* Faculty Profile Styles */
.tab-content {
  min-height: 400px;
}

.nav-tabs {
  border-bottom: none;
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 0;
  padding: 0.8rem 1rem 0;
  background-color: #fff;
  border-radius: var(--border-radius);
  box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.03);
  position: sticky;
  top: 0;
  z-index: 1000;
  justify-content: center;
}

.nav-tabs::-webkit-scrollbar {
  height: 5px;
}

.nav-tabs::-webkit-scrollbar-thumb {
  background-color: var(--secondary-color);
  border-radius: 20px;
}

.nav-tabs::-webkit-scrollbar-track {
  background-color: #f1f1f1;
  border-radius: 20px;
}

.nav-tabs .nav-link {
  color: var(--primary-color);
  font-weight: 600;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 0.4rem 0.65rem;
  margin: 0.2rem;
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
  font-size: 0.85rem;
}

.nav-tabs .nav-link.active {
  color: #fff;
  background-color: var(--primary-color);
  border-bottom: 3px solid var(--secondary-color);
  box-shadow: 0 -3px 8px rgba(0, 0, 0, 0.05);
  border-radius: var(--border-radius);
}

.nav-tabs .nav-link:hover:not(.active) {
  border-color: transparent;
  background-color: var(--hover-color);
  color: white;
  transform: translateY(-3px);
}

.tab-pane {
  padding: 1.5rem 0;
}

.card {
  border: none;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  overflow: hidden;
  margin-bottom: 1.5rem;
  border-top: 4px solid var(--primary-color);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
  border-top-color: var(--hover-color);
}

.card-header {
  border-bottom: none;
  padding: 1.25rem;
  position: relative; /* Added for positioning context */
}

.card-body {
  padding: 1.5rem;
}

.timeline-item {
  position: relative;
  padding-left: 1.5rem;
}

.timeline-item::after {
  content: "";
  position: absolute;
  width: 1px;
  background-color: #e9ecef;
  top: 0;
  bottom: 0;
  left: 16.66%;
  margin-left: -0.5px;
  z-index: -1;
}

.badge {
  padding: 0.5rem 1rem;
  font-weight: 600;
  border-radius: 2rem;
}

.table-responsive {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 1.5rem;
  background-color: white;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 768px) {
  .table-responsive {
    border-radius: 0;
    margin-left: -15px;
    margin-right: -15px;
    box-shadow: none;
    border-top: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
  }
}

.table {
  margin-bottom: 0;
  border-collapse: separate;
  border-spacing: 0;
}

.table-light {
  background-color: var(--primary-color);
  color: white;
}

.table-hover tbody tr {
  background-color: var(--tertiary-color);
  cursor: pointer;
}

.table-hover tbody tr {
  transition: all 0.2s ease;
}

.table-hover tbody tr:nth-child(odd) {
  background-color: rgba(236, 240, 241, 0.3);
}

.table-hover tbody tr:hover {
  background-color: var(--tertiary-color);
}

.table th {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  border-top: none;
  padding: 1rem;
  background-color: var(--primary-color);
  color: white;
  border: none;
}

.table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.table thead th {
  border-bottom: 2px solid var(--primary-color);
}

.table tbody tr:last-child td {
  border-bottom: none;
}

@media (max-width: 767.98px) {
  .timeline-item::after {
    left: 0;
  }

  .nav-tabs .nav-link {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
  }

  .card-body {
    padding: 1.25rem;
  }
}

.text-justify {
  text-align: justify;
}

/* Custom color scheme for cards */
.citation-card {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.citation-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-box-shadow);
}

.citation-card .card-header {
  padding: 1.25rem;
  border-bottom: none;
}

.citation-value {
  font-size: 1.5rem;
  font-weight: 700;
}

.bg-light {
  background-color: var(--tertiary-color) !important;
}

.bg-primary {
  background-color: var(--primary-color) !important;
}

.text-primary {
  color: var(--primary-color) !important;
}

/* Quick nav buttons */
.quick-nav {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
}

.quick-nav .btn {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  box-shadow: var(--box-shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.5rem;
}

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  color: white;
}

.tab-content > .tab-pane {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 2rem;
}

/* Tabs dropdown for mobile */
.tab-dropdown {
  display: none;
}

@media (max-width: 767.98px) {
  .tab-dropdown {
    display: block;
    margin-bottom: 1rem;
  }

  .tab-dropdown .btn {
    width: 100%;
    text-align: left;
    background-color: var(--tertiary-color);
    color: var(--primary-color);
    border: none;
    padding: 0.75rem 1rem;
    font-weight: 600;
    border-radius: var(--border-radius);
  }

  .tab-dropdown .dropdown-menu {
    width: 100%;
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    max-height: 70vh;
    overflow-y: auto;
  }

  .tab-dropdown .dropdown-item {
    padding: 0.75rem 1rem;
  }

  .tab-dropdown .dropdown-item.active {
    background-color: var(--tertiary-color);
    color: var(--primary-color);
    font-weight: 600;
  }
}

.profile-tab-container {
  position: relative;
  margin-bottom: 2rem;
}

.tab-scroll-buttons {
  display: none;
}

.nav-tabs-container {
  width: 100%;
}

/* Improved card styles */
.profile-card {
  transition: all 0.3s ease;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
}

.profile-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.profile-header {
  background: linear-gradient(
    to right,
    var(--primary-color),
    var(--secondary-color)
  );
  padding: 2rem;
  color: white;
  text-align: center;
}

.stats-card {
  border: none;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s;
  margin-bottom: 1rem;
  background-color: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.stats-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.stats-card .card-header {
  color: white;
  font-weight: bold;
  padding: 1rem;
}

.stats-card .card-body {
  padding: 1.5rem;
}

.stat-item {
  background-color: var(--tertiary-color);
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.stat-value {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.9rem;
  color: #6c757d;
}

/* Section headers without gradient underline */
.section-header {
  position: relative;
  margin-bottom: 2rem;
  padding-bottom: 0.5rem;
  font-weight: 700;
  color: var(--primary-color);
  border-bottom: 2px solid var(--tertiary-color);
}

/* Table improvements */
.custom-table-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .custom-table-container {
    border-radius: 0;
    margin-left: -15px;
    margin-right: -15px;
    box-shadow: none;
    border-top: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
  }
}

.custom-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  min-width: 600px; /* Ensure minimum width for horizontal scroll */
  margin-bottom: 0;
}

.custom-table thead th {
  background-color: var(--primary-color);
  color: white;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  padding: 1rem;
  letter-spacing: 0.5px;
}

.custom-table tbody tr:nth-child(even) {
  background-color: rgba(0, 0, 0, 0.02);
}

.custom-table tbody tr:hover {
  background-color: var(--tertiary-color);
}

.custom-table td {
  padding: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Quick navigation */
.quick-tabs-nav {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1020;
}

.quick-tabs-btn {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: all 0.3s;
}

.quick-tabs-btn span {
  font-size: 28px;
}

.quick-tabs-btn:hover {
  transform: scale(1.1);
  background-color: var(--hover-color);
}

.quick-tabs-menu {
  position: absolute;
  bottom: 5rem;
  right: 0;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
  width: 280px;
  padding: 1rem 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
  opacity: 0;
  pointer-events: none;
}

.quick-tabs-menu.show {
  max-height: 400px;
  opacity: 1;
  pointer-events: auto;
  overflow-y: auto;
}

.quick-tabs-menu a {
  display: flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  color: var(--text-dark);
  text-decoration: none;
  transition: all 0.2s;
  border-left: 3px solid transparent;
}

.quick-tabs-menu a:hover {
  background-color: var(--hover-color);
  color: white;
  border-left: 3px solid white;
  transform: translateX(5px);
}

/* Enhanced quick navigation - updated colors */
.quick-tabs-nav {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1030;
}

.quick-tabs-btn {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: all 0.3s;
}

.quick-tabs-btn span {
  font-size: 28px;
}

.quick-tabs-btn:hover {
  transform: scale(1.1);
  background-color: var(--hover-color);
}

.quick-tabs-menu {
  position: absolute;
  bottom: 5rem;
  right: 0;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
  width: 280px;
  padding: 1rem 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
  opacity: 0;
  pointer-events: none;
}

.quick-tabs-menu.show {
  max-height: 400px;
  opacity: 1;
  pointer-events: auto;
  overflow-y: auto;
}

.quick-tabs-menu a {
  display: flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  color: var(--text-dark);
  text-decoration: none;
  transition: all 0.2s;
  border-left: 3px solid transparent;
}

.quick-tabs-menu a:hover {
  background-color: var(--hover-color);
  color: white;
  border-left: 3px solid white;
  transform: translateX(5px);
}

/* Timeline improvements */
.timeline {
  position: relative;
  padding-left: 2rem;
  margin-top: 1.5rem;
}

.timeline-item {
  position: relative;
  padding-bottom: 2rem;
  padding-left: 1.5rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--primary-color);
  border: 3px solid white;
  box-shadow: 0 0 0 3px rgba(22, 77, 136, 0.3);
  z-index: 1;
}

.timeline-item::after {
  content: "";
  position: absolute;
  left: -2px;
  top: 24px;
  bottom: 0;
  width: 2px;
  background-color: rgba(26, 79, 138, 0.2);
}

.timeline-date {
  background-color: var(--primary-color);
  color: white;
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 30px;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.timeline-content {
  background-color: white;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.timeline-title {
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.timeline-subtitle {
  color: #6c757d;
  margin-bottom: 0.75rem;
}

.timeline-text {
  color: var(--text-dark);
}

/* Additional UI enhancements */
.tab-content > .tab-pane {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 2rem;
}

/* Personal Info Card Edit Icon Styles */
.contact-card .position-absolute {
  z-index: 10;
  transition: var(--transition);
}

.contact-card .position-absolute:hover {
  transform: scale(1.1);
  background-color: var(--primary-color) !important;
  color: white !important;
  border-color: var(--primary-color) !important;
}

.contact-card .position-absolute .material-symbols-outlined {
  font-size: 16px;
}

/* Enhanced card hover effect */
.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
}

.contact-card {
  transition: var(--transition);
  height: 100%; /* Ensure all cards have the same height */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  padding: rem;
}

/* About Section Card Edit Icon Styles */
.qualification-card .position-absolute {
  z-index: 10;
  transition: var(--transition);
}

.qualification-card .position-absolute:hover {
  transform: scale(1.1);
  background-color: var(--primary-color) !important;
  color: white !important;
  border-color: var(--primary-color) !important;
}

.qualification-card .position-absolute .material-symbols-outlined {
  font-size: 16px;
}

/* Enhanced qualification card hover effect */
.qualification-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
}

.qualification-card {
  transition: var(--transition);
}

/* Textarea styling for about sections */
.form-control textarea {
  resize: vertical;
  min-height: 100px;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(14, 59, 107, 0.25);
}

/* Smooth scroll for anchor links */
html {
  scroll-behavior: smooth;
}

/* General Responsive Table Utilities */
.table-scroll-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--border-radius);
  box-shadow: var(--card-box-shadow);
  background: white;
  margin-bottom: 1.5rem;
}

.table-scroll-wrapper table {
  min-width: 600px;
  margin-bottom: 0;
}

/* Mobile table improvements */
@media (max-width: 768px) {
  .table-scroll-wrapper {
    border-radius: 0;
    margin-left: -15px;
    margin-right: -15px;
    box-shadow: none;
    border-top: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
  }

  .table-scroll-wrapper table {
    font-size: 0.85rem;
  }

  .table-scroll-wrapper th,
  .table-scroll-wrapper td {
    padding: 0.5rem 0.375rem !important;
    white-space: nowrap;
  }

  /* Show scroll hint on mobile */
  .table-scroll-wrapper::after {
    content: "← Scroll horizontally to see more →";
    display: block;
    text-align: center;
    padding: 0.5rem;
    font-size: 0.75rem;
    color: #6c757d;
    background: #f8f9fa;
    border-top: 1px solid #dee2e6;
  }
}

@media (max-width: 576px) {
  .table-scroll-wrapper table {
    font-size: 0.8rem;
  }

  .table-scroll-wrapper th,
  .table-scroll-wrapper td {
    padding: 0.375rem 0.25rem !important;
  }
}
