:root {
    --font-size-small: 11px;
    --font-size-medium: 14px;
    --font-size-large: 18px;
    --primary-color: #3A5EFFF0;
    --secondary-color: #3A5EFF;
    --accent-color: #0069d9;
    --border-radius-object: 7px;
    --font-sans: "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
    --bg-light: rgba(235, 235, 235, 0.95);
    --bg-dark: rgba(0, 0, 0, 0.6);
    --bg-white: #fff;
    --border-color: #ccc;
  }
  [data-bs-theme="dark"] {
    --font-size-small: 11px;
    --font-size-medium: 14px;
    --font-size-large: 18px;
    --primary-color: #1E3A8A;
    --secondary-color: #2563EB;
    --accent-color: #60A5FA;
    --border-radius-object: 7px;
    --font-sans: "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
    --bg-light: rgba(45, 45, 45, 0.95);
    --bg-dark: rgba(255, 255, 255, 0.1);
    --bg-white: #1F2937;
    --border-color: #444;
  }
  [data-bs-theme="dark"] {
    /* Base colors */
    --bs-body-bg: #1F2937;
    --bs-body-color: #f1f5f9;
    --bs-border-color: #444;
    --bs-border-color-translucent: rgba(255, 255, 255, 0.15);
    --bs-body-color-rgb: 241,245,249;
    --bs-body-bg-rgb: 31,41,55;
  
    /* Emphasis and headings */
    --bs-emphasis-color: #f1f5f9;
    --bs-heading-color: #f1f5f9;
  
    /* Primary theme */
    --bs-primary: #1E3A8A;
    --bs-primary-text: #60A5FA;
    --bs-primary-bg-subtle: #334155;
    --bs-primary-border-subtle: #1E3A8A;
  
    /* Secondary theme */
    --bs-secondary: #2563EB;
    --bs-secondary-text: #60A5FA;
    --bs-secondary-bg-subtle: #475569;
    --bs-secondary-border-subtle: #2563EB;
  
    /* Accent and info */
    --bs-info: #60A5FA;
    --bs-info-text: #60A5FA;
    --bs-info-bg-subtle: #64748b;
    --bs-info-border-subtle: #60A5FA;
  
    /* Additional styling */
    --bs-link-color: #60A5FA;
    --bs-link-hover-color: #93c5fd;
    --bs-code-color: #e685b5;
    --bs-scrollbar-color: rgba(255, 255, 255, 0.3);
  
    /* Optional: Sidebar and hover effects */
    --bs-secondary-bg: #2A3547;
    --bs-secondary-bg-rgb: 42,53,71;
    --bs-tertiary-bg: rgba(93, 135, 255, 0.2);
  }
  
  
  
  body {
    overflow-x: hidden;
    font-size: var(--font-size-medium);
    font-family: var(--font-sans);
  }
  
  body, p, div, a, h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-sans);
  }
  
  h1, h2, h3, h4, h5, h6, .card-title {
    font-size: var(--font-size-large);
    font-weight: 900;
  }
  
  .message-body a.nav-link.nav-icon-hover {
    font-size: var(--font-size-medium) !important;
  }
  
  .content-wrapper {
    padding-top: 75px;
  }
  
  @media only screen and (max-width: 600px) {
    .content-wrapper {
      padding-top: 20px;
    }
  }
  
  .app-header {
    top: 0px !important;
  }
  
  .container {
    max-width: 800px;
    margin: 0 auto;
  }
  
  h1, h5 {
    text-align: center;
    margin-bottom: 20px;
  }
  
  .slider-container {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background-color: var(--bg-white);
    border-radius: 6px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
  }
  
  .slider-content {
    overflow-x: auto;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding: 10px;
  }
  
  .slider-content::-webkit-scrollbar {
    display: none;
  }
  
  table {
    border-collapse: collapse;
    width: 100%;
  }
  
  table td, .table>:not(caption)>*>* {
    border: 1px solid var(--border-color);
    min-width: 150px;
    padding: 8px;
    text-align: left;
  }
  
  table th {
    background-color: var(--primary-color) !important;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
  }
  
  table thead tr th:first-child {
    border-top-left-radius: var(--border-radius-object) !important;
  }
  
  table thead tr th:last-child {
    border-top-right-radius: var(--border-radius-object) !important;
  }
  
  table tr:nth-child(even) {
    background-color: #f2f2f2;
  }
  
  table tr:hover {
    background-color: #ddd;
  }
  
  .nav-button {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 10;
    font-size: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease, transform 0.3s ease;
    position: relative;
    margin: 0 10px;
  }
  
  .nav-button:hover {
    background-color: var(--secondary-color);
    transform: scale(1.1);
  }
  
  .button-container {
    display: flex;
    justify-content: center;
    margin-top: 15px;
  }
  
  button, .btn {
    margin: 5px !important;
  }
  
  @media screen and (max-width: 768px) {
    table th, table td {
      min-width: 120px;
    }
  }
  
  /* Dropdown menu CSS */
  .responsive-table table {
    width: 100%;
    border-collapse: collapse;
  }
  
  .responsive-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
  }
  
  .responsive-table .dropdown-view {
    display: none;
  }
  
  .responsive-table .row {
    border-radius: var(--border-radius-object);
    margin: 10px 0;
    border: 1px solid #ddd;
    padding: 10px;
  }
  
  @media screen and (max-width: 768px) {
    .responsive-table table {
      display: none;
    }
  
    .responsive-table .dropdown-view {
      display: block;
    }
  }
  
  /* Comment widget dashboard section */
  .card {
    border-radius: 0px;
    overflow: hidden;
    margin-bottom: 20px;
  }
  
  .card-header {
    background: var(--primary-color) !important;
    text-align: left;
    font-weight: bold;
    padding: 10px;
    border-bottom: 3px solid rgba(255, 255, 255, 0.2);
  }
  
  .card-header h2, .card-header h3, .card-header h4 {
    color: white !important;
    font-size: 16px;
  }
  
  .list-group-item {
    border: none;
    padding: 5px;
    background: RGBA(var(--bs-light-rgb), var(--bs-bg-opacity, 1)) !important;
    transition: all 0.3s ease-in-out;
  }
  
  .list-group-item:hover {
    background: var(--bg-light);
  }
  
  .list-group-item h6 {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-color);
  }
  
  .list-group-item p {
    font-size: 12px;
    margin-bottom: 5px;
    line-height: 1.5;
  }
  
  .text-muted {
    font-size: 12px;
  }
  
  .alert-warning {
    font-size: 14px;
    padding: 15px;
    border-radius: 5px;
  }
  
  a.text-decoration-none {
    font-weight: 600;
    color: var(--accent-color);
  }
  
  a.text-decoration-none:hover {
    text-decoration: underline;
  }
  
  /* Media manager modal CSS */
  .media-modal {
    position: fixed;
    inset: 0;
    background: var(--bg-dark);
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .hidden {
    display: none;
  }
  