/* ═══════════════════════════════════════════════════
   BIOVET PONTOS — Design System v4
   ═══════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&display=swap');

:root {
  --teal:         #3CB3C0;
  --teal-light:   #63cdd7;
  --teal-dark:    #1A7175;
  --teal-deep:    #145a5e;
  --teal-shadow:  #0f4548;
  --bg:           #f4fbfc;
  --bg-warm:      #f8fdfd;
  --surface:      #FFFFFF;
  --surface-alt:  #f0f9fa;
  --border-light: #ddeef0;
  --border:       #c8e2e5;
  --text:         #1A3A3D;
  --text-soft:    #4d7c80;
  --text-muted:   #8ab5b8;
  --danger:       #e54444;
  --danger-bg:    #fff2f2;
  --success-dark: #1a7d3a;
  --success-bg:   #e6f9ee;
  --r-sm:   12px;
  --r-md:   16px;
  --r-lg:   24px;
  --r-pill: 999px;
  --font: 'Nunito', sans-serif;
  --shadow-sm: 0 1px 3px rgba(20,90,94,0.06), 0 1px 2px rgba(20,90,94,0.04);
  --shadow-md: 0 4px 14px rgba(20,90,94,0.08), 0 2px 6px rgba(20,90,94,0.04);
  --shadow-lg: 0 12px 40px rgba(20,90,94,0.12), 0 4px 12px rgba(20,90,94,0.06);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-tap-highlight-color: transparent; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
}

/* ════════════════════════════════
   SPLASH
   ════════════════════════════════ */
.splash {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #1A7175 0%, #3CB3C0 50%, #5ecdd8 100%);
  transition: opacity 0.6s ease;
}

.splash--out { opacity: 0; pointer-events: none; }

.splash-logo-wrap {
  animation: splashBounce 0.7s cubic-bezier(0.34,1.56,0.64,1) 0.2s both;
}

@keyframes splashBounce {
  from { opacity: 0; transform: scale(0.5) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.splash-logo {
  width: 160px;
  height: 160px;
  object-fit: contain;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,0.18));
}

.splash-tagline {
  margin-top: 18px;
  color: rgba(255,255,255,0.95);
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  animation: fadeUp 0.5s ease 0.7s both;
}

.splash-dots {
  display: flex;
  gap: 8px;
  margin-top: 48px;
  animation: fadeUp 0.4s ease 0.9s both;
}

.splash-dots span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  animation: dotPulse 1.2s ease-in-out infinite;
}
.splash-dots span:nth-child(2) { animation-delay: 0.2s; }
.splash-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes dotPulse {
  0%, 80%, 100% { transform: scale(1); opacity: 0.5; }
  40%            { transform: scale(1.4); opacity: 1; }
}

/* ════════════════════════════════
   VIEWS
   ════════════════════════════════ */
.view { display: none; }
.view.active {
  display: block;
  min-height: 100vh;
  min-height: 100dvh;
}

/* ════════════════════════════════
   AUTH VIEW
   ════════════════════════════════ */
#auth-view { background: var(--surface); }

.hidden { display: none !important; }

/* WELCOME PANEL */
.welcome-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 64px;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 0 28px;
  padding-top: max(env(safe-area-inset-top), 48px);
  padding-bottom: max(env(safe-area-inset-bottom), 48px);
  max-width: 420px;
  margin: 0 auto;
}

.welcome-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  animation: fadeUp 0.6s ease 0.1s both;
}

.welcome-logo {
  width: 150px;
  height: 150px;
  object-fit: contain;
  filter: drop-shadow(0 6px 16px rgba(60,179,192,0.25));
  animation: floatLogo 4s ease-in-out infinite;
}

@keyframes floatLogo {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

.welcome-title {
  font-size: 2rem;
  font-weight: 900;
  color: var(--teal-dark);
  letter-spacing: -0.03em;
  line-height: 1;
}

.welcome-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: fadeUp 0.6s ease 0.25s both;
}

/* FORMS PANEL */
.forms-panel {
  display: flex;
  flex-direction: column;
  padding: 0 28px;
  padding-top: max(env(safe-area-inset-top), 16px);
  padding-bottom: max(env(safe-area-inset-bottom), 40px);
  max-width: 420px;
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
}

.forms-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
  flex-shrink: 0;
}

.btn-back {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  border: 2px solid var(--border-light);
  background: var(--surface);
  color: var(--teal-dark);
  cursor: pointer;
  transition: background 0.15s, transform 0.15s, border-color 0.15s;
  flex-shrink: 0;
}
.btn-back:hover  { border-color: var(--border); background: var(--surface-alt); }
.btn-back:active { transform: scale(0.92); }

