/* ==========================================================
   Anim'all Pet — Painel de Gestão Administrativa (Admin)
   Design System: Apple-Grade Dashboard com a Identidade da Marca
   Cores: Azul Profundo (#03285C), Laranja Vibrante (#FF7A00),
   Superfícies Brancas com Sombras Sutis e Tipografia Arredondada
   ========================================================== */

:root {
  --admin-bg-base: #F8FAFC;
  --admin-bg-card: #FFFFFF;
  --admin-navy: #03285C;
  --admin-navy-dark: #021E46;
  --admin-navy-light: #0B3D84;
  --admin-orange: #FF7A00;
  --admin-orange-hover: #E8630C;
  --admin-orange-glow: rgba(255, 122, 0, 0.22);
  --admin-green: #10B981;
  --admin-green-light: #ECFDF5;
  --admin-red: #EF4444;
  --admin-red-light: #FEF2F2;
  --admin-text-main: #0F172A;
  --admin-text-muted: #64748B;
  --admin-text-subtle: #94A3B8;
  --admin-border: #E2E8F0;
  --admin-border-subtle: #F1F5F9;

  --font-display: 'DynaPuff', cursive, system-ui, sans-serif;
  --font-rounded: 'Fredoka', 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;

  --sidebar-w: 76px;
  --sidebar-expanded-w: 260px;
  --bottom-nav-h: 68px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-card: 0 4px 16px -2px rgba(15, 23, 42, 0.05), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
  --shadow-hover: 0 10px 25px -4px rgba(3, 40, 92, 0.08), 0 4px 10px -2px rgba(3, 40, 92, 0.04);
  --shadow-dropdown: 0 18px 40px -8px rgba(3, 40, 92, 0.18);
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html, body {
  width: 100%;
  height: 100%;
  font-family: var(--font-sans);
  background-color: var(--admin-bg-base);
  color: var(--admin-text-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================
   LAYOUT DO PAINEL ADMIN
   Desktop: Barra Lateral Fixa + Área de Conteúdo
   Mobile: Topbar Compacta + Conteúdo + Bottom Nav Ergonômica
   ========================================================== */
.admin-shell {
  display: flex;
  min-height: 100vh;
  width: 100%;
  position: relative;
  overflow-x: hidden;
}

/* ----------------------------------------------------------
   SIDEBAR (Desktop — Recolhimento Automático com Hover Expansivo)
   ---------------------------------------------------------- */
.admin-sidebar {
  width: var(--sidebar-w);
  background: var(--admin-navy);
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 250;
  box-shadow: 4px 0 24px rgba(2, 18, 43, 0.18);
  transition: width 0.32s var(--ease-spring), box-shadow 0.32s ease;
  overflow: hidden;
  white-space: nowrap;
}

.admin-sidebar:hover {
  width: var(--sidebar-expanded-w);
  box-shadow: 14px 0 40px rgba(2, 18, 43, 0.38);
}

.sidebar-header {
  padding: 18px 18px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  min-height: 74px;
}

.admin-brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}

.admin-mini-logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
}

.brand-text-group {
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  pointer-events: none;
  transition: opacity 0.2s ease, max-width 0.32s var(--ease-spring);
}

.admin-sidebar:hover .brand-text-group {
  opacity: 1;
  max-width: 200px;
  pointer-events: auto;
}

.admin-logo-img {
  height: 32px;
  width: auto;
  display: block;
}

.sidebar-nav {
  flex: 1;
  padding: 20px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
  overflow-x: hidden;
}

.nav-section-label {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.4);
  padding: 0 14px;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  white-space: nowrap;
  transition: opacity 0.2s ease, max-height 0.25s ease, padding 0.25s ease;
}

.admin-sidebar:hover .nav-section-label {
  opacity: 1;
  max-height: 30px;
  padding: 8px 14px 6px;
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.admin-nav-item:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}

.admin-nav-item.is-active {
  background: linear-gradient(135deg, rgba(255, 122, 0, 0.22) 0%, rgba(255, 122, 0, 0.08) 100%);
  color: #FFFFFF;
  border: 1px solid rgba(255, 122, 0, 0.35);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.admin-nav-item.is-active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 4px;
  background: var(--admin-orange);
  border-radius: 0 4px 4px 0;
}

.nav-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  color: currentColor;
}

