/* Dina Restaurante & Pizzaria — UI (Bootstrap-friendly) */

:root{
  --dina-orange:#f57c00;
  --dina-red:#d32f2f;
  --dina-green:#2e7d32;
  --dina-white:#ffffff;
  --dina-dark:#111827;
}

body{
  background:#f6f7fb;
}

/* ------------------- Auth ------------------- */
.auth-page{
  background: radial-gradient(1200px 800px at 10% 10%, rgba(245,124,0,.55), transparent 60%),
              radial-gradient(900px 700px at 90% 10%, rgba(211,47,47,.55), transparent 60%),
              linear-gradient(135deg, #0b1220, #141b2d);
}

.auth-left{
  width: 42%;
  max-width: 560px;
  background: linear-gradient(135deg, rgba(245,124,0,.15), rgba(211,47,47,.10));
}

.auth-card{
  width: 100%;
  max-width: 440px;
  border-radius: 18px;
}

.auth-logo{
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,.25);
}

.auth-logo-sm{
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 10px;
}

/* ------------------- POS ------------------- */
.pos-topbar{
  background: linear-gradient(135deg, var(--dina-orange), var(--dina-red));
}

.brand-logo{
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid rgba(255,255,255,.35);
  box-shadow: 0 10px 18px rgba(0,0,0,.18);
}

.pos-filters{
  background: #ffffff;
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.pos-search{
  min-width: 280px;
  max-width: 520px;
  width: 42%;
}

.pos-products{
  background: #f6f7fb;
}

.pos-cart{
  width: 380px;
  min-width: 340px;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.pos-cart-items{
  flex-grow: 1;
}

.pos-total{
  font-size: 1.6rem;
  font-weight: 800;
}

.product-card{
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(16,24,40,.08);
  transition: transform .08s ease, box-shadow .08s ease;
  cursor: pointer;
}

.product-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(16,24,40,.12);
}

.product-img{
  height: 120px;
  background: linear-gradient(135deg, rgba(245,124,0,.25), rgba(46,125,50,.12));
  display:flex;
  align-items:center;
  justify-content:center;
  color:#6b7280;
  font-weight:700;
}

.product-img img{
  width:100%;
  height:120px;
  object-fit:cover;
}

.product-price{
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--dina-red);
}

.cart-item{
  border-bottom: 1px dashed rgba(0,0,0,.12);
  padding: 10px 0;
}

.cart-qty{
  width: 96px;
}

.btn-pay{
  border-radius: 14px;
  border: 0;
  font-weight: 800;
  color: #111;
}

.btn-pay i{ line-height: 1; }

.btn-pay-pix{
  background: #22c55e; /* verde */
  color: #062b13;
}

.btn-pay-card{
  background: #3b82f6; /* azul */
  color: #061b3b;
}

.btn-pay-cash{
  background: #fbbf24; /* amarelo */
  color: #3b2a06;
}

@media (max-width: 991px){
  .pos-cart{
    width: 340px;
    min-width: 320px;
  }
  .pos-search{
    width: 100%;
    min-width: 220px;
  }
}

/* ------------------- Admin ------------------- */
.admin-layout{
  display:flex;
  min-height:100vh;
}

.admin-sidebar{
  width: 270px;
  background: linear-gradient(180deg, #0b1220, #111827);
  color: #fff;
  display:flex;
  flex-direction:column;
  position: sticky;
  top:0;
  height:100vh;
}

.brand-logo-sm{
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid rgba(255,255,255,.25);
}

.admin-sidebar .nav-link{
  color: rgba(255,255,255,.78);
  border-radius: 12px;
  padding: .7rem .9rem;
  margin: .2rem 0;
}

.admin-sidebar .nav-link:hover{
  background: rgba(255,255,255,.08);
  color: #fff;
}

.admin-sidebar .nav-link.active{
  background: rgba(245,124,0,.18);
  color: #fff;
  border: 1px solid rgba(245,124,0,.25);
}

.admin-sidebar-footer{
  margin-top:auto;
  border-top:1px solid rgba(255,255,255,.08);
}

.admin-content{
  flex-grow:1;
  background:#f6f7fb;
}

.kpi-card{
  border-radius: 16px;
}

.kpi-icon{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 1.2rem;
}

