@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

body {
  font-family: 'Inter', sans-serif;
  background-color: #ffffff;
}

.header {
  background-color: #e7f4fd;
  height: 55px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 20px;
  border-radius: 10px;
  margin-bottom: 10px;
  font-weight: bold;
}

.header .title {
  display: flex;
  align-items: center;
  gap: 30px;
}

.header .buttons {
  display: flex;
  gap: 10px;
}

.button {
  background-color: white;
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px; /* Adds spacing between icon and text */
  height: 40px; /* Increased height by 30% */
}

.button-timer {
  padding: 6.5px 12px; /* Adjust padding for increased height and width */
  width: 99px; /* Set the new fixed width, increased by 10% */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px; /* Adds spacing between icon and text */
  text-align: center; /* Center the timer text */
}

.button svg {
  width: 20px;
  height: 20px;
  vertical-align: middle;
}

.button-timer svg {
  width: 24px; /* Set the fixed width */
  height: 24px; /* Set the fixed height */
  vertical-align: middle;
}

.main-content {
  background-color: #ffffff; /* Changed to white */
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 70px;
}

.question {
  font-size: 16px;
  font-weight: 400;
}

/* Image container with white background - NEW CODE ADDED HERE */
.question-image-container {
  display: flex;
  justify-content: center;
  margin: 15px 0;
  padding: 5px;
  border-radius: 8px;
  background-color: #ffffff; /* White background as requested */
}

.question-image {
  max-width: 100%;
  max-height: 400px;
  border-radius: 5px;
}

.row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.red-box {
  background-color: white;
  height: auto;
  flex: 1;
  border-radius: 10px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: left;
  padding: 10px 10px 10px 40px;
  color: black;
  font-weight: 400;
  cursor: pointer;
  border: 2px solid transparent;
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.12), 0px 1px 2px rgba(0, 0, 0, 0.24); /* Added shadow */
  transition: background-color 0.3s; /* Added transition for smooth hover effect */
}

.red-box:hover {
  background-color: #E3F3FF; /* Added hover effect */
}

.red-box.correct {
  background-color: #4caf50;
  color: white;
}

.red-box.wrong {
  background-color: #f44336;
  color: white;
}

.small-blue {
  width: 30px;
  height: 30px;
  background-color: #629cff;
  border-radius: 10px;
  position: absolute;
  left: 5px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
  font-weight: 500;
}

.solution-container {
  display: none;
  margin-top: 10px;
  padding: 10px;
  background: white;
  border-radius: 10px;
}

.solution-container button {
  background-color: #3E85FF;
  color: white;
  font-weight: 400;
  font-size: 14px;
  border: none;
  border-radius: 16px;
  padding: 4px 12px; /* Adjust padding for smaller size */
  height: 28px; /* Set a fixed height */
  width: auto; /* Let width adjust based on text */
  min-width: 50px; /* Prevents it from being too small */
  cursor: pointer;
  transition: background-color 0.3s;
  display: inline-block;
  line-height: normal; /* Ensures text is properly aligned */
  text-align: center;
  white-space: nowrap; /* Prevents text from wrapping */
}

.solution-container button:hover {
  background-color: #336CCF; /* Slightly darker blue on hover */
}