/* =========================================================
   Jhon Balajones Burguer – Estilos Globais (style.css)
   Sistema de Fidelidade
   ========================================================= */

/* ---------- Variáveis de cor ---------- */
:root {
  /* --- Cores de Destaque (Identidade Visual) --- */
  --burguer-yellow: #0ea5e9;       /* Sky-500 */
  --burguer-yellow-dark: #0284c7;  /* Sky-600 */

  /* --- Cores de Fundo (Backgrounds) --- */
  --burguer-dark: #0f172a;         /* Slate-900 */
  --burguer-black: #1e293b;        /* Slate-800 */

  /* --- Tons de Cinza (Bordas e Superfícies) --- */
  --burguer-gray: #1e293b;         /* Slate-800 */
  --burguer-gray-light: #334155;   /* Slate-700 */

  /* --- Textos e Tipografia --- */
  --burguer-white: #ffffff;        
  --text-light: #f1f5f9;           /* Slate-50 */
  --text-muted: #64748b;           /* Slate-500 */

  /* --- Utilitários de Design --- */
  --radius: 12px;
  --shadow: 0 6px 20px rgba(0, 0, 0, .4);
  --transition: .3s ease-in-out;
}

/* ========================================================= */
/* 1) Reset global e configurações base */
/* ========================================================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  min-height: 100vh;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  font-family: 'Poppins', 'Roboto', sans-serif;
  color: var(--text-light);
  background-color: var(--burguer-dark);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  padding: 0;
}


/* --------------------------------------------------------- */
/* 3) Container principal */
/* --------------------------------------------------------- */
.container {
  width: 92%;
  max-width: 680px;
  margin: 30px auto;
  padding: 35px;
  border-radius: var(--radius);
  background: rgba(26, 26, 26, .9);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
  text-align: center;
  position: relative;
  z-index: 1;
  border: 2px solid rgba(255, 193, 7, .3);
}

/* Logo da hamburgueria */
.logo {
  max-width: 280px;
  margin: 0 auto 28px;
  display: block;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .5));
}

/* Texto padrão */
p {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--text-light);
}

/* Efeito "pulse" para destaques - agora em amarelo */
.pulse {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--burguer-yellow);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, .8);
  animation: burguerPulse 1.8s infinite;
}

@keyframes burguerPulse {
  0% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: .7;
    transform: scale(1.05);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* --------------------------------------------------------- */
/* 4) Botões estilizados para hamburgueria - paleta nova */
/* --------------------------------------------------------- */
button {
  cursor: pointer;
  border: 1px solid #0ea5e9;
  outline: none;
  background: linear-gradient(135deg, #0284c7, #075985);
  color: #fff;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 1.1rem;
  font-weight: 600;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, .3);
}

button:hover {
  background: #0284c7;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .4);
}

button:active {
  background: #38bdf8;
}

button.secondary {
  background: linear-gradient(135deg, var(--burguer-black), var(--burguer-gray));
}

button.secondary:hover {
  background: linear-gradient(135deg, var(--burguer-gray), var(--burguer-black));
}

button.success {
  background: linear-gradient(135deg, var(--burguer-yellow), var(--burguer-yellow-dark));
  color: var(--burguer-black);
}

button.success:hover {
  background: #0284c7;
}

/* Imagens */
img {
  max-width: 100%;
  display: block;
  border-radius: 8px;
}

/* --------------------------------------------------------- */
/* 5) Carrossel de imagens - borda em amarelo */
/* --------------------------------------------------------- */
.carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  height: 350px;
  margin: 28px auto;
  border: 3px solid var(--burguer-yellow);
  box-shadow: var(--shadow);
}

.carousel img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .8s ease-in-out;
}

.carousel img.active {
  opacity: 1;
}

.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(74, 74, 74, .8);
  border-radius: 50%;
  padding: 12px 16px;
  font-size: 1.4rem;
  line-height: 1;
  transition: var(--transition);
  color: white;
  border: 2px solid var(--burguer-yellow);
}

