@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap');

/* 🔑 Evita que padding/bordes hagan crecer los inputs */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: linear-gradient(135deg, #FFA726, #FB8C00);
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  color: #fff;
  overflow: hidden; /* evita scroll */
}

.container-recovery {
  background: rgba(255, 255, 255, 0.95);
  padding: 40px 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  width: 400px;
  max-width: 90%;
  text-align: center;
  color: #333;
}

.container-recovery h2 {
  margin-bottom: 25px;
  font-weight: 600;
  font-size: 26px;
  color: #F27329;
}

.logo-recovery {
  width: 180px;
  margin-bottom: 20px;
}

.input-group {
  margin-bottom: 20px;
  text-align: left;
}

.input-group label {
  font-size: 15px;
  font-weight: 500;
  color: #555;
  margin-bottom: 6px;
  display: block;
}

.input-icon {
  position: relative;
  border-bottom: 2px solid #ccc;
  display: flex;        /* 🔑 asegura que el input se adapte */
  align-items: center;
}

.input-icon input {
  border: none;
  outline: none;
  flex: 1;              /* 🔑 ocupa todo el espacio disponible */
  min-width: 0;         /* 🔑 evita que se salga del contenedor */
  padding: 12px 40px 12px 12px;
  font-size: 15px;
  font-weight: 500;
  color: #333;
  background: transparent;
}

.input-icon i {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #F27329;
  font-size: 18px;
}

.input-icon input:focus {
  border-bottom-color: #F27329;
}

.submit-btn {
  width: 100%;
  background-color: #F27329;
  border: none;
  padding: 14px 0;
  font-size: 17px;
  color: white;
  font-weight: 600;
  border-radius: 30px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-btn:hover {
  background-color: #d65f1c;
}

.back-login {
  margin-top: 18px;
  font-size: 14px;
}

.back-login a {
  color: #F27329;
  text-decoration: none;
  font-weight: 600;
}

.back-login a:hover {
  color: #d65f1c;
}

/* Responsive */
@media (max-width: 480px) {
  .container-recovery {
    padding: 30px 20px;
    width: 90%;
  }

  .container-recovery h2 {
    font-size: 22px;
  }

  .input-icon input {
    font-size: 14px;
    padding: 10px 35px 10px 10px;
  }

  .submit-btn {
    font-size: 15px;
    padding: 12px 0;
  }
}