.nav-item-text {
  opacity: 0;
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  pointer-events: none;
  transition: opacity 0.2s ease, max-width 0.32s var(--ease-spring);
}

.admin-sidebar:hover .nav-item-text {
  opacity: 1;
  max-width: 160px;
  pointer-events: auto;
}

.nav-item-count {
  margin-left: auto;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
  opacity: 0;
  transform: scale(0.6);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.admin-sidebar:hover .nav-item-count {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.admin-nav-item.is-active .nav-item-count {
  background: var(--admin-orange);
  color: #FFFFFF;
}

/* ----------------------------------------------------------
   ÁREA PRINCIPAL DE CONTEÚDO (Sem topbar, direto nas informações)
   ---------------------------------------------------------- */
.admin-main {
  flex: 1;
  margin-left: var(--sidebar-w);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: calc(100% - var(--sidebar-w));
  background-color: var(--admin-bg-base);
}

/* Área de Conteúdo das Abas */
.admin-content-body {
  flex: 1;
  padding: 36px 40px;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
}

.admin-tab-view {
  display: none;
  animation: fadeInView 0.25s var(--ease-spring);
}

.admin-tab-view.is-active {
  display: block;
}

@keyframes fadeInView {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ----------------------------------------------------------
   ESTILOS COMPARTILHADOS: CABEÇALHOS DE SEÇÃO & CARDS MÉTRICA
   ---------------------------------------------------------- */
.view-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.view-title-group h2 {
  font-family: var(--font-rounded);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--admin-navy);
  letter-spacing: -0.02em;
}

.view-title-group p {
  color: var(--admin-text-muted);
  font-size: 0.92rem;
  margin-top: 4px;
}

.view-actions-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Botões Padrão Admin */
.btn-admin-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #FF7A00 0%, #E8630C 100%);
  color: #FFFFFF;
  border: none;
  padding: 10px 20px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(232, 99, 12, 0.35);
  transition: all 0.2s ease;
  user-select: none;
}

.btn-admin-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 99, 12, 0.45);
}

.btn-admin-primary:active {
  transform: scale(0.97);
}

.btn-admin-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  color: var(--admin-navy);
  border: 1.5px solid var(--admin-border);
  padding: 10px 18px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-admin-secondary:hover {
  background: var(--admin-bg-base);
  border-color: var(--admin-navy);
  transform: translateY(-1px);
}

/* ==========================================================
   1. ABA PRODUTOS
   ========================================================== */
.products-filter-toolbar {
  background: var(--admin-bg-card);
  border: 1px solid var(--admin-border);
  border-radius: 16px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-sm);
}

.search-field-shell {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--admin-bg-base);
  border: 1px solid var(--admin-border);
  border-radius: 999px;
  padding: 8px 16px;
  flex: 1;
  max-width: 380px;
}

.search-field-shell input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.88rem;
  font-family: inherit;
  color: var(--admin-text-main);
  width: 100%;
}

.filter-selects-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ==========================================================
   DROPDOWNS CUSTOMIZADOS DE CATEGORIA (Design Premium & Fluido)
   ========================================================== */
.custom-dropdown {
  position: relative;
  display: inline-block;
  user-select: none;
}

.custom-dropdown-modal {
  width: 100%;
}

.custom-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #FFFFFF;
  border: 1.5px solid var(--admin-border);
  font-family: var(--font-sans);
  color: var(--admin-navy);
  cursor: pointer;
  outline: none;
  transition: all 0.22s var(--ease-spring);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

/* Trigger do Filtro (Pill) */
.custom-dropdown-trigger.filter-trigger {
  height: 44px;
  border-radius: 999px;
  padding: 0 18px 0 16px;
  font-size: 0.88rem;
  font-weight: 700;
  background: #FFFFFF;
}

/* Trigger do Modal (Rounded 14px, 100% largura) */
.custom-dropdown-trigger.modal-trigger {
  width: 100%;
  height: 48px;
  border-radius: 14px;
  padding: 0 16px;
  font-size: 0.92rem;
  font-weight: 600;
  justify-content: space-between;
}

.trigger-content-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.dropdown-trigger-icon {
  display: grid;
  place-items: center;
  color: var(--admin-orange);
  flex-shrink: 0;
}

.dropdown-trigger-label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.01em;
}

