:root {
   --primary: #ffffff;
   --accent: #ed0f43;

   /* DARK (default) */
   --bg-body: #050608;
   --bg-surface: #050608;
   --bg-sidebar: #050608;
   --border-soft: rgba(255, 255, 255, 0.08);
   --text-main: #f9fafb;
   --text-muted: #d1d5db;
   --text-subtle: #9ca3af;
   --link: #ffffff;
   --link-hover: #ed0f43;
   --table-head-bg: #00bfff;
   --table-head-text: #000000;
   --table-row-odd: #0c1015;
   --table-row-even: #070b10;
   --table-row-hover: #101721;
   --btn-primary-bg: #00bfff;
   --btn-primary-bg-hover: #04a3dd;
   --btn-primary-text: #000000;
}

/* LIGHT THEME */
:root[data-theme="light"] {
   --bg-body: #f3f4f6;
   --bg-surface: #ffffff;
   --bg-sidebar: #ffffff;
   --border-soft: rgba(15, 23, 42, 0.12);
   --text-main: #111827;
   --text-muted: #4b5563;
   --text-subtle: #6b7280;
   --link: #0369a1;
   --link-hover: #be123c;
   --table-head-bg: #00bfff;
   --table-head-text: #000000;
   --table-row-odd: #f9fafb;
   --table-row-even: #ffffff;
   --table-row-hover: #e5e7eb;
   --btn-primary-bg: #00bfff;
   --btn-primary-bg-hover: #0284c7;
   --btn-primary-text: #000000;
}
/* Force white color for these API headings */
 h2[xss=removed],
 .section-heading {
 color: #ffffff !important;
}

/* Force ALL text inside tables to white */
.table,
.table th,
.table td,
.table thead th,
.table tbody th,
.table tbody td {
 color: #ffffff !important;
}

/* Also force example values & required column to white */
.table td,
.table th[scope="row"] {
 color: #ffffff !important;
}

/* Code block background BLACK and text WHITE */
pre,
pre code,
code {
 background: #000000 !important;
 color: #ffffff !important;
}

/* Scrollbar + padding সুন্দর রাখতে চাইলে */
pre {
 padding: 16px !important;
 border-radius: 8px;
 border: 1px solid rgba(255,255,255,0.15);
 overflow-x: auto;
}

/* MAIN WRAPPER */
.docs-wrapper {
   overflow: hidden;
   background: var(--bg-body);
   color: var(--text-main);
   font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
   padding: 20px 0;
}

/* SIDEBAR */
#docs-sidebar {
   background: var(--bg-sidebar);
   border-radius: 12px;
   border: 1px solid var(--border-soft);
   box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
}

#docs-nav .nav-link {
   color: var(--text-muted);
   border-radius: 999px;
   padding: 6px 12px;
   margin-bottom: 4px;
   transition: all 0.12s ease;
   font-size: 14px;
}

#docs-nav .section-title > .nav-link {
   font-weight: 600;
   text-transform: uppercase;
   font-size: 12px;
   letter-spacing: 0.07em;
   color: var(--text-main);
}

#docs-nav .nav-link:hover {
   background: rgba(0, 191, 255, 0.12);
   color: var(--text-main);
   text-decoration: none;
}

#docs-nav .nav-link.active {
   background: var(--primary);
   color: #000000 !important;
   box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.theme-icon-holder {
   width: 20px;
   height: 20px;
   border-radius: 999px;
   display: inline-flex;
   align-items: center;
   justify-content: center;
   background: rgba(0, 191, 255, 0.16);
   color: #00bfff;
   font-size: 11px;
}

/* CONTENT CARDS */
.docs-content .docs-article {
   background: var(--bg-surface);
   border-radius: 14px;
   border: 1px solid var(--border-soft);
   box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
   padding: 22px 20px;
   margin-bottom: 18px;
}

.docs-header {
   border-bottom: 1px solid var(--border-soft);
   padding-bottom: 10px;
   margin-bottom: 14px;
}

.docs-heading {
   font-size: 20px;
   font-weight: 600;
   color: var(--text-main);
   display: flex;
   flex-wrap: wrap;
   align-items: center;
   gap: 8px;
}

.docs-heading .docs-time {
   font-size: 11px;
   text-transform: uppercase;
   letter-spacing: 0.08em;
   padding: 2px 8px;
   border-radius: 999px;
   border: 1px solid var(--border-soft);
   background: rgba(0, 191, 255, 0.06);
   color: var(--text-subtle);
}

.docs-intro p {
   margin-bottom: 0;
   color: var(--text-muted);
   line-height: 1.7;
   font-size: 14px;
}

.section-heading {
   font-size: 17px;
   font-weight: 600;
   margin-bottom: 8px;
   padding-bottom: 4px;
   color: var(--primary);
   position: relative;
}

