html {
    scroll-behavior: smooth;

}

body {
    font-size: 15px;
    line-height: 1.7;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

img {
    max-width: 800px;
    border: 1px solid #eee;
}

h3, .h3 {
    margin-top: 1rem !important;
    margin-bottom: 1.5rem !important;
    font-size: 2rem;
}

.page-wrapper {
    min-width: 980px;
}

.row-main {
    padding: 1.5rem !important;
}

.seperator {
    display: block;
    width: 100%;
    max-width: 1180px !important;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.1);
}

.alert .fa {
    font-size: 1.2rem;
}

.font-16 {
    font-size: 16px;
}

.logo {
    float: left;
    height: 40px;
    width: auto;
}

.sidebar-menu {
    margin-top: 30px;
    padding-top: 50px;
}

.sidebar-menu .nav-link {
    padding: 8px 30px !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.sidebar-menu .nav-link:hover, .sidebar-menu .nav-link:focus {
    background-color: #fff !important;
}

.sidebar-menu .nav-link.active {
    background-color: #e3e3e3 !important;
}

.top-header {
    padding: 8px;
}

.main-title {
    font-size: 2rem;
    text-align: center;
}

.main-title span {
    font-size: 1.6rem;
    color: #888;
}

.sub-main-title {
    font-size: 1.4rem;
    text-align: center;
    color: #888;
    font-weight: 300;
    margin-bottom: 60px;
}

.item-content {
    display: block;
    width: 100%;
    display: block;
    margin-bottom: 60px;
    padding-top: 60px;
}

.item-content .content-inner {
    max-width: 1180px;
}

.item-content .title {
    margin-top: 1rem !important;
    margin-bottom: 1.5rem !important;
    font-size: 1.6rem;
}

.item-sub-content {
    display: block;
    width: 100%;
    padding-top: 60px;
}

.item-sub-content .title {
    margin-top: 30px;
    margin-bottom: 15px !important;
    font-size: 1.5rem;
}

.m-t-60 {
    margin-top: 60px;
}

.m-t-45 {
    margin-top: 45px;
}

.m-t-30 {
    margin-top: 30px;
}

.m-t-15 {
    margin-top: 15px;
}

.m-b-15 {
    margin-bottom: 15px;
}

.highlight {
    background-color: #f8f9fa;
    padding: 20px;
    color: #333;
}

pre[class*="language-"] {
    border: 0 !important;
    padding: 1.5rem !important;
    background: #f8f9fa !important;
    margin-bottom: 30px !important;
}

.bd-navbar {
    position: fixed;
    top: 0;
    z-index: 1071;
    width: 100%;
    min-width: 980px;
}

.bd-navbar {
    min-height: 3rem;
    background-color: #394959;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .05), inset 0 -1px 0 rgba(0, 0, 0, .1);
}

.item-brand {
    width: 400px;
    height: auto;
    margin: 0 auto;
}

.visit-link {
    color: #fff !important;
    outline: 0 !important;
    float: right;
    margin-top: 8px;
}

.light-theme .sidebar-wrapper {
    background-color: #f9f9f9;
}

.page-wrapper.toggled .page-content {
    padding-left: 280px !important;
}

.light-theme .sidebar-wrapper .sidebar-item:first-child {
    border-top: none;
}

.light-theme .sidebar-wrapper a:not(.dropdown-item), .light-theme .sidebar-wrapper .sidebar-header, .light-theme .sidebar-wrapper .sidebar-search input, .light-theme .sidebar-wrapper .sidebar-search i {
    color: #444;
}

.sidebar-wrapper .sidebar-menu {
    padding-bottom: 60px;
}

.sidebar-wrapper .sidebar-menu p {
    padding: 8px 30px !important;
    margin-bottom: 0;
    font-size: 1rem;
}

.sidebar-wrapper .sidebar-content {
    max-height: 100% !important;
    height: 100% !important;
    overflow-y: scroll;
    position: relative;
}

.subtitle {
    font-size: 16px;
    font-weight: bold;
    margin-top: 30px;
}

ul li, ol li {
    margin-bottom: 10px;
}

/*Prism Theme*/
.token.property, .token.tag, .token.boolean, .token.number, .token.constant, .token.symbol, .token.deleted {
    color: #069;
}

.token.regex, .token.important, .token.variable {
    color: #0a8;
}


/* =======================
   TMZ Software Theme Layer
   (non-breaking overrides; safe to paste after your current CSS)
   ======================= */

:root{
  /* Brand palette (easy to tweak) */
  --tmz-bg: #0e1726;            /* dark slate / header */
  --tmz-bg-soft: #111827;       /* softer dark background */
  --tmz-surface: #ffffff;       /* cards / content */
  --tmz-text: #0f172a;          /* main text */
  --tmz-text-muted: #6b7280;    /* secondary text */
  --tmz-primary: #0ea5e9;       /* sky blue accent */
  --tmz-primary-600: #0284c7;   /* hover/pressed */
  --tmz-primary-700: #0369a1;
  --tmz-accent: #22c55e;        /* secondary accent (success) */
  --tmz-border: rgba(0,0,0,.08);
  --tmz-shadow: 0 10px 24px rgba(2, 132, 199, .08), 0 2px 6px rgba(0,0,0,.06);
  --tmz-radius: 16px;
  --tmz-radius-sm: 12px;
  --tmz-radius-xs: 10px;
  --tmz-spacing: 1rem;
}

/* Global base tweaks */
body{
  color: var(--tmz-text);
  background: #f7fafc;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a{
  color: var(--tmz-primary);
  text-decoration: none;
}
a:hover,
a:focus{
  color: var(--tmz-primary-600);
  text-decoration: underline;
}

/* Navbar to match tmz-software.com dark header */
.bd-navbar{
  background: var(--tmz-bg) !important;
  box-shadow: 0 8px 26px rgba(2, 132, 199, 0.06), inset 0 -1px 0 rgba(255,255,255,0.04);
}
.visit-link{
  background: transparent;
  border: 1px solid rgba(255,255,255,.18);
  padding: .5rem .9rem;
  border-radius: var(--tmz-radius-xs);
  transition: all .2s ease;
}
.visit-link:hover{
  background: rgba(255,255,255,.08);
}

/* Sidebar */
.light-theme .sidebar-wrapper{
  background: #f8fafc;
  border-right: 1px solid var(--tmz-border);
}
.sidebar-wrapper .sidebar-menu p{
  color: var(--tmz-text);
  font-weight: 600;
}
.sidebar-menu .nav-link{
  border-left: 3px solid transparent;
  border-radius: 10px;
}
.sidebar-menu .nav-link:hover{
  background: #fff !important;
  border-left-color: var(--tmz-primary);
}
.sidebar-menu .nav-link.active{
  background: #eaf6ff !important;
  border-left-color: var(--tmz-primary);
  color: #0b3e57 !important;
}

/* Page content & cards */
.page-wrapper.toggled .page-content{
  padding-left: 280px !important;
}
.item-content .content-inner{
  background: var(--tmz-surface);
  border: 1px solid var(--tmz-border);
  border-radius: var(--tmz-radius);
  padding: calc(var(--tmz-spacing) * 1.5);
  box-shadow: var(--tmz-shadow);
}
.seperator{
  background: var(--tmz-border);
}

/* Headings */
.main-title{
  font-weight: 700;
  letter-spacing: -.02em;
}
.main-title span{
  color: var(--tmz-text-muted);
}
.sub-main-title{
  color: var(--tmz-text-muted);
}

/* Buttons (generic) */
.btn, .button, .visit-link, a.btn{
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border-radius: var(--tmz-radius-xs);
}
.btn-primary, .button.primary{
  background: var(--tmz-primary);
  border-color: var(--tmz-primary);
  color: #fff;
}
.btn-primary:hover,
.button.primary:hover{
  background: var(--tmz-primary-600);
  border-color: var(--tmz-primary-600);
  color: #fff;
}

/* Code blocks */
pre[class*="language-"]{
  background: #f3f8fc !important;
  border: 1px solid var(--tmz-border) !important;
  border-radius: var(--tmz-radius-sm);
}

/* Images */
img{
  max-width: 100%;
  border-radius: var(--tmz-radius-sm);
  border: 1px solid var(--tmz-border);
}

/* Tables */
.table{
  border-color: var(--tmz-border);
}
.table thead th{
  background: #f1f5f9;
  color: var(--tmz-text);
  border-bottom: 1px solid var(--tmz-border);
}
.table td, .table th{
  border-color: var(--tmz-border);
}

/* Alerts */
.alert{
  border-radius: var(--tmz-radius-sm);
  border: 1px solid var(--tmz-border);
  box-shadow: 0 4px 12px rgba(0,0,0,.04);
}

/* Widgets inside sidebar/content */
.widget, .card{
  background: var(--tmz-surface);
  border: 1px solid var(--tmz-border);
  border-radius: var(--tmz-radius);
  box-shadow: var(--tmz-shadow);
  padding: calc(var(--tmz-spacing) * 1.25);
}

/* Utility */
.shadow-soft{ box-shadow: var(--tmz-shadow) !important; }
.rounded-xl{ border-radius: var(--tmz-radius) !important; }
.rounded-lg{ border-radius: var(--tmz-radius-sm) !important; }
.text-muted{ color: var(--tmz-text-muted) !important; }
.border-soft{ border: 1px solid var(--tmz-border) !important; }

/* Optional: smooth section anchors offset under fixed navbar */
:target::before{
  content: "";
  display: block;
  height: 80px;
  margin-top: -80px;
  visibility: hidden;
}



/* === Patch: Dark background for page-wrapper + white content === */
.page-wrapper {
  background: #0e1726; /* dark slate */
  color: #f1f5f9;
  min-height: 100vh;
}

.page-wrapper .page-content {
  background: #ffffff;
  color: #0f172a;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  padding: 2rem;
  margin: 2rem;
}
