@font-face {
  font-family: 'Roboto';
  src: url('../fonts/roboto.ttf') format('truetype');
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,
body {
  height: 100%;
  font-family: Roboto !important;
  background-color: #f5f5f5;
  color: #333;
}
.page-instructions-container {
  display: flex;
  max-width: 100%;
  min-height: calc(40vh);
  /* gap: 20px;*/
  padding: 0 0 0 20px;
}
.sidebar {
  width: 320px;
  flex-shrink: 0;
  position: sticky;
  top: 80px;
  height: fit-content;
  padding-right: 20px;
}
.sidebar .sidebar-search {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  border-radius: 4px;
  border: none;
  background: white;
}
.sidebar .sidebar-search .search-input {
  flex: 1;
  padding: 8px 12px;
  border: none;
  border-radius: 3px;
  font-size: 12px;
  background-color: white;
  font-family: Roboto;
}
.sidebar .sidebar-search .search-input::placeholder {
  color: #999;
}
.sidebar .sidebar-search .search-input:focus {
  outline: none;
}
.sidebar .sidebar-search .search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  border: none;
  background-color: white;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 36px;
}
.sidebar .sidebar-search .search-btn:hover {
  border-color: #ff9900;
  background-color: #fff9f0;
}
.sidebar .sidebar-search .search-btn .search-icon {
  font-size: 14px;
  filter: grayscale(1);
}
.sidebar .sidebar-section {
  margin-bottom: 0;
}
.sidebar .sidebar-section .sidebar-title-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 10px;
}
.sidebar .sidebar-section .sidebar-title-wrapper:hover {
  opacity: 0.8;
}
.sidebar .sidebar-section .sidebar-title-wrapper.open {
  background: white;
}
.sidebar .sidebar-section .sidebar-title-wrapper .sidebar-title {
  font-size: 14pt;
  font-weight: bold;
  color: darkgrey;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  margin-left: 40px;
  user-select: none;
}
.sidebar .sidebar-section .sidebar-title-wrapper .sidebar-title .icon {
  color: #000000;
  font-size: 25px;
}
.sidebar .sidebar-section .sidebar-title-wrapper .sidebar-title.active {
  color: black;
}
.sidebar .sidebar-section .sidebar-title-wrapper .sidebar-title.active .icon {
  color: #ff9900;
}
.sidebar .sidebar-section .sidebar-title-wrapper .sidebar-menu-toggle {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  user-select: none;
  transition: all 0.3s ease;
  flex-shrink: 0;
}
.sidebar .sidebar-section .sidebar-title-wrapper .sidebar-menu-toggle .toggle-arrow {
  display: inline-block;
  font-size: 16pt;
  color: #333;
  transition: transform 0.3s ease;
}
.sidebar .sidebar-section .sidebar-title-wrapper .sidebar-menu-toggle.expanded .toggle-arrow {
  transform: rotate(90deg);
  color: #ff9900;
}
.sidebar .sidebar-menu {
  list-style: none;
  margin-bottom: 0;
  padding-left: 10px;
  max-height: 500px;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  opacity: 1;
}
.sidebar .sidebar-menu.collapsed {
  max-height: 0;
  opacity: 0;
}
.sidebar .sidebar-menu .menu-item {
  margin-bottom: 0;
  position: relative;
  transition: all 0.3s ease;
  font-weight: bold;
  padding-left: 80px;
}
.sidebar .sidebar-menu .menu-item a {
  text-decoration: none;
  color: darkgrey;
  font-size: 14px;
  display: block;
  padding: 4px 0;
  transition: all 0.3s ease;
}
.sidebar .sidebar-menu .menu-item a:hover {
  color: #ff9900;
}
.sidebar .sidebar-menu .menu-item.active a {
  color: #ff9900;
  font-weight: bold;
}
.content-area {
  flex: 1;
  background-color: white;
  padding: 20px;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  min-height: 94vh;
}
.content-area .content-section {
  display: none;
  animation: fadeIn 0.3s ease;
}
.content-area .content-section.active {
  display: block;
}
.content-area .content-section .section-title {
  font-size: 24px;
  font-weight: bold;
  color: #ff9900;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.content-area .content-section .section-title mark {
  background-color: #fffacd;
  padding: 2px 4px;
  border-radius: 2px;
  font-weight: bold;
  color: #000;
}
.content-area .content-section .content-text {
  margin-bottom: 30px;
  line-height: 1.8;
  font-size: 14px;
  color: #333;
}
.content-area .content-section .content-text p {
  margin-bottom: 15px;
  text-align: justify;
}
.content-area .content-section .content-text mark {
  background-color: #fffacd;
  padding: 2px 4px;
  border-radius: 2px;
  font-weight: bold;
  color: #000;
}
.content-area .content-section .content-image {
  margin: 40px 0;
  text-align: center;
}
.content-area .content-section .content-image img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.empty {
  width: 320px;
  min-height: 94vh;
  background: white;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 1400px) {
  
}
@media (max-width: 768px) {
  .page-instructions-container {
    flex-direction: column;
    margin-top: 50px;
    gap: 20px;
  }
  .sidebar {
    width: 100%;
    position: static;
  }
  .sidebar .sidebar-search {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    padding: 10px;
    background-color: white;
    border-radius: 4px;
  }
  .sidebar .sidebar-search .search-input {
    flex: 1;
    padding: 10px 12px;
    font-size: 13px;
  }
  .sidebar .sidebar-search .search-btn {
    min-width: 40px;
    padding: 10px 12px;
  }
  .sidebar .sidebar-menu {
    border-left: none;
    padding-top: 0;
    padding-left: 0;
  }
  .sidebar .sidebar-menu.collapsed {
    max-height: 0;
    opacity: 0;
  }
  .sidebar .sidebar-menu .menu-item {
    flex: 1;
    min-width: auto;
    margin-bottom: 8px;
    border-left: none !important;
    /*   padding-left: 0 !important;*/
  
  }
  .sidebar .sidebar-menu .menu-item a {
    padding: 10px 15px;
    border-radius: 4px;
    text-align: left;
    margin: 0;
  }
  .sidebar .sidebar-menu .menu-item.active a {
    color: #ff9900;
  }
  .content-area {
    padding: 20px;
  }
  .content-area .section-title {
    font-size: 18px;
  }
  .content-area .content-text {
    font-size: 13px;
    line-height: 1.6;
  }
  .empty {
    display: none;
  }
}
@media (max-width: 480px) {
  .page-instructions-container {
    margin-top: 20px;
  }
  .content-area {
    padding: 15px;
    border-radius: 0;
    box-shadow: none;
  }
  .content-area .section-title {
    font-size: 16px;
    margin-bottom: 20px;
  }
  .sidebar .sidebar-search {
    margin-bottom: 15px;
    padding: 0;
    border: 1px solid;
  }
  .sidebar .sidebar-search .search-input {
    font-size: 12px;
    padding: 8px 10px;
  }
  .sidebar .sidebar-search .search-btn {
    min-width: 36px;
    padding: 8px 10px;
  }
  .sidebar .sidebar-section {
    margin-bottom: 0;
  }
  .sidebar .sidebar-section .sidebar-title {
    font-size: 12px;
  }
  .sidebar .sidebar-menu .menu-item a {
    font-size: 16px;
    padding: 8px 12px;
  }
}
