/* admin.css - Panel Admin CRUDO & CRUDOS */
/* ================================
   CRUDO & CRUDOS - CLIENTES UI
================================ */

/* =====================================================
   CRUDO & CRUDOS — CLIENTES UI (Premium Sushi Bar)
   - Dark charcoal + champagne gold + ocean teal
   - Clean, spacious, luxury feel
===================================================== */

:root{
  /* Base */
  --bg0:#050608;
  --bg1:#090b10;
  --card:#0e1118cc;       /* glass */
  --cardSolid:#0e1118;    /* fallback */
  --line:#1b2230;
  --line2:#242d3d;

  /* Text */
  --text:#eef2f7;
  --muted:#a7b3c4;

  /* Brand accents */
  --gold:#d7c08a;         /* champagne */
  --gold2:#b99c57;        /* deeper gold */
  --teal:#2dd4bf;         /* ocean */
  --teal2:#38bdf8;        /* cool accent */
  --danger:#ff6b86;

  /* Shadows */
  --shadow: 0 18px 60px rgba(0,0,0,.55);
  --shadow2: 0 10px 30px rgba(0,0,0,.45);

  /* Radius */
  --r:18px;
  --r2:14px;

  /* Banner height guidance */
  --topbarH: 140px;
}

@media (max-width: 520px){
  :root{ --topbarH: 110px; }
}

*{ box-sizing:border-box; }
html,body{ height:100%; }

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Helvetica Neue", sans-serif;
  color: var(--text);
  /* No offset: banner should scroll away with the page */
  padding-top: 0;
  background:
    radial-gradient(1100px 650px at 18% 12%, rgba(45,212,191,.10), transparent 60%),
    radial-gradient(900px 520px at 85% 16%, rgba(215,192,138,.10), transparent 55%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
}

/* Subtle noise look without image */
body:before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.02), rgba(255,255,255,.02) 1px, transparent 1px, transparent 3px);
  opacity:.06;
  mix-blend-mode: overlay;
}

/* ===== Header / Banner ===== */
.topbar{
  /* Not fixed: it should disappear when you scroll */
  position: relative;
  width: 100%;
  background: #000;
   padding: 24px 0;
  display:flex;
   justify-content:center;
  align-items:center;
 overflow: hidden;
  
}
.topbar::before,
.topbar::after{
  content:none;
}
.banner-img{
  position: relative;
z-index: 2;
display:block;
width: min(1100px, 96%);
height: 180px;
object-fit: cover;
   margin: 0 auto;
  filter: none;
 
}
.topbar,
.topbar * {
  mix-blend-mode: normal;
}
/* ===== Layout ===== */
.container{
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 16px;
  display:grid;
  grid-template-columns: minmax(0, 1.6fr)0.7fr;
  gap: 20px;
  align-items: start;
}

@media (max-width: 980px){
  .container{ grid-template-columns: 1fr; }
}

/* ===== Cards ===== */
.card{
  background: linear-gradient(180deg, rgba(14,17,24,.82), rgba(14,17,24,.64));
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  overflow:hidden;
  position:relative;
}

.card:before{
  content:"";
  position:absolute;
  inset:-1px;
  border-radius: var(--r);
  padding:1px;
  background: linear-gradient(135deg, rgba(215,192,138,.25), rgba(45,212,191,.18), rgba(255,255,255,.05));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0)content-box,
  linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events:none;
}

.card h2{
  margin:0;
  padding: 14px 16px 10px;
  font-size: 22px;
  letter-spacing:.3px;
}

.card h2::after{
  content:"";
  display:block;
  height:1px;
  margin-top:10px;
  background: linear-gradient(90deg, rgba(215,192,138,.35), rgba(255,255,255,.06));
}

/* ===== Menu grid ===== */
.grid{
  display:flex;
  flex-direction:column;
  gap: 12px;
  padding: 12px 14px 16px;
}

/* Menu item */
.item{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap: 14px;
  padding: 14px;
  border-radius: var(--r2);
  background: rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.07);
  transition: transform .10s ease, border-color .18s ease, background .18s ease;
}

.item:hover{
  transform: translateY(-1px);
  border-color: rgba(215,192,138,.25);
  background: rgba(0,0,0,.24);
}

.item-info{
  min-width:0;
}

.item-info h3{
  margin:0;
  font-size: 30px;
  letter-spacing: .2px;
  font-weight: 800;
}

.price{
  margin: 8px 0 0;
  font-size: 26px;
  font-weight: 900;
  color: var(--gold);
}

.desc{
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 24px;
  line-height: 1.45;
}

/* ===== Buttons ===== */
.btn{
  border: 1px solid rgba(215,192,138,.25);
  background: linear-gradient(180deg, rgba(215,192,138,.18), rgba(215,192,138,.10));
  color: var(--text);
  padding: 10px 14px;
  border-radius: 12px;
  cursor:pointer;
  font-weight: 900;
  letter-spacing:.2px;
  transition: transform .06s ease, background .16s ease, border-color .16s ease, opacity .16s ease;
  box-shadow: 0 10px 22px rgba(0,0,0,.35);
}

.btn:hover{
  border-color: rgba(215,192,138,.38);
  background: linear-gradient(180deg, rgba(215,192,138,.22), rgba(215,192,138,.12));
}

