/* ==========================================================================
   DOLLARHUGE - LEGAL & PARTNER PAGES DESIGN SYSTEM
   Modern, responsive, glassmorphic layout for legal docs & B2B partner pages.
   Supports Dark/Light modes, Sticky TOC, Print styles, & Responsive design.
   ========================================================================== */

:root {
  --doc-primary: #00b894;
  --doc-primary-hover: #00a383;
  --doc-primary-glow: rgba(0, 184, 148, 0.2);
  --doc-primary-light: rgba(0, 184, 148, 0.12);
  --doc-secondary: #0984e3;
  --doc-secondary-light: rgba(9, 132, 227, 0.12);
  --doc-accent: #6c5ce7;
  --doc-accent-light: rgba(108, 92, 231, 0.12);
  --doc-warning: #fdcb6e;
  --doc-warning-light: rgba(253, 203, 110, 0.15);
  --doc-danger: #d63031;
  --doc-danger-light: rgba(214, 48, 49, 0.12);

  /* Light Theme */
  --doc-bg-body: #f8fafc;
  --doc-card-bg: #ffffff;
  --doc-card-bg-elevated: #ffffff;
  --doc-card-border: rgba(226, 232, 240, 0.9);
  --doc-border-subtle: #edf2f7;
  --doc-text-main: #0f172a;
  --doc-text-muted: #64748b;
  --doc-text-soft: #94a3b8;
  --doc-surface-hover: #f1f5f9;
  --doc-input-bg: #f8fafc;
  --doc-code-bg: #f1f5f9;
  --doc-shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --doc-shadow-md: 0 8px 24px rgba(15, 23, 42, 0.07);
  --doc-shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.1);
  --doc-radius-sm: 10px;
  --doc-radius-md: 16px;
  --doc-radius-lg: 24px;
}

.theme--dark {
  --doc-bg-body: #0b0f19;
  --doc-card-bg: #131926;
  --doc-card-bg-elevated: #1a2234;
  --doc-card-border: rgba(255, 255, 255, 0.08);
  --doc-border-subtle: rgba(255, 255, 255, 0.05);
  --doc-text-main: #f8fafc;
  --doc-text-muted: #94a3b8;
  --doc-text-soft: #64748b;
  --doc-surface-hover: #1e293b;
  --doc-input-bg: #0f1523;
  --doc-code-bg: #0d131f;
  --doc-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --doc-shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --doc-shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.5);
}

/* Base resets & typography */
body {
  background-color: var(--doc-bg-body) !important;
  color: var(--doc-text-main);
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
}

#app {
  background: var(--doc-bg-body);
}

/* ==========================================================================
   HERO BANNER
   ========================================================================== */
.doc-hero-wrap {
  position: relative;
  padding: 130px 0 45px 0;
  overflow: hidden;
  text-align: center;
}

.doc-hero-wrap::before {
  content: "";
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 420px;
  background: radial-gradient(circle, rgba(0, 184, 148, 0.16) 0%, rgba(9, 132, 227, 0.12) 50%, transparent 72%);
  filter: blur(75px);
  pointer-events: none;
  z-index: 0;
}

.theme--dark .doc-hero-wrap::before {
  background: radial-gradient(circle, rgba(0, 184, 148, 0.22) 0%, rgba(9, 132, 227, 0.18) 50%, transparent 72%);
  filter: blur(85px);
}

.doc-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Status Pill */
.hero-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: 30px;
  font-size: 0.825rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  margin-bottom: 20px;
  background: rgba(0, 184, 148, 0.12);
  color: #00a884;
  border: 1px solid rgba(0, 184, 148, 0.25);
  box-shadow: 0 2px 10px rgba(0, 184, 148, 0.1);
  text-transform: uppercase;
}

.theme--dark .hero-status-pill {
  background: rgba(0, 184, 148, 0.2);
  color: #55efc4;
  border-color: rgba(0, 184, 148, 0.35);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00b894;
  box-shadow: 0 0 0 0 rgba(0, 184, 148, 0.7);
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(0, 184, 148, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(0, 184, 148, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 184, 148, 0); }
}

.doc-hero-title {
  font-size: 2.85rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  color: var(--doc-text-main);
}

@media (max-width: 768px) {
  .doc-hero-title {
    font-size: 2.15rem;
  }
}

.highlight-text {
  background: linear-gradient(135deg, #00b894 0%, #0984e3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.doc-hero-subtitle {
  font-size: 1.125rem;
  color: var(--doc-text-muted);
  max-width: 720px;
  margin: 0 auto 24px auto;
  line-height: 1.65;
  font-weight: 400;
}

/* Metadata Chips */
.doc-meta-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.doc-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--doc-card-bg);
  border: 1px solid var(--doc-card-border);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--doc-text-muted);
  box-shadow: var(--doc-shadow-sm);
}

