/* Application specific styles */

/* Full-screen gradient background using provided SVG */
.bg {
  background: url('../assets/bg.svg') no-repeat center center / cover;
  color: #FFFFFF;
  min-height: 100vh;
}

/* Container centers content on narrow screens */
.container {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.logo {
  width: 160px;
  align-self: center;
  margin-bottom: 24px;
}

h1, h2, h3 {
  margin-bottom: 16px;
  font-weight: 600;
}

p {
  margin-bottom: 16px;
  line-height: 1.4;
}

/* Buttons */
.btn {
  background-color: #10C489;
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  padding: 14px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  margin-top: 16px;
  display: inline-block;
}

/* Link style for secondary actions */
.link {
  color: #10C489;
  text-decoration: underline;
  font-size: 14px;
  margin-top: 12px;
  text-align: center;
}

/* Input fields */
input[type="text"],
input[type="tel"],
input[type="email"] {
  width: 100%;
  padding: 14px;
  margin-top: 12px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
}

/* Checkbox wrapper */
.checkbox {
  display: flex;
  align-items: center;
  margin-top: 50px;
  font-size: 16px;
}
.checkbox input { margin-right: 8px; }

/* Hamburger icon */
.hamburger {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 32px;
  height: 32px;
  z-index: 1000;
  cursor: pointer;
}

/* When menu is active, make hamburger white for visibility */
.menu-overlay.active ~ .hamburger {
  filter: brightness(0) invert(1);
}


/* Full screen menu overlay */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../assets/bg.svg') no-repeat center center / cover;
  display: none;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 0 40px;
  z-index: 999;
}
.menu-overlay.active { display: flex; }

.menu-item {
  color: #FFFFFF;
  font-size: 28px;
  margin-bottom: 32px;
}

/* Orientation overlay to block landscape */
.orientation-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.85);
  color: #FFFFFF;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 10000;
  padding: 20px;
}
.orientation-overlay.active {
  display: flex;
}

/* White card pages such as talk and speaker pages */
.white-page {
  background-color: #FFFFFF;
  color: #0A2540;
  min-height: 100vh;
}

.white-page .header {
  background: url('../assets/bg.svg') no-repeat center center / cover;
  color: #FFFFFF;
  padding: 20px;
  display: flex;
  align-items: center;
  position: relative;
}
.white-page .header h2 {
  margin-left: 40px;
  font-size: 20px;
}

.white-page .content {
  padding: 40px 20px;
  text-align: center;
}

.progress {
  margin-top: 24px;
  font-size: 18px;
  font-weight: 600;
  color: #10C489;
}

/* Speaker slider */
.speaker-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
}
.speaker-slider {
  display: flex;
  transition: transform 0.3s ease;
  width: 300%;
}
.speaker-card {
  flex: 1 0 100%;
  padding: 40px 20px;
  box-sizing: border-box;
}

.speaker-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  display: block;
}
.speaker-card h3 {
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 600;
}
.speaker-card p {
  font-size: 12px;
  line-height: 1.4;
  margin-bottom: 8px;
}
.speaker-card .talk-info {
  margin-top: 12px;
  font-size: 14px;;
  color: #3d45e0;
}

.nav-arrows {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}
.nav-arrows button {
  background-color: transparent;
  border: 2px solid #10C489;
  color: #10C489;
  width: 40px;
  height: 40px;
  border-radius: 20px;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Scan page */
.scanner-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.video-wrapper {
  width: 280px;
  height: 280px;
  background-color: #FFFFFF;
  border: 2px dashed #10C489;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}
.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.scan-status {
  margin-top: 20px;
  font-size: 18px;
  color: #FFFFFF;
}