.prev {
  left: 15px;
}

.next {
  right: 15px;
}

.prev:hover,
.next:hover {
  background: rgba(45, 45, 45, 1);
  transform: translateY(-50%) scale(1.1);
}

/* --------------------------------------------------------- */
/* 6) Links - agora em amarelo */
/* --------------------------------------------------------- */
a {
  color: var(--burguer-yellow);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

a:hover {
  color: var(--burguer-yellow-dark);
  text-shadow: 0 2px 4px rgba(0, 0, 0, .5);
}

/* --------------------------------------------------------- */
/* 7) Rodapé */
/* --------------------------------------------------------- */
.saga {
  font-size: 1rem;
  margin-top: 35px;
  color: var(--text-muted);
  font-style: italic;
}

@keyframes slideDownBurguer {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Botão de voltar */
.back-btn {
  background: linear-gradient(135deg, var(--burguer-gray), var(--burguer-black));
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: var(--radius);
  cursor: pointer;
  margin-bottom: 20px;
  font-weight: 600;
  transition: var(--transition);
}

.back-btn:hover {
  background: linear-gradient(135deg, var(--burguer-black), var(--burguer-gray));
  transform: translateY(-2px);
}

/* --------------------------------------------------------- */
/* 9) Formulários e inputs - destaque em amarelo */
/* --------------------------------------------------------- */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
textarea,
select {
  width: 100%;
  padding: 12px 16px;
  margin: 8px 0 16px 0;
  border: 2px solid var(--burguer-gray);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-light);
  font-size: 1rem;
  transition: var(--transition);
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #0ea5e9;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 10px rgba(14, 165, 233, .2);
}

/* --------------------------------------------------------- */
/* 10) Cards de clientes - destaque com amarelo */
/* --------------------------------------------------------- */
.customer-card {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid var(--burguer-gray);
  border-radius: var(--radius);
  padding: 20px;
  margin: 15px 0;
  transition: var(--transition);
}

.customer-card:hover {
  border-color: var(--burguer-yellow);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.customer-card.vip {
  border-color: var(--burguer-yellow);
  background: rgba(255, 193, 7, .08);
}

/* --------------------------------------------------------- */
/* 11) Responsivo */
/* --------------------------------------------------------- */
@media (max-width: 768px) {
  body {
    background-attachment: scroll !important;
  }

  .container {
    padding: 25px;
    margin: 20px auto;
  }

  .carousel {
    height: 280px;
  }
}

@media (max-width: 500px) {
  .container {
    padding: 20px;
    width: 95%;
  }

  .carousel {
    height: 220px;
  }

  p {
    font-size: 1rem;
  }

  .pulse {
    font-size: 1.3rem;
  }

  /* espaço para o link fixo não cobrir conteúdo */
  body.points-page {
    padding-bottom: 48px;
  }

  button {
    padding: 10px 20px;
    font-size: 1rem;
  }
}

/* --------------------------------------------------------- */
/* 12) Animações - ajustes para amarelo */
/* --------------------------------------------------------- */
/* Animação básica de bounce para elementos VIP */
@keyframes burguerBounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-10px);
  }

  60% {
    transform: translateY(-5px);
  }
}

.bounce-burguer {
  animation: burguerBounce 2s infinite;
}

/* Efeito de "sizzle" para botões importantes - agora em amarelo */
@keyframes sizzle {
  0% {
    box-shadow: 0 0 5px var(--burguer-yellow);
  }

  50% {
    box-shadow: 0 0 20px var(--burguer-yellow), 0 0 30px var(--burguer-yellow-dark);
  }

  100% {
    box-shadow: 0 0 5px var(--burguer-yellow);
  }
}

.sizzle-effect {
  animation: sizzle 2s infinite;
}

/* --------------------------------------------------------- */
/* 13) Badges e indicadores - paleta preto/amarelo */
/* --------------------------------------------------------- */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge.vip {
  background: linear-gradient(135deg, var(--burguer-yellow), var(--burguer-yellow-dark));
  color: var(--burguer-black);
}

