/* Main Container */
.exercise-container {
  width: 68rem;
  height:40ren;
  display: flex;
  flex-direction: column;
  
  position: relative;
  /*margin-bottom: 3rem; /* Increased space above check button */
}

/* Two Column Layout */
.two-column-layout {
  display: flex;
  width: 68rem;
  gap: 2.5rem; /* Increased gap between columns */
  min-height: 25rem; /* Adjusted minimum height */
  /*max-height: calc(100vh - 18rem); /* Adjusted maximum height */
  max-height:41rem;
}

/* Columns */
.column {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Email Column */
.email-column {
  border-right: 1px solid #e0e0e0;
  padding-right: 1.5rem;
  max-width: 50%; /* Ensure column doesn't get too wide */
}

/* Email Text */
.email-text {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 0.5rem;
  padding: 1.5rem;
  box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.05);
  font-size: 1.2rem;
  line-height: 1.5;
  height: 34rem;
  overflow-y: auto; /* Add scroll if content is too long */
  max-height: 34rem;
}

.email-greeting {
  margin-top: 0;
  margin-bottom: 1rem;
  font-weight: bold;
}

.email-closing {
  margin-top: 1.5rem;
  margin-bottom: 0;
  font-style: italic;
}

/* Statements Column */
.statements-column {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-left: 0.5rem;
  overflow-y: auto; /* Add scroll if content is too long */
  max-width: 50%; /* Ensure column doesn't get too wide */
}

/* Statement Row */
.statement-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-bottom: 0.75rem;
  position: relative;

}

/* Statement Text */
.statement-text {
  flex: 1;
  font-size: 1.2rem;
  line-height: 1.4;
  padding: 0.5rem 0;
  margin-right: 1.5rem;
}

/* Options Container */
.options-container {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

/* Option Buttons - Using styles from assets/main.css */
.option-button {
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  border: 0.15rem solid #00699F;
  background-color: white;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

/* Button text */
.option-button::before {
  content: 'R';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.5rem;
  font-weight: bold;
  color: #00699F;
  z-index: 1;
}

.option-button.falsch::before {
  content: 'F';
}

/* Selected state */
.option-button.selected {
  background-color: #00699F;
}

.option-button.selected::before {
  color: white;
}

/* Correct state */
.option-button.correct {
  border-color: #258174;
  border-width: 0.25rem;
}

/* Incorrect state */
.option-button.incorrect {
  border-color: #FF0000;
  border-width: 0.25rem;
}

/* Selected and correct */
.option-button.selected.correct {
  background-color: #00699F;
}

/* Selected and incorrect */
.option-button.selected.incorrect {
  background-color: #00699F;
}
