body {
  font-family: Arial, sans-serif;
  background: linear-gradient(to right, #e3f2fd, #bbdefb);
  margin: 0;
  padding: 0;
}

.container {
  max-width: 600px;
  margin: 80px auto;
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

h1 {
  text-align: center;
  color: #0d47a1;
}

input {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #90caf9;
  border-radius: 8px;
}

button {
  width: 100%;
  padding: 12px;
  background: #0d47a1;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
}

button:hover {
  background: #1565c0;
}

.result-box {
  margin-top: 20px;
  padding: 15px;
  background: #f1f8e9;
  border: 1px solid #c5e1a5;
  border-radius: 8px;
  font-size: 15px;
}

/* Fullscreen overlay */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(240, 248, 255, 0.95); /* soft medical white-blue */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Loader container */
.loader {
  text-align: center;
  color: #0d47a1; /* medical blue */
  font-family: Arial, sans-serif;
}

/* Pulse circle */
.pulse {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #64b5f6;
  margin: 0 auto 20px;
  animation: pulseAnim 1.5s infinite;
}

/* Medical cross */
.medical-cross {
  font-size: 48px;
  font-weight: bold;
  color: #0d47a1;
  animation: heartbeat 1.2s infinite;
}

/* Text */
.loader p {
  margin-top: 15px;
  font-size: 18px;
  color: #1565c0;
}

/* Animations */
@keyframes pulseAnim {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.3); }
}

/* Symptoms list styling */
.symptoms-list {
  margin-top: 20px;
  padding: 15px;
  background: #f9fbe7;
  border: 1px solid #cddc39;
  border-radius: 8px;
  display: none; /* hidden by default */
}

.symptoms-list h3 {
  margin-top: 0;
  color: #33691e;
}

.symptoms-list ul {
  list-style: none;
  padding: 0;
}

.symptoms-list li {
  padding: 6px 0;
  border-bottom: 1px solid #e0e0e0;
  font-size: 15px;
}

.symptoms-list li:last-child {
  border-bottom: none;
}