.doc-meta-chip i {
  font-size: 15px;
  color: var(--doc-primary);
}

/* Document Action Buttons */
.doc-action-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.doc-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid var(--doc-card-border);
  background: var(--doc-card-bg);
  color: var(--doc-text-main);
  box-shadow: var(--doc-shadow-sm);
  text-decoration: none !important;
}

.doc-action-btn:hover {
  border-color: var(--doc-primary);
  color: var(--doc-primary);
  transform: translateY(-2px);
  box-shadow: var(--doc-shadow-md);
}

.doc-action-btn i {
  font-size: 16px;
}

/* ==========================================================================
   AT A GLANCE / HIGHLIGHTS GRID
   ========================================================================== */
.doc-highlights-wrap {
  margin-bottom: 40px;
}

.doc-highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

@media (max-width: 1024px) {
  .doc-highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .doc-highlights-grid {
    grid-template-columns: 1fr;
  }
}

.doc-highlight-card {
  background: var(--doc-card-bg);
  border: 1px solid var(--doc-card-border);
  border-radius: var(--doc-radius-md);
  padding: 22px 20px;
  transition: all 0.25s ease;
  box-shadow: var(--doc-shadow-sm);
  position: relative;
  overflow: hidden;
}

.doc-highlight-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 184, 148, 0.4);
  box-shadow: var(--doc-shadow-md);
}

.doc-highlight-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--doc-primary-light);
  color: var(--doc-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.doc-highlight-icon i {
  font-size: 22px;
}

.doc-highlight-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--doc-text-main);
}

.doc-highlight-desc {
  font-size: 0.825rem;
  color: var(--doc-text-muted);
  line-height: 1.5;
  margin: 0;
}

/* ==========================================================================
   DOCUMENT LAYOUT (TWO COLUMNS: TOC + BODY)
   ========================================================================== */
.doc-layout-grid {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
  margin-bottom: 80px;
}

@media (max-width: 992px) {
  .doc-layout-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Sticky TOC Sidebar */
.doc-sidebar-sticky {
  position: sticky;
  top: 96px;
  z-index: 10;
}

.doc-toc-card {
  background: var(--doc-card-bg);
  border: 1px solid var(--doc-card-border);
  border-radius: var(--doc-radius-md);
  padding: 22px;
  box-shadow: var(--doc-shadow-sm);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.doc-toc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--doc-border-subtle);
}

.doc-toc-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--doc-text-soft);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.doc-toc-title i {
  font-size: 16px;
  color: var(--doc-primary);
}

/* Reading progress inside TOC */
.doc-progress-wrap {
  width: 100%;
  height: 4px;
  background: var(--doc-border-subtle);
  border-radius: 4px;
  margin-bottom: 16px;
  overflow: hidden;
}

.doc-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--doc-primary), var(--doc-secondary));
  transition: width 0.1s ease;
}

/* TOC Navigation List */
.doc-toc-nav {
  max-height: calc(100vh - 270px);
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: var(--doc-text-soft) transparent;
}

.doc-toc-nav::-webkit-scrollbar {
  width: 4px;
}

.doc-toc-nav::-webkit-scrollbar-thumb {
  background: var(--doc-text-soft);
  border-radius: 4px;
}

.doc-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.doc-toc-item {
  margin-bottom: 4px;
}

.doc-toc-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.825rem;
  font-weight: 500;
  color: var(--doc-text-muted);
  text-decoration: none !important;
  transition: all 0.2s ease;
  line-height: 1.4;
  border-left: 2px solid transparent;
}

.doc-toc-link:hover {
  color: var(--doc-primary);
  background: var(--doc-surface-hover);
  padding-left: 14px;
}

.doc-toc-link.active {
  color: var(--doc-primary);
  font-weight: 700;
  background: var(--doc-primary-light);
  border-left: 2px solid var(--doc-primary);
  padding-left: 14px;
}

.doc-toc-number {
  font-size: 0.725rem;
  font-weight: 700;
  color: var(--doc-text-soft);
  min-width: 18px;
}

.doc-toc-link.active .doc-toc-number {
  color: var(--doc-primary);
}

/* Sidebar Quick Help Card */
.doc-sidebar-help {
  margin-top: 16px;
  padding: 16px;
  border-radius: 12px;
  background: var(--doc-surface-hover);
  border: 1px dashed var(--doc-card-border);
  text-align: center;
}

.doc-sidebar-help-title {
  font-size: 0.825rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--doc-text-main);
}

