@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

body {
  font-family: 'Outfit', sans-serif;
  background-color: #1586ba;
  color: white;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: white;
  text-decoration: none;
}

a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.content-box {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 40px;
  margin: 50px auto;
  max-width: 950px;
  width: 100%;
}

.content-box-sm {
  max-width: 500px;
}

.btn-theme {
  background-color: white;
  color: #1586ba;
  font-weight: bold;
  border-radius: 50px;
  padding: 15px 40px;
  font-size: 1.25rem;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-theme:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  color: #1586ba;
}

.btn-theme-secondary {
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  font-weight: bold;
  border-radius: 50px;
  padding: 10px 30px;
  border: none;
  transition: background-color 0.2s ease;
}

.btn-theme-secondary:hover {
  background-color: rgba(255, 255, 255, 0.3);
  color: white;
}

/* From index.html */
.main-content {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.form-control {
  margin-bottom: 15px;
  padding: 12px 15px;
  border-radius: 8px;
}

.footer {
  text-align: center;
  padding: 20px;
  font-size: 0.9em;
}

.footer a {
  color: #fff;
  text-decoration: underline;
  margin: 0 10px;
}

#result-container {
  display: none;
}

#loading-container,
#error-container {
  display: none;
  margin-bottom: 15px;
}

#qr-image {
  max-width: 100%;
  width: 400px;
  margin: 0 auto 15px;
  display: none;
}

/* From overtext.html */
.feature-box {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 25px;
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.2s ease;
}

.feature-box:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.hero-title {
  font-weight: 700;
  letter-spacing: -0.5px;
}

.check-list {
  list-style-type: none;
  padding-left: 0;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: #1586ba;
  font-weight: bold;
  background-color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.back-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}

.back-link:hover {
  color: white;
}

/* From privacy/terms.html */
.legal-content h4 {
  color: #8dd8ff;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

p,
li {
  opacity: 0.9;
  line-height: 1.6;
}
