/**
 * Mario kauft ein - Exercise Styles
 * Styles for the shopping cost calculation exercise
 */

.exercise-container {
  width: 68rem;
  height: 40rem;
  margin: 0 auto;
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.exercise-content {
  display: flex;
  gap: 2rem;
  flex-grow: 1;
  height: 100%;
}

/* Left side collage styling */
.collage-container {
  flex: 1;
  position: relative;
  background-color: #f8f9fa;
  border-radius: 0.5rem;
  box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.1);
  padding: 1rem;
  overflow: hidden;
}

.collage-item {
  position: absolute;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.1);
  background-color: #fff;
  padding: 0.5rem;
  transition: transform 0.2s ease;
}

.collage-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Positioning for collage items */
.item-1 {
  top: 5%;
  left: 5%;
  width: 45%;
  z-index: 2;
}

.item-2 {
  bottom: 10%;
  left: 5%;
  width: 40%;
  z-index: 1;
}

.item-3 {
  top: 15%;
  right: 8%;
  width: 25%;
  z-index: 3;
}

.item-4 {
  top: 50%;
  left: 35%;
  width: 25%;
  z-index: 4;
  transform: rotate(-5deg);
}

.item-6 {
  bottom: 15%;
  right: 10%;
  width: 45%;
  z-index: 2;
  transform: rotate(3deg);
}
.item-7 {
  top: 35%;
  right: 8%;
  width: 25%;
  z-index: 3;
}
/* Right side container styling */
.right-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.shopping-list {
  flex: 1;
  background-color: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.1);
  padding: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.shopping-list img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.total-cost {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem;
  background-color: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.1);
}

.chf-text {
  font-size: 1.4rem;
  font-weight: bold;
  color: #333;
}

.fill-in {
  width: 10rem;
  height: 2.5rem;
  padding: 0 0.5rem;
  font-size: 1.2rem;
  border: 0.2rem solid #F9B002;
  border-radius: 1.5rem;
  text-align: center;
  background-color: #fff;
  transition: all 0.2s ease;
}

.fill-in:focus {
  outline: none;
  border-color: #00699f;
  box-shadow: 0 0 0.3rem rgba(0, 105, 159, 0.3);
}

/* Visual feedback for correct/incorrect answers */
.fill-in.correct {
  background-color: rgba(37, 129, 116, 0.1);
  border-color: #258174;
}

.fill-in.incorrect {
  background-color: rgba(255, 0, 0, 0.1);
  border-color: #ff0000;
}

/* Umlaut keyboard helper styling */
 