/* Main Container */
.exercise-container {
  width: 68rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
  margin-bottom: 3rem;
}

/* Exercise Image */
.exercise-image {
  width: 68rem;
  display: flex;
  text-align: left;
  justify-content: left;
  height: 5rem;
  margin-left: 10rem;
}

.food-image {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  box-shadow: 0 0.2rem 0.4rem rgba(0, 0, 0, 0.1);
}

/* Exercise Content */
.exercise-content {
  display: flex;
  justify-content: space-between;
  width: 47rem;
  max-width: 60rem;
  margin: 0 auto;
  position: relative;
}

/* Fixed Items Column */
.fixed-items-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 70%;
}

/* Fixed Item */
.fixed-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
}

/* Fixed Text */
.fixed-text {
  background-color: #00699F;
  color: white;
  padding: 0.8rem 1.2rem;
  border-radius: 0.5rem;
  font-family: 'League Spartan', sans-serif;
  font-size: 1.4rem;
  min-width: 12rem;
  text-align: center;
  box-shadow: 0 0.2rem 0.4rem rgba(0, 0, 0, 0.1);
}

/* Drop Zone */
.drop-zone {
  height: 3.5rem;
  width: 14rem;
  border: 3px dashed #00699F; /* Increased border width */
  border-radius: 0.5rem;
  position: relative;
  transition: background-color 0.2s ease, border-color 0.2s ease, border-width 0.2s ease;
}


/* Drop Zone - Highlight when dragging over */
.drop-zone.drag-over {
  background-color: rgba(0, 105, 159, 0.2); /* Increased opacity */
  border-style: solid;
  border-width: 3px; /* Increased border width */
}

/* Drop Zone - With item dropped */
.drop-zone.filled {
  border-style: solid;
  border-width: 3px; /* Increased border width */
  background-color: #f8f8f8;
}

/* Drop Zone - Correct match */
.drop-zone.correct {
  border-color: #258174;
  border-width: 4px; /* Increased border width for more visibility */
  background-color: rgba(37, 129, 116, 0.2); /* Increased opacity */
}

/* Drop Zone - Incorrect match */
.drop-zone.incorrect {
  border-color: #FF0000;
  border-width: 4px; /* Increased border width for more visibility */
  background-color: rgba(255, 0, 0, 0.2); /* Increased opacity */
}

/* Drag Items Container */
.drag-items-container {
  display: flex;
  flex-direction: column; /* Changed to column layout */
  align-items: flex-end; /* Align items to the right */
  gap: 1.6rem;
  width: 15rem; /* Reduced width */
  padding: 0 1rem;
  margin-top: 0.3rem;
}

/* Drag Item */
.drag-item {
  background-color: #F9B002;
  color: white;
  /*padding: 0.8rem 1.4rem;*/
  border-radius: 0.5rem;
  font-family: 'League Spartan', sans-serif;
  font-size: 1.4rem;
  cursor: grab;
  user-select: none;
  box-shadow: 0 0.2rem 0.4rem rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
  /*width: 12rem; /* Fixed width to match drop zone */
  text-align: center;
  margin-bottom: 0.5rem;
  padding: 0;
  width: 14.8rem;
  height: 3.3rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.drag-item:hover {
  transform: scale(1.05);
}

.drag-item.dragging {
  opacity: 0.5;
  cursor: grabbing;
}

/* Drag Item in Drop Zone */
.drop-zone .drag-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  border-radius: 0.3rem;
  padding: 0; /* Remove padding to fit perfectly */
  font-size: 1.4rem; /* Maintain font size */
}
.drop-zone  .drag-item:hover {
  transform: none;
}