.doc-sidebar-help-text {
  font-size: 0.75rem;
  color: var(--doc-text-muted);
  margin-bottom: 10px;
}

.doc-sidebar-help-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--doc-primary);
  color: #ffffff !important;
  text-decoration: none !important;
  transition: background 0.2s ease;
}

.doc-sidebar-help-btn:hover {
  background: var(--doc-primary-hover);
}

/* Mobile Quick TOC Toggle */
.doc-mobile-toc-toggle {
  display: none;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 18px;
  background: var(--doc-card-bg);
  border: 1px solid var(--doc-card-border);
  border-radius: var(--doc-radius-md);
  margin-bottom: 18px;
  cursor: pointer;
  color: var(--doc-text-main);
  font-weight: 600;
  font-size: 0.9rem;
}

@media (max-width: 992px) {
  .doc-mobile-toc-toggle {
    display: flex;
  }
  .doc-sidebar-sticky {
    display: none;
  }
  .doc-sidebar-sticky.mobile-open {
    display: block;
    position: static;
    margin-bottom: 24px;
  }
}

/* ==========================================================================
   MAIN CONTENT STREAM
   ========================================================================== */
.doc-content-container {
  background: var(--doc-card-bg);
  border: 1px solid var(--doc-card-border);
  border-radius: var(--doc-radius-lg);
  padding: 40px 48px;
  box-shadow: var(--doc-shadow-md);
}

@media (max-width: 768px) {
  .doc-content-container {
    padding: 24px 20px;
    border-radius: var(--doc-radius-md);
  }
}

/* Document Sections */
.doc-section {
  scroll-margin-top: 105px;
  padding-bottom: 36px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--doc-border-subtle);
}

.doc-section:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.doc-section-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.doc-section-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--doc-primary-light);
  color: var(--doc-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.doc-section-icon i {
  font-size: 20px;
}

.doc-section-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--doc-text-main);
  margin: 0;
  letter-spacing: -0.3px;
}

@media (max-width: 768px) {
  .doc-section-title {
    font-size: 1.25rem;
  }
}

.doc-content-container p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--doc-text-muted);
  margin-bottom: 16px;
}

.doc-content-container p strong {
  color: var(--doc-text-main);
}

.doc-content-container h5,
.doc-content-container h6 {
  color: var(--doc-text-main);
  font-weight: 700;
  margin-top: 24px;
  margin-bottom: 12px;
}

.doc-content-container h5 {
  font-size: 1.15rem;
}

.doc-content-container h6 {
  font-size: 1rem;
}

.doc-content-container ul,
.doc-content-container ol {
  padding-left: 24px;
  margin-bottom: 20px;
  color: var(--doc-text-muted);
}

.doc-content-container li {
  margin-bottom: 10px;
  line-height: 1.65;
  font-size: 0.925rem;
}

.doc-content-container li strong {
  color: var(--doc-text-main);
}

.doc-content-container a {
  color: var(--doc-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.doc-content-container a:hover {
  color: var(--doc-secondary);
}

/* ==========================================================================
   CALLOUT BOXES & ALERT CARDS
   ========================================================================== */
.doc-callout {
  border-radius: var(--doc-radius-sm);
  padding: 18px 22px;
  margin: 22px 0;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  border-left: 4px solid;
}

.doc-callout-icon {
  font-size: 22px;
  flex-shrink: 0;
  margin-top: 2px;
}

.doc-callout-content {
  font-size: 0.9rem;
  line-height: 1.6;
}

.doc-callout-content p {
  margin: 0;
  font-size: 0.9rem !important;
}

.doc-callout-content strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

/* Callout Variants */
.doc-callout-info {
  background: var(--doc-secondary-light);
  border-left-color: var(--doc-secondary);
  color: var(--doc-secondary);
}
.doc-callout-info .doc-callout-content p {
  color: var(--doc-text-main);
}
.doc-callout-info strong {
  color: var(--doc-secondary);
}

.doc-callout-warning {
  background: var(--doc-warning-light);
  border-left-color: var(--doc-warning);
  color: #b7791f;
}
.theme--dark .doc-callout-warning {
  color: #f6e05e;
}
.doc-callout-warning .doc-callout-content p {
  color: var(--doc-text-main);
}
.doc-callout-warning strong {
  color: #b7791f;
}
.theme--dark .doc-callout-warning strong {
  color: #f6e05e;
}

.doc-callout-danger {
  background: var(--doc-danger-light);
  border-left-color: var(--doc-danger);
  color: var(--doc-danger);
}
.doc-callout-danger .doc-callout-content p {
  color: var(--doc-text-main);
}
.doc-callout-danger strong {
  color: var(--doc-danger);
}

.doc-callout-success {
  background: var(--doc-primary-light);
  border-left-color: var(--doc-primary);
  color: var(--doc-primary);
}
.doc-callout-success .doc-callout-content p {
  color: var(--doc-text-main);
}
.doc-callout-success strong {
  color: var(--doc-primary);
}

/* ==========================================================================
   DATA TABLES & RETENTION SCHEDULES
   ========================================================================== */
.doc-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--doc-card-border);
  border-radius: var(--doc-radius-md);
  margin: 22px 0;
  box-shadow: var(--doc-shadow-sm);
}