.btn:active{ transform: translateY(1px); }

.btn:disabled{
  opacity:.45;
  cursor:not-allowed;
  box-shadow:none;
}

.btn-small{
  padding: 9px 12px;
  min-width: 98px;
}

/* Primary action (Continuar) should feel premium-teal */
#checkoutBtn.btn{
  border-color: rgba(45,212,191,.30);
  background: linear-gradient(180deg, rgba(45,212,191,.22), rgba(45,212,191,.10));
}

#checkoutBtn.btn:hover{
  border-color: rgba(45,212,191,.45);
  background: linear-gradient(180deg, rgba(45,212,191,.28), rgba(45,212,191,.12));
}

/* ===== Cart ===== */
#cart{
  padding: 12px 14px 0;
  align-self: start;
  font-size: 18px;
  line-height: 1.35;
}

.cart-lines{
  display:flex;
  flex-direction:column;
  gap: 10px;
  padding-bottom: 10px;
}

.cart-row{
  display:flex;
  justify-content:space-between;
  gap: 12px;
  padding: 12px;
  border-radius: var(--r2);
  border: 1px solid rgba(255,255,255,.07);
  background: rgba(0,0,0,.18);
}

.cart-left{
  min-width:0;
}

.cart-name{
  font-weight: 900;
  font-size: 18px;
  letter-spacing:.2px;
}

.cart-price{
  font-size: 16.5px;
  color: var(--muted);
  margin-top: 4px;
}

.cart-right{
  display:flex;
  align-items:center;
  gap: 8px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

/* Qty controls */
.qty-btn{
  width: 30px;
  height: 30px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.06);
  color: var(--text);
  font-weight: 900;
  cursor:pointer;
  transition: background .15s ease, border-color .15s ease, transform .06s ease;
}

.qty-btn:hover{
  background: rgba(255,255,255,.10);
  border-color: rgba(215,192,138,.22);
}

.qty-btn:active{ transform: translateY(1px); }

.qty{
  min-width: 22px;
  text-align:center;
  font-weight: 900;
  color: var(--gold);
}

.remove-btn{
  border: none;
  background: transparent;
  color: rgba(255,107,134,.95);
  font-weight: 900;
  cursor:pointer;
  padding: 6px 8px;
  border-radius: 10px;
  transition: background .15s ease;
}

.remove-btn:hover{
  background: rgba(255,107,134,.10);
}

/* ===== Delivery section ===== */
.delivery-box{
  margin-top: 12px;
  padding: 12px 14px 6px;
  border-top: 1px solid rgba(255,255,255,.07);
}

.mini-title{
  font-weight: 900;
  letter-spacing:.3px;
  margin-bottom: 8px;
  color: rgba(255,255,255,.90);
}

.opt{
  display:flex;
  align-items:center;
  gap:10px;
  margin: 8px 0;
  color: rgba(255,255,255,.85);
  font-weight: 800;
}

.opt input{ accent-color: var(--gold); }

.client-box{
  margin-top: 10px;
}

/* Inputs */
.input{
  width:100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.22);
  color: var(--text);
  outline:none;
  transition: border-color .15s ease, background .15s ease;
}

.input::placeholder{ color: rgba(167,179,196,.65); }

.input:focus{
  border-color: rgba(45,212,191,.35);
  background: rgba(0,0,0,.26);
}

/* Pickup */
.pickup-row{
  display:flex;
  flex-direction:column;
  gap:6px;
  margin-bottom: 10px;
}

.mini-help{
  font-size: 16.5px;
  color: var(--muted);
  line-height: 1.35;
}

/* ===== Totals ===== */
.total{
  margin-top: 12px;
  padding: 12px 14px 16px;
  border-top: 1px solid rgba(255,255,255,.07);
}

.total div{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-top: 8px;
  font-weight: 900;
}

#subtotal, #total, #deliveryFeeText{
  color: var(--text);
}

#total{
  color: var(--gold);
  text-shadow: 0 0 20px rgba(215,192,138,.10);
}

/* Small polish */
p{ margin: 0; }
a{ color: inherit; }

::-webkit-scrollbar{ height:10px; width:10px; }
::-webkit-scrollbar-thumb{
  background: rgba(255,255,255,.10);
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover{
  background: rgba(215,192,138,.20);
}


/* === Cliente: Nombre / Teléfono === */
.common-fields{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}

@media (max-width: 520px){
  .common-fields{ grid-template-columns: 1fr; }
}
.horario-atencion {
  width: 100%;
  text-align: center;
  padding: 10px 12px;
  margin-bottom: 14px;
  font-size: 14px;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.65),
    rgba(25, 25, 25, 0.9),
    rgba(0, 0, 0, 0.65)
  );
  color: #dcdcdc;
}

.horario-atencion strong {
  display: block;
  font-size: 24px;
  color: #e6c07b; /* dorado elegante */
  font-weight: 600;
  margin-bottom: 4px;
}

.horario-atencion span {
  font-size: 24px;
  color: #cfcfcf;
}
.horario-atencion .solo-delivery{
  display:block;
  font-size: 20px;
  color: #9be7b0;
  margin-top: 4px;
}

textarea.input {
  resize:vertical;
  min-height: 70px;
}
