/* Contenedor principal */
.containerlogin {
  margin: 30px auto;
  padding: 30px;
  border-radius: 10px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Título */
h2 {
  color: #333;
  text-align: center;
  margin-bottom: 25px;
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: 1px;
}

/* Labels */
label.form-label {
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
  display: block;
}

/* Inputs */
input.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #ff6600;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

input.form-control:focus {
  outline: none;
  border-color: #e65c00;
  box-shadow: 0 0 8px rgba(230, 92, 0, 0.6);
}

/* Botón */
button.btn-primary {
  background-color: #ff6600;
  border: none;
  color: #fff;
  font-weight: 700;
  padding: 12px 0;
  width: 100%;
  font-size: 1.1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 15px;
}

button.btn-primary:hover {
  background-color: #e65c00;
}

/* Alertas */
.alert-danger {
  background-color: #ffdddd;
  border-left: 6px solid #ff6600;
  color: #b33a00;
  padding: 15px 20px;
  margin-bottom: 20px;
  border-radius: 6px;
  font-weight: 600;
}

.alert-success {
  background-color: #ff6600;
  border-left: 6px solid #27ae60;
  color: #207a20;
  padding: 15px 20px;
  margin-bottom: 20px;
  border-radius: 6px;
  font-weight: 600;
}

/* Lista de errores */
.alert-danger ul {
  margin: 0;
  padding-left: 20px;
}

.alert-danger li {
  margin-bottom: 5px;
}
.password-container {
  position: relative;
}

.toggle-password {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
}
