/* Reusable Instructions Component */

#instructions-panel {
  width: 100%;
  margin: 0 auto 1.5rem auto;
}

#instructions-bar {
  width: 100%;
  background: linear-gradient(90deg, #6ef2e6 0%, #4895ef 100%);
  border-radius: 12px 12px 0 0; /* Only top corners curved */
  cursor: pointer;
  user-select: none;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 12px 20px;
  border: 1px solid #e0e0e0;
  box-sizing: border-box;
  transition: none; /* No hover effects */
}

.instructions-title-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.instructions-label {
  font-size: 18px;
  font-weight: 600;
  color: #2c3e50;
  margin: 0;
  font-family: "Raleway", sans-serif;
}

.arrow-icon {
  margin-left: 12px;
  font-size: 14px;
  color: #2c3e50;
  transition: transform 0.3s ease;
}

.arrow-icon.rotated {
  transform: rotate(180deg);
}

#instructions-content {
  width: 100%;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-top: none;
  border-radius: 0; /* Flat bottom */
  padding: 20px 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: none;
  font-size: 16px;
  line-height: 1.6;
  color: #444;
  font-family: "Raleway", sans-serif;
}

#instructions-content ol {
  margin: 0;
  padding-left: 20px;
}

#instructions-content li {
  margin-bottom: 8px;
  font-size: 16px;
}

/* Remove any hover effects */
#instructions-bar:hover {
  background: linear-gradient(90deg, #6ef2e6 0%, #4895ef 100%);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transform: none;
}

/* Responsive adjustments */
@media only screen and (max-width: 768px) {
  #instructions-bar {
    padding: 10px 16px;
  }

  .instructions-label {
    font-size: 16px;
  }

  #instructions-content {
    padding: 16px 20px;
    font-size: 15px;
  }
}

@media only screen and (max-width: 480px) {
  #instructions-bar {
    padding: 8px 12px;
  }

  .instructions-label {
    font-size: 15px;
  }

  #instructions-content {
    padding: 14px 16px;
    font-size: 14px;
  }
}
