:root {
  --bg:#0f172a;
  --sidebar:#020617;
  --card:#1e293b;
  --cardHover:#334155;
  --text:#f8fafc;
  --muted:#94a3b8;
  --accent:#84cc16;
  --danger:#ef4444;
}

body.light-theme {
  --bg: #f1f5f9;
  --sidebar: #ffffff;
  --card: #ffffff;
  --cardHover: #e2e8f0;
  --text: #0f172a;
  --muted: #64748b;
  --accent: #84cc16;
  --danger: #ef4444;
}

body.light-theme .sidebar {
  background: #f8fafc;
  border-right: 1px solid #cbd5e1;
}

body.light-theme input,
body.light-theme select,
body.light-theme textarea {
  background: #f8fafc;
  color: #0f172a;
  border: 1px solid #cbd5e1;
}

body.light-theme .hh-table td {
  background: #f8fafc;
  color: #0f172a;
}

body.light-theme .hh-table input {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #cbd5e1;
}

body.light-theme .hh-generate-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

body.light-theme .hh-total-banner {
  background: #0f172a;
  color: #ffffff;
}

body.light-theme .hh-registro-item {
  background: #f8fafc;
  color: #0f172a;
}

* {
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background:var(--bg);
  color:var(--text);
  min-height:100vh;
}

.login-secondary{margin-top:10px;background:transparent!important;border:1px solid currentColor!important}
.signup-box{display:grid;gap:10px;margin-top:14px}
.signup-box.hidden{display:none}

.hidden {
  display:none !important;
}

.app {
  min-height:100vh;
}

.app.login-mode {
  display:flex;
  justify-content:center;
  align-items:center;
  padding:20px;
}

.login-card {
  width:100%;
  max-width:420px;
  background:var(--card);
  padding:34px;
  border-radius:24px;
  display:flex;
  flex-direction:column;
  gap:16px;
}

.login-card h1 {
  color:var(--accent);
  text-align:center;
}

.login-card p,
.login-card small {
  color:var(--muted);
  text-align:center;
}

.login-card input {
  padding:14px;
  border:none;
  border-radius:12px;
  background:#0b1220;
  color:var(--text);
}

.login-card button {
  padding:14px;
  border:none;
  border-radius:12px;
  background:var(--accent);
  font-weight:800;
  cursor:pointer;
}

.workspace {
  width:100%;
  min-height:100vh;
  display:grid;
  grid-template-columns:260px 1fr;
  background:var(--bg);
}

.content-area {
  padding:32px;
  min-width:0;
}

.cloud-tools {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  max-width:1450px;
  margin:0 auto 16px;
  padding:12px 14px;
  border:1px solid rgba(239,68,68,.35);
  border-radius:12px;
  background:rgba(239,68,68,.1);
  color:#fda4af;
  font-size:13px;
}

.cloud-tools[hidden] { display:none !important; }
.cloud-tools button { margin:0; padding:8px 12px; border:0; border-radius:9px; background:var(--danger); color:white; font-weight:700; cursor:pointer; }

@media(max-width:768px) {
  .workspace {
    grid-template-columns:1fr;
  }

  .content-area {
    padding:12px;
  }
}