.dropdown-trigger-arrow {
  display: grid;
  place-items: center;
  color: #64748B;
  transition: transform 0.25s var(--ease-spring), color 0.2s ease;
  flex-shrink: 0;
  margin-left: 4px;
}

/* Hover e Focus no Trigger */
.custom-dropdown-trigger:hover {
  border-color: #CBD5E1;
  background-color: #FAFAFC;
  box-shadow: 0 4px 12px rgba(3, 40, 92, 0.08);
  transform: translateY(-1px);
}

.custom-dropdown.is-open .custom-dropdown-trigger {
  border-color: var(--admin-orange);
  box-shadow: 0 0 0 3.5px rgba(255, 122, 0, 0.16);
  background-color: #FFFFFF;
}

.custom-dropdown.is-open .dropdown-trigger-arrow {
  transform: rotate(180deg);
  color: var(--admin-orange);
}

/* Menu Dropdown Flutuante */
.custom-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 250px;
  width: max-content;
  max-width: 320px;
  background: #FFFFFF;
  border: 1px solid var(--admin-border);
  border-radius: 16px;
  box-shadow: 0 16px 40px -6px rgba(3, 40, 92, 0.18), 0 4px 12px rgba(15, 23, 42, 0.06);
  padding: 8px;
  z-index: 500;
  opacity: 0;
  transform: translateY(-8px) scale(0.97);
  pointer-events: none;
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.custom-dropdown-modal .custom-dropdown-menu {
  width: 100%;
  max-width: 100%;
  max-height: 240px;
  overflow-y: auto;
}

.custom-dropdown.is-open .custom-dropdown-menu {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Itens de Categoria */
.custom-dropdown-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: none;
  background: transparent;
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  color: #334155;
  text-align: left;
  cursor: pointer;
  transition: all 0.18s ease;
}

.custom-dropdown-item:hover {
  background: #F8FAFC;
  color: var(--admin-navy);
  transform: translateX(3px);
}

.custom-dropdown-item.is-active {
  background: linear-gradient(135deg, rgba(255, 122, 0, 0.12) 0%, rgba(255, 122, 0, 0.04) 100%);
  color: var(--admin-orange);
  font-weight: 700;
}

/* Indicadores de Cores por Categoria */
.item-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.custom-dropdown-item:hover .item-dot {
  transform: scale(1.25);
}

.dot-all { background: var(--admin-navy); }
.dot-racoes { background: #FF7A00; }
.dot-farmacia { background: #10B981; }
.dot-brinquedos { background: #0284C7; }
.dot-acessorios { background: #8B5CF6; }
.dot-conforto { background: #F59E0B; }

.item-text {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.item-check {
  display: grid;
  place-items: center;
  color: var(--admin-orange);
  opacity: 0;
  transform: scale(0.7);
  transition: all 0.18s ease;
  flex-shrink: 0;
}

.custom-dropdown-item.is-active .item-check {
  opacity: 1;
  transform: scale(1);
}

/* Classe utilitária para manter compatibilidade e acessibilidade */
.visually-hidden {
  display: none !important;
  visibility: hidden !important;
}

/* Dropdowns Administrativos Nativos Padrão */
.admin-select-input {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  height: 44px;
  background-color: #FFFFFF;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2303285C' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 15px 15px;
  border: 1.5px solid var(--admin-border);
  border-radius: 12px;
  padding: 0 42px 0 16px;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--admin-navy);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  cursor: pointer;
  outline: none;
  transition: all 0.22s var(--ease-spring);
  line-height: normal;
}

.admin-select-input:hover {
  border-color: #CBD5E1;
  background-color: #FAFAFC;
  box-shadow: 0 3px 8px rgba(3, 40, 92, 0.06);
}

.admin-select-input:focus {
  border-color: var(--admin-orange);
  background-color: #FFFFFF;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23FF7A00' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  box-shadow: 0 0 0 3.5px rgba(255, 122, 0, 0.16);
}

.admin-select-input option {
  background: #FFFFFF;
  color: var(--admin-text-main);
  font-weight: 500;
  padding: 10px 14px;
}

/* Grid de Produtos Admin */
.admin-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 20px;
}

.admin-product-card {
  background: var(--admin-bg-card);
  border: 1px solid var(--admin-border);
  border-radius: 20px;
  padding: 16px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.25s var(--ease-spring);
}

.admin-product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: #CBD5E1;
}

.admin-product-card.is-hidden {
  opacity: 0.65;
  background: #F8FAFC;
  border-style: dashed;
}

.admin-product-img-wrap {
  width: 100%;
  height: 170px;
  border-radius: 14px;
  background: #F8FAFC;
  overflow: hidden;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  position: relative;
}

.admin-product-img {
  max-width: 85%;
  max-height: 85%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.admin-product-card:hover .admin-product-img {
  transform: scale(1.06);
}

.admin-product-category {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--admin-orange);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.admin-product-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--admin-text-main);
  line-height: 1.35;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.admin-product-desc {
  font-size: 0.8rem;
  color: var(--admin-text-muted);
  line-height: 1.4;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.admin-product-pricing {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--admin-border-subtle);
}

.price-main {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--admin-navy);
}

.price-original {
  font-size: 0.84rem;
  color: var(--admin-text-subtle);
  text-decoration: line-through;
}

.admin-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  gap: 8px;
}

.visibility-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid var(--admin-border);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--admin-text-muted);
  transition: all 0.18s ease;
}

