/* ============================================================
   SMACHIL POS — Estilos del overlay de Login
   Extraído de index.html (líneas 9-114) — Fase 1 modularización
   ============================================================ */
#login-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Sans', sans-serif;
}

#login-box {
  background: #111;
  border: 2px solid var(--brand-primary, #FDC80F);
  border-radius: 16px;
  padding: 40px 32px;
  width: 90%;
  max-width: 380px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .8);
}

#login-box .login-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 36px;
  color: var(--brand-primary, #FDC80F);
  letter-spacing: 3px;
  margin-bottom: 6px;
}

#login-box .login-sub {
  color: #888;
  font-size: 13px;
  margin-bottom: 28px;
}

#login-box input {
  width: 100%;
  padding: 14px 16px;
  background: #1a1a1a;
  border: 2px solid #333;
  border-radius: 10px;
  color: #fff;
  font-size: 15px;
  font-family: 'DM Sans', sans-serif;
  outline: none;
  transition: border .2s;
  margin-bottom: 16px;
}

#login-box input:focus {
  border-color: var(--brand-primary, #FDC80F);
}

#login-box input::placeholder {
  color: #555;
}

#login-box button {
  width: 100%;
  padding: 14px;
  background: var(--brand-primary, #FDC80F);
  color: #000;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: background .2s, transform .1s;
}

#login-box button:hover {
  background: #E6B800;
}

#login-box button:active {
  transform: scale(.97);
}

#login-error {
  color: #e74c3c;
  font-size: 12px;
  margin-top: 10px;
  display: none;
  font-weight: 600;
}

#login-box .login-lock {
  font-size: 40px;
  margin-bottom: 12px;
}

#login-user-grid button:hover {
  border-color: var(--brand-primary, #FDC80F) !important;
  background: #222 !important;
}

.app-hidden {
  display: none !important;
}
