body {
  background: #f5f8fc;
  font-family: 'Inter', sans-serif;
  color: #2c3e50;
}

/* Card Styling */
.calc-card, .graphic-card {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  min-height: 420px;
}

/* Title + Subtitle */
.calc-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1a2a40;
}

.calc-subtitle {
  font-size: 1.1rem;
  margin-top: -6px;
  color: #4a6c8b;
}

/* Given Variables List */
.vars-list {
  padding-left: 0;
  list-style: none;
  margin-bottom: 15px;
}

.vars-list p, .vars-list li {
  padding: 4px 0;
  font-size: 1.05rem;
}

/* Labels + Inputs */
.input-label {
  font-weight: 600;
  margin-bottom: 4px;
  display: block;
}

.answer-input {
  max-width: 220px;
  border-radius: 12px;
  padding: 10px;
  font-size: 1.1rem;
}

/* Hint + Solution Buttons */
.action-row {
  display: flex;
  gap: 12px;
}

.hint-btn, .solution-btn {
  border-radius: 20px;
  padding: 8px 18px;
  background: #eaf1ff;
  border: 1px solid #d8e5ff;
  color: #1e4b89;
  font-weight: 500;
}

.hint-btn:hover, .solution-btn:hover {
  background: #dbe8ff;
}

/* Submit Button */
.calc-submit-btn {
  background: #4f8adf;
  color: #fff;
  padding: 12px 26px;
  font-size: 1.1rem;
  border-radius: 20px;
}

.calc-submit-btn:hover {
  background: #3f74c4;
}

/* Right Panel Graphic */
.graphic-card {
  min-height: 420px;
  text-align: center;
}

/* Mobile Layout Tweaks */
@media (max-width: 768px) {
  .calc-card, .graphic-card {
    border-radius: 18px;
  }

  .calc-title {
    font-size: 1.5rem;
  }
}



.side-card {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  min-height: 420px;
}

.action-buttons {
  display: flex;
  gap: 12px;
}

.hint-btn, .solution-btn {
  border-radius: 20px;
  padding: 8px 18px;
  background: #eaf1ff;
  border: 1px solid #d8e5ff;
  color: #1e4b89;
  font-weight: 500;
}

.hint-btn:hover, .solution-btn:hover {
  background: #dbe8ff;
}

#hint-box, #solution-box {
  font-size: 1rem;
  border-radius: 16px;
}
#visual {
  height: 20vh;
  max-height: 30vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

#visual svg {
  width: 100%;
  height: 100%;
}


