:root{
  --bg:#081326;
  --bg2:#0d2a7a;
  --text:#eaf0ff;
  --muted:#b8c4e6;
  --stroke:rgba(255,255,255,.08);
  --yellow:#f6c343;
  --yellow2:#ffdd72;
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color:var(--text);
  background:#fff;
}

.container{width:min(1100px,92%); margin:0 auto}

/* NAV */
.nav{
  background: linear-gradient(90deg, #0a1733, #0b2a73);
  position:sticky; top:0; z-index:10;
  border-bottom:1px solid var(--stroke);

  /* Colores de referencia Lovable */
:root {
  --bg-dark: #0a0b10;
  --card-bg: #ffffff;
  --primary: #f59e0b; /* Amarillo taxi */
  --text-main: #1f2937;
  --text-muted: #6b7280;
}

.bg-dark { background-color: var(--bg-dark); min-height: 100vh; color: white; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: var(--card-bg);
  padding: 1.5rem;
  border-radius: 12px;
  color: var(--text-main);
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}

.stat-label { font-size: 0.875rem; color: var(--text-muted); font-weight: 500; }
.stat-value { font-size: 1.5rem; font-weight: 700; margin: 0.5rem 0; }

.progress-bar { background: #e5e7eb; height: 6px; border-radius: 10px; margin-bottom: 0.5rem; }
.progress-fill { background: var(--primary); height: 100%; border-radius: 10px; }

.profiles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.profile-card {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 1.5rem;
  color: var(--text-main);
}

.tab-btn {
  background: transparent; border: none; color: white; padding: 0.5rem 1rem;
  cursor: pointer; border-bottom: 2px solid transparent; opacity: 0.7;
}

.tab-btn.active { border-bottom-color: var(--primary); opacity: 1; font-weight: bold; }
}
.nav-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
}
.brand{display:flex; align-items:center; gap:10px}
.brand-badge{
  width:26px; height:26px; border-radius:6px;
  background:var(--yellow);
  color:#111; display:grid; place-items:center;
  font-weight:800; font-size:12px;
}
.brand-name{font-weight:700}
.nav-links{display:flex; gap:18px}
.nav-links a{
  color:var(--muted); text-decoration:none; font-size:14px;
}
.nav-links a:hover{color:var(--text)}
.nav-actions{display:flex; gap:10px}

/* BUTTONS */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:8px 12px;
  border-radius:8px;
  text-decoration:none;
  font-weight:700;
  font-size:13px;
  border:1px solid transparent;
}
.btn-primary{
  background:var(--yellow);
  color:#111;
}
.btn-primary:hover{background:var(--yellow2)}
.btn-ghost{
  background:transparent;
  color:var(--text);
  border-color:rgba(255,255,255,.18);
}
.btn-lg{padding:11px 16px; border-radius:10px}