.forms-logo { width: 48px; height: 48px; object-fit: contain; }

/* FORMULÁRIO */
.form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: fadeUp 0.4s ease both;
}

.form-title {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.02em;
}

.form-desc {
  font-size: 0.92rem;
  color: var(--text-soft);
  line-height: 1.5;
  margin-top: -8px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.input-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

label {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

input {
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  background: var(--bg);
  border: 2px solid var(--border-light);
  border-radius: var(--r-md);
  height: 52px;
  padding: 0 16px;
  width: 100%;
  -webkit-appearance: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
input::placeholder { color: var(--text-muted); font-weight: 600; }
input:focus {
  outline: none;
  border-color: var(--teal);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(60,179,192,0.1);
}

.input-password-wrap { position: relative; }
.input-password-wrap input { padding-right: 48px; }

.btn-eye {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  transition: color 0.15s;
}
.btn-eye:hover  { color: var(--teal); }
.btn-eye.active { color: var(--teal); }

.form-msg {
  font-size: 0.86rem;
  font-weight: 700;
  border-radius: var(--r-sm);
  min-height: 0;
  padding: 0;
  display: none;
  line-height: 1.4;
}
.form-msg.visible { display: block; padding: 12px 16px; }
.form-msg.error   { background: var(--danger-bg); color: var(--danger); border: 1px solid rgba(229,68,68,0.15); }
.form-msg.success { background: var(--success-bg); color: var(--success-dark); border: 1px solid rgba(26,125,58,0.15); }

/* ════════════════════════════════
   BOTÕES
   ════════════════════════════════ */
.btn {
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  border: none;
  border-radius: var(--r-pill);
  min-height: 52px;
  padding: 0 24px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  transition: transform 0.12s ease, filter 0.12s ease, box-shadow 0.12s ease;
  position: relative;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  color: #fff;
  box-shadow: 0 4px 0 var(--teal-shadow), 0 6px 20px rgba(60,179,192,0.25);
}
.btn-primary:active { box-shadow: 0 2px 0 var(--teal-shadow), 0 4px 12px rgba(60,179,192,0.2); }
.btn-primary:hover  { filter: brightness(1.05); }

.btn-outline {
  background: transparent;
  color: var(--teal-dark);
  border: 2.5px solid var(--border);
  box-shadow: 0 4px 0 #c0dadd;
}
.btn-outline:active { box-shadow: 0 2px 0 #c0dadd; }
.btn-outline:hover  { background: var(--surface-alt); border-color: var(--teal); }

.btn-ghost {
  background: transparent;
  color: var(--text-soft);
  font-weight: 800;
  min-height: 44px;
  box-shadow: none;
}
.btn-ghost:active { transform: scale(0.97); }
.btn-ghost:hover  { color: var(--teal-dark); }

.btn-block { width: 100%; }
.btn-tall  { min-height: 56px; font-size: 0.95rem; }

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #fff;
  box-shadow: 0 4px 0 #0e6b5e, 0 6px 20px rgba(18,140,126,0.25);
  width: 100%;
  min-height: 56px;
  border-radius: var(--r-pill);
  font-size: 0.88rem;
  letter-spacing: 0.05em;
}
.btn-whatsapp:active { box-shadow: 0 2px 0 #0e6b5e; transform: translateY(2px); }
.btn-whatsapp:hover  { filter: brightness(1.05); }

.btn-icon-logout {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--r-md);
  border: 2px solid var(--border-light);
  background: var(--surface);
  color: var(--text-soft);
  cursor: pointer;
  transition: color 0.15s, background 0.15s, transform 0.12s, border-color 0.15s;
}
.btn-icon-logout:hover  { color: var(--danger); border-color: #ffd0d0; background: #fff5f5; }
.btn-icon-logout:active { transform: scale(0.92); }

/* ════════════════════════════════
   HOME VIEW
   ════════════════════════════════ */
#home-view { background: var(--bg); }

.home-shell {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: 0 20px 40px;
}

.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: max(env(safe-area-inset-top), 20px);
  padding-bottom: 4px;
}

.header-logo { width: 56px; height: 56px; object-fit: contain; }

.greeting-section {
  padding: 22px 0 6px;
  animation: fadeUp 0.4s ease both;
}

.greeting-label { font-size: 0.95rem; font-weight: 700; color: var(--text-soft); }

.greeting-name {
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

/* CARTÃO DE PONTOS */
.pontos-card {
  position: relative;
  margin: 24px 0 28px;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(145deg, #145a5e 0%, #1A7175 30%, #3CB3C0 70%, #63cdd7 100%);
  box-shadow: 0 6px 0 var(--teal-shadow), 0 16px 44px rgba(20,90,94,0.3);
  animation: cardEntrance 0.6s cubic-bezier(0.34,1.56,0.64,1) 0.1s both;
}

@keyframes cardEntrance {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.pontos-card-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
  pointer-events: none;
  animation: cardShine 5s ease-in-out infinite;
}

@keyframes cardShine {
  0%        { transform: translateX(-100%) skewX(-15deg); }
  30%, 100% { transform: translateX(200%) skewX(-15deg); }
}

.pontos-card::before,
.pontos-card::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  pointer-events: none;
}
.pontos-card::before { width: 200px; height: 200px; top: -50px; right: -50px; }
.pontos-card::after  { width: 130px; height: 130px; bottom: -35px; left: -25px; }

.pontos-card-content {
  position: relative;
  z-index: 1;
  padding: 24px 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 230px;
  justify-content: space-between;
}

.pontos-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.14);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255,255,255,0.2);
  width: fit-content;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.pontos-card-middle {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pontos-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.pontos-value {
  font-size: 3.5rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.04em;
  line-height: 1;
  text-shadow: 0 2px 10px rgba(0,0,0,0.12);
}

.pontos-unit {
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  margin-top: 2px;
}

.pontos-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.pontos-field { display: flex; flex-direction: column; gap: 3px; }
.pontos-field--right { text-align: right; align-items: flex-end; }

.pontos-field-label {
  font-size: 0.62rem;
  font-weight: 800;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pontos-field-value {
  font-size: 0.9rem;
  font-weight: 800;
  color: #fff;
  max-width: 155px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ════════════════════════════════
   CARROSEL
   ════════════════════════════════ */
.carousel {
  width: 100%;
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 24px;
  background: var(--surface-alt);
  box-shadow: var(--shadow-sm);
}

.carousel-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.4,0,0.2,1);
  will-change: transform;
}

.carousel-slide {
  min-width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  padding: 10px 0 12px;
  background: var(--surface);
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  border: none;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

.carousel-dot.active {
  background: var(--teal);
  transform: scale(1.35);
}

/* ════════════════════════════════
   ADMIN VIEW
   ════════════════════════════════ */
#admin-view  { background: var(--bg); }

.admin-shell {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 0 20px 48px;
}

/* TABS */
.tab-bar {
  display: flex;
  gap: 4px;
  background: var(--surface);
  border-radius: var(--r-pill);
  padding: 4px;
  margin: 20px 0;
  box-shadow: var(--shadow-sm);
}

.tab-btn {
  flex: 1;
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-soft);
  background: transparent;
  border: none;
  border-radius: var(--r-pill);
  padding: 10px 16px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  letter-spacing: 0.02em;
}

.tab-btn--active {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  color: #fff;
  box-shadow: 0 2px 8px rgba(60,179,192,0.3);
}

.tab-panel { animation: fadeUp 0.3s ease both; }

/* SECTION HEADER */
.section-header { margin-bottom: 16px; }
.section-title {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-desc {
  font-size: 0.86rem;
  color: var(--text-soft);
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 16px;
}

/* SEARCH */
.search-wrap {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 16px;
}

.search-input {
  flex: 1;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  background: var(--surface);
  border: 2px solid var(--border-light);
  border-radius: var(--r-pill);
  height: 52px;
  padding: 0 20px;
  -webkit-appearance: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.search-input::placeholder { color: var(--text-muted); }
.search-input:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(60,179,192,0.1);
}

/* USERS LIST */
.users-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.user-card {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border-light);
  animation: fadeUp 0.3s ease both;
}

.user-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.user-card-name {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
}

.user-card-meta {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-soft);
  margin-top: 2px;
}

.status-badge {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  letter-spacing: 0.05em;
  white-space: nowrap;
  flex-shrink: 0;
}

.status-badge--approved {
  background: var(--success-bg);
  color: var(--success-dark);
  border: 1px solid rgba(26,125,58,0.2);
}

.status-badge--pending {
  background: #fff8e6;
  color: #b07a00;
  border: 1px solid rgba(176,122,0,0.2);
}

.user-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid var(--border-light);
  gap: 8px;
  flex-wrap: wrap;
}

.user-card-points {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--teal-dark);
}

