* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background-color: #0A122A;
}

nav {
  display: flex;
  height: 65px;
  width: 100%;
  background: #000000;
  align-items: center;
  justify-content: space-between;
  padding: 0 50px;
  position: relative;
  z-index: 1000;
  border-bottom-left-radius: 1rem;
  border-bottom-right-radius: 1rem;
}

nav .logo {
  color: #fff;
  font-size: 35px;
  font-weight: 600;
}

nav ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
}


nav ul li {
  margin: 0 5px;
}


nav ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  padding: 8px 15px;
  border-radius: 5px;
  transition: all 0.3s ease;
  cursor: pointer;

}


nav ul li a:hover {
  color: #1b1b1b;
  background: #fff;
}

input[type="checkbox"

] {
  display: none;
}

nav .menu-btn {
  display: none;
  color: #fff4e6;
  font-size: 22px;
  cursor: pointer;
}


@media (max-width: 920px) {
  nav .menu-btn {
    display: block;
  }

  nav ul {
    position: fixed;
    top: 80px;
    left: -100%;
    background: #000000;
    height: 100vh;
    width: 100%;
    text-align: center;
    display: block;
    transition: all 0.3s ease;
  }

  #click:checked~ul {
    left: 0;
  }

  nav ul li {
    margin: 40px 0;
  }

  nav ul li a {
    display: block;
    font-size: 20px;
  }
}

.content {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translate(-50%, 0);
  width: 100%;
  max-width: 600px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}


.search-container {
  display: flex;
  border: 1px solid #be9b7b;
  border-radius: 4px;
  background: #fff;
  overflow: hidden;
}

.search-container input {
  flex: 1;
  padding: 15px 20px;
  border: none;
  outline: none;
  font-size: 16px;
}


.search-container button {
  background: #000000;
  color: #fff;
  border: none;
  padding: 0 25px;
  cursor: pointer;
  font-size: 16px;
}

.search-container button:hover {
  background: #3c2f2f;
}

#results-list {
  width: 100%;
  max-height: 60vh;
  padding-bottom: 20px;
  overflow-y: auto;
}


.faq-item {
  background: #fff4e6;
  margin-bottom: 10px;
  border-radius: 5px;
  border-left: 5px solid #333;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  animation: fadeIn 0.3s ease-in-out;
}


.faq-question {
  background-color: #fff4e6;
  color: #333;
  cursor: pointer;
  padding: 15px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: 0.4s;
}

.faq-question:hover {
  background-color: #f1f1f1;
}

.faq-question i {
  transition: transform 0.3s ease;
}

.faq-question.active i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 15px;
  background-color: #fff4e6;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-answer p {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  margin-top: 10px;
}

.faq-tag {
  display: inline-block;
  background: #e0e0e0;
  color: #333;
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 10px;
  margin: 10px 0 15px 0;
  text-transform: uppercase;
  font-weight: 600;
}


   .copy-link-btn { 
    float: right;
     color: #999; 
     
     cursor: pointer;
      font-size: 14px;
       margin-top: 12px;
        transition: color 0.2s;
       }
    .copy-link-btn:hover { 
      color: #333; 
    }

    #react-root {
       margin-top: 20px; 
       text-align: center; 
      }
    .react-box { 
      background: #333; 
      color: white;
       padding: 15px; 
       border-radius: 8px;
        display: inline-block; 
      }
    .react-btn { 
      background: #00d2ff;
       border: none; 
       
       padding: 5px 10px; 
       border-radius: 4px;
        margin-left: 10px; 
        cursor: pointer;
         font-weight: bold; 
        }
    .react-btn:hover { 
      background: #00a0c4; 
    }


@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
