body {
  font-family: "Inter", sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f5f8fa;
  color: #333;
  display: flex;
  height: 100vh;
  overflow: hidden;
}
.medical-container {
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid #ddd;
}
.main-wrapper {
  display: flex;
  width: 100%;
  height: 100%;
  padding: 20px;
  box-sizing: border-box;
}
.sidebar {
  width: 300px;
  padding: 30px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
  margin-right: 20px;
  overflow-y: auto;
}
.content-area {
  flex-grow: 1;
  padding: 30px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
h1 {
  color: #00cca6;
  margin-top: 0;
  margin-bottom: 30px;
  text-align: center;
  font-size: 2rem;
  font-weight: 600;
}
.input-group,
.button-group,
.attempts-group {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
}
input[type="text"],
button,
input[type="number"] {
  border: 1px solid #ccc;
  outline: none;
  padding: 15px;
  border-radius: 8px;
  font-size: 1rem;
}
input[type="text"],
input[type="number"] {
  background: #f5f5f5;
  color: #555;
}
button {
  background-color: #00cca6;
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
button:hover {
  background-color: #00aaa9;
}
button:active {
  background-color: #0d47a1;
}
button:disabled {
  background-color: #b0bec5;
  color: #78909c;
  cursor: not-allowed;
}
.attempts-group {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
}
.attempts-group input {
  width: 50%;
}
.attempts-group button {
  flex: 1;
}
.info-panel {
  margin-top: 20px;
  padding: 15px;
  border-radius: 8px;
  font-weight: bold;
  display: none;
  border: 1px solid;
  background-color: #f5f5f5;
}
.info-panel.high {
  color: #00cca6;
  border-color: #00cca6;
  background-color: #e6f0e6;
}
.info-panel.medium {
  color: #856404;
  border-color: #856404;
  background-color: #fff3cd;
}
.info-panel.low,
.info-panel.error {
  color: #721c24;
  border-color: #721c24;
  background-color: #f8d7da;
}
.double-canvas-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.canvas-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
#three-canvas-container {
  width: 100%;
  height: 600px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  margin-top: 10px;
  border: 1px solid #ddd;
}
.canvas-title {
  color: #333;
  margin-bottom: 10px;
}
.info {
  font-weight: 700;
  font-size: 12px;
}
.legend-container {
  display: flex;
  justify-content: space-around;
  max-width: 100%;
  gap: 5px;
  flex-wrap: wrap;
  margin-top: 20px;
  padding: 5px;
  background-color: #f0f2f5;
  border-radius: 8px;
}
.legend-item {
  border-radius: 4px;
  display: flex;
  padding: 2px;
  justify-content: center;
  text-align: center;
  color: #fff;
  font-weight: 700;
  flex-basis: calc(50% - 10px);
  align-items: center;
  gap: 8px;
}
.instructions {
  padding-top: 20px;
  margin-top: auto;
  border-top: 1px solid #eee;
  text-align: left;
  font-size: 0.9em;
  line-height: 1.5;
  color: #666;
}
.sidebar::-webkit-scrollbar {
  display: none;
}
.instructions h3 {
  color: #00cca6;
  margin-top: 0;
  margin-bottom: 10px;
}
.attempts-input-container {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
}
.attempts-input-container > * {
  flex-basis: 50%;
}
.dna-comparison-container {
  display: flex;
  width: 100%;
  gap: 20px;
  margin-bottom: 20px;
}
.dna-visualization {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.dna-canvas {
  width: 100%;
  height: 300px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  border: 1px solid #ddd;
}
.dna-title {
  font-weight: bold;
  margin-bottom: 10px;
  color: #333;
}
.comparison-info {
  display: flex;
  justify-content: space-around;
  max-width: 100%;
  margin-top: 15px;
  padding: 10px;
  background-color: #f0f2f5;
  border-radius: 8px;
}
