/* =====================================
   EMOLL DOCUMENTATION STYLE SYSTEM
===================================== */

:root {
  --emoll-primary: #F05A4F;
  --emoll-primary-hover: #e14d43;
  --emoll-dark-green: #1F4F3F;
  --emoll-bg: #F6F7F9;
  --emoll-white: #ffffff;
  --emoll-black: #111111;
  --emoll-text: #4B5563;
  --emoll-border: #E5E7EB;
  --emoll-radius: 8px;
}

/* ================= RESET ================= */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  height: 100%;
  overflow: hidden;
  /* prevent body scroll */
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--emoll-bg);
  color: var(--emoll-black);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  /* prevent page scroll */
}

/* ================= TYPOGRAPHY ================= */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  color: var(--emoll-black);
  line-height: 1.3;
  margin-bottom: 16px;
}

h1 {
  font-size: 34px;
  font-weight: 700;
}

h2 {
  font-size: 26px;
}

h3 {
  font-size: 20px;
}

h4 {
  font-size: 18px;
}

h5 {
  font-size: 16px;
}

h6 {
  font-size: 14px;
  font-weight: 500;
  color: var(--emoll-text);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

p {
  font-size: 15px;
  color: var(--emoll-text);
  margin-bottom: 16px;
}

ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

li {
  font-size: 15px;
  color: var(--emoll-text);
  margin-bottom: 6px;
}

/* ================= CONTAINER ================= */

.container {
  width: 100%;
  margin: 0 auto;
}

/* ================= HEADER ================= */

.top-header {
  background: var(--emoll-white);
  border-bottom: 1px solid var(--emoll-border);
  position: fixed;
  /* changed from sticky */
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
}

.logo a {
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
  color: var(--emoll-black);
  letter-spacing: 1px;
}

/* ================= BUTTONS ================= */

.header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.btn {
  padding: 8px 16px;
  border-radius: var(--emoll-radius);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  gap: 5px;
  align-items: center;
  justify-content: center;
  text-align:center;
}
.btn-outline:hover .wrap-icon svg{
  transition: all 0.3s ease;
}

.btn-outline {
  border: 1px solid var(--emoll-border);
  background: var(--emoll-white);
  color: var(--emoll-black);
}
.svg-wrapper {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;
}

.btn-outline:hover {
  border-color: var(--emoll-primary);
  color: var(--emoll-primary);
}
.btn-outline:hover .wrap-icon svg{
  fill: var(--emoll-primary);
}

.btn-primary {
  background: var(--emoll-primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--emoll-primary-hover);
}

/* ================= MOBILE TOGGLE ================= */

.mobile-toggle {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
}

/* ================= LAYOUT ================= */

.layout {
  display: flex;
  flex: 1 1 auto;
  height: calc(100vh - 118px);
  /* header + footer */
  margin-top: 100px;
  /* header height */
  overflow: hidden;
  /* prevent layout scrolling */
}

/* ================= SIDEBAR ================= */

.sidebar {
  width: 260px;
  background: var(--emoll-white);
  padding: 40px 24px;
  border-right: 1px solid var(--emoll-border);
  height: 100%;
  overflow-y: auto;
  /* only sidebar scrolls internally */
  position: relative;
  scrollbar-width: none;
}

.sidebar-mobile-header {
  display: none;
  float: right;
  align-items: center;
}

.sidebar-close {
  background: var(--emoll-bg);
  border: 1px solid #c0c0c0;
  cursor: pointer;
  padding: 1%;
  width: 32px;
  height: 32px;
  border-radius: 10px;
}

.sidebar h3 {
  font-size: 13px;
  color: var(--emoll-text);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.sidebar a {
  display: block;
  padding: 8px 0;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  color: var(--emoll-text);
  transition: 0.3s ease;
  word-break: break-word;
}

.sidebar a:hover {
  color: var(--emoll-primary);
}

.sidebar a.active {
  font-weight: 600;
  color: var(--emoll-primary);
}

/* ================= CONTENT ================= */

.content-area {
  flex: 1;
  padding: 60px;
  width: 100%;
  max-width: 1400px;
  height: 100%;
  overflow-y: auto;
  /* only content scrolls */
  scrollbar-width: none;
  padding-bottom: 0;
}

.page-title {
  margin-bottom: 40px;
}

.doc-section {
  margin-bottom: 20px;
  background: var(--emoll-white);
  padding: 30px;
  border-radius: var(--emoll-radius);
  border: 1px solid var(--emoll-border);
  width: 100%;
}

.doc-section-image img {
  width: 100%;
  border-radius: var(--emoll-radius);
}

.doc-section-image {
  margin-bottom: 40px;
  background: var(--emoll-white);
  padding: 15px;
  border-radius: var(--emoll-radius);
  border: 1px solid var(--emoll-border);
  width:max-content;
  margin-top: 20px;
   max-width:100%;
}

/* ================= FOOTER ================= */

.footer {
  text-align: center;
  padding: 20px;
  background: #f6f7f9;
  color: #000000;
  font-size: 13px;
}

/* ================= OVERLAY ================= */

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
  z-index: 998;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ================= MOBILE BUTTONS ================= */

.header-actions-mobile {
  display: none;
}

.mobile-btn {
  width: 100%;
  text-align: center;
}

.footer-copyright-text {
  margin: 0;
  color: var(--emoll-black);
}
.mobile-toggle{
  width:2rem;
  height:2rem;
}
/* ================= RESPONSIVE ================= */

/* Large Tablet */
@media (max-width: 1200px) {
  .content-area {
    padding: 40px;
  }
}

/* Tablet & Mobile Drawer */
@media (max-width: 992px) {

  .mobile-toggle {
    display: block;
  }

  .header-actions {
    display: none;
  }

  .layout {
    flex-direction: column;
  }

  .sidebar {
    position: fixed;
    top: 98px;
    left: -280px;
    height: calc(100% - 98px);
    transition: 0.3s ease;
    z-index: 999;
    overflow-y: auto;
    padding: 24px;
  }

  .sidebar.active {
    left: 0;
  }

  .sidebar-mobile-header {
    display: flex;
    position: sticky;
    top: 0;
  }

  .content-area {
    padding: 30px;
  }

  .header-actions-mobile {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 30px;
  }
}

/* Mobile */
@media (max-width: 768px) {

  h1 {
    font-size: 26px;
  }

  h2 {
    font-size: 22px;
  }

  h3 {
    font-size: 18px;
  }

  .content-area {
    padding: 20px;
  }

  .doc-section {
    padding: 20px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {

  body {
    font-size: 14px;
  }

  h1 {
    font-size: 22px;
  }

  h2 {
    font-size: 20px;
  }
}

.gradient-text {
  background: linear-gradient(90deg, rgb(4 4 4), #f05a4f 97.13%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.sections-layout {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 60px;
}

/* Center Image */
.sections-center img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid #eee;
}

/* Columns */
.sections-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Buttons */
.section-btn {
  display: block;
  padding: 18px;
  border-radius: 10px;
  border: 1px solid #e5e5e5;
  text-decoration: none;
  color: #000;
  background: #fff;
}
.wrap-icon{
  vertical-align:middle;
  
}
.section-btn h4 {
  margin-bottom:0;
  font-size: 16px;
}

.section-btn span {
  font-size: 13px;
  color: #666;
}

@media (max-width: 1024px) {
  .sections-layout {
    grid-template-columns: 1fr;
  }

  .sections-center {
    order: -1;
    margin-bottom: 30px;
  }
}
/* Quick Installation Highlight Box */

.highlight-box {
    display: flex;
    gap: 18px;
    padding: 22px 24px;
    margin: 25px 0;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.08);
    background: linear-gradient(135deg,#f8fafc,#ffffff);
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}

.highlight-icon {
    font-size: 28px;
    line-height: 1;
}

.highlight-content h3 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 18px;
    font-weight: 600;
}

.highlight-content p {
    margin: 6px 0;
}

.highlight-content ul {
    margin-top: 10px;
    padding-left: 18px;
}

.quick-install-box {
    border-left: 5px solid var(--emoll-primary);
}