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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: #f4f7f9;
  color: #333;
  min-height: 100vh;
}

.container {
  text-align: center;
  padding: 4rem 2rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.container h1 {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 2rem;
}

.container button {
  padding: 1rem 2rem;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  transition: all 0.3s ease;
}

.container button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

#form-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  max-width: 1200px;
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 2rem;
  text-align: center;
}

header h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  font-weight: 300;
}

#progress-bar-container {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  height: 8px;
  overflow: hidden;
}

#progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #4CAF50, #45a049);
  border-radius: 10px;
  transition: width 0.3s ease;
  width: 0%;
}

main#question-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 4rem 2rem;
  min-height: 60vh;
}

h2#question-text {
  font-size: 2rem;
  margin-bottom: 3rem;
  color: #2c3e50;
  text-align: center;
  line-height: 1.4;
  max-width: 800px;
}

#response-area {
  width: 100%;
  max-width: 500px;
  margin-bottom: 3rem;
}

#response-area input[type="text"],
#response-area input[type="date"],
#response-area input[type="number"] {
  width: 100%;
  padding: 1rem;
  border: 2px solid #e1e8ed;
  border-radius: 8px;
  font-size: 1.1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#response-area input[type="text"]:focus,
#response-area input[type="date"]:focus,
#response-area input[type="number"]:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

#response-area label {
  display: block;
  margin-bottom: 1rem;
  cursor: pointer;
  font-size: 1.1rem;
  padding: 1rem;
  border: 2px solid #e1e8ed;
  border-radius: 8px;
  transition: all 0.3s ease;
  background: #f8f9fa;
}

#response-area label:hover {
  background: #e9ecef;
  border-color: #667eea;
}

#response-area label input[type="radio"] {
  margin-right: 0.8rem;
  transform: scale(1.2);
}

#response-area label:has(input[type="radio"]:checked) {
  background: #667eea;
  color: white;
  border-color: #667eea;
}

footer#navigation-buttons {
  padding: 2rem;
  background: #f8f9fa;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #e1e8ed;
}

.nav-btn {
  padding: 1rem 2rem;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 120px;
}

#next-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

#next-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

#prev-btn {
  background: #6c757d;
  color: white;
}

#prev-btn:hover {
  background: #5a6268;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
}

#completion-message {
  text-align: center;
  padding: 4rem 2rem;
}

#completion-message h2 {
  color: #28a745;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

#completion-message p {
  font-size: 1.2rem;
  color: #6c757d;
}

.page-container {
  width: 100%;
  max-width: 800px;
}

.question-container {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 1.5rem;
  border: 1px solid #e1e8ed;
}

.question-container h3 {
  font-size: 1.3rem;
  line-height: 1.4;
  font-weight: 500;
}

.input-container {
  margin-top: 1rem;
}

.input-container input[type="text"],
.input-container input[type="date"],
.input-container input[type="number"] {
  width: 100%;
  max-width: 400px;
  padding: 0.8rem;
  border: 2px solid #e1e8ed;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.input-container input[type="text"]:focus,
.input-container input[type="date"]:focus,
.input-container input[type="number"]:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.input-container label {
  display: block;
  margin-bottom: 0.8rem;
  cursor: pointer;
  font-size: 1rem;
  padding: 0.8rem;
  border: 2px solid #e1e8ed;
  border-radius: 6px;
  transition: all 0.3s ease;
  background: #fff;
  max-width: 400px;
}

.input-container label:hover {
  background: #e9ecef;
  border-color: #667eea;
}

.input-container label input[type="radio"] {
  margin-right: 0.8rem;
  transform: scale(1.1);
}

.input-container label:has(input[type="radio"]:checked) {
  background: #667eea;
  color: white;
  border-color: #667eea;
}

/* Responsive design */
@media (max-width: 768px) {
  header h1 {
    font-size: 2rem;
  }
  
  h2#question-text {
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }
  
  main#question-section {
    padding: 2rem 1rem;
  }
  
  footer#navigation-buttons {
    padding: 1rem;
  }
  
  .nav-btn {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    min-width: 100px;
  }
  
  .question-container {
    padding: 1rem;
  }
  
  .question-container h3 {
    font-size: 1.1rem;
  }
}