.visibility-toggle-btn:hover {
  background: var(--admin-bg-base);
  color: var(--admin-text-main);
  border-color: #94A3B8;
}

.card-icon-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-icon-action {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--admin-border);
  background: #FFFFFF;
  color: var(--admin-text-muted);
  cursor: pointer;
  transition: all 0.18s ease;
}

.btn-icon-action:hover {
  background: var(--admin-bg-base);
  color: var(--admin-navy);
  border-color: var(--admin-navy);
}

.btn-icon-action.delete:hover {
  background: var(--admin-red-light);
  color: var(--admin-red);
  border-color: rgba(239, 68, 68, 0.4);
}

/* ==========================================================
   2. ABA HORÁRIO DE FUNCIONAMENTO
   ========================================================== */
.hours-container-card {
  background: var(--admin-bg-card);
  border: 1px solid var(--admin-border);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow-card);
}

.hours-helper-banner {
  background: linear-gradient(135deg, rgba(3, 40, 92, 0.05) 0%, rgba(255, 122, 0, 0.05) 100%);
  border: 1px solid rgba(3, 40, 92, 0.12);
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 16px;
  flex-wrap: wrap;
}

.hours-helper-text {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--admin-navy);
  font-weight: 600;
}

.hours-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.hours-day-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 12px;
  border-bottom: 1px solid var(--admin-border);
  gap: 16px;
  transition: background 0.15s ease;
}

.hours-day-row:last-child {
  border-bottom: none;
}

.hours-day-row:hover {
  background: #F8FAFC;
  border-radius: 12px;
}

.day-identity {
  width: 180px;
  display: flex;
  flex-direction: column;
}

.day-name {
  font-weight: 700;
  font-size: 0.96rem;
  color: var(--admin-text-main);
}

.day-status-indicator {
  font-size: 0.75rem;
  color: var(--admin-green);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.hours-day-row.is-closed .day-status-indicator {
  color: var(--admin-text-subtle);
}

.hours-day-row.is-closed .hours-inputs-group {
  opacity: 0.4;
  pointer-events: none;
}

.hours-inputs-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  max-width: 440px;
}

.time-input-shell {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--admin-bg-base);
  border: 1px solid var(--admin-border);
  border-radius: 10px;
  padding: 6px 10px;
  font-size: 0.88rem;
  font-weight: 600;
}

.time-input-shell input[type="time"] {
  border: none;
  background: transparent;
  outline: none;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--admin-navy);
  cursor: pointer;
}

.time-divider-dash {
  color: var(--admin-text-subtle);
  font-weight: 700;
}

/* Toggle Switch Apple-Style */
.switch-label {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 26px;
  flex-shrink: 0;
  cursor: pointer;
}

.switch-label input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #CBD5E1;
  transition: 0.25s var(--ease-spring);
  border-radius: 999px;
}

.switch-slider::before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.25s var(--ease-spring);
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

input:checked + .switch-slider {
  background-color: var(--admin-green);
}

input:checked + .switch-slider::before {
  transform: translateX(20px);
}

.hours-save-footer {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--admin-border);
  display: flex;
  justify-content: flex-end;
}

