/* Popup Container */
.wardrobe-module {
  width: 100%; /* Set a fixed width for the popup module */
  max-width: 1800px; /* Set a max-width for responsiveness */
  flex: 1;
  position: relative; /* Add position relative to popup container */
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Popup */
.wardrobe-container {
  width: 70%;
}

/* Outfit Container */
.wardrobe {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px; /* Adjust the gap between items */
  padding: 20px; /* Add padding to the container */
}

.garment {
  background-color: #fff4e4;
  border: 3px solid #4f0901;
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
}

.garment img {
  cursor: pointer;
}

.arrow-button-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

/* Arrows (<- and ->) */
.arrow-button {
  background-color: transparent;
  border: none;
  font-size: 4rem;
  cursor: pointer;
  color: #8d3c23;
}

.arrow-button:disabled {
  opacity: 0.5; /* Reduce opacity to indicate that the button is disabled */
  cursor: not-allowed; /* Change cursor to indicate that the button is not clickable */
  pointer-events: none; /* Disable pointer events to prevent interaction */
  color: #777;
}

.progress-bar-container {
  height: 20px;
  width: 100%;
  background-color: #fff;
  border-radius: 5px;
  margin-bottom: 20px;
}

/* Coloured part of the progress bar  */
.progress-bar {
  height: 100%;
  max-width: 100%;
  background-color: #8d3c23;
  border-radius: 5px;
}

/* Media Query for Tablet */
@media screen and (max-width: 768px) {
  .wardrobe-module {
    margin-top: 20px;
    margin: 0 auto;
  }

  .wardrobe {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 20px;
    font-size: 0.9rem;
  }

  .arrow-button {
    font-size: 3rem;
  }
}

/* Media Query for Mobile */
@media screen and (max-width: 480px) {
  .wardrobe {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 5px 0;
    margin: 0 0 1rem 0;
  }

  .arrow-button {
    font-size: 2rem;
  }
}

/* Media Query for Extra Small Mobile */
@media screen and (max-width: 320px) {
  .wardrobe {
    grid-template-columns: repeat(1, 1fr);
    margin: 0 0 1rem 0;
  }
}
