* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #f4f6f9;
  color: #1a1a2e;
  min-height: 100vh;
  font-size: 17px;
}

#app { max-width: 800px; margin: 0 auto; padding: 20px; }

.view { display: none; }
.view.active { display: block; }

.card {
  background: #fff;
  border-radius: 12px;
  padding: 36px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  margin-bottom: 20px;
}

.landing-card { text-align: center; padding: 60px 36px; }
.landing-card h1 { font-size: 32px; margin-bottom: 16px; line-height: 1.3; }
.subtitle { font-size: 17px; color: #1a1a2e; margin-bottom: 10px; line-height: 1.5; }

.btn-group { margin-top: 24px; display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.btn-wrapper { text-align: center; }
.btn-desc { font-size: 14px; color: #777; margin-top: 10px; max-width: 260px; line-height: 1.5; }
.subtitle strong, .btn-desc strong { color: #1a1a2e; }

.btn {
  padding: 14px 32px;
  border: none;
  border-radius: 8px;
  font-size: 17px;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-primary { background: #1a1a2e; color: #fff; }
.btn-primary:hover { background: #2d2d4e; }

.btn-secondary {
  background: transparent;
  color: #1a1a2e;
  border: 2px solid #1a1a2e;
}
.btn-secondary:hover { background: #f0f0f5; }

.btn-link {
  background: transparent;
  color: #666;
  text-decoration: underline;
  padding: 12px 8px;
  font-size: 15px;
}
.btn-link:hover { color: #1a1a2e; }

input[type="text"], input[type="password"] {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  margin-bottom: 14px;
  outline: none;
  transition: border-color 0.2s;
}
input[type="text"]:focus, input[type="password"]:focus { border-color: #1a1a2e; }

.error-msg { color: #d32f2f; font-size: 15px; margin-bottom: 12px; display: none; }

.session-info {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px;
  color: #666;
}

.progress-bar-container {
  height: 10px; background: #e0e0e0; border-radius: 5px; margin-bottom: 28px; overflow: hidden;
}
.progress-bar { height: 100%; background: #1a1a2e; border-radius: 5px; transition: width 0.3s ease; }

.question { margin-bottom: 28px; padding-bottom: 18px; border-bottom: 1px solid #eee; }
.question:last-child { border-bottom: none; }

.question-stem { font-size: 17px; font-weight: 600; margin-bottom: 8px; line-height: 1.5; }
.question-as-of { font-size: 13px; color: #999; margin-bottom: 8px; }

.education-wrap { margin-bottom: 8px; }
.toggle-btn {
  color: #1a1a2e; font-weight: 600; font-size: 13px;
  cursor: pointer; padding: 4px 0; margin-bottom: 4px;
}
.education-text {
  font-size: 15px; color: #555; line-height: 1.5;
  max-height: 6em; overflow: hidden;
}
.education-wrap.expanded .education-text { max-height: none; }

.options { margin-top: 12px; }
.option { display: flex; align-items: flex-start; margin-bottom: 10px; cursor: pointer; }
.option input[type="checkbox"] {
  margin-right: 12px; margin-top: 4px; flex-shrink: 0;
  width: 18px; height: 18px;
}
.option label { font-size: 16px; line-height: 1.5; cursor: pointer; }

.other-input { display: none; margin-left: 30px; margin-top: -4px; margin-bottom: 14px; }
.other-input.visible { display: block; }
.other-input input { width: 100%; padding: 10px 14px; border: 1px solid #ddd; border-radius: 6px; font-size: 15px; }

/* Bigger button descriptions */
.btn-desc { font-size: 16px; color: #555; margin-top: 10px; max-width: 280px; line-height: 1.5; }
 

.toggle-btn-bottom { display: none; }
.education-wrap.expanded .toggle-btn-bottom { display: block; }