.badge.regular {
  background: linear-gradient(135deg, var(--burguer-gray), var(--burguer-gray-light));
  color: white;
}
/* BEGIN PATCH 1: badge legacy */
.badge.warn{ border-color: rgba(255,193,7,0.35); color: rgba(255,244,214,0.95); }
/* END PATCH 1 */

.badge.points {
  background: linear-gradient(135deg, var(--burguer-yellow), #ff9800);
  color: var(--burguer-black);
}

/* --------------------------------------------------------- */
/* 14) Loading e estados - com destaque amarelo */
/* --------------------------------------------------------- */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid var(--burguer-gray);
  border-radius: 50%;
  border-top-color: var(--burguer-yellow);
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* --------------------------------------------------------- */
/* 15) Alertas e notificações - cores atualizadas */
/* --------------------------------------------------------- */
.alert {
  padding: 15px 20px;
  margin: 15px 0;
  border-radius: var(--radius);
  font-weight: 600;
  text-align: left;
}

.alert.success {
  background: rgba(76, 175, 80, 0.2);
  border: 2px solid #4CAF50;
  color: #c8e6c9;
}

.alert.error {
  background: rgba(120, 120, 120, 0.2);
  border: 2px solid #9e9e9e;
  color: #f5f5f5;
}

.alert.warning {
  background: rgba(255, 193, 7, 0.2);
  border: 2px solid var(--burguer-yellow);
  color: #fff8e1;
}

.alert.info {
  background: rgba(100, 100, 100, 0.2);
  border: 2px solid var(--burguer-gray-light);
  color: #e0e0e0;
}

/* --------------------------------------------------------- */
/* 16) Tabelas responsivas - cabeçalho em amarelo */
/* --------------------------------------------------------- */
.table-container {
  overflow-x: auto;
  margin: 20px 0;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
}

table {
  width: 100%;
  border-collapse: collapse;
  color: var(--text-light);
}

th,
td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid var(--burguer-gray);
}

th {
  background: rgba(255, 193, 7, 0.2);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--burgellow);
}

tr:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* --------------------------------------------------------- */
/* 17) Utilitários */
/* --------------------------------------------------------- */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.mt-1 {
  margin-top: 10px;
}

.mt-2 {
  margin-top: 20px;
}

.mt-3 {
  margin-top: 30px;
}

.mb-1 {
  margin-bottom: 10px;
}

.mb-2 {
  margin-bottom: 20px;
}

.mb-3 {
  margin-bottom: 30px;
}

.hidden {
  display: none !important;
}

.modal.active {
  display: flex !important;
  position: fixed;
  inset: 0;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.75);
  z-index: 10000;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.visible {
  display: block;
}

.flex {
  display: flex;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* --------------------------------------------------------- */
/* 18) Efeitos especiais para a marca - glow em amarelo */
/* --------------------------------------------------------- */
.burguer-glow {
  box-shadow:
    0 0 10px var(--burguer-yellow),
    0 0 20px rgba(255, 255, 255, 0.5),
    0 0 30px rgba(255, 255, 255, 0.3);
}

.text-burguer-gradient {
  background: linear-gradient(135deg, var(--burguer-yellow), #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}
.public-actions{
  margin: 22px 0 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.btn-recover{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  width: 100%;
  max-width: 420px;

  padding: 14px 16px;
  border-radius: 14px;
  text-decoration: none;

  font-weight: 800;
  font-size: 1.05rem;

  color: #fff;
  background: linear-gradient(135deg, #0284c7, #075985);
  border: 1px solid #0ea5e9;

  box-shadow: 0 10px 26px rgba(0,0,0,0.35);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

.btn-recover:hover{
  transform: translateY(-2px);
  filter: brightness(1.02);
  box-shadow: 0 16px 34px rgba(0,0,0,0.42);
}

.public-actions-hint{
  max-width: 560px;
  text-align: center;
  font-size: .95rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* Fim do arquivo CSS */