/* ==========================================================
   3. ABA INFORMAÇÕES & LINKS DO SITE
   ========================================================== */
.info-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.info-card {
  background: var(--admin-bg-card);
  border: 1px solid var(--admin-border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.info-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--admin-border-subtle);
}

.info-icon-badge {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #FFFFFF;
}

.badge-whatsapp {
  background: #25D366;
}

.badge-instagram {
  background: linear-gradient(135deg, #833AB4 0%, #FD1D1D 50%, #FCB045 100%);
}

.badge-location {
  background: var(--admin-navy);
}

.badge-store {
  background: var(--admin-orange);
}

.info-card-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--admin-text-main);
}

.info-form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--admin-text-muted);
}

.field-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-text-input,
.admin-textarea {
  width: 100%;
  background: var(--admin-bg-base);
  border: 1.5px solid var(--admin-border);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 0.88rem;
  font-family: inherit;
  color: var(--admin-text-main);
  outline: none;
  transition: all 0.2s ease;
}

.admin-textarea {
  min-height: 80px;
  resize: vertical;
}

.admin-text-input:focus,
.admin-textarea:focus {
  background: #FFFFFF;
  border-color: var(--admin-navy);
  box-shadow: 0 0 0 3px rgba(3, 40, 92, 0.1);
}

.btn-test-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--admin-bg-base);
  border: 1px solid var(--admin-border);
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--admin-navy);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.18s ease;
}

.btn-test-link:hover {
  background: #FFFFFF;
  border-color: var(--admin-navy);
  transform: translateY(-1px);
}

/* ==========================================================
   4. ABA SERVIÇOS & VALORES (Agendamento Desmembrado)
   ========================================================== */
.services-list-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.service-item-card {
  background: var(--admin-bg-card);
  border: 1px solid var(--admin-border);
  border-radius: 18px;
  padding: 18px 24px;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: all 0.25s var(--ease-spring);
}

.service-item-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  border-color: #CBD5E1;
}

.service-item-card.is-disabled {
  opacity: 0.55;
  background: #F8FAFC;
}

.service-main-col {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
  min-width: 0;
}

.service-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.service-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--admin-navy);
  letter-spacing: -0.01em;
}

.service-category-tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  background: #F1F5F9;
  color: var(--admin-text-muted);
  border: 1px solid #E2E8F0;
}

.service-description {
  font-size: 0.85rem;
  color: var(--admin-text-muted);
  line-height: 1.45;
}

/* Coluna de Preços por Porte */
.service-prices-breakdown {
  display: flex;
  align-items: center;
  gap: 12px;
}

.price-pill-size {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6px 12px;
  border-radius: 10px;
  background: var(--admin-bg-base);
  border: 1px solid var(--admin-border);
  min-width: 72px;
}

.size-label {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--admin-text-subtle);
}

.size-value {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--admin-navy);
}

.service-actions-col {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ==========================================================
   MODAL DIALOG (Adicionar/Editar Produto e Serviço)
   ========================================================== */
.admin-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 18, 43, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 500;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.26s cubic-bezier(0.16, 1, 0.3, 1);
}

.admin-modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.admin-modal-card {
  background: #FFFFFF;
  border-radius: 28px;
  width: 100%;
  max-width: 600px;
  box-shadow: 0 32px 75px -12px rgba(2, 18, 43, 0.42), 0 0 0 1px rgba(226, 232, 240, 0.8);
  overflow: hidden;
  transform: translateY(24px) scale(0.96);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.26s ease;
  display: flex;
  flex-direction: column;
  max-height: 90vh;
}

.admin-modal-backdrop.is-open .admin-modal-card {
  transform: translateY(0) scale(1);
}

.modal-header {
  padding: 22px 28px;
  border-bottom: 1px solid var(--admin-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FAFCFF;
}

.modal-title {
  font-family: var(--font-rounded);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--admin-navy);
  letter-spacing: -0.02em;
}

.modal-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #E2E8F0;
  background: #FFFFFF;
  color: #64748B;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 1rem;
  transition: all 0.2s var(--ease-spring);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.modal-close-btn:hover {
  background: #F1F5F9;
  border-color: #CBD5E1;
  color: var(--admin-navy);
  transform: scale(1.08) rotate(90deg);
}

