html {
  scroll-behavior: smooth;
}

body * {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans',
    'Helvetica Neue', sans-serif;
  box-sizing: border-box;
}

p,
li {
  font-size: 1.1em;
  line-height: 1.5;
}

h1 {
  font-size: 2em;
}

h2 {
  font-size: 1.5em;
}

.privacy-notice {
  /* padding: 12px; */
  margin-top: 20px;
  font-size: 0.8em;
  color: #aaa;
  /* background-color: #eee; */
  border-radius: 8px;
  border-color: #666;
  display: flex;
  align-items: center;
  width: 100%;
}

video {
  mix-blend-mode: normal;
}

.container {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
}

.container.wifi {
  max-width: 360px;
}

.container.manual {
  margin-left: 250px;
}

.step {
  padding-bottom: 50px;
  margin-bottom: 50px;
  border-bottom: 1px solid #ccc;
}

.step.noborder {
  border-bottom: 0px;
}

.input-group {
  margin-bottom: 15px;
}

label {
  display: block;
  margin-bottom: 5px;
  color: #666;
}

input,
select {
  width: 100%;
  padding: 12px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
}

button {
  background-color: #4caf50;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
}

button:hover {
  background-color: #45a049;
}

#qrcode {
  width: 256px;
  height: 256px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: #eee;
  color: #bbb;
  margin: 0 auto;
}

.input-group.checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
}

.input-group.checkbox input {
  width: auto;
}

.input-group.checkbox label {
  margin: 0;
}

.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  width: 250px;
  height: 100vh;
  background: #f5f5f5;
  padding: 20px;
  overflow-y: auto;
}

.nav-content ul {
  list-style: none;
  padding-left: 0;
}

.nav-content ul ul {
  padding-left: 15px;
}

.nav-content a {
  display: block;
  padding: 8px 0;
  color: #333;
  text-decoration: none;
  font-size: 0.9em;
}

.nav-content a:hover {
  color: #4caf50;
}

.roman-list {
  list-style-type: upper-roman;
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  cursor: pointer;
}

@media (max-width: 768px) {
  .container.manual {
    margin-left: 0;
  }

  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 999;
  }

  .sidebar.active {
    transform: translateX(0);
  }

  .mobile-nav-toggle {
    display: block;
  }

  .container {
    margin-left: 0;
    padding-top: 50px;
  }
}
