/* Ajustes finos que o Tailwind via CDN nao cobre por classe utilitaria.
   Linguagem visual: bordas discretas, cantos pouco arredondados, tipografia
   com serifa para titulos (identidade de restaurante) + sans para o resto. */

:root {
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 10px;
}

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: #333; border-radius: var(--radius-sm); }
::-webkit-scrollbar-track { background: transparent; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: #0a0a0b;
  background-image:
    radial-gradient(900px 500px at 15% 0%, rgba(232,170,31,.05), transparent 60%),
    radial-gradient(700px 420px at 100% 15%, rgba(232,170,31,.035), transparent 55%);
  background-repeat: no-repeat;
}
.font-display { font-family: 'Fraunces', Georgia, 'Times New Roman', serif; }

.card-produto {
  background: #141415;
  border: 1px solid #26262a;
  border-radius: var(--radius-lg);
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.card-produto:hover { border-color: #4a3d16; box-shadow: 0 6px 20px rgba(0,0,0,.4); transform: translateY(-2px); }

.btn-primary {
  background: #E8AA1F;
  color: #17140c;
  font-weight: 600;
  letter-spacing: .01em;
  border-radius: var(--radius-md);
  padding: .7rem 1.4rem;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  transition: background-color .15s ease, transform .1s ease;
  border: 1px solid transparent;
}
.btn-primary:hover { background: #f0b530; }
.btn-primary:active { transform: scale(.98); }
.btn-primary:disabled { opacity: .45; cursor: not-allowed; }

.btn-outline {
  background: transparent;
  color: #e7e7e7;
  border: 1px solid #34343a;
  border-radius: var(--radius-md);
  padding: .7rem 1.4rem;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  transition: border-color .15s ease, background-color .15s ease;
}
.btn-outline:hover { border-color: #E8AA1F; background: rgba(232,170,31,.06); }

input, textarea, select {
  background: #101011;
  border: 1px solid #292930;
  color: #fff;
  border-radius: var(--radius-sm);
  padding: .6rem .85rem;
  font-size: .925rem;
}
input:focus, textarea:focus, select:focus {
  outline: none; border-color: #E8AA1F;
}

.modal-backdrop {
  background: rgba(0,0,0,.72);
}

.pill {
  border-radius: 999px;
  padding: .3rem .7rem;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .02em;
}

.divider-gold {
  height: 2px;
  width: 42px;
  background: #E8AA1F;
}

.img-placeholder {
  background:
    linear-gradient(135deg, rgba(232,170,31,.10), rgba(232,170,31,0) 60%),
    repeating-linear-gradient(135deg, #1b1b1d 0 2px, #161617 2px 26px);
  color: #57534a;
}

.toast {
  animation: toast-in .25s ease, toast-out .25s ease 2.5s forwards;
}
@keyframes toast-in { from { opacity: 0; transform: translateY(10px);} to { opacity:1; transform: translateY(0);} }
@keyframes toast-out { to { opacity: 0; transform: translateY(-10px);} }

/* ------- Animacoes do acompanhamento de pedido ------- */
.status-hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(232,170,31,.08), rgba(232,170,31,0) 70%);
  border: 1px solid #26262a;
}

.anim-pulse { animation: status-pulse 1.6s ease-in-out infinite; }
@keyframes status-pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.12); opacity: .75; } }

.anim-bounce { animation: status-bounce 1.2s ease-in-out infinite; }
@keyframes status-bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.road {
  position: relative;
  height: 3px;
  background: repeating-linear-gradient(90deg, #3a3a3c 0 14px, transparent 14px 24px);
  margin-top: .75rem;
  border-radius: 2px;
}

.moto-track {
  position: relative;
  height: 40px;
}
.moto-icon {
  position: absolute;
  bottom: 0;
  animation: moto-drive 3.2s linear infinite;
}
@keyframes moto-drive {
  0% { left: -10%; transform: scaleX(1); }
  48% { transform: scaleX(1); }
  50% { left: 102%; transform: scaleX(1); }
  50.01% { transform: scaleX(-1); }
  98% { transform: scaleX(-1); }
  100% { left: -10%; transform: scaleX(-1); }
}

.anim-check-in {
  animation: check-in .4s ease;
}
@keyframes check-in { from { transform: scale(0.5); opacity: 0; } to { transform: scale(1); opacity: 1; } }