.modal-close-btn:active {
  transform: scale(0.95);
}

.modal-body-scroll {
  padding: 26px 28px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
  scrollbar-width: thin;
  scrollbar-color: #CBD5E1 transparent;
}

.modal-body-scroll::-webkit-scrollbar {
  width: 6px;
}
.modal-body-scroll::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 999px;
}

.modal-footer {
  padding: 18px 28px;
  border-top: 1px solid var(--admin-border);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  background: #F8FAFC;
}

/* ==========================================================
   MODAL DE CONFIRMAÇÃO DE EXCLUSÃO (DESIGN PROFISSIONAL)
   ========================================================== */
.admin-modal-confirm {
  z-index: 600;
  background: rgba(2, 18, 43, 0.75);
}

.admin-confirm-card {
  background: #FFFFFF;
  border-radius: 28px;
  max-width: 440px;
  width: 100%;
  padding: 34px 28px 28px;
  text-align: center;
  box-shadow: 0 32px 75px -10px rgba(2, 18, 43, 0.45), 0 0 0 1px rgba(226, 232, 240, 0.85);
  transform: translateY(22px) scale(0.94);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.24s ease;
  position: relative;
  overflow: hidden;
}

.admin-modal-backdrop.is-open .admin-confirm-card {
  transform: translateY(0) scale(1);
}

.confirm-icon-circle {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #FEF2F2;
  color: #DC2626;
  border: 2px solid #FECACA;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  box-shadow: 0 12px 28px -4px rgba(220, 38, 38, 0.25);
  animation: confirmPulse 2s infinite ease-in-out;
}

@keyframes confirmPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 12px 28px -4px rgba(220, 38, 38, 0.25); }
  50% { transform: scale(1.06); box-shadow: 0 16px 36px -4px rgba(220, 38, 38, 0.38); }
}

.confirm-card-title {
  font-family: var(--font-rounded);
  font-size: 1.4rem;
  font-weight: 800;
  color: #03285C;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.confirm-card-desc {
  font-size: 0.92rem;
  color: #64748B;
  line-height: 1.55;
  margin-bottom: 20px;
}

.confirm-target-badge {
  background: #F8FAFC;
  border: 1px dashed #CBD5E1;
  border-radius: 16px;
  padding: 12px 18px;
  margin-bottom: 26px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.target-badge-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #94A3B8;
  letter-spacing: 0.5px;
}

.target-badge-name {
  font-size: 0.98rem;
  font-weight: 700;
  color: #03285C;
  word-break: break-word;
}

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

.btn-confirm-cancel {
  height: 48px;
  border-radius: 14px;
  background: #F1F5F9;
  border: 1.5px solid #CBD5E1;
  color: #475569;
  font-weight: 700;
  font-size: 0.94rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s ease;
}

.btn-confirm-cancel:hover {
  background: #E2E8F0;
  border-color: #94A3B8;
  color: #03285C;
}

.btn-confirm-cancel:active {
  transform: scale(0.97);
}

.btn-confirm-delete {
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
  color: #FFFFFF;
  border: none;
  font-weight: 700;
  font-size: 0.94rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 10px 24px -3px rgba(220, 38, 38, 0.42);
  transition: transform 0.18s var(--ease-out), box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-confirm-delete:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -3px rgba(220, 38, 38, 0.52);
  filter: brightness(1.05);
}

.btn-confirm-delete:active {
  transform: scale(0.97);
}

/* ==========================================================
   TOAST NOTIFICATION FLUTUANTE
   ========================================================== */
