
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: Poppins-Regular, sans-serif;
  background-color: #000;
  color: #fff;
}

/* FONDO */
.container-login {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-image: url('img/fondo.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 20px;
}

/* CONTENEDORES COMUNES */
.wrap-login,
.wrap-registro {
  width: 100%;
  max-width: 700px;
  background: rgba(0, 0, 0, 0.71);
  padding: 40px 30px;
  border-radius: 15px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.wrap-login {
  max-width: 400px;
  text-align: center;
}

/* LOGO */
.logo {
  width: 140px;
  margin-bottom: 20px;
}

/* TITULOS */
.login-title,
.wrap-registro h2 {
  font-family: Poppins-Medium;
  font-size: 24px;
  margin-bottom: 30px;
  color: #efefef;
  text-align: center;
}

/* CAMPOS INPUT */
label {
  font-size: 16px;
  color: #ccc;
  margin-bottom: 6px;
  display: block;
}

.form-control,
.input100 {
  width: 100%;
  padding: 12px 10px;
  background-color: #1c1c1c;
  border: none;
  color: #fff;
  font-size: 16px;
  border-radius: 5px;
}

.form-control::placeholder,
.input100::placeholder {
  color: #aaa;
}

.form-control:focus,
.input100:focus {
  border: 1px solid #ffbe00;
  background-color: #1c1c1c;
  box-shadow: none;
  outline: none;
  color: #fff;
}

/* EFECTO FLOTANTE LOGIN */
.focus-efecto {
  position: absolute;
  left: 5px;
  top: 12px;
  color: #aaa;
  font-size: 15px;
  pointer-events: none;
  transition: 0.3s ease-in-out;
}

.input100:focus + .focus-efecto,
.input100.has-val + .focus-efecto {
  top: -18px;
  font-size: 13px;
  color: #603813;
}

/* BOTONES */
.login-form-btn,
.btn-primary {
  width: 100%;
  padding: 14px 0;
  font-size: 16px;
  font-family: Poppins-Medium;
  color: #fff;
  background: linear-gradient(to right, #ffbe00, #330000);
  border: none;
  border-radius: 40px 5px;
  cursor: pointer;
  transition: 0.3s;
}

.login-form-btn:hover,
.btn-primary:hover {
  opacity: 0.9;
}

/* LINKS */
.login-link,
.no-account-text,
.register-btn {
  font-family: Poppins-Regular;
  font-size: 14px;
  color: #ccc;
  text-decoration: none;
}

.login-link:hover,
.register-btn:hover {
  color: #603813;
}

.register-btn {
  display: inline-block;
  margin-top: 8px;
  padding: 10px 25px;
  border: 2px solid #ffbe00;
  border-radius: 25px;
  background: transparent;
  font-family: Poppins-Medium;
  text-transform: uppercase;
  transition: 0.3s;
  color: #fff;
}

.register-btn:hover {
  background: #603813;
  color: #fff;
}

/* ESPACIADO */
.mb-3,
.mb-4 {
  margin-bottom: 24px !important;
}

/* RESPONSIVE */
@media (max-width: 576px) {
  .wrap-login,
  .wrap-registro {
    padding: 30px 20px;
  }

  .login-title,
  .wrap-registro h2 {
    font-size: 22px;
  }

  label,
  .form-control {
    font-size: 16px;
  }

  .btn-primary,
  .login-form-btn {
    font-size: 16px;
  }

  .register-btn {
    padding: 12px 28px;
  }
}
.wrap-input100 {
  position: relative;
  margin-bottom: 25px;
}

.input100 {
  width: 100%;
  padding: 12px 5px;
  background: #1c1c1c;
  color: #fff;
  font-size: 16px;
  border: none;
  outline: none;
  border-radius: 5px 5px 0 0;
}

.focus-efecto {
  position: absolute;
  left: 45px; /* desplazado para no chocar con el ícono */
  top: 12px;
  color: #aaa;
  font-size: 15px;
  pointer-events: none;
  transition: 0.3s ease-in-out;
}

.input100:focus + .focus-efecto,
.input100.has-val + .focus-efecto {
  top: -18px;
  font-size: 13px;
  color: #b87940;
  left: 0px; /* lo podés dejar en 0 si querés que suba hacia la izquierda */
}

/* NUEVO: Subrayado animado tipo underline */
.focus-line {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(to right, #603813, #1d1106);
  transition: 0.4s ease;
}

.input100:focus ~ .focus-line,
.input100.has-val ~ .focus-line {
  width: 100%;
}
.custom-button {
  background-color: #fff !important;
  color: #5d4037 !important; /* Marrón */
  border: 2px solid #5d4037 !important;
  border-radius: 4px;
  padding: 8px 16px;
  font-weight: 600;
  font-size: 16px;
}

.swal2-confirm.custom-button:hover {
  background-color: #5a3825 !important;
  color: white !important;
}
.icon-input {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  color: #ffbe00;
  font-size: 16px;
  z-index: 2;
}

.input100 {
  padding-left: 40px !important; /* espacio para el ícono */
}
input[type="date"] {
  font-size: 16px; /* igual que .input100 */
  padding: 12px 10px; /* igual que otros inputs */
  background-color: #1c1c1c;
  color: #fff;
  border-radius: 5px;
  border: none;
  font-family: Poppins-Regular, sans-serif;
  width: 100%;
  box-sizing: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

@media (max-width: 576px) {
  input[type="date"] {
    font-size: 18px;
    padding: 14px 12px;
    height: 44px; /* si hace falta para igualar */
  }
}
select {
  width: 100%;
  padding: 12px 10px;
  background-color: #1c1c1c;
  color: #fff;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  font-family: Poppins-Regular, sans-serif;
  box-sizing: border-box;
}

select.form-control {
  padding-left: 40px !important; /* espacio para icono igual que input */
  height: 44px; /* altura típica de los inputs */
  appearance: none; 
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8'%3e%3cpath fill='none' stroke='%23ffbe00' stroke-width='2' d='M1 1l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 14px 8px;
  cursor: pointer;
}

/* Mantener responsive */
@media (max-width: 576px) {
  select.form-control {
    font-size: 18px;
        height: 44px;
  }
}
.btn-volver {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: transparent; /* fondo transparente */
  border: 2px solid #ffbe00;      /* borde amarillo */
  color: #ffbe00;                 /* flecha amarilla */
  width: 40px;
  height: 40px;
  border-radius: 50%;             /* círculo */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  text-decoration: none;
  z-index: 10;
  transition: 0.3s;
}

.btn-volver:hover {
  background-color: #ffbe00; /* se rellena en hover */
  color: #000;               /* flecha negra en hover */
}
.wrap-login {
  position: relative;
}

