body {
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
  font-weight: 400 !important;
  background: linear-gradient(135deg, #1f2a37, #2f3e4d);
  min-height: 100vh;
}

.card-login {
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
  border: none;
}

.erp-text {
  color: #6c757d;
  font-size: 13px;
  margin-top: 5px;
}


input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
  -webkit-appearance: none; 
  margin: 0; 
  
}

input[type=number] { 
/*   border: 0px;
  border-bottom: 1px solid #ced4da !important;   */
  -moz-appearance:textfield; 
}

input{ 
  border: 0px !important;
  border-bottom: 1px solid #ced4da !important;
 } 

.floating-label-container {
  position: relative;

}

.input-field {
  width: 100%;
  padding: 10px 5px;
  padding-right: 2.25rem !important;
  border: none !important;
  border-bottom: 2px solid #dee2e6 !important;
  background: transparent;
  outline: none;
  font-size: 15px;
  transition: all 0.25s ease;
}

/* foco rojo corporativo */
.input-field:focus {
  border-bottom: 1px solid #dc3545 !important;
}

.floating-label {
  position: absolute;
  left: 5px;
  top: 50%;
  transform: translateY(-50%);
  transition: 0.25s;
  pointer-events: none;
  color: #6c757d;
  background: white;
  padding: 0 5px;
}


.input-field:focus + .floating-label,
.input-field:not(:placeholder-shown) + .floating-label {
  top: -8px;
  font-size: 11px;
  color: #dc3545;
  
}

.modal-body{
  padding: 50px;
  padding-top: 70px;
  padding-bottom: 20px;
}

/* ===== OJO PASSWORD ===== */
.toggle-password {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.1rem;
  cursor: pointer;
  color: #6c757d;
  z-index: 2;
  background: #fff;
  padding: 2px;
  border-radius: 4px;
}

.toggle-password:hover {
  color: #343a40;
}



/* ===== BOTÓN ===== */
.btn-login {
  background: #dc3545;
  color: #fff;
  border: none;
  border-radius: 8px;
  height: 48px;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: all 0.2s ease;
}

.btn-login:hover {
  background: #c82333;
  color: #fff;
  transform: translateY(-1px);
}

/* ===== ANIMACIÓN ===== */
.card-login {
  animation: fadeInUp 0.4s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn-link-soft {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 6px;
  color: #004AAA;
  text-decoration: none;
  font-size: 13px;
  transition: all 0.2s ease;
}

.btn-link-soft:hover {
  background: rgba(220, 53, 69, 0.08);
  color: #004AAA;
}

.developer-credit {
    font-size: 11px;
    color: #adb5bd;
}

.developer-credit a {
    color: #8b949e;
    text-decoration: none;
    font-weight: 500;
    transition: color .2s ease;
}

.developer-credit a:hover {
    color: #6c757d;
}

.card-login .modal-body {
    display: flex;
    flex-direction: column;
    min-height: 500px;
}

.developer-credit {
    font-size: 11px;
    color: #adb5bd;
    padding-bottom: 5px;
}

.developer-credit a {
    color: #8b949e;
    text-decoration: none;
    font-weight: 500;
}

.developer-credit a:hover {
    color: #6c757d;
}