.admin-toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.admin-toast {
  background: linear-gradient(135deg, #03285C 0%, #063A7D 100%);
  color: #FFFFFF;
  padding: 14px 22px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 20px 45px -8px rgba(2, 18, 43, 0.45), 0 0 25px rgba(25, 124, 217, 0.2);
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.92rem;
  font-weight: 600;
  transform: translateY(-24px) scale(0.95);
  opacity: 0;
  transition: all 0.34s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.admin-toast.is-show {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.toast-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #10B981;
  display: grid;
  place-items: center;
  color: #FFFFFF;
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.45);
}

/* ==========================================================
   BOTTOM NAVIGATION BAR (Apenas Mobile)
   ========================================================== */
.admin-bottom-nav {
  display: none;
}

/* ==========================================================
   RESPONSIVIDADE: MOBILE & TABLETS (<= 1024px)
   ========================================================== */
@media (max-width: 1024px) {
  .admin-sidebar {
    display: none;
  }

  .admin-main {
    margin-left: 0;
    width: 100%;
    padding-bottom: calc(var(--bottom-nav-h) + 24px);
  }

  .admin-content-body {
    padding: 24px 16px;
  }

  .products-filter-toolbar .custom-dropdown {
    width: 100%;
  }

  .products-filter-toolbar .custom-dropdown-trigger {
    width: 100%;
    justify-content: space-between;
  }

  .products-filter-toolbar .custom-dropdown-menu {
    width: 100%;
    max-width: 100%;
  }

  /* Bottom Nav Mobile */
  .admin-bottom-nav {
    display: flex;
    align-items: center;
    justify-content: space-around;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--bottom-nav-h);
    background: #FFFFFF;
    border-top: 1px solid var(--admin-border);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    z-index: 200;
    padding: 0 8px;
    padding-bottom: env(safe-area-inset-bottom, 0);
  }

  .bottom-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: transparent;
    border: none;
    color: var(--admin-text-muted);
    font-size: 0.68rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    flex: 1;
  }

  .bottom-nav-btn svg {
    width: 22px;
    height: 22px;
  }

  .bottom-nav-btn.is-active {
    color: var(--admin-orange);
  }

  .bottom-nav-btn.is-active svg {
    transform: translateY(-2px);
  }

  .hours-day-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .day-identity {
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .hours-inputs-group {
    width: 100%;
    max-width: 100%;
  }

  .service-item-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .service-prices-breakdown {
    width: 100%;
    justify-content: space-between;
  }

  .service-actions-col {
    width: 100%;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px solid var(--admin-border-subtle);
  }
}

/* ==========================================================
   CAIXA DE UPLOAD DE PRODUTO COM ANIMAÇÃO DE CARREGAMENTO
   ========================================================== */
.prod-upload-zone {
  position: relative;
  background: #FAFBFD;
  border: 2px dashed #CBD5E1;
  border-radius: 16px;
  padding: 22px 18px;
  cursor: pointer;
  transition: all 0.22s ease;
  overflow: hidden;
  user-select: none;
}

.prod-upload-zone:hover {
  border-color: var(--admin-orange);
  background: #FFFBF7;
}

.prod-upload-zone.is-dragover {
  border-color: var(--admin-orange);
  background: #FFF6EC;
  border-style: solid;
  box-shadow: 0 0 0 4px rgba(255, 122, 0, 0.15);
  transform: scale(1.01);
}

/* Estado Inicial (Vazio) */
.upload-idle-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.upload-icon-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #EFF6FF;
  color: var(--admin-navy);
  display: grid;
  place-items: center;
  transition: all 0.22s ease;
}

.prod-upload-zone:hover .upload-icon-circle {
  background: var(--admin-orange);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.upload-text-group {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.upload-primary-text {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--admin-navy);
}

.upload-secondary-text {
  font-size: 0.76rem;
  color: var(--admin-text-muted);
}

/* Estado de Preview da Imagem */
.upload-preview-state {
  display: flex;
  align-items: center;
  gap: 14px;
}

.preview-img-shell {
  width: 70px;
  height: 70px;
  border-radius: 14px;
  overflow: hidden;
  background: #FFFFFF;
  border: 1.5px solid var(--admin-border);
  flex-shrink: 0;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(3, 40, 92, 0.08);
}

.preview-img-shell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.preview-info-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.preview-file-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--admin-navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.preview-file-meta {
  font-size: 0.75rem;
  color: var(--admin-text-muted);
}

.btn-change-image {
  background: none;
  border: none;
  padding: 4px 0 0;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--admin-orange);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: opacity 0.15s ease;
  width: fit-content;
}

.btn-change-image:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.btn-remove-preview {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: #FEE2E2;
  color: #DC2626;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: all 0.18s ease;
}

.btn-remove-preview:hover {
  background: #DC2626;
  color: #FFFFFF;
  transform: scale(1.08);
}

/* Overlay de Animação de Carregamento ao Publicar */
.upload-loading-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(5px);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 20px;
  animation: uploadFadeIn 0.22s ease-out;
}

