/* ===========================
   Variáveis + Reset básico
   =========================== */
:root{
  --black:#000000;
  --white:#FFFFFF;
  --gold:#D4AF37;
  --muted:#c7c7c7;
  --maxw:1200px;

  --bg-grad: linear-gradient(180deg,#0a0a0a 0%, #111 60%, #0a0a0a 100%);
  --glass-bg: rgba(255,255,255,.06);
  --glass-border: rgba(255,255,255,.12);
}

*{box-sizing:border-box}
html,body{
  margin:0; padding:0;
  color:var(--white);
  background:var(--bg-grad);
  font-family:"Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}
a{color:var(--gold);text-decoration:none}
a:hover{opacity:.9}

/* Container utilitário (usado no footer) */
.container{max-width:var(--maxw);margin:0 auto;padding:0 20px}

/* ===========================
   NAVBAR (para <nav-bar>)
   =========================== */
header{
  position:sticky; top:0; z-index:50;
  background:rgba(0,0,0,.45);
  border-bottom:1px solid rgba(255,255,255,.06);
  backdrop-filter:saturate(160%) blur(12px);
}
.nav{display:flex;align-items:center;justify-content:space-between;height:68px}
.brand{display:flex;gap:10px;align-items:center}
.logo{width:36px;height:36px;border-radius:10px}
.brand span{font-weight:700;letter-spacing:.5px}
.menu{display:flex;gap:24px;align-items:center}
.menu a{color:#f2f2f2;font-weight:500}
.cta{
  padding:10px 16px;border-radius:999px;background:var(--gold);
  color:#141414 !important;font-weight:700;
  box-shadow:0 10px 24px rgba(212,175,55,.25);
  transition:transform .2s ease, filter .2s;
}
.cta:hover{transform:translateY(-1px);filter:brightness(1.05)}
.burger{display:none;background:none;border:0;cursor:pointer}
.burger span{display:block;width:24px;height:2px;background:#fff;margin:6px 0}

/* Mobile navbar */
@media(max-width:900px){
  .menu{
    display:none; position:absolute; left:0; right:0; top:68px;
    background:rgba(0,0,0,.92); padding:14px 20px;
    border-bottom:1px solid rgba(255,255,255,.08)
  }
  .menu.open{display:flex; flex-direction:column; gap:14px}
  .burger{display:block}
}

/* ===========================
   Layout da página de Login
   =========================== */
body{
  min-height:100vh;
  display:flex; flex-direction:column;
}
main{
  flex:1;
  display:grid; place-items:center;
  padding:24px;
}

/* Card de login (efeito glass) */
.login-box{
  width:100%; max-width:420px;
  background:rgba(255,255,255,0.05);
  border:1px solid var(--glass-border);
  border-radius:16px;
  padding:32px;
  box-shadow:0 8px 32px rgba(0,0,0,0.5);
  backdrop-filter: blur(12px);
  transition: transform .2s ease, box-shadow .2s ease;
}
.login-box:hover{
  transform: translateY(-2px);
  box-shadow:0 12px 40px rgba(0,0,0,0.55);
}

/* Cabeçalho do card */
.login-header{
  display:flex; align-items:center; justify-content:space-between;
  margin-bottom:24px;
}
.login-header h1{
  font-size:22px; margin:0;
  background:linear-gradient(135deg, var(--gold), #b88a22);
  -webkit-background-clip:text; -webkit-text-fill-color:transparent;
}

/* Tabs Cliente/Funcionário */
.tabs{
  display:flex; gap:12px; margin:16px 0 24px;
}
.tabs button{
  flex:1; padding:12px 16px;
  border-radius:12px; border:1px solid rgba(255,255,255,0.14);
  background:transparent; color:#fff; cursor:pointer; font-weight:500;
  transition: all .2s ease;
}
.tabs button:hover{ background:rgba(255,255,255,0.08) }
.tabs button.active{
  background:var(--gold); color:#111; font-weight:700; border-color:transparent;
  box-shadow:0 2px 12px rgba(225,164,40,0.3);
}

/* Formulário */
form{ display:grid; gap:16px }
.field{ display:grid; gap:8px }
.field label{ font-size:14px; color:#d6d6d6; font-weight:500 }
.field input{
  padding:14px; border-radius:12px;
  border:1px solid rgba(255,255,255,0.25);
  background:var(--glass-bg); color:#fff;
  transition: all .2s ease;
}
.field input::placeholder{ color:#d0d0d0 }
.field input:focus{
  border-color:var(--gold); outline:none;
  box-shadow:0 0 0 3px rgba(225,164,40,0.25);
}

/* Ações (botões/links) */
.login-actions{
  display:flex; gap:16px; align-items:center; margin-top:8px;
}
.login-btn{
  padding:14px 24px; border-radius:999px; border:none;
  background:var(--gold); color:#111; font-weight:800; cursor:pointer;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow:0 2px 12px rgba(225,164,40,0.3);
}
.login-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 6px 16px rgba(225,164,40,0.45);
}
.link{ color:var(--gold); font-size:14px }
.link:hover{ opacity:.85 }

/* Mensagens/Status */
.msg{
  min-height:20px; margin-top:12px; font-size:14px; color:var(--muted);
  text-align:center;
}

/* ===========================
   Footer
   =========================== */
footer{
  padding:28px 0;
  border-top:1px solid rgba(255,255,255,.08);
  background:rgba(0,0,0,.5);
}
