/* Button Reset */
div {
  -webkit-tap-highlight-color: transparent;
  outline: none;
  border: none;
  background: inherit;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border: 0.05rem dottd black;
}

.name-country-age {
  background: rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(0.2rem);
  display: none;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 600px;
  border-radius: 20px;
  padding: 3vh 4vw;
  height: 70vh;
  box-shadow: inset 0 0 5px white, 0 0 5px gray;
}

.p-details-div {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  font-size: 1rem;
}

.p-details-div h2 {
  color: #fff;
  margin: 2vh 0 1vh 0;
  text-shadow: 0 0 5px black, 0 0 10px black, 0 0 15px black;
}

.name-country-input-style input{
  padding: 0 3vw;
  width: 100%;
  height: 7vh;
  border-radius: 20px;
  font-size: 1.2em;
  border: 0;
  box-shadow: inset 0 0 3px gray, 0 0 5px black;
}

.age-input-div {
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 100%;
}

.age-input-div input {
  width: 70%;
  min-height: 2.5rem;
  border-radius: 20px;
  text-align: center;
  font-size: 1.25em;
  border: 0;
  box-shadow: inset 0 0 3px gray, 0 0 5px black;
}

.age-up-down {
  background: darkblue;
  font-size: 1.5rem;
  color: white;
  font-weight: 800;
  height: 2.4rem;
  width: 2.4rem;
  border-radius: 20px;
  box-shadow: 0 0 5px black;
}

.age-up-down:hover {
  height: 2.2rem;
  width: 2.2rem;
  background: darkblue;
}

/* Suggestions box container */
#country-suggestions {
  position: absolute;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 20px;
  margin-top: 0.2rem;
  max-height: 200px;
  width: 75%;
  overflow-y: auto;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  display: none; /* hidden by default */
  z-index: 1000;
}

/* Each suggestion item */
#country-suggestions .suggestion {
  padding: 0.6rem 0.8rem;
  cursor: pointer;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Hover effect */
#country-suggestions .suggestion:hover {
  background: #f0f0f0;
}


.name-country-age-submit {
  display: none;
  background-image: url('../assets/images/backgrounds/buttons/button-bg.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 20px;
  height: 7vh;
  width: 100%;
  color: white;
  font-size: 1.5em;
  font-weight: 800;
  text-shadow: 0 0 5px black;
  transition: transform 0.2s ease, background-image 0.2s ease;
  box-shadow: 0 0 5px black;
}

.name-country-age-submit:active {
  background-image: url('../assets/images/backgrounds/button-bg.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top left;
  transform: scale(0.9);
}