/* Base styles */
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #f9f9f9;
  color: #333;
  overflow-x: hidden;
}

.container {
  padding: 1rem;
  max-width: 40.625rem;
  margin: auto;
}

footer {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.8rem;
  color: #888;
}

/* Hero + QR */
.hero {
  text-align: center;
  padding-top: 2rem;
}

.hero h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.hero p {
  font-size: 1rem;
  color: #666;
}

.qr-code {
  margin: 2rem auto;
  padding: 10px;
  width: 180px;
  height: 210px;
  background: #0077cc;
  border-radius: 8px;
}

.qr-code img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

/* Toggle Section */
.toggle-section {
  background: #fff;
  margin: 1rem auto;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  padding: 1rem;
}

.toggle-button {
  width: 100%;
  background-color: #0077cc;
  color: white;
  padding: 0.75rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  text-align: left;
}

.toggle-button:hover {
  background-color: #005fa3;
}

/* Toggle each section */
/* .toggle-section.expanded .intro-content {
  display: block;
}

.toggle-section.expanded .howto-content {
  display: block;
}

.toggle-section.expanded .faq-content {
  display: block;
} */

.toggle-content {
  display: none;
}

.toggle-content.expanded {
  display: block;
}


/* Intro Section */
.intro-content {
  display: none;
}

.terms-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.terms-table th, .terms-table td {
  border: 1px solid #ddd;
  padding: 0.6rem;
  text-align: left;
}

.terms-table th {
  background-color: #f0f8ff;
  color: #333;
}

.terms-table td {
  background-color: #fafafa;
}

/* How To section*/
.howto-content {
  max-width: 15.25rem;
  margin: 2rem auto;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 0 6px rgba(0,0,0,0.1);
}

.howto-content {
  display: none;
}

/* Carousel Layout */
.carousel-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 1rem;
}

.arrow-btn {
  font-size: 1.8rem;
  background: none;
  border: none;
  cursor: pointer;
}

.arrow-btn.hidden {
  visibility: hidden;
}

.role-toggle {
  display: flex;
  gap: 0.5rem;
}

.role-btn {
  padding: 0.4rem 0.75rem;
  font-size: 1rem;
  border: 1px solid #0077cc;
  background: #fff;
  color: #0077cc;
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.role-btn.active {
  background: #0077cc;
  color: white;
}

.slides-container {
  overflow: hidden;
}

.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  flex: 0 0 100%;
  padding: 1rem;
  box-sizing: border-box;
  min-height: 1px; /* prevents collapsing */
  max-height: 31rem;
}

.slide img {
  max-width: 100%;
  max-height: 80%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: contain;
  margin-bottom: 0.5rem;    /* vertical spacing under image */
}

.navigation-dots {
  text-align: center;
  margin-top: 1rem;
}

.navigation-dots span {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: #ccc;
  border-radius: 50%;
  margin: 0 3px;
}

.navigation-dots .active {
  background: #0077cc;
}

/* FAQ section*/
.faq-content {
  max-width: 26.25rem;
  margin: 2rem auto;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 0 6px rgba(0,0,0,0.1);
}

.faq-content {
  display: none;
}


@media (max-width: 480px) {
  .slides-container {
    max-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  .slide {
    flex: 0 0 100%;
    box-sizing: border-box;
    padding: 0.5rem;
    height: 100%;
  }

  .slide img {
    max-height: 100%;
    width: auto;
    margin: auto;
    object-fit: contain;
  }

  .arrow-btn {
    font-size: 1.5rem;
    padding: 0.3rem;
  }

  #role-toggle {
    font-size: 0.9rem;
    padding: 0.3rem 0.4rem;
  }

  .carousel-controls {
    padding: 0.25rem 0.5rem;
    gap: 0.5rem;
  }

  .navigation-dots span {
    width: 8px;
    height: 8px;
    margin: 0 2px;
  }
}

/* @media (min-width: 481px) and (max-width: 1024px) {
  .container {
    max-width: 720px;
    padding: 1.5rem;
  }

  .slide {
    padding: 1rem 2rem;
  }

  .slide img {
    max-height: 60vh;
    border-radius: 10px;
  }

  .carousel-controls {
    gap: 1.5rem;
    padding: 0.75rem 1.25rem;
  }

  .arrow-btn {
    font-size: 2rem;
    padding: 0.5rem;
  }

  #role-toggle {
    font-size: 1rem;
    padding: 0.4rem 0.6rem;
  }

  .navigation-dots span {
    width: 12px;
    height: 12px;
    margin: 0 4px;
  }

  .intro-toggle {
    font-size: 1rem;
    padding: 0.75rem;
  }

  .terms-table th, .terms-table td {
    font-size: 0.95rem;
    padding: 0.6rem;
  }
}
 */
