/* Input Styles */
#First_Monster,
#Second_Monster,
#Search_Monster {
    width: 200px;
    padding: 10px 15px;
    margin-bottom: 15px;
    background: rgb(255, 109, 109);
    border: 2px solid #f7b7b7;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-size: 14px;
    color: #333;
    transition: all 0.3s ease;
    text-align: center;
}

#First_Monster:focus,
#Second_Monster:focus,
#Search_Monster:focus {
    border-color: rgb(255, 109, 109);
    box-shadow: 0 0 10px rgba(255, 109, 109, 0.5);
    outline: none;
}

#Search_Monster:disabled,
input:disabled {
    background-color: #d3d3d3;
    color: #a0a0a0;
    cursor: not-allowed;
}

#breedButton,
#resetButton {
    color: black;
}

#breedButton:hover,
#resetButton:hover {
    background-color: darkblue;
    color: white;
}

#inputContainer {
    position: relative;
    z-index: 10;
}

/* Additional Styles */
#inputContainer,
input,
button {
    position: relative;
    z-index: 98;
}

#inputContainer.hidden,
input.hidden,
button.hidden {
    display: none;
    z-index: 120;
}

button {
  display: inline-block;
  padding: 0.6em 1.2em;               /* scales with font size */
  margin: 0.4em;
  font-size: clamp(0.9rem, 2vw, 1.1rem); /* auto adjusts between phone and desktop */
  font-weight: bold;
  color: white;
  background: rgb(255, 109, 109);
  border: 2px solid #f7b7b7;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  min-width: 100px;                   /* ensures tap-friendly size */
}

button:hover {
  background: rgb(255, 79, 79);
  box-shadow: 0 0 8px rgba(255, 79, 79, 0.4);
}

button:active {
  transform: scale(0.96);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 109, 109, 0.4);
}

/* Suggestion Box */
.suggestions {
    border: 1px solid #ccc;
    display: none;
    position: absolute;
    background: white;
    max-height: 150px;
    overflow-y: auto;
    z-index: 99;
    width: 200px;
    border-radius: 10%;
    opacity: 0.8;
}

#imageContainer,
#statsContainer,
.suggestions {
    flex: 1;
    text-align: center;
}

button:hover {
    background: rgb(255, 79, 79);
    box-shadow: 0 0 8px rgba(255, 79, 79, 0.3);
}

#breedButton:hover,
#resetButton:hover {
    background-color: darkblue;
    color: white;
}