.section-heading::after {
   content: "";
   position: absolute;
   left: 0;
   bottom: 0;
   width: 48px;
   height: 2px;
   border-radius: 999px;
   background: var(--primary);
}

p {
   font-size: 14px;
   line-height: 1.7;
   color: var(--text-muted);
}

.text-info {
   color: var(--primary) !important;
   font-weight: 500;
}

.text-warning {
   color: var(--accent) !important;
   font-weight: 500;
}

a {
   color: var(--link);
   text-decoration: none;
   transition: color 0.12s ease, opacity 0.12s ease;
}

a:hover {
   color: var(--link-hover);
   text-decoration: none;
   opacity: 0.95;
}

/* THEME TOGGLE BAR */
.theme-toggle-bar {
   display: flex;
   justify-content: flex-end;
   align-items: center;
   gap: 8px;
   margin-bottom: 14px;
   font-size: 13px;
   color: var(--text-subtle);
}

.theme-toggle-btn {
   border-radius: 999px;
   border: 1px solid var(--border-soft);
   padding: 4px 10px;
   font-size: 12px;
   background: transparent;
   color: var(--text-muted);
   cursor: pointer;
   transition: all 0.12s ease;
}

.theme-toggle-btn:hover {
   background: rgba(0, 191, 255, 0.08);
   color: var(--text-main);
}

.theme-toggle-btn.active {
   background: var(--primary);
   color: #000000;
   border-color: transparent;
   box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35);
}

/* TABLES – clean & readable */
.table-responsive {
   border-radius: 10px;
   border: 1px solid var(--border-soft);
   box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
   background: var(--bg-surface);
}

.table {
   margin-bottom: 0;
   border-collapse: separate;
   border-spacing: 0;
   color: var(--text-main);
   background: transparent;
}

.table thead th {
   border: 0;
   white-space: nowrap;
   padding: 12px 14px !important;
   font-size: 13px;
   font-weight: 600;
   text-transform: uppercase;
   letter-spacing: 0.06em;
   background: var(--table-head-bg);
   color: var(--table-head-text);
}

.table thead th:first-child {
   border-top-left-radius: 10px;
}

.table thead th:last-child {
   border-top-right-radius: 10px;
}

.table-striped > tbody > tr:nth-of-type(2n+1) > * {
   --bs-table-accent-bg: var(--table-row-odd) !important;
   background-color: var(--table-row-odd) !important;
   border: 0;
   padding: 12px 14px !important;
   font-size: 14px;
}

thead,
tbody,
tfoot,
tr,
td,
th {
   border: 0;
   --bs-table-accent-bg: transparent;
   padding: 12px 14px !important;
   font-size: 14px;
   color: var(--text-main);
}

.table tbody tr {
   border-bottom: 1px solid var(--border-soft);
   transition: background-color 0.12s ease;
}

.table tbody tr:last-child {
   border-bottom: none;
}

.table tbody tr:nth-of-type(2n) {
   background-color: var(--table-row-even);
}

.table tbody tr:hover {
   background-color: var(--table-row-hover);
}

.table tbody th[scope="row"] {
   font-weight: 600;
   color: var(--primary);
   white-space: nowrap;
}

/* BUTTONS */
.btn {
   border-radius: 999px;
   font-size: 14px;
   font-weight: 500;
   padding: 8px 18px;
   display: inline-flex;
   align-items: center;
   gap: 6px;
   border-width: 1px;
   transition: all 0.15s ease;
   box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.btn svg {
   width: 14px;
   height: 14px;
}

.btn-primary {
   background: var(--btn-primary-bg);
   border-color: transparent;
   color: var(--btn-primary-text);
}

.btn-primary:hover,
.btn-primary:focus {
   background: var(--btn-primary-bg-hover);
   color: var(--btn-primary-text);
   transform: translateY(-1px);
   box-shadow: 0 10px 22px rgba(0, 0, 0, 0.5);
}

/* your special link */
#ertyertyerty {
   color: #FFFFFF;
   text-decoration: none;
}

#ertyertyerty:hover {
   text-decoration: underline;
}

/* MOBILE TWEAKS */
@media (max-width: 991.98px) {
   .docs-content .docs-article {
      padding: 18px 14px;
   }

   .docs-heading {
      font-size: 18px;
   }

   .theme-toggle-bar {
      justify-content: flex-start;
   }
}

@media (max-width: 575.98px) {
   .docs-heading {
      flex-direction: column;
      align-items: flex-start;
   }

   .btn {
      width: 100%;
      justify-content: center;
   }
}

/* Integration code copy button styles */
.copy-button {
  display: none;
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
}

.code-container:hover .copy-button {
  display: block;
}
