*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

html,body{
  display: grid;
  height: 100%;
  width: 100%;
  place-items: center;
  background: #1a1a1a; /* gris muy oscuro */
}

::selection{
  background: #ff7b00; /* naranja */
  color: #fff;
}

.wrapper{
  width: 380px;
  background: #111; /* casi negro */
  border-radius: 15px;
  box-shadow: 0px 15px 25px rgba(0,0,0,0.4);
}

.wrapper .title{
  font-size: 35px;
  font-weight: 600;
  text-align: center;
  line-height: 100px;
  color: #fff;
  user-select: none;
  border-radius: 15px 15px 0 0;
  background: linear-gradient(135deg, #ff7b00, #b84f00); /* naranjas */
}

.wrapper form{
  padding: 10px 30px 50px 30px;
}

.wrapper form .field{
  height: 50px;
  width: 100%;
  margin-top: 20px;
  position: relative;
}

.wrapper form .field input{
  height: 100%;
  width: 100%;
  outline: none;
  font-size: 17px;
  padding-left: 20px;
  border: 1px solid #333; /* gris oscuro */
  background: #222;       /* gris carbón */
  color: #eee;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.wrapper form .field input:focus,
form .field input:valid{
  border-color: #ff7b00; /* naranja */
}

.wrapper form .field label{
  position: absolute;
  top: 50%;
  left: 20px;
  color: #888;
  font-weight: 400;
  font-size: 17px;
  pointer-events: none;
  transform: translateY(-50%);
  transition: all 0.3s ease;
}

form .field input:focus ~ label,
form .field input:valid ~ label{
  top: 0%;
  font-size: 15px;
  color: #ff7b00;
  background: #111;
  padding: 0 5px;
  transform: translateY(-50%);
}

form .content{
  display: flex;
  width: 100%;
  height: 50px;
  font-size: 16px;
  align-items: center;
  justify-content: space-around;
}

form .content .checkbox{
  display: flex;
  align-items: center;
  justify-content: center;
}

form .content input{
  width: 16px;
  height: 16px;
  accent-color: #ff7b00; /* color del checkbox */
}

form .content label{
  color: #ccc;
  user-select: none;
  padding-left: 5px;
}

form .field input[type="submit"]{
  color: #fff;
  border: none;
  padding-left: 0;
  margin-top: -10px;
  font-size: 20px;
  font-weight: 500;
  cursor: pointer;
  background: linear-gradient(135deg, #ff7b00, #b84f00);
  transition: all 0.3s ease;
}

form .field input[type="submit"]:active{
  transform: scale(0.95);
}

form .signup-link{
  color: #bbb;
  margin-top: 20px;
  text-align: center;
}

form .pass-link a,
form .signup-link a{
  color: #ff7b00;
  text-decoration: none;
}

form .pass-link a:hover,
form .signup-link a:hover{
  text-decoration: underline;
}

/* ================================ */
/*           CAMPO ROL              */
/* ================================ */

.wrapper form .field select{
  height: 100%;
  width: 100%;
  outline: none;
  font-size: 17px;
  padding-left: 20px;
  border: 1px solid #333;
  background: #222; 
  color: #eee;
  border-radius: 25px;
  transition: all 0.3s ease;
  appearance: none; /* quita estilo feo */
  cursor: pointer;
}

/* flecha personalizada */
.wrapper form .field select {
  background-image: url("data:image/svg+xml;utf8,<svg fill='orange' height='24' width='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 18px;
}

/* focus */
.wrapper form .field select:focus{
  border-color: #ff7b00;
}

/* label animada como los inputs */
form .field select:focus ~ label,
form .field select:valid ~ label{
  top: 0%;
  font-size: 15px;
  color: #ff7b00;
  background: #111;
  padding: 0 5px;
  transform: translateY(-50%);
}
