@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

.nav-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  background-color: #888282;
  padding: 1px 0;
  border-bottom: #000 solid;
}

.nav-bar a {
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-bar a:hover {
  color: rgb(255, 255, 255);
}

section {
  display: flex;
  justify-content: center;
  align-items:center;
  min-height: calc(100vh - 60px);
  background: url(imgs/medico.png)no-repeat;
  background-position:50%;
  background-size: 100%;
  background-color: rgb(235, 235, 235);
  padding: 20px;
}

.form-box {
  width: 500px;
  max-width: 95%;
  height: 100%;
  max-height: 500%;
  background: transparent;
  border: 4px solid rgba(0, 0, 0, 0.2);
  border-radius: 20px;
  backdrop-filter: blur(30px);
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

h1, h2 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 25px;
  color: #000;
}

.inputbox {
  position: relative;
  margin: 20px 0;
  width: 100%;
  border-bottom: 2px solid #333;
}

.inputbox input {
  width: 100%;
  height: 50px;
  background: transparent;
  border: none;
  outline: none;
  font-size: 16px;
  padding: 0 35px 0 5px;
  color: #000;
}

.inputbox label {
  position: absolute;
  left: 5px;
  top: 50%;
  transform: translateY(-50%);
  color: #555;
  font-size: 20px;
  font-weight: bold;
  pointer-events: none;
  transition: 0.4s ease;
}

.inputbox input:focus ~ label,
.inputbox input:not(:placeholder-shown) ~ label {
  top: -8px;
  font-size: 12px;
  color: #000;
}

.inputbox ion-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #333;
  font-size: 18px;
}

.forget {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  margin: 15px 0 20px;
}

.forget label {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #000;
  cursor: pointer;
}

.forget a {
  color: #000;
  font-weight: 500;
  text-decoration: underline 2px rgb(0, 0, 0);
  transition: 0.3s ease;
}

.forget a:hover {
  color: rgb(255, 238, 0);
}

.button, button {
  display: inline-block;
  padding: 12px 24px;
  background-color: #888282;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.button:hover, button:hover {
  background-color: #666;
}

.button:active, button:active {
  background-color: #444;
}

.register {
  font-size: 14px;
  color: #000;
  margin-top: 20px;
}

.register p a {
  text-decoration: none;
  color: #000;
  font-weight: 600;
  transition: 0.3s ease;
}

.register p a:hover {
  color: rgb(0, 0, 0);
  text-decoration: underline;
}

.options-box {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.option {
  background: #f5f5f5;
  padding: 20px;
  border-radius: 12px;
  width: 180px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.option:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.option p {
  font-size: 14px;
  color: #333;
  margin-top: 10px;
}
textarea {
  width: 100%;
  min-height: 100px;
  background: transparent;
  border: none;
  outline: none;
  font-size: 16px;
  padding: 5px 35px 5px 5px;
  color: #000;
  resize: vertical;
}

textarea + label {
  top: 5px;
}

textarea:focus ~ label,
textarea:not(:placeholder-shown) ~ label {
  top: -8px;
  font-size: 12px;
  color: #000;
}

