@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');
:root {
  --bg: #ffffff;
  --surface: #f7f2fa;
  --primary: #b37ac9;
  --text: #000;
  --muted: #6b6b6b;
  --border: #e5d9ee;
}
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family: "Outfit", sans-serif;;
  color: var(--text);
  background: #0F0639;
  line-height: 1.6;
}
.container {
  width: 1540px;
  margin: 0 auto;
}
img {
  width: 100%;
  height: auto;
  margin: 20px 0px;
}
.doc-header{
  background: #82458A;
}
.doc-header-main-box {
  color: #fff;
  border-radius: 0px;
  width: 100%;
  justify-content: space-between;
  display: flex;
  margin-top: 0px;
}
.doc-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.doc-header h1 {
  margin: 0;
  font: 600 26px/26px Outfit;
  position: relative;
  padding: 30px;
}
option {
  color: #000;
}
.doc-header-main-box img{
  height: 30px;
  width: 30px;
  top: 5px;
  position: relative;
}
.header-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-controls select,
.header-controls button {
  border-radius: 10px;
  border: none;
}
.header-controls select {
  padding: 10px 10px;
  border-radius: 0px;
  width: 30px;
  font-weight: 300;
  font-family: 'Outfit';
  color: transparent;
  position: absolute;
  background: #ff000000;
  left: 0;
  top: 0;
  bottom: 0;
  height: 30px;
  align-self: center;
}
.goog-te-gadget {
  font-family: arial;
  font-size: 0px !important;
  color: #666;
  white-space: nowrap;
}
.skiptranslate span img{
  display: none;
}
.VIpgJd-ZVi9od-l4eHX-hSRGPd{
  font-size: 0px !important;
}
.support-note{
  color: #fff;
  font: 300 18px / 20px Outfit;
}
.doc-buy-btn a {
  background: #fff;
  color: #0F0639;
  font: 600 18px / 18px Outfit;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration:none;
  cursor: pointer;
}
#google_translate_element {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 0;
  bottom: 0;
}
.goog-te-gadget .goog-te-combo {
  margin: 4px 0;
  padding: 6px 20px;
cursor: pointer;
}
.doc-buy-btn a:hover{
  background: linear-gradient(90deg, #2A2E72 0%, #722659 100%);
  color: #fff;
}
.font-controls button {
  padding: 0 10px;
  background: transparent;
  color: #0F0639;
  cursor: pointer;
  box-shadow: none;
  border: none;
  font-weight: 600;
  font-family: 'Outfit';
}
.font-controls button:nth-child(2){
  font-size: 20px;
  line-height: 20px;
}
.social-box a{
  margin-right: 2px;
}
.social-box a i {
  font-size: 16px;
  font-family: 'FontAwesome';
  font-weight: 400;
  text-align: center;
  color: #000;
  background: #fff;
  border-radius: 50px;
  width: 32px;
  height: 32px;
  line-height: 32px;
}
.social-box a i:hover{
  color: #fff;
  background: #AC81DA;  
}
.font-controls {
  background: #fff;
  border-radius: 6px;
  padding: 8px 12px;
  line-height: 0px;
}
.doc-main {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 50px;
  margin: 45px auto;
}
.sidebar {
  border-radius: 16px;
  border: none;
  height: fit-content;
  position: sticky;
  top: 16px;
  max-height: calc(100vh - 32px);
}
.search input {
  width: 280px;
  padding: 10px 12px;
  border-radius: 6px;
  border: none;
  outline: none;
  font: 300 14px / 14px Outfit;
}
.search {
  border-radius: 50px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  position: relative;
}
.search i {
  background: #0F0639;
  font-size: 16px;
  border-radius: 6px;
  font-family: 'FontAwesome';
  font-weight: 400;
  text-align: center;
  color: #fff;
  cursor: pointer;
  position: absolute;
  right: 4px;
  top: 0;
  bottom: 0;
  align-self: center;
  padding: 8px;
}
.search input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(179, 122, 201, .2);
}
#toc {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 14px;
  background: linear-gradient(90deg, #F3F5FF 0%, #FFFAFE 100%);
  padding: 20px;
  border-radius: 6px;
}
.toc-link {
  text-align: left;
  padding: 14px 20px;
  border-radius: 50px;
  border: 0px solid transparent;
  background: transparent;
  cursor: pointer;
  color: #0F0639;
  font: 600 18px / 18px Outfit;
  width: 100%;
  display: flex;
  justify-content: space-between;
}
.toc-link:hover {
  background: linear-gradient(90deg, #2A2E72 0%, #722659 100%);
  color: #fff;
  border-radius: 6px;
}
.toc-link.active {
  border-radius: 6px;
  font-weight: 500;
  font-family: 'Outfit';
  background: linear-gradient(90deg, #2A2E72 0%, #722659 100%);
  color: #fff;
}
.toc-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.toc-link.parent,.toc-link.system-req-box {
  font-weight: 500;
  font-family: 'Outfit';
}
.submenu {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 10px;
  margin: 8px 0px 0px 8px
}
.toc-group.collapsed .submenu {
  display: none;
}
.toc-sublink {
  text-align: left;
  padding: 12px 12px;
  border-radius: 6px;
  border: 0px solid transparent;
  background: transparent;
  cursor: pointer;
  color: #000;
  width: 100%;
  font-weight: 400;
  font-family: 'Outfit';
}
.toc-sublink:hover {
  background: #fff;
  border-color: var(--border);
  color: var(--text);
}
.toc-sublink.active {
  background: linear-gradient(123.56deg, var(--senary-theme-color) 0%, var(--septenary-theme-color) 98.86%);
  color: var(--text);
  box-shadow: 0 0px 5px 0px #0f0639;
  width: 98%;
}
#system-requirement {
  padding: 0px 0px 30px 0px;
}
.doc-section {
  display: block;
}
/* No longer hide sections on click; scroll only */
.doc-section.hidden {
  display: block;
}
.doc-section h2 {
  display: flex;
  color: #fff;
  font: 600 18px / 18px Outfit;
  width: 31%;
  background: #82458A;
  padding: 10px 10px;
}
.doc-section h2 img{
  width: auto;
  height: auto;
  margin: 0 10px 0 0;
  object-fit: contain;
}
p {
  font-weight: 400;
  font-family: 'Outfit';
  color: #fff;
}
li{
  color: #fff;
}
#system-requirement ul{
  list-style-type: none;
  padding: 0;
  font-weight: 400;
  font-family: 'Outfit';
  margin: 0;
}
.doc-section h3 {
  /* margin: 0px; */
  font-weight: 600;
  font-family: 'Outfit';
  color: #fff;
}
a {
  color: #fff;
}
.toc-group .submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
/* Show submenu only when .toc-link.parent has .active */
.toc-group:has(.toc-link.parent.active) .submenu {
  max-height: 100%; /* adjust height as needed */
  height: 100%;
  overflow-y: scroll;
}
.configration-box .submenu{
  height: 320px !important;
}
/* Optional: rotate arrow when active */
.toc-group:has(.toc-link.parent.active) .toc-link i {
  transform: rotate(90deg);
  transition: transform 0.3s ease;
}
.toc-group .toc-link.parent.active i{
  transform: rotate(90deg);
}
.footer-content-box p{
  margin: 0px;
}
#return-to-top {
  position: fixed;
  background: #722659;
  width: 45px;
  height: 45px;
  line-height: 45px;
  border-radius: 50%;
  text-align: center;
  transform: translate(50%, 50%);
  top: 90%;
  right: 5%;
}
@media screen and (max-width: 1599px){
  .container{
    width: auto;
    padding: 0 10px;
  }
  .doc-header h1 {
    font: 600 22px / 22px Outfit;
    padding: 20px 10px;
  }
  .support-note {
    font: 600 18px / 20px Outfit;
  }
}
@media screen and (max-width: 1199px){
  .container {
    width: auto;
    margin: 0 20px;
  }
  .doc-header-main-box{
    flex-direction: column;
  }
  .header-controls{
    justify-content: center;
  }
  .doc-header h1{
    text-align: center;
  }
  .doc-section h2{
    width: 45%;
  }
}
@media screen and (max-width:1024px) and (min-width: 768px){
  .doc-main{
    margin: 45px 20px;
  }
  .doc-header-main-box{
    padding: 0 20px;
  }
  .doc-header h1{
    padding: 20px;
  }
  .doc-main {
    grid-template-columns: 300px 1fr;
    gap: 20px;
  }
  .doc-section h2 {
    width: 85%;
  }
  .doc-social-box {
    flex-direction: column;
  }
}
@media screen and (max-width: 767px){
  .sidebar {
    position: static;
  }
  .footer-content-box p {
    font-size: 16px;
  }
  .sidebar {
    max-height: unset;
    width: fit-content;
    margin: 20px auto;
  }
  .doc-main {
    display: grid;
    grid-template-columns: auto;
  }
  .doc-header h1 {
    padding: 20px 0px;
  }
  .doc-header-main-box{
    padding: 0px 20px;
  }
}
@media screen and (max-width: 575px){
  .doc-section h2 {
    width: 100%;
  }
  .footer-content-box{
    flex-direction: column;
  }
  .doc-header-main-box{
    display: block;
    text-align: center;
    border-radius: 20px;
  }
  .header-controls {
    justify-content: center;
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
  }
  .doc-social-box{
    flex-direction: column;
  }
  #system-requirement{
    padding: 0px 20px;
  }
  .content{
    padding: 20px;
  }
}
