/* ============================================
   LOGIN - ESTILOS MEJORADOS
   ============================================ */

/* Input with Icon Button */
.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-icon .input {
  padding-right: 48px;
  width: 100%;
}

.input-icon-btn {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s;
  border-radius: 0 8px 8px 0;
}

.input-icon-btn:hover {
  color: #f88414;
  background: rgba(248, 132, 20, 0.05);
}

.input-icon-btn:active {
  transform: scale(0.95);
}

.input-icon-btn i {
  font-size: 16px;
  transition: all 0.2s;
}

/* Focus state for input with icon */
.input-with-icon .input:focus {
  outline: none;
  border-color: #f88414;
  box-shadow: 0 0 0 3px rgba(248, 132, 20, 0.1);
}

/* Mejorar el input general */
.input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #0f172a;
  transition: all 0.2s;
  background: white;
}

.input:focus {
  outline: none;
  border-color: #f88414;
  box-shadow: 0 0 0 3px rgba(248, 132, 20, 0.1);
}

.input::placeholder {
  color: #94a3b8;
}

/* Label mejorado */
.label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.label i {
  color: #f88414;
  font-size: 14px;
}

/* Field spacing */
.field {
  margin-bottom: 20px;
}

/* Checkbox mejorado */
.check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #475569;
  cursor: pointer;
  user-select: none;
}

.check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #f88414;
}

.check:hover {
  color: #0f172a;
}

/* Button mejorado */
.btn-block {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 8px;
  transition: all 0.2s;
}

.btn-primary {
  background: #f88414;
  color: white;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: #e67710;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(248, 132, 20, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
}

/* Divider */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
  margin: 24px 0;
}

/* Hint */
.hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: #64748b;
  text-align: center;
}

.hint i {
  color: #f88414;
  font-size: 16px;
}

/* Auth card */
.auth__card {
  max-width: 440px;
  width: 100%;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Responsive */
@media (max-width: 640px) {
  .auth__card {
    padding: 24px;
  }
  
  .input-icon-btn {
    width: 44px;
  }
  
  .input-with-icon .input {
    padding-right: 44px;
  }
}