.checklist-container {
  /* width: 80%;
  margin: 2rem auto; */
  display: flex;
  gap: 2rem;
  background: #f4f7fb;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  font-family: 'Segoe UI', sans-serif;
  font-size: 1rem;
}

.form-section {
  flex: 0.4;
  background: white;
  padding: 1.5rem;
  border-radius: 1rem;
}

.output-section {
  flex: 0.6;
  background: #fff;
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid #ddd;
  color: #555;
  overflow-y: auto;
  /* max-height: 80vh; */
}

h2 {
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
  color: #333;
}

.emoji {
  margin-right: 0.5rem;
}

.form-grid {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

label {
  margin-bottom: 0.3rem;
  font-weight: 500;
}

input[type="text"],
select {
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  font-size: 0.9rem;
}

.radio-group {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

button {
  margin-top: 1rem;
  padding: 0.65rem 1.5rem;
  background-color:#005ecc;
  color: white;
  border: none;
  border-radius: 2rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: 0.95rem;
}

button:hover {
  background-color:rgb(73, 135, 206);
}

.input {
  width: 100%;
  padding: 0.5rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  margin-top: 0.25rem;
}

.btn {
  margin-top: 1rem;
  margin-right: 0.5rem;
  padding: 0.5rem 1rem;
  background: crimson;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
}

.btn:hover {
  background: darkred;
}
.checklist-output h1,
.checklist-output h2,
.checklist-output h3 {
  font-size: 20px !important;
  margin-bottom: 10px !important;
  margin-top: 0 !important;
  font-weight: 600;
}

.checklist-output p,
.checklist-output li {
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 5px;
}

.checklist-output ol {
  padding-left: 20px;
  margin: 0;
}
.loading-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255, 255, 255, 0.8);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: sans-serif;
}

.spinner {
  border: 6px solid #f3f3f3;
  border-top: 6px solid #6a00ff;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
  margin-bottom: 10px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@media (max-width: 768px) {
  .checklist-container {
    flex-direction: column;
  }

  .form-section,
  .output-section {
    width: 100%;
    margin: 0;
    padding: 0rem;
  }

  .form-group, .default-output-message, .checklist-output {
    padding: 0.6rem;
  }
  
}