.user-card-points span {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-soft);
  margin-left: 3px;
}

.user-card-actions {
  display: flex;
  gap: 8px;
}

.btn-sm {
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 800;
  border: none;
  border-radius: var(--r-pill);
  padding: 8px 14px;
  cursor: pointer;
  transition: filter 0.12s, transform 0.12s;
  letter-spacing: 0.03em;
}
.btn-sm:active { transform: scale(0.95); }

.btn-sm--teal   { background: var(--teal); color: #fff; }
.btn-sm--teal:hover { filter: brightness(1.08); }
.btn-sm--green  { background: #22c55e; color: #fff; }
.btn-sm--green:hover { filter: brightness(1.08); }
.btn-sm--red    { background: var(--danger); color: #fff; }
.btn-sm--red:hover { filter: brightness(1.08); }

/* CONFIG / COTACAO */
.config-section { margin-top: 8px; }

.cotacao-form {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}

.cotacao-row {
  display: flex;
  align-items: flex-end;
  gap: 12px;
}

.cotacao-sep {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--text-soft);
  padding-bottom: 12px;
  flex-shrink: 0;
}

/* MODAL */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(20,90,94,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.modal-box {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  width: 100%;
  max-width: 360px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: scaleIn 0.25s cubic-bezier(0.34,1.56,0.64,1);
}

@keyframes scaleIn {
  from { transform: scale(0.88); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.modal-title {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.02em;
}

.modal-subtitle {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-soft);
  margin-top: -8px;
}

.modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}
.modal-actions .btn { flex: 1; }

/* ROLE BADGE */
.role-badge {
  font-size: 0.72rem;
  font-weight: 900;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.role-badge--admin {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  color: #fff;
}

.role-badge--dashboard {
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
  color: #fff;
}

/* EMPTY STATE */
.empty-state {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 40px 20px;
}

/* ════════════════════════════════
   DASHBOARD VIEW
   ════════════════════════════════ */
#dashboard-view { background: var(--bg); }

.dashboard-shell {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 0 20px 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* COTAÇÃO CARD */
.cotacao-card {
  background: linear-gradient(135deg, var(--teal-deep) 0%, var(--teal) 100%);
  border-radius: var(--r-lg);
  padding: 20px 24px;
  box-shadow: 0 6px 0 var(--teal-shadow), 0 10px 30px rgba(20,90,94,0.2);
  animation: fadeUp 0.4s ease both;
}

.cotacao-card-inner {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cotacao-card-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.cotacao-card-value {
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
}

/* SEARCH SECTION */
.search-section {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.dash-result-area {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dash-user-card {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 20px;
  box-shadow: var(--shadow-md);
  border: 1.5px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: fadeUp 0.3s ease both;
}

.dash-user-name {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--text);
}

.dash-user-meta {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-soft);
}

.dash-user-points {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding-top: 10px;
  border-top: 1px solid var(--border-light);
}

.dash-points-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--teal-dark);
  letter-spacing: -0.03em;
}

.dash-points-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-soft);
}

.dash-cotacao-equiv {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--teal-dark);
  background: var(--surface-alt);
  border-radius: var(--r-sm);
  padding: 6px 10px;
  border: 1px solid var(--border-light);
}

/* CAROUSEL ADMIN */
.carousel-admin-section {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.carousel-slots {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 16px;
}

.carousel-slot {
  background: var(--surface);
  border-radius: var(--r-lg);
  border: 2px dashed var(--border);
  overflow: hidden;
  transition: border-color 0.2s;
}

.carousel-slot:hover { border-color: var(--teal); }

.carousel-slot-preview {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}

.carousel-slot-empty {
  height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.carousel-slot-empty svg {
  color: var(--border);
}

.carousel-slot-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--bg);
  border-top: 1px solid var(--border-light);
  gap: 8px;
}

.carousel-slot-label {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.carousel-slot-actions {
  display: flex;
  gap: 8px;
}

/* ════════════════════════════════
   ANIMAÇÕES
   ════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%       { transform: translateX(-6px); }
  40%       { transform: translateX(6px); }
  60%       { transform: translateX(-4px); }
  80%       { transform: translateX(4px); }
}

/* ════════════════════════════════
   RESPONSIVO
   ════════════════════════════════ */
@media (max-width: 380px) {
  .welcome-title  { font-size: 1.75rem; }
  .pontos-value   { font-size: 2.8rem; }
  .greeting-name  { font-size: 1.45rem; }
  .pontos-card-content { padding: 20px 18px; min-height: 200px; }
}

@media (min-width: 500px) {
  .welcome-panel { gap: 80px; }
  .pontos-card   { border-radius: 28px; }
}