/* HERO */
.hero{
  background: linear-gradient(180deg, #071228, #0b2b73);
  padding:60px 0;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.2fr .9fr;
  gap:30px;
  align-items:center;
}
.hero h1{
  margin:0 0 14px;
  font-size:44px;
  line-height:1.05;
  letter-spacing:-.5px;
}
.hl{color:var(--yellow)}
.hero-sub{color:var(--muted); max-width:520px; margin:0 0 18px}
.hero-cta{display:flex; gap:12px; align-items:center}
.hero-input{
  height:42px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(0,0,0,.15);
  color:var(--text);
  padding:0 12px;
  width:200px;
}

/* mock */
.mock-card{
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  border-radius:12px;
  padding:14px;
}
.mock-title{font-weight:700; margin-bottom:10px; color:var(--muted); font-size:13px}
.mock-box{
  height:210px;
  border-radius:10px;
  background:#fff;
}

/* SECTION */
.section{padding:44px 0; background:#fff; color:#101828}
.section-title{
  text-align:center; margin:0 0 24px;
  font-size:22px; font-weight:800;
}
.cards{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:18px;
}
.card{
  background:#fff;
  border:1px solid rgba(16,24,40,.10);
  border-radius:12px;
  padding:18px;
  box-shadow: 0 10px 20px rgba(16,24,40,.04);
}
.icon{
  width:34px; height:34px; border-radius:10px;
  background:rgba(246,195,67,.25);
  display:grid; place-items:center;
  margin-bottom:10px;
}
.card h3{margin:0 0 8px; font-size:15px}
.card p{margin:0; color:#475467; font-size:13px; line-height:1.4}

/* CTA BAND */
.cta-band{
  background:#1b42ad;
  padding:54px 0;
}
.cta-inner{
  text-align:center;
  max-width:820px;
}
.cta-inner h2{margin:0 0 10px; font-size:20px}
.cta-inner p{margin:0 0 18px; color:rgba(255,255,255,.85)}

/* FOOTER */
.footer{
  background:#071228;
  padding:34px 0 16px;
  border-top:1px solid rgba(255,255,255,.08);
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.2fr 1fr;
  gap:30px;
  align-items:start;
}
.footer-text{color:rgba(255,255,255,.75); font-size:13px; max-width:420px}
.footer-cols{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:18px;
}
.footer-cols h4{margin:0 0 10px; font-size:13px}
.footer-cols a{
  display:block;
  color:rgba(255,255,255,.75);
  text-decoration:none;
  font-size:13px;
  margin:7px 0;
}
.footer-cols a:hover{color:#fff}
.footer-bottom{
  margin-top:18px;
  padding-top:14px;
  border-top:1px solid rgba(255,255,255,.08);
  color:rgba(255,255,255,.6);
}

/* Responsive */
@media (max-width: 900px){
  .hero-grid{grid-template-columns:1fr}
  .cards{grid-template-columns:1fr}
  .nav-links{display:none}
  .footer-grid{grid-template-columns:1fr}
  .footer-cols{grid-template-columns:1fr}
}
/* AUTH (LOGIN / REGISTER) */
.auth-page{
  min-height: calc(100vh - 70px);
  display:flex;
  align-items:center;
  justify-content:center;
  background:#f5f7fb;
  padding:40px 0;
}

.auth-card{
  background:#fff;
  width:100%;
  max-width:420px;
  padding:28px;
  border-radius:14px;
  border:1px solid rgba(16,24,40,.08);
  box-shadow: 0 12px 30px rgba(16,24,40,.08);
}

.auth-card h2{
  margin:0 0 6px;
  font-size:22px;
  text-align:center;
  color:#101828;
}

.auth-sub{
  margin:0 0 22px;
  text-align:center;
  color:#475467;
  font-size:14px;
}

.auth-card label{
  display:block;
  margin:12px 0 6px;
  font-size:13px;
  font-weight:600;
  color:#101828;
}

.auth-card input{
  width:100%;
  height:42px;
  padding:0 12px;
  border-radius:10px;
  border:1px solid #d0d5dd;
  font-size:14px;
}

.auth-card input:focus{
  outline:none;
  border-color:#1b42ad;
}

.radio-label{
  margin-top:16px;
}

.radio-group{
  display:flex;
  flex-direction:column;
  gap:8px;
  font-size:14px;
  color:#344054;
}

.radio-group input{
  margin-right:6px;
}

.btn-block{
  width:100%;
  margin-top:18px;
  height:44px;
}

.auth-footer{
  margin-top:16px;
  text-align:center;
  font-size:13px;
  color:#475467;
}

.auth-footer a{
  color:#1b42ad;
  text-decoration:none;
  font-weight:600;
}
/* extras para login */
.auth-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-top:12px;
  gap:10px;
}

.remember{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:13px;
  color:#344054;
  margin:0 !important;
  font-weight:500 !important;
}

.remember input{
  width:auto;
  height:auto;
}

.forgot{
  font-size:13px;
  text-decoration:none;
  color:#1b42ad;
  font-weight:600;
  white-space:nowrap;
}
/* Ajustes para los botones de selección (Radio Buttons) */
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #344054;
  cursor: pointer;
  font-weight: 400 !important;
}

.radio-option input {
  width: 18px !important;
  height: 18px !important;
  cursor: pointer;
  margin: 0;
}
/* Colores de referencia Lovable */
:root {
  --bg-dark: #0a0b10;
  --card-bg: #ffffff;
  --primary: #f59e0b; /* Amarillo taxi */
  --text-main: #1f2937;
  --text-muted: #6b7280;
}

.bg-dark { background-color: var(--bg-dark); min-height: 100vh; color: white; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: var(--card-bg);
  padding: 1.5rem;
  border-radius: 12px;
  color: var(--text-main);
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}

.stat-label { font-size: 0.875rem; color: var(--text-muted); font-weight: 500; }
.stat-value { font-size: 1.5rem; font-weight: 700; margin: 0.5rem 0; }

.progress-bar { background: #e5e7eb; height: 6px; border-radius: 10px; margin-bottom: 0.5rem; }
.progress-fill { background: var(--primary); height: 100%; border-radius: 10px; }

.profiles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.profile-card {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 1.5rem;
  color: var(--text-main);
}

.tab-btn {
  background: transparent; border: none; color: white; padding: 0.5rem 1rem;
  cursor: pointer; border-bottom: 2px solid transparent; opacity: 0.7;
}

.tab-btn.active { border-bottom-color: var(--primary); opacity: 1; font-weight: bold; }



