html, body {
    height: 100%;
    width: 100%;
    /* overflow: hidden; */
    margin: 0;
    display: flex;
    flex-direction: column;
    font-family:"Plus Jakarta Sans", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-optical-sizing: auto;
    font-weight: 500;
    background-color:#FFFDEF;
    scroll-behavior: smooth;
}

.page-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.public-header {
    background-color: #ff2600;
    color: white;
    padding: 5px 10px;
    text-align: center;
    border-bottom: 2px solid #ccc;
    justify-content: center;
    position: relative;
    height: 3.5rem;

}

.public-title {
    /* font-weight: bold; */
    font-size: 1.2rem;
    margin:0;
    color: #f3f3f3;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* position: relative; */
    height: 3.5rem;
    /* padding: 0.2rem; */
}


.header-content > div {
    margin: 0 1rem; /* give space between blocks */
}


.brand-left {
    /* position: absolute;
    left: 5px; */
    display: flex;
    align-items: center;
    gap: 6px;
}

.brand-left img {
    height: 64px;
    width: auto;
}

.menu-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.product-name {
    font-size: 1.7rem;
    font-weight: 700;
    color: white;
}

.line {
    background: var(--#444746);
    height:2px;
    width:100%;
}

.public-layout {
    display: flex;
    flex: 1;
    overflow: hidden;
    flex-wrap: nowrap;
    min-height: 0;
}

.menu-item {
    /* margin: 10px 0; */
    padding: 10px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s;
}
.menu-item:hover {
    background-color:#c30101;
}

.menu-item a,
.menu-link {
    color: white;
    text-decoration: none;
    display: block;
    width: 100%;
    height: 100%;
    font-size: larger;
}

.menu-item button {
    background:none; 
    border:none; 
    padding:0; 
    font:inherit; 
    cursor:pointer;
    justify-content: left;
    display: flex;
    font-size: larger;
}

.menu-link.active {
    font-weight: bold;
    color: #fff;
}


.mainbar {
    flex: 1;
    padding: 2rem;
    overflow-y: auto;
    background-color: white;
    display: flex;
    flex-direction: column;
    /* justify-content: space-between; */
    
}

.mainbar-header {
    display: flex;
    align-items: center;
    gap:1rem;
    /* margin-bottom: 1rem; */
}

.page-link {
    padding: 6px 12px;
    background-color: #E70000;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.page-link:hover {
    background-color: #c30101;
}


.footer {
    text-align: center;
    padding: 1rem;
    background-color: #C50000;
    font-size: 0.9rem;
    min-height: 50px;

}
.footer .version {
    margin: 0.5rem 0 0;
    color: white;
}

.footer .icons-link {
    color:white
}

@media (max-width: 768px) {
    .public-layout {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        flex-direction: row;
        justify-content: space-evenly;
    }

    .mainbar {
        padding: 1rem;
    }
}

@media (max-width: 1024px) {
    .sidebar {
        width: 150px;
    }
}

/* Container */
.hero-container {
  max-width: 1200px;
  /* margin: 5rem auto; */
  padding: 2rem;
}

/* Row Layout */
.hero-content {
  display: flex;
  flex-wrap: wrap;
  border: 1px solid #ddd;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  overflow: hidden;
  align-items: center;
  background-color: #ff2600;
}

/* Text Column */
.hero-text {
  flex: 1 1 60%;
  padding: 2rem;
  text-align: center !important;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: bold;
  line-height: 1.2;
  color: #fff6f0;
  margin-bottom: 1rem;
  margin-top: 1rem;
}

.hero-description {
  font-size: 1.1rem;
  color: #fff6f0;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* Buttons */
.btn {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.btn-primary { 
  background-color: #281712;
  color: white; 
  text-decoration: none;
} 

.btn-primary:hover {
  background-color: #ba8474;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
  }

  .hero-text {
    flex: 1 1 100%;
  }

  .hero-text {
    padding: 1.5rem;
  }
  
}

.divider {
    width: 100%;
    height: 0.5rem;
    background-color: #ba8474;
    border: solid rgba(0, 0, 0, .15);
    border-width: 1px 0;
    box-shadow: inset 0 .5em 1.5em #0000001a, inset 0 .125em .5em #00000026;
}

.installation-title{
    text-align: center;
}

.documentation-title{
    text-align: center;
}

.installation-table {
    margin: 0 auto;
    max-width: 600px;
    border-collapse: collapse;
    width: 100%;
    border: 1px solid #ccc;
}

.installation-table th,
.installation-table td {
    border: 1px solid #ccc;
    padding: 1rem;
    background-color: #fff;
}

.installation-table th {
    background-color: #281712;
    color: #fff;
}

.documentation-container {
    display: flex;
    flex-wrap: wrap;
    /* gap: 2rem; */
    justify-content: center;
       /* max-width: 960px; */
    /* margin: 4rem auto; */
    /* padding: 1rem; */
}

.documentation-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin: 2rem 0;
     padding: 1rem;
    border: 1px solid #ccc;
    border-radius: 12px;
    background-color: #fff;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    flex-wrap: nowrap;
}

.documentation-card.left {
  flex-direction: row;
}

.documentation-card.right {
  flex-direction: row-reverse;
}

.documentation-card img {
    /* width: 120px;
    height: 120px;
    object-fit: contain; */
    width: 200px;
    height: auto;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.documentation-subtitle{
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    font-weight: bold;
}

.documenation-description{
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    font-weight: bold;
}

.documentation-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.documentation-description-works,
.documentation-description-popup,
.documentation-description-whitelist {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
}


.documentation-text ol {
  padding-left: 1.2rem;
}

@media (max-width: 768px) {
  .documentation-card {
    flex-direction: column !important;
    text-align: center;
  }

  .documentation-card img {
    width: 100%;
    max-width: 300px;
    margin-bottom: 1rem;
  }

  .documentation-text {
    text-align: left;
  }
}