@keyframes uploadFadeIn {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

.upload-spinner-ring {
  width: 38px;
  height: 38px;
  border: 3.5px solid #E2E8F0;
  border-top-color: var(--admin-orange);
  border-right-color: var(--admin-navy);
  border-radius: 50%;
  animation: uploadSpin 0.75s linear infinite;
}

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

.upload-progress-info {
  width: 100%;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.upload-status-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--admin-navy);
}

.upload-progress-track {
  width: 100%;
  height: 8px;
  background: #E2E8F0;
  border-radius: 999px;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.08);
}

.upload-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #FF7A00 0%, #FF9E40 50%, #FF5500 100%);
  background-size: 200% 100%;
  border-radius: 999px;
  transition: width 0.16s ease-out;
  box-shadow: 0 0 10px rgba(255, 122, 0, 0.45);
  animation: uploadShimmer 1.5s infinite linear;
}

@keyframes uploadShimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.upload-progress-details {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.74rem;
}

.upload-percent-text {
  font-weight: 800;
  color: var(--admin-orange);
}

.upload-speed-text {
  color: var(--admin-text-muted);
}

/* Linha para inserir URL manual se preferir */
.upload-url-toggle-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.btn-toggle-url-input {
  background: none;
  border: none;
  padding: 4px 0;
  font-size: 0.76rem;
  color: var(--admin-text-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  transition: color 0.18s ease;
}

.btn-toggle-url-input:hover {
  color: var(--admin-navy);
  text-decoration: underline;
}

.url-input-wrap {
  animation: uploadFadeIn 0.2s ease-out;
}

@media (max-width: 640px) {
  .prod-upload-zone {
    padding: 16px 12px;
  }

  .preview-img-shell {
    width: 58px;
    height: 58px;
    border-radius: 10px;
  }

  .upload-primary-text {
    font-size: 0.82rem;
  }

  .upload-secondary-text {
    font-size: 0.7rem;
  }
}

/* ==========================================================
   TELA DE LOGIN ADMINISTRATIVO (SUPABASE AUTH GATE)
   ========================================================== */
.admin-login-screen {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: radial-gradient(circle at 20% 20%, #06397F 0%, #03285C 55%, #011738 100%);
  display: grid;
  place-items: center;
  padding: 20px;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.admin-login-screen.is-authenticated {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.admin-login-card {
  width: 100%;
  max-width: 430px;
  background: #FFFFFF;
  border-radius: 26px;
  padding: 36px 32px;
  box-shadow: 0 28px 65px rgba(0, 10, 28, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: uploadFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.admin-login-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.login-brand-logos {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--admin-navy);
  padding: 10px 18px;
  border-radius: 18px;
  margin-bottom: 6px;
  box-shadow: 0 8px 20px rgba(3, 40, 92, 0.22);
}

.login-mini-logo {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  object-fit: cover;
}

.login-text-logo {
  height: 28px;
  width: auto;
  object-fit: contain;
}

.admin-login-title {
  font-family: var(--font-rounded);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--admin-navy);
  letter-spacing: -0.02em;
}

.admin-login-subtitle {
  font-size: 0.85rem;
  color: var(--admin-text-muted);
  line-height: 1.45;
}

.admin-login-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.login-input-shell {
  position: relative;
  display: flex;
  align-items: center;
}

.login-input-shell > svg {
  position: absolute;
  left: 14px;
  color: #64748B;
  pointer-events: none;
}

.login-input-shell .admin-text-input {
  padding-left: 42px;
  padding-right: 42px;
  height: 46px;
  font-weight: 600;
}

.btn-toggle-pass {
  position: absolute;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: #64748B;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: color 0.18s ease, background 0.18s ease;
}

.btn-toggle-pass:hover {
  color: var(--admin-navy);
  background: #F1F5F9;
}

.admin-login-error {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #DC2626;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 12px;
  text-align: center;
}

.btn-login-submit {
  width: 100%;
  height: 48px;
  justify-content: center;
  font-size: 0.96rem;
  border-radius: 14px;
  margin-top: 4px;
}

.admin-logout-btn {
  color: rgba(255, 255, 255, 0.75);
}

.admin-logout-btn:hover {
  background: rgba(239, 68, 68, 0.18) !important;
  color: #FCA5A5 !important;
}