.doc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  text-align: left;
}

.doc-table th {
  background: var(--doc-surface-hover);
  padding: 14px 18px;
  font-weight: 700;
  color: var(--doc-text-main);
  border-bottom: 1px solid var(--doc-card-border);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
}

.doc-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--doc-border-subtle);
  color: var(--doc-text-muted);
  vertical-align: top;
}

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

.doc-table tr:hover td {
  background: var(--doc-surface-hover);
}

.doc-table .tag-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.725rem;
  font-weight: 600;
  background: var(--doc-primary-light);
  color: var(--doc-primary);
}

/* ==========================================================================
   INTERACTIVE CARDS & FORMS (DSAR / ADVERTISER)
   ========================================================================== */
.doc-form-card {
  background: var(--doc-surface-hover);
  border: 1px solid var(--doc-card-border);
  border-radius: var(--doc-radius-md);
  padding: 28px;
  margin: 24px 0;
}

.doc-form-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--doc-text-main);
}

.doc-form-subtitle {
  font-size: 0.85rem;
  color: var(--doc-text-muted);
  margin-bottom: 20px;
}

.doc-input-field {
  margin-bottom: 18px;
}

.doc-input-field label {
  display: block;
  font-size: 0.825rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--doc-text-main);
}

.doc-input {
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid var(--doc-card-border);
  background: var(--doc-card-bg);
  color: var(--doc-text-main);
  font-size: 0.9rem;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.doc-input:focus {
  outline: none;
  border-color: var(--doc-primary);
  box-shadow: 0 0 0 3px var(--doc-primary-light);
}

textarea.doc-input {
  min-height: 100px;
  resize: vertical;
}

.doc-btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  background: linear-gradient(135deg, var(--doc-primary), #00a884);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.925rem;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(0, 184, 148, 0.35);
}

.doc-btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 184, 148, 0.45);
}

.doc-btn-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

/* ==========================================================================
   ADVERTISER METRICS & PIPELINE
   ========================================================================== */
.adv-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 28px 0;
}

@media (max-width: 768px) {
  .adv-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.adv-metric-card {
  background: var(--doc-card-bg);
  border: 1px solid var(--doc-card-border);
  border-radius: var(--doc-radius-md);
  padding: 20px;
  text-align: center;
  box-shadow: var(--doc-shadow-sm);
}

.adv-metric-val {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.1;
  background: linear-gradient(135deg, var(--doc-primary), var(--doc-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 4px;
}

.adv-metric-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--doc-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Code Snippet Box */
.doc-code-box {
  background: var(--doc-code-bg);
  border: 1px solid var(--doc-card-border);
  border-radius: 10px;
  padding: 16px 20px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.85rem;
  color: var(--doc-text-main);
  position: relative;
  overflow-x: auto;
  margin: 16px 0;
}

.doc-code-copy-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--doc-card-border);
  background: var(--doc-card-bg);
  font-size: 0.75rem;
  cursor: pointer;
  color: var(--doc-text-muted);
  transition: all 0.2s ease;
}

.doc-code-copy-btn:hover {
  color: var(--doc-primary);
  border-color: var(--doc-primary);
}

/* ==========================================================================
   FLOATING BACK TO TOP BUTTON
   ========================================================================== */
.doc-back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--doc-primary);
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 184, 148, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

.doc-back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.doc-back-to-top:hover {
  transform: translateY(-3px);
  background: var(--doc-primary-hover);
  box-shadow: 0 6px 22px rgba(0, 184, 148, 0.55);
}

/* ==========================================================================
   PRINT STYLES
   ========================================================================== */
@media print {
  #preloader,
  header.header,
  .sidenav,
  .footer-counter,
  .doc-hero-wrap::before,
  .doc-sidebar-sticky,
  .doc-action-bar,
  .doc-back-to-top,
  .doc-mobile-toc-toggle {
    display: none !important;
  }

  body, #app, .doc-content-container {
    background: #ffffff !important;
    color: #000000 !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
  }

  .doc-hero-wrap {
    padding: 20px 0 !important;
  }

  .doc-layout-grid {
    display: block !important;
  }

  .doc-section {
    page-break-inside: avoid;
  }
}
