/* ============================================
   VARIÁVEIS CSS (Adicione ao seu :root)
   ============================================ */
:root {
  --sidebar-width: 260px;
  --sidebar-bg: #2F3349;
  --sidebar-hover: #3B3F5C;
  --sidebar-text: #B6B9D1;
  --sidebar-text-hover: #FFFFFF;
  
  --primary: #696CFF;
  --primary-light: #E7E7FF;
  --primary-dark: #5A5DE0;
  
  --body-bg: #F5F5F9;
  --card-bg: #FFFFFF;
  --topbar-bg: #FFFFFF;
  
  --text-primary: #4B465C;
  --text-secondary: #8B869B;
  --text-muted: #B6B9D1;
  
  --border-color: #E6E6EE;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.08);
  
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  
  --font-family: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset suave */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  background: var(--body-bg);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
}

/* ============================================
   LAYOUT PRINCIPAL
   ============================================ */
.dashboard-layout {
  display: flex;
  min-height: 100vh;
  background: var(--body-bg);
}

/* ============================================
   SIDEBAR - Estilo Material Dark
   ============================================ */
.sidebar {
  width: var(--sidebar-width);
  background: var(--sidebar-bg);
  color: white;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 100;
  transition: var(--transition);
  box-shadow: var(--shadow-lg);
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sidebar-logo {
  display: flex;
  align-items: center;
      /* gap: 0.75rem;*/
}

.logo-icon {
  width: 34px;
  height: 34px;
  background: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: white;
  flex-shrink: 0;
}

.logo-text {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff !important;
  letter-spacing: -0.3px;
}

.sidebar-close {
  display: none;
  background: none;
  border: none;
  color: var(--sidebar-text);
  cursor: pointer;
  padding: 4px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.sidebar-close:hover {
  background: var(--sidebar-hover);
  color: white;
}

/* Navegação */
.sidebar-nav {
  flex: 1;
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow-y: auto;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.7rem 0.875rem;
  color: var(--sidebar-text);
  border-radius: var(--radius-md);
  font-size: 0.925rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
  position: relative;
}

.nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.nav-label {
  white-space: nowrap;
}

.nav-item:hover {
  background: var(--sidebar-hover);
  color: var(--sidebar-text-hover);
}

.nav-item.active {
  background: var(--primary);
  color: white;
  box-shadow: 0 2px 10px rgba(105, 108, 255, 0.4);
}

/* Footer do Sidebar */
.sidebar-footer {
  padding: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.user-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding: 0.5rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.user-info:hover {
  background: var(--sidebar-hover);
}

.user-avatar {
  position: relative;
  flex-shrink: 0;
      margin-top: -10px;
}

.user-avatar img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.avatar-placeholder {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1rem;
  color: white;
}

.status-dot {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 10px;
  height: 10px;
  background: #28C76F;
  border: 2px solid var(--sidebar-bg);
  border-radius: 50%;
}

.user-details {
  flex: 1;
  min-width: 0;
  padding-left: 20px;
}

.user-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: white;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-role {
  font-size: 0.75rem;
  color: var(--sidebar-text);
  line-height: 1.3;
}

.logout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  width: 100%;
  padding: 0.625rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--sidebar-text);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-family);
}

.logout-btn:hover {
  background: rgba(234, 84, 85, 0.1);
  border-color: rgba(234, 84, 85, 0.3);
  color: #EA5455;
}

/* ============================================
   OVERLAY MOBILE
   ============================================ */
.sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
  z-index: 99;
}

/* ============================================
   MAIN CONTENT
   ============================================ */
.main-content {
  flex: 1;
  margin-left: var(--sidebar-width);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--body-bg);
}

/* ============================================
   TOPBAR - Limpo e funcional
   ============================================ */
.topbar {
  background: var(--topbar-bg);
  padding: 0.75rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 10;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.menu-toggle:hover {
  background: var(--body-bg);
}

.search-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--body-bg);
  border-radius: var(--radius-md);
  padding: 0.5rem 0.875rem;
  max-width: 320px;
  width: 100%;
  border: 1px solid transparent;
  transition: var(--transition);
}

.search-bar:focus-within {
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 3px rgba(105, 108, 255, 0.1);
}

.search-bar svg {
  color: var(--text-muted);
  flex-shrink: 0;
}

.search-bar input {
  border: none;
  background: none;
  outline: none;
  font-size: 0.875rem;
  color: var(--text-primary);
  font-family: var(--font-family);
  width: 100%;
}

.search-bar input::placeholder {
  color: var(--text-muted);
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.topbar-notifications {
  position: relative;
  width: 38px;
  height: 38px;
  background: var(--body-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.topbar-notifications:hover {
  background: var(--primary-light);
}

.notification-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 18px;
  height: 18px;
  background: #EA5455;
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
}

.topbar-user {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.25rem 0.75rem 0.25rem 0.25rem;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
}

.topbar-user:hover {
  background: var(--body-bg);
}

.topbar-avatar img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
}

.avatar-placeholder-small {
  width: 34px;
  height: 34px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.8rem;
  color: white;
  line-height: 1; /* Remove o line-height padrão */
  text-align: center; /* Garante centralização horizontal */
  flex-shrink: 0; /* Evita que o avatar encolha */
}
.user-name-topbar {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* ============================================
   PAGE CONTENT
   ============================================ */
.page-content {
  flex: 1;
  padding: 1.5rem;
  overflow-y: auto;
}

.page-content::-webkit-scrollbar {
  width: 6px;
}

.page-content::-webkit-scrollbar-track {
  background: transparent;
}

.page-content::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 3px;
}

.page-content::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* ============================================
   RESPONSIVO
   ============================================ */
@media (max-width: 1024px) {
  .search-bar {
    max-width: 240px;
  }
}

@media (max-width: 768px) {
  :root {
    --sidebar-width: 260px;
  }

  .sidebar {
    transform: translateX(-100%);
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .sidebar-overlay {
    display: block;
  }

  .sidebar-close {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .main-content {
    margin-left: 0;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .search-bar {
    max-width: 200px;
  }

  .user-name-topbar {
    display: none;
  }

  .page-content {
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .search-bar {
    max-width: 160px;
  }

  .topbar {
    padding: 0.75rem 1rem;
  }
}

/* Estilos para os novos itens do menu */
.nav-separator {
  padding: 8px 16px;
  margin-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-separator span {
  font-size: 11px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 1px;
}

.nav-item-external {
  background: rgba(52, 152, 219, 0.1);
  border: 1px solid rgba(52, 152, 219, 0.3);
  margin: 4px 8px;
  border-radius: 8px;
  transition: all 0.3s;
}

.nav-item-external:hover {
  background: rgba(52, 152, 219, 0.2);
  border-color: rgba(52, 152, 219, 0.5);
}

.nav-item-copy {
  background: rgba(46, 204, 113, 0.1);
  border: 1px solid rgba(46, 204, 113, 0.3);
  margin: 4px 8px;
  border-radius: 8px;
  transition: all 0.3s;
}

.nav-item-copy:hover {
  background: rgba(46, 204, 113, 0.2);
  border-color: rgba(46, 204, 113, 0.5);
}

/* Botão no header */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-public-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 14px;
}

.btn-public-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Mobile */
@media (max-width: 768px) {
  .btn-public-link span {
    display: none;
  }
}

/* Tamanhos predefinidos */
.logo-image-sm {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.logo-image-md {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.logo-image-lg {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.logo-image-xl {
  width: 64px;
  height: 64px;
  object-fit: contain;
}/* ============================================ */
/* HOME PAGE — ESTILOS REFINADOS                 */
/* ============================================ */

/* ----- CSS Variables (assumindo que existam no projeto) ----- */
:root {
  --color-primary: #4F46E5;
  --color-primary-dark: #4338CA;
  --color-primary-light: #EEF2FF;
  --color-secondary: #7C3AED;
  --color-success: #10B981;
  --color-gray-50: #F9FAFB;
  --color-gray-100: #F3F4F6;
  --color-gray-200: #E5E7EB;
  --color-gray-300: #D1D5DB;
  --color-gray-400: #9CA3AF;
  --color-gray-500: #6B7280;
  --color-gray-600: #4B5563;
  --color-gray-700: #374151;
  --color-gray-800: #1F2937;
  --color-gray-900: #111827;
  --border-radius: 8px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 50px -6px rgba(0, 0, 0, 0.15);
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ----- RESET & BASE ----- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--color-gray-900);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 5rem 0;
  position: relative;
}

/* ----- SECTION HEADER ----- */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  background: rgba(79, 70, 229, 0.08);
  padding: 0.375rem 0.875rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.section-header h2 {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--color-gray-900);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.section-header p {
  font-size: 1.0625rem;
  color: var(--color-gray-600);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ----- BUTTONS ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  border-radius: var(--border-radius);
  transition: all var(--transition-base);
  cursor: pointer;
  text-decoration: none;
  border: 2px solid transparent;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--color-gray-700);
  border-color: var(--color-gray-200);
}

.btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: rgba(79, 70, 229, 0.03);
}

.btn-ghost {
  background: transparent;
  color: var(--color-gray-600);
  border-color: transparent;
}

.btn-ghost:hover {
  background: var(--color-gray-100);
  color: var(--color-primary);
}

.btn-light {
  background: white;
  color: var(--color-primary);
  border-color: white;
}

.btn-light:hover {
  background: var(--color-gray-50);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  transform: translateY(-1px);
}

.btn-glow {
  box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.4);
  animation: glow-pulse 2s infinite;
}

@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(79, 70, 229, 0); }
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
}

.btn-lg {
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
}

.btn-icon {
  transition: transform var(--transition-fast);
}

.btn:hover .btn-icon {
  transform: translateX(3px);
}

/* ============================================ */
/* HEADER                                       */
/* ============================================ */
.header {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-gray-200);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all var(--transition-base);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--color-gray-900);
  font-size: 1.25rem;
  font-weight: 700;
}

.logo:hover {
  opacity: 0.85;
}

.logo-icon {
  font-size: 1.5rem;
}

.logo-text {
  color: var(--color-primary);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav .btn-primary {
  color: #ffffff;
}

.nav a {
  color: var(--color-gray-600);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  border-radius: var(--border-radius);
  transition: all var(--transition-fast);
}



.nav a:hover {
  color: var(--color-primary);
  background: rgba(79, 70, 229, 0.05);
}

.nav .btn {
  margin-left: 0.5rem;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-gray-600);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: var(--border-radius);
  transition: all var(--transition-fast);
}

.menu-toggle:hover {
  background: var(--color-gray-100);
  color: var(--color-primary);
}

/* ============================================ */
/* HERO                                         */
/* ============================================ */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: var(--color-gray-50);
  overflow: hidden;
  position: relative;
}

.hero-background {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.5;
  animation: float 8s ease-in-out infinite;
}

.hero-gradient-orb--1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.15), transparent 70%);
  top: -200px;
  right: -100px;
  animation-delay: 0s;
}

.hero-gradient-orb--2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.1), transparent 70%);
  bottom: -100px;
  left: -50px;
  animation-delay: -4s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-badge-group {
  display: flex;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  color: var(--color-primary);
  padding: 0.375rem 0.875rem;
  border-radius: 50px;
  font-size: 0.8125rem;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-gray-200);
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-success);
  animation: blink 2s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-text h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--color-gray-900);
  letter-spacing: -0.03em;
}

.highlight {
  color: var(--color-primary);
  position: relative;
}

.highlight::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(79, 70, 229, 0.2);
  border-radius: 2px;
}

.hero-description {
  font-size: 1.0625rem;
  color: var(--color-gray-600);
  line-height: 1.7;
  max-width: 520px;
}

.hero-description strong {
  color: var(--color-gray-900);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-avatars {
  display: flex;
}

.hero-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: white;
  border: 2px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  margin-right: -8px;
  box-shadow: var(--shadow-sm);
}

.hero-trust-text {
  font-size: 0.8125rem;
  color: var(--color-gray-500);
}

.hero-trust-text strong {
  color: var(--color-primary);
  font-weight: 600;
}

/* Hero Mockup */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-mockup-wrapper {
  position: relative;
}

.hero-mockup {
  background: white;
  border-radius: 16px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  width: 420px;
  max-width: 100%;
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
  position: relative;
  z-index: 2;
}

.hero-mockup:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.hero-mockup-shadow {
  position: absolute;
  bottom: -30px;
  left: 20px;
  right: 20px;
  height: 60px;
  background: rgba(79, 70, 229, 0.08);
  filter: blur(30px);
  border-radius: 50%;
  z-index: 1;
}

.mockup-header {
  background: var(--color-gray-50);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid var(--color-gray-100);
}

.mockup-dots {
  display: flex;
  gap: 0.375rem;
}

.mockup-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-gray-300);
}

.mockup-dots span:first-child { background: #FF5F57; }
.mockup-dots span:nth-child(2) { background: #FFBD2E; }
.mockup-dots span:nth-child(3) { background: #28CA41; }

.mockup-url {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  color: var(--color-gray-500);
  background: white;
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  border: 1px solid var(--color-gray-200);
}

.mockup-body {
  padding: 1.5rem;
}

.mockup-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--color-gray-100);
}

.mockup-brand-avatar {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #4F46E5, #7C3AED);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.mockup-brand-info strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
}

.mockup-brand-info span {
  font-size: 0.75rem;
  color: var(--color-gray-500);
}

.mockup-professional {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.mockup-professional-avatar {
  width: 48px;
  height: 48px;
  background: var(--color-primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.mockup-section-title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.mockup-slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.mockup-slot {
  padding: 0.625rem;
  background: var(--color-gray-50);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--border-radius);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.mockup-slot:hover {
  border-color: var(--color-primary);
  background: var(--color-primary-light);
}

.mockup-slot.selected {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.3);
}

.mockup-slot-day {
  display: block;
  font-size: 0.6875rem;
  opacity: 0.8;
}

.mockup-slot-time {
  display: block;
  font-weight: 600;
  font-size: 0.8125rem;
}

/* ============================================ */
/* DIFFERENTIALS                                */
/* ============================================ */
.differentials {
  background: white;
}

.differentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.differential-card {
  padding: 2rem 1.75rem;
  border-radius: 12px;
  border: 1px solid var(--color-gray-200);
  background: white;
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.differential-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  opacity: 0;
  transition: opacity var(--transition-slow);
}

.differential-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.differential-card:hover::before {
  opacity: 1;
}

.differential-icon-wrapper {
  width: 48px;
  height: 48px;
  background: var(--color-primary-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--color-primary);
  font-size: 1.5rem;
  transition: all var(--transition-base);
}

.differential-card:hover .differential-icon-wrapper {
  background: var(--color-primary);
  color: white;
}

.differential-card h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-gray-900);
}

.differential-card p {
  font-size: 0.875rem;
  color: var(--color-gray-600);
  line-height: 1.65;
}

/* ============================================ */
/* FOR WHOM                                     */
/* ============================================ */
.for-whom {
  background: var(--color-gray-50);
}

.professions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.75rem;
}

.profession-card {
  text-align: center;
  padding: 1.5rem 1rem;
  background: white;
  border: 1px solid var(--color-gray-100);
  border-radius: var(--border-radius);
  transition: all var(--transition-base);
  cursor: default;
}

.profession-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.profession-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.5rem;
}

.profession-card h3 {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-gray-700);
}

/* ============================================ */
/* HOW IT WORKS                                 */
/* ============================================ */
.how-it-works {
  background: white;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.step-card {
  text-align: center;
  padding: 2.5rem 1.75rem;
  border-radius: 12px;
  background: var(--color-gray-50);
  border: 1px solid transparent;
  transition: all var(--transition-base);
  position: relative;
}

.step-card:hover {
  background: white;
  border-color: var(--color-gray-200);
  box-shadow: var(--shadow-md);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--color-primary);
  color: white;
  border-radius: 50%;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

.step-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: 0.875rem;
  color: var(--color-gray-600);
  line-height: 1.6;
}

/* ============================================ */
/* FEATURES                                     */
/* ============================================ */
.features {
  background: var(--color-gray-50);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.feature-card {
  background: white;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--color-gray-100);
  transition: all var(--transition-base);
}

.feature-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.feature-icon {
  font-size: 1.75rem;
  display: block;
  margin-bottom: 0.75rem;
}

.feature-card h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
}

.feature-card p {
  font-size: 0.8125rem;
  color: var(--color-gray-600);
  line-height: 1.5;
}

/* ============================================ */
/* TESTIMONIALS                                 */
/* ============================================ */
.testimonials {
  background: white;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--color-gray-50);
  border-radius: 12px;
  padding: 1.75rem;
  border: 1px solid var(--color-gray-100);
  transition: all var(--transition-base);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
}

.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.star-filled {
  color: #F59E0B;
  fill: #F59E0B;
  font-size: 0.875rem;
}

.testimonial-card blockquote p {
  font-size: 0.9375rem;
  color: var(--color-gray-700);
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 1.25rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  font-size: 2rem;
}

.testimonial-author strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
}

.testimonial-author span {
  font-size: 0.75rem;
  color: var(--color-gray-500);
}

/* ============================================ */
/* PRICING                                      */
/* ============================================ */
.pricing {
  background: var(--color-gray-50);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  background: white;
  border-radius: 16px;
  border: 1px solid var(--color-gray-200);
  padding: 2.25rem 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
}

.pricing-card:hover {
  box-shadow: var(--shadow-lg);
}

.pricing-card.popular {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px var(--color-primary), var(--shadow-lg);
}

.popular-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: white;
  padding: 0.375rem 1.25rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.3);
}

.pricing-header {
  text-align: center;
  margin-bottom: 1.75rem;
}

.pricing-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.125rem;
  margin-bottom: 0.5rem;
}

.currency {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-gray-400);
}

.amount {
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  letter-spacing: -0.02em;
}

.period {
  font-size: 0.875rem;
  color: var(--color-gray-500);
}

.pricing-header p {
  font-size: 0.8125rem;
  color: var(--color-gray-500);
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--color-gray-700);
}

.pricing-features li svg {
  color: var(--color-success);
  flex-shrink: 0;
  font-size: 1rem;
}

/* ============================================ */
/* FAQ                                          */
/* ============================================ */
.faq {
  background: white;
}

.faq-grid {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid var(--color-gray-200);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: all var(--transition-base);
}

.faq-item[open] {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.faq-item summary {
  font-weight: 600;
  cursor: pointer;
  padding: 1.125rem 1.25rem;
  font-size: 0.9375rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  user-select: none;
  transition: background var(--transition-fast);
}

.faq-item summary:hover {
  background: var(--color-gray-50);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-chevron {
  width: 20px;
  height: 20px;
  position: relative;
  flex-shrink: 0;
  transition: transform var(--transition-base);
}

.faq-chevron::before,
.faq-chevron::after {
  content: '';
  position: absolute;
  background: var(--color-gray-400);
  transition: all var(--transition-base);
}

.faq-chevron::before {
  width: 2px;
  height: 10px;
  top: 5px;
  left: 9px;
}

.faq-chevron::after {
  width: 10px;
  height: 2px;
  top: 9px;
  left: 5px;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-item[open] .faq-chevron::before {
  opacity: 0;
}

.faq-answer {
  padding: 0 1.25rem 1.25rem;
  animation: faq-slide-down var(--transition-base) ease;
}

.faq-answer p {
  font-size: 0.875rem;
  color: var(--color-gray-600);
  line-height: 1.7;
}

@keyframes faq-slide-down {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================ */
/* CTA FINAL                                    */
/* ============================================ */
.cta {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.08) 0%, transparent 50%),
                    radial-gradient(circle at 70% 50%, rgba(255,255,255,0.05) 0%, transparent 50%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.cta h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.cta p {
  font-size: 1.0625rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.cta-disclaimer {
  font-size: 0.75rem !important;
  opacity: 0.6 !important;
  margin-top: 1rem !important;
  margin-bottom: 0 !important;
}

/* ============================================ */
/* MOBILE CTA FLUTUANTE                         */
/* ============================================ */
.mobile-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--color-gray-200);
  z-index: 998;
  transform: translateY(100%);
  transition: transform var(--transition-base);
}

.mobile-cta.visible {
  transform: translateY(0);
}

/* ============================================ */
/* FOOTER                                       */
/* ============================================ */
.footer {
  background: var(--color-gray-900);
  color: var(--color-gray-400);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-brand .logo {
  color: white;
}

.footer-brand .logo-text {
  color: white;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--color-gray-500);
}

.footer-links h4 {
  color: white;
  margin-bottom: 1rem;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.footer-links a,
.footer-links p {
  display: block;
  color: var(--color-gray-400);
  font-size: 0.8125rem;
  margin-bottom: 0.5rem;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid var(--color-gray-800);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--color-gray-500);
}

/* ============================================ */
/* RESPONSIVO                                   */
/* ============================================ */

@media (max-width: 1024px) {
  .hero-content {
    gap: 2.5rem;
  }
  
  .hero-text h1 {
    font-size: 2.5rem;
  }
  
  .hero-mockup {
    width: 360px;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 3rem 0 4rem;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-text {
    text-align: center;
    align-items: center;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-description {
    max-width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-trust {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .hero-mockup {
    width: 100%;
    max-width: 340px;
  }

  .nav {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 0.25rem;
    z-index: 999;
    overflow-y: auto;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 0.75rem 1rem;
    font-size: 1rem;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .section-header h2 {
    font-size: 1.75rem;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .mobile-cta {
    display: block;
  }
}

@media (max-width: 480px) {
  .section-header h2 {
    font-size: 1.5rem;
  }

  .hero-text h1 {
    font-size: 1.75rem;
  }

  .differentials-grid,
  .features-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .professions-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }

  .profession-card {
    padding: 1rem 0.5rem;
  }

  .profession-icon {
    font-size: 1.5rem;
  }

  .profession-card h3 {
    font-size: 0.6875rem;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cta h2 {
    font-size: 1.5rem;
  }
}

/* ============================================ */
/* REDUCED MOTION                               */
/* ============================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}/* ============================================ */
/* DASHBOARD HEADER — PREMIUM                    */
/* ============================================ */

.dashboard-header {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  position: sticky;
  top: 0;
  z-index: 100;
  transition: all 0.25s ease;
}

.dashboard-header--scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-bottom-color: #E5E7EB;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.dashboard-header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.dashboard-header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: 1.5rem;
}

/* ============================================ */
/* LEFT SIDE                                     */
/* ============================================ */

.dashboard-header-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.dashboard-logo {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  text-decoration: none;
  color: #111827;
  font-weight: 700;
  font-size: 1.125rem;
  transition: opacity 0.15s;
}

.dashboard-logo:hover {
  opacity: 0.8;
}

.dashboard-logo-icon {
  font-size: 1.25rem;
}

.dashboard-logo-text {
  color: #4F46E5;
  letter-spacing: -0.02em;
}

.dashboard-tenant-name {
  font-size: 0.75rem;
  font-weight: 500;
  color: #6B7280;
  padding: 0.25rem 0.625rem;
  background: #F3F4F6;
  border-radius: 6px;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ============================================ */
/* NAVIGATION                                    */
/* ============================================ */

.dashboard-nav {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: center;
}

.dashboard-nav-links {
  display: flex;
  align-items: center;
  gap: 0.125rem;
}

.dashboard-nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #6B7280;
  text-decoration: none;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.dashboard-nav-link:hover {
  color: #4F46E5;
  background: rgba(79, 70, 229, 0.05);
}

.dashboard-nav-link.active {
  color: #4F46E5;
  background: rgba(79, 70, 229, 0.08);
  font-weight: 600;
}

/* ============================================ */
/* RIGHT SIDE                                    */
/* ============================================ */

.dashboard-header-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.dashboard-btn-home {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  color: #9CA3AF;
  transition: all 0.15s;
  text-decoration: none;
}

.dashboard-btn-home:hover {
  color: #4F46E5;
  background: rgba(79, 70, 229, 0.05);
}

/* ============================================ */
/* USER MENU                                     */
/* ============================================ */

.dashboard-user-menu {
  position: relative;
}

.dashboard-user-trigger {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.625rem 0.375rem 0.375rem;
  border: 1px solid #E5E7EB;
  border-radius: 9999px;
  background: white;
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
}

.dashboard-user-trigger:hover {
  border-color: #4F46E5;
  box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.08);
}

.dashboard-user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4F46E5, #7C3AED);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.dashboard-user-name {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #374151;
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-user-chevron {
  color: #9CA3AF;
  transition: transform 0.2s ease;
}

.dashboard-user-chevron.open {
  transform: rotate(180deg);
}

/* Dropdown */
.dashboard-user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 240px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.04), 0 12px 24px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.05);
  z-index: 200;
  animation: dropdownIn 0.15s ease;
  overflow: hidden;
}

@keyframes dropdownIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.dashboard-user-dropdown-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
}

.dashboard-user-dropdown-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4F46E5, #7C3AED);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.dashboard-user-dropdown-header strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #111827;
}

.dashboard-user-dropdown-header span {
  font-size: 0.75rem;
  color: #6B7280;
}

.dashboard-user-dropdown-divider {
  height: 1px;
  background: #F3F4F6;
}

.dashboard-user-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  width: 100%;
  padding: 0.625rem 1rem;
  border: none;
  background: transparent;
  font-size: 0.8125rem;
  color: #374151;
  cursor: pointer;
  transition: background 0.1s;
  font-family: inherit;
  text-decoration: none;
}

.dashboard-user-dropdown-item:hover {
  background: #F9FAFB;
}

.dashboard-user-dropdown-logout {
  color: #EF4444;
}

.dashboard-user-dropdown-logout:hover {
  background: #FEF2F2;
}

/* ============================================ */
/* MOBILE NAV ACTIONS                            */
/* ============================================ */

.dashboard-nav-mobile-actions {
  display: none;
}

/* ============================================ */
/* MOBILE TOGGLE                                 */
/* ============================================ */

.dashboard-mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #4B5563;
  cursor: pointer;
  padding: 0.375rem;
  border-radius: 8px;
  transition: all 0.15s;
}

.dashboard-mobile-toggle:hover {
  background: #F3F4F6;
  color: #4F46E5;
}

/* ============================================ */
/* MOBILE OVERLAY                                */
/* ============================================ */

.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(2px);
  z-index: 99;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ============================================ */
/* RESPONSIVO                                    */
/* ============================================ */

@media (max-width: 900px) {
  .dashboard-tenant-name {
    display: none;
  }
}

@media (max-width: 768px) {
  .dashboard-mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-overlay {
    display: block;
  }

  .dashboard-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 5rem 1.5rem 2rem;
    z-index: 100;
    overflow-y: auto;
    animation: slideDown 0.25s ease;
  }

  .dashboard-nav.open {
    display: flex;
  }

  .dashboard-nav-links {
    flex-direction: column;
    gap: 0.25rem;
  }

  .dashboard-nav-link {
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    border-radius: 10px;
  }

  .dashboard-nav-mobile-actions {
    display: block;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #E5E7EB;
  }

  .dashboard-btn-logout-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #FECACA;
    border-radius: 10px;
    background: #FEF2F2;
    color: #EF4444;
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
    font-family: inherit;
  }

  .dashboard-btn-logout-mobile:hover {
    background: #FEE2E2;
  }

  .dashboard-user-name {
    display: none;
  }

  .dashboard-user-trigger {
    padding: 0.375rem;
  }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================ */
/* REDUCED MOTION                                */
/* ============================================ */

@media (prefers-reduced-motion: reduce) {
  .dashboard-header,
  .dashboard-user-dropdown,
  .dashboard-nav.open {
    animation: none;
    transition: none;
  }
}


/* Tamanhos predefinidos */
.logo-image-sm {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.logo-image-md {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.logo-image-lg {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.logo-image-xl {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

/* Botões de autenticação (não logado) */
.dashboard-header-auth-buttons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dashboard-btn-login-mobile,
.dashboard-btn-register-mobile {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius);
  font-size: 0.938rem;
  text-decoration: none;
  width: 100%;
  justify-content: center;
}

.dashboard-btn-login-mobile {
  background: var(--color-gray-100);
  color: var(--color-gray-700);
}

.dashboard-btn-register-mobile {
  background: var(--color-primary);
  color: white;
}

/* Responsivo */
@media (max-width: 768px) {
  .dashboard-header-auth-buttons {
    display: none; /* No mobile, os botões ficam dentro do menu */
  }
}.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 500;
  transition: all 0.2s;
  cursor: pointer;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Variants */
.btn-primary {
  background-color: var(--color-primary);
  color: white;
}
.btn-primary:hover:not(:disabled) {
  background-color: var(--color-primary-hover);
}

.btn-secondary {
  background-color: var(--color-gray-200);
  color: var(--color-gray-700);
}
.btn-secondary:hover:not(:disabled) {
  background-color: var(--color-gray-300);
}

.btn-outline {
  background-color: transparent;
  border: 1px solid var(--color-gray-300);
  color: var(--color-gray-700);
}
.btn-outline:hover:not(:disabled) {
  background-color: var(--color-gray-50);
}

.btn-danger {
  background-color: var(--color-error);
  color: white;
}

.btn-google {
  background-color: white;
  border: 1px solid var(--color-gray-300);
  color: var(--color-gray-700);
}
.btn-google:hover:not(:disabled) {
  background-color: var(--color-gray-50);
}

/* Sizes */
.btn-sm { padding: 0.375rem 0.75rem; font-size: 0.75rem; }
.btn-md { padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn-lg { padding: 0.75rem 1.5rem; font-size: 1rem; }

.btn-full {
  width: 100%;
}

.spinner-sm {
  width: 16px;
  height: 16px;
  border-width: 2px;
}/* ============================================ */
/* LOGIN PAGE - LAYOUT PREMIUM                   */
/* ============================================ */

.login-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(160deg, #F9FAFB 0%, #EEF2FF 100%);
  position: relative;
}

.login-page::before {
  content: '';
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 40%, rgba(79, 70, 229, 0.03) 0%, transparent 50%),
              radial-gradient(circle at 70% 60%, rgba(124, 58, 237, 0.02) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.login-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  position: relative;
  z-index: 1;
}

.login-container {
  width: 100%;
  max-width: 440px;
}

/* ============================================ */
/* CARD PRINCIPAL                                */
/* ============================================ */

.login-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px;
  box-shadow: 
    0 0 0 1px rgba(0, 0, 0, 0.03),
    0 2px 4px rgba(0, 0, 0, 0.02),
    0 12px 24px rgba(0, 0, 0, 0.04),
    0 24px 48px rgba(79, 70, 229, 0.06);
  padding: 2.75rem;
  transition: box-shadow 0.3s ease;
}

/* ============================================ */
/* HEADER                                        */
/* ============================================ */

.login-header {
  text-align: center;
  margin-bottom: 2rem;
}

.login-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.login-brand-icon {
  font-size: 1.75rem;
}

.login-brand-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}

.login-header h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-gray-900);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.login-header p {
  color: var(--color-gray-500);
  font-size: 0.9375rem;
  line-height: 1.5;
}

/* ============================================ */
/* FORMULÁRIO                                    */
/* ============================================ */

.login-form {
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.form-group label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-gray-700);
  margin-left: 0.25rem;
}

.form-group input {
  padding: 0.75rem 0.875rem;
  font-size: 0.9375rem;
  border: 1.5px solid var(--color-gray-200);
  border-radius: 10px;
  transition: all 0.2s ease;
  background: var(--color-gray-50);
  color: var(--color-gray-900);
  width: 100%;
}

.form-group input::placeholder {
  color: var(--color-gray-400);
}

.form-group input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
  background: white;
}

/* ============================================ */
/* BOTÕES                                        */
/* ============================================ */

.btn-icon {
  transition: transform 0.2s ease;
}

.btn:hover .btn-icon {
  transform: translateX(3px);
}

/* Google */
.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem 1.5rem;
  background: white;
  border: 1.5px solid var(--color-gray-200);
  border-radius: 10px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-gray-700);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.btn-google:hover {
  background: var(--color-gray-50);
  border-color: var(--color-gray-300);
  box-shadow: var(--shadow-sm);
}

.btn-google:active {
  transform: scale(0.98);
}

.google-icon {
  flex-shrink: 0;
}

/* ============================================ */
/* DIVIDER                                       */
/* ============================================ */

.divider {
  display: flex;
  align-items: center;
  margin: 1.5rem 0;
  gap: 1rem;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-gray-200);
}

.divider span {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-gray-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

/* ============================================ */
/* ALERT DE ERRO                                 */
/* ============================================ */

.alert {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  animation: slideDown 0.3s ease;
}

.alert-error {
  background-color: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FECACA;
}

.alert-close {
  margin-left: auto;
  background: none;
  border: none;
  color: #991B1B;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s;
  padding: 0.25rem;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.alert-close:hover {
  opacity: 1;
  background: rgba(0, 0, 0, 0.05);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================ */
/* FOOTER DO CARD                                */
/* ============================================ */

.login-footer {
  text-align: center;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-gray-100);
  font-size: 0.9375rem;
  color: var(--color-gray-500);
}

.login-footer a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

.login-footer a:hover {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

/* ============================================ */
/* RESPONSIVO                                    */
/* ============================================ */

@media (max-width: 480px) {
  .login-wrapper {
    padding: 1.5rem 1rem;
  }

  .login-card {
    padding: 1.75rem;
    border-radius: 16px;
  }

  .login-header h1 {
    font-size: 1.25rem;
  }

  .login-brand-text {
    font-size: 1.25rem;
  }
}

/* ============================================ */
/* REDUCED MOTION                                */
/* ============================================ */

@media (prefers-reduced-motion: reduce) {
  .alert {
    animation: none;
  }

  .btn-icon {
    transition: none;
  }
}


/* Tamanhos predefinidos */
.logo-image-sm {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.logo-image-md {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.logo-image-lg {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.logo-image-xl {
  width: 64px;
  height: 64px;
  object-fit: contain;
}/* ============================================ */
/* REGISTER PAGE - LAYOUT PREMIUM                */
/* ============================================ */

.register-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(160deg, #F9FAFB 0%, #EEF2FF 100%);
  position: relative;
}

.register-page::before {
  content: '';
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 40%, rgba(79, 70, 229, 0.03) 0%, transparent 50%),
              radial-gradient(circle at 70% 60%, rgba(124, 58, 237, 0.02) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.register-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  position: relative;
  z-index: 1;
}

.register-container {
  width: 100%;
  max-width: 580px;
}

/* ============================================ */
/* CARD PRINCIPAL (Sombra e Profundidade)        */
/* ============================================ */

.register-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px;
  box-shadow: 
    0 0 0 1px rgba(0, 0, 0, 0.03),
    0 2px 4px rgba(0, 0, 0, 0.02),
    0 12px 24px rgba(0, 0, 0, 0.04),
    0 24px 48px rgba(79, 70, 229, 0.06);
  padding: 2.75rem;
  transition: box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}
 
/* ============================================ */
/* HEADER DO FORMULÁRIO                         */
/* ============================================ */

.register-header {
  margin-bottom: 2rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--color-gray-500);
  font-size: 0.875rem;
  margin-bottom: 2rem;
  transition: all 0.2s ease;
  text-decoration: none;
  font-weight: 500;
  padding: 0.375rem 0.75rem;
  border-radius: 6px;
  background: transparent;
}

.back-link:hover {
  color: var(--color-primary);
  background: rgba(79, 70, 229, 0.05);
}

/* ============================================ */
/* PROGRESS STEPS (Refinado)                     */
/* ============================================ */

.progress-steps {
  display: flex;
  align-items: center;
  justify-content: center;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-gray-400);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.progress-step.active {
  color: var(--color-primary);
  font-weight: 600;
}

.progress-step.completed {
  color: var(--color-success);
}

.progress-dot {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--color-gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.8125rem;
  color: var(--color-gray-500);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  position: relative;
  z-index: 1;
}

.progress-step.active .progress-dot {
  background: white;
  color: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.15);
}

.progress-step.completed .progress-dot {
  background: var(--color-success);
  color: white;
  border-color: var(--color-success);
}

.progress-line {
  width: 50px;
  height: 2px;
  background: var(--color-gray-200);
  margin-bottom: 24px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 0;
}

.progress-line.completed {
  background: var(--color-success);
}

/* ============================================ */
/* STEP CONTENT                                 */
/* ============================================ */

.step-content {
  animation: fadeSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.step-header-text {
  margin-bottom: 2rem;
}

.step-header-text h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-gray-900);
  margin-bottom: 0.375rem;
  letter-spacing: -0.02em;
}

.step-header-text p {
  color: var(--color-gray-500);
  font-size: 0.9375rem;
  line-height: 1.5;
}

/* ============================================ */
/* FORM GRID & INPUTS (Premium)                  */
/* ============================================ */

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.form-group label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-gray-700);
  margin-left: 0.25rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
  padding: 0.75rem 0.875rem;
  font-size: 0.9375rem;
  border: 1.5px solid var(--color-gray-200);
  border-radius: 10px;
  transition: all 0.2s ease;
  background: var(--color-gray-50);
  color: var(--color-gray-900);
  width: 100%;
}

.form-group input::placeholder {
  color: var(--color-gray-400);
}

.form-group input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
  background: white;
}

.form-group input.input-error {
  border-color: #EF4444;
  background: #FEF2F2;
}

.form-group input.input-error:focus {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.field-message {
  font-size: 0.75rem;
  font-weight: 500;
  margin-left: 0.25rem;
  animation: slideDown 0.2s ease;
}

.field-message.error {
  color: #EF4444;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================ */
/* INPUT COM SUFIXO (Subdomínio)                 */
/* ============================================ */

.input-with-suffix {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--color-gray-200);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.2s ease;
  background: var(--color-gray-50);
}

.input-with-suffix:focus-within {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
  background: white;
}

.input-with-suffix.input-valid {
  border-color: #10B981;
  background: #F0FDF4;
}

.input-with-suffix.input-invalid {
  border-color: #EF4444;
  background: #FEF2F2;
}

.input-with-suffix input {
  flex: 1;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  padding: 0.75rem 0.875rem;
  font-size: 0.9375rem;
  background: transparent !important;
}

.suffix {
  display: flex;
  align-items: center;
  padding: 0 0.75rem;
  font-size: 0.75rem;
  color: var(--color-gray-400);
  font-weight: 500;
  white-space: nowrap;
  border-left: 1px solid var(--color-gray-200);
  background: transparent;
}

.suffix-icon {
  margin-right: 0.75rem;
  font-size: 1rem;
  flex-shrink: 0;
}

.valid-icon { color: #10B981; }
.invalid-icon { color: #EF4444; }

.spinning {
  animation: spin 1s linear infinite;
  color: var(--color-gray-500);
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}

.domain-status-area {
  min-height: 24px;
  margin-top: 0.25rem;
}

.domain-status {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  font-weight: 500;
  animation: slideDown 0.2s ease;
}

.domain-status.checking { color: var(--color-gray-500); }
.domain-status.available { color: #059669; }
.domain-status.unavailable { color: #DC2626; }

/* ============================================ */
/* PALETAS DE CORES (Totalmente Refinado)        */
/* ============================================ */

.color-palettes {
  margin-bottom: 1.5rem;
}

.color-palettes > label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-gray-700);
  display: block;
  margin-bottom: 0.75rem;
  margin-left: 0.25rem;
}

.palette-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.palette-item {
  position: relative;
  display: flex;
  border-radius: 14px;
  overflow: hidden;
  height: 48px;
  border: 2px solid transparent;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  background: white;
  box-shadow: var(--shadow-sm);
}

.palette-item:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-md);
  border-color: var(--color-gray-200);
}

.palette-item.selected {
  border-color: var(--color-gray-900);
  box-shadow: 0 0 0 3px white, 0 0 0 5px var(--color-gray-900);
  transform: scale(1.05);
}

.palette-primary,
.palette-secondary {
  flex: 1;
}

.palette-check {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

/* ============================================ */
/* CORES CUSTOMIZADAS                           */
/* ============================================ */

.custom-colors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.color-input-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.color-input-group input[type="color"] {
  width: 44px;
  height: 44px;
  padding: 3px;
  border: 1.5px solid var(--color-gray-200);
  border-radius: 12px;
  cursor: pointer;
  background: white;
  transition: border-color 0.2s;
}

.color-input-group input[type="color"]:hover {
  border-color: var(--color-primary);
}

.color-input-group input[type="text"] {
  flex: 1;
  padding: 0.75rem 0.875rem;
  font-size: 0.9375rem;
  border: 1.5px solid var(--color-gray-200);
  border-radius: 10px;
  transition: all 0.2s ease;
  background: var(--color-gray-50);
  font-family: 'Courier New', monospace;
}

.color-input-group input[type="text"]:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
  background: white;
}

/* ============================================ */
/* PREVIEW (Mais realista e dinâmico)            */
/* ============================================ */

.preview-section {
  margin-bottom: 1.5rem;
}

.preview-section > label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-gray-700);
  display: block;
  margin-bottom: 0.75rem;
  margin-left: 0.25rem;
}

.preview-card {
  background: white;
  border-radius: 14px;
  padding: 1.25rem;
  border: 1px solid var(--color-gray-200);
  box-shadow: var(--shadow-md);
  transition: all 0.2s ease;
}

.preview-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.preview-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.preview-header strong {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-gray-900);
}

.preview-header p {
  font-size: 0.75rem;
  color: var(--color-gray-500);
}

.preview-body {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.preview-button {
  padding: 0.625rem 1.25rem;
  border-radius: 10px;
  color: white;
  font-size: 0.8125rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.preview-button-outline {
  padding: 0.625rem 1.25rem;
  border-radius: 10px;
  border: 1.5px solid;
  background: transparent;
  font-size: 0.8125rem;
  font-weight: 600;
}

.preview-footer-note {
  font-size: 0.6875rem;
  color: var(--color-gray-400);
  text-align: center;
  padding-top: 0.75rem;
  border-top: 1px solid var(--color-gray-100);
}

/* ============================================ */
/* STEP ACTIONS                                 */
/* ============================================ */

.step-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
}

/* ============================================ */
/* SUMMARY (STEP 3) Refinado                     */
/* ============================================ */

.summary {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.summary-section {
  background: var(--color-gray-50);
  padding: 1.5rem;
  border-radius: 14px;
  border: 1px solid var(--color-gray-100);
  transition: all 0.2s ease;
}

.summary-section h3 {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-gray-500);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-gray-200);
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  font-size: 0.9375rem;
}

.summary-label {
  color: var(--color-gray-500);
  font-weight: 500;
}

.summary-value {
  font-weight: 500;
  color: var(--color-gray-900);
  text-align: right;
}

.summary-value.highlight {
  color: var(--color-primary);
  font-weight: 600;
  background: var(--color-primary-light);
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
}

.color-preview {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.color-dot {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  display: inline-block;
  border: 1px solid rgba(0,0,0,0.1);
}

/* ============================================ */
/* FOOTER DO FORMULÁRIO                         */
/* ============================================ */

.register-footer {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-gray-100);
  font-size: 0.9375rem;
  color: var(--color-gray-500);
}

.register-footer a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

.register-footer a:hover {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

/* ============================================ */
/* ALERT (Erro flutuante)                       */
/* ============================================ */

.alert {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  animation: slideDown 0.3s ease;
}

.alert-error {
  background-color: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FECACA;
}

.alert-close {
  margin-left: auto;
  background: none;
  border: none;
  color: #991B1B;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s;
  padding: 0.25rem;
  border-radius: 4px;
}

.alert-close:hover {
  opacity: 1;
  background: rgba(0,0,0,0.05);
}

/* ============================================ */
/* SUCCESS SCREEN (Premium)                     */
/* ============================================ */

.success-visual {
  text-align: center;
  margin-bottom: 2rem;
}

.success-icon-wrapper {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #10B981, #34D399);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 10px 20px rgba(16, 185, 129, 0.2);
}

.success-icon {
  font-size: 2.5rem;
}

.success-visual h1 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-gray-900);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.success-message {
  color: var(--color-gray-600);
  font-size: 0.9375rem;
  line-height: 1.6;
  max-width: 400px;
  margin: 0 auto;
}

.success-details-card {
  background: var(--color-gray-50);
  border: 1px solid var(--color-gray-200);
  border-radius: 14px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.detail-item {
  padding: 0.75rem 0;
}

.detail-item + .detail-item {
  border-top: 1px solid var(--color-gray-200);
}

.primary-detail {
  margin-bottom: 0.5rem;
}

.detail-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-gray-500);
  margin-bottom: 0.5rem;
}

.detail-value-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  border: 1px solid var(--color-gray-200);
  border-radius: 10px;
  padding: 0.625rem 0.75rem;
}

.detail-value-box code {
  flex: 1;
  font-size: 0.875rem;
  color: var(--color-primary);
  font-weight: 500;
  background: transparent;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--color-gray-200);
  margin-top: 0.5rem;
  padding-top: 0.5rem;
}

.detail-grid .detail-item {
  padding: 0.75rem;
}

.detail-grid .detail-item:first-child {
  border-right: 1px solid var(--color-gray-200);
}

.detail-item code {
  font-size: 0.875rem;
  color: var(--color-gray-700);
  background: transparent;
  font-weight: 500;
}

.icon-btn {
  background: none;
  border: none;
  color: var(--color-gray-400);
  cursor: pointer;
  padding: 0.375rem;
  border-radius: 6px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.icon-btn:hover {
  background: var(--color-gray-100);
  color: var(--color-primary);
}

.success-actions {
  text-align: center;
}

.success-footer-text {
  margin-top: 1rem;
  font-size: 0.8125rem;
  color: var(--color-gray-400);
}

/* ============================================ */
/* RESPONSIVO                                   */
/* ============================================ */

@media (max-width: 600px) {
  .register-wrapper {
    padding: 1.5rem 1rem;
  }

  .register-card {
    padding: 1.5rem;
    border-radius: 16px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .custom-colors {
    grid-template-columns: 1fr;
  }

  .palette-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .step-actions {
    flex-direction: column;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }

  .detail-grid .detail-item:first-child {
    border-right: none;
    border-bottom: 1px solid var(--color-gray-200);
  }

  .step-header-text h2 {
    font-size: 1.25rem;
  }
}

/* ============================================ */
/* PHONE + COUNTRY GROUP                        */
/* ============================================ */

.phone-country-group {
  display: flex;
  align-items: stretch;
  gap: 0;
  border: 1.5px solid var(--color-gray-200);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.2s ease;
  background: var(--color-gray-50);
}

.phone-country-group:focus-within {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
  background: white;
}

.country-select-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 0.5rem;
  background: var(--color-gray-100);
  border-right: 1px solid var(--color-gray-200);
  min-width: 90px;
}

.country-flag {
  display: flex;
  align-items: center;
  margin-right: 0.25rem;
}

.country-flag svg {
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.country-select {
  appearance: none;
  -webkit-appearance: none;
  border: none;
  background: transparent;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-gray-700);
  cursor: pointer;
  padding-right: 0rem;
  outline: none;
  width: 100%;
}

.country-arrow {
  position: absolute;
  right: 0.375rem;
  pointer-events: none;
  color: var(--color-gray-400);
}

.phone-input {
  flex: 1;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  padding: 0.75rem 0.875rem;
  font-size: 0.9375rem;
  background: transparent !important;
  border-radius: 0 !important;
}

.phone-input::placeholder {
  color: var(--color-gray-400);
}/* ============================================ */
/* PUBLIC BOOKING PAGE - PREMIUM                 */
/* ============================================ */

/* Variáveis injetadas via JS */
:root {
  --tenant-primary: #4F46E5;
  --tenant-primary-light: #4F46E515;
  --tenant-primary-dark: #4338CA;
}

.public-booking-page {
  min-height: 100vh;
  background: linear-gradient(160deg, #F9FAFB 0%, #EEF2FF 100%);
  padding: 2rem 1rem 4rem;
}

.booking-container {
  max-width: 680px;
  margin: 0 auto;
}

/* ============================================ */
/* HEADER                                        */
/* ============================================ */

.booking-header {
  text-align: center;
  padding: 2.5rem 0 2rem;
}

.booking-header h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--tenant-primary);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.booking-header p {
  color: var(--color-gray-500);
  font-size: 0.9375rem;
}

/* ============================================ */
/* PROGRESS INDICATOR                            */
/* ============================================ */

.booking-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 2rem;
  padding: 0 0.5rem;
  overflow-x: auto;
}

.booking-progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--color-gray-400);
  position: relative;
  flex-shrink: 0;
  min-width: 50px;
}

.booking-progress-step.done {
  color: var(--color-success);
}

.booking-progress-step.active {
  color: var(--tenant-primary);
}

/*.booking-progress-step + .booking-progress-step::before {
  content: '';
  position: absolute;
  top: 12px;
  right: calc(100% - 0px);
  width: 30px;
  height: 1.5px;
  background: var(--color-gray-200);
}

.booking-progress-step.done + .booking-progress-step::before {
  background: var(--color-success);
}*/

.booking-progress-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--color-gray-500);
  transition: all 0.3s ease;
}

.booking-progress-step.done .booking-progress-dot {
  background: var(--color-success);
  color: white;
}

.booking-progress-step.active .booking-progress-dot {
  background: var(--tenant-primary);
  color: white;
  box-shadow: 0 0 0 3px var(--tenant-primary-light);
}

/* ============================================ */
/* ALERT                                         */
/* ============================================ */

.alert {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  animation: slideDown 0.3s ease;
}

.alert-error {
  background-color: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FECACA;
}

.alert-close {
  margin-left: auto;
  background: none;
  border: none;
  color: #991B1B;
  cursor: pointer;
  opacity: 0.6;
  padding: 0.25rem;
  border-radius: 4px;
  display: flex;
}

.alert-close:hover {
  opacity: 1;
  background: rgba(0, 0, 0, 0.05);
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================ */
/* STEP SECTION                                  */
/* ============================================ */

.step-section {
  background: white;
  border-radius: 16px;
  padding: 1.75rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.03), 0 2px 4px rgba(0, 0, 0, 0.02), 0 8px 16px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

.step-section.active-step {
  box-shadow: 0 0 0 2px var(--tenant-primary-light), 0 4px 8px rgba(0, 0, 0, 0.04), 0 12px 24px rgba(0, 0, 0, 0.05);
}

.step-section-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.step-number {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--tenant-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.step-section-header h2 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-gray-900);
}

/* ============================================ */
/* OPTIONS GRID (Serviços e Profissionais)       */
/* ============================================ */

.options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
}

.option-card {
  padding: 1.125rem;
  border: 1.5px solid var(--color-gray-200);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  background: white;
}

.option-card:hover {
  border-color: var(--tenant-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transform: translateY(-1px);
}

.option-card.selected {
  border-color: var(--tenant-primary);
  background: var(--tenant-primary-light);
  box-shadow: 0 0 0 3px var(--tenant-primary-light);
}

.option-card-content h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-gray-900);
  margin-bottom: 0.375rem;
}

.option-duration {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: var(--color-gray-500);
}

.option-price {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--tenant-primary);
  margin-top: 0.375rem;
}

.option-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--color-gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.option-card.selected .option-check {
  background: var(--tenant-primary);
  border-color: var(--tenant-primary);
  color: white;
}

/* Professional cards */
.professionals-grid {
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}

.professional-card {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
}

.professional-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--tenant-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
}

.professional-info h3 {
  font-size: 0.875rem;
  margin-bottom: 0.125rem;
}

.professional-info p {
  font-size: 0.75rem;
  color: var(--color-gray-500);
}

/* ============================================ */
/* DATE PICKER                                   */
/* ============================================ */

.date-picker-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--color-gray-200);
  border-radius: 12px;
  transition: all 0.2s ease;
  background: var(--color-gray-50);
}

.date-picker-wrapper:focus-within {
  border-color: var(--tenant-primary);
  box-shadow: 0 0 0 3px var(--tenant-primary-light);
  background: white;
}

.date-picker-icon {
  color: var(--color-gray-400);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.date-picker-input {
  border: none;
  outline: none;
  font-size: 1rem;
  flex: 1;
  background: transparent;
  color: var(--color-gray-900);
  cursor: pointer;
  font-family: inherit;
}

/* ============================================ */
/* SLOTS GRID                                    */
/* ============================================ */

.slots-loading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem;
  color: var(--color-gray-500);
  font-size: 0.875rem;
}

.loading-spinner-small {
  width: 20px;
  height: 20px;
  border: 2px solid var(--color-gray-200);
  border-top-color: var(--tenant-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}

.slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 0.625rem;
}

.slot-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 0.5rem;
  border: 1.5px solid var(--color-gray-200);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-gray-700);
  background: white;
}

.slot-card:hover {
  border-color: var(--tenant-primary);
  background: var(--tenant-primary-light);
  transform: translateY(-1px);
}

.slot-card.selected {
  background: var(--tenant-primary);
  border-color: var(--tenant-primary);
  color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.slot-check {
  margin-left: auto;
}

.no-slots {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--color-gray-500);
}

.no-slots p {
  font-size: 0.9375rem;
  margin-bottom: 0.25rem;
}

.no-slots-hint {
  font-size: 0.8125rem !important;
  color: var(--color-gray-400);
}

/* ============================================ */
/* FORM GRID                                     */
/* ============================================ */

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-gray-700);
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.form-group input,
.form-group textarea {
  padding: 0.75rem 0.875rem;
  font-size: 0.9375rem;
  border: 1.5px solid var(--color-gray-200);
  border-radius: 10px;
  transition: all 0.2s ease;
  background: var(--color-gray-50);
  color: var(--color-gray-900);
  font-family: inherit;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-gray-400);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--tenant-primary);
  box-shadow: 0 0 0 3px var(--tenant-primary-light);
  background: white;
}

.form-group input.input-error {
  border-color: #EF4444;
  background: #FEF2F2;
}

.field-message {
  font-size: 0.75rem;
  font-weight: 500;
  animation: slideDown 0.2s ease;
}

.field-message.error {
  color: #EF4444;
}

/* ============================================ */
/* BOOKING SUMMARY                               */
/* ============================================ */

.booking-summary {
  background: var(--color-gray-50);
  border: 1px solid var(--color-gray-200);
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.booking-summary h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-gray-700);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-gray-200);
}

.summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.625rem;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.25rem 0;
}

.summary-label {
  font-size: 0.8125rem;
  color: var(--color-gray-500);
}

.summary-value {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-gray-900);
  text-align: right;
}

.summary-value.highlight {
  color: var(--tenant-primary);
  font-weight: 600;
}

/* ============================================ */
/* STEP ACTIONS                                  */
/* ============================================ */

.step-actions {
  margin-top: 1rem;
}

.btn-tenant {
  background: var(--tenant-primary) !important;
  border-color: var(--tenant-primary) !important;
}

.btn-tenant:hover {
  background: var(--tenant-primary-dark) !important;
  border-color: var(--tenant-primary-dark) !important;
}

.btn-icon {
  transition: transform 0.2s ease;
}

.btn:hover .btn-icon {
  transform: translateX(3px);
}

/* ============================================ */
/* SUCCESS CARD                                  */
/* ============================================ */

.booking-success-card {
  background: white;
  border-radius: 20px;
  padding: 3rem 2.5rem;
  text-align: center;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.03), 0 2px 4px rgba(0, 0, 0, 0.02), 0 12px 24px rgba(0, 0, 0, 0.04), 0 24px 48px rgba(79, 70, 229, 0.06);
}

.booking-success-visual {
  margin-bottom: 2rem;
}

.booking-success-icon-wrapper {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #10B981, #34D399);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 10px 20px rgba(16, 185, 129, 0.2);
}

.booking-success-card h1 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-gray-900);
  margin-bottom: 0.5rem;
}

.booking-success-subtitle {
  color: var(--color-gray-600);
  font-size: 0.9375rem;
  line-height: 1.6;
  max-width: 400px;
  margin: 0 auto;
}

.booking-success-details {
  background: var(--color-gray-50);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

.success-detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.625rem 0;
}

.success-detail-item + .success-detail-item {
  border-top: 1px solid var(--color-gray-200);
}

.success-detail-label {
  font-size: 0.8125rem;
  color: var(--color-gray-500);
  font-weight: 500;
}

.success-detail-value {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-gray-900);
}

.success-detail-value.highlight {
  color: var(--tenant-primary);
}

.booking-success-note {
  font-size: 0.8125rem;
  color: var(--color-gray-400);
  line-height: 1.5;
}

/* ============================================ */
/* RESPONSIVO                                    */
/* ============================================ */

@media (max-width: 600px) {
  .public-booking-page {
    padding: 1rem 0.75rem 3rem;
  }

  .booking-header h1 {
    font-size: 1.5rem;
  }

  .step-section {
    padding: 1.25rem;
    border-radius: 14px;
  }

  .options-grid {
    grid-template-columns: 1fr;
  }

  .professionals-grid {
    grid-template-columns: 1fr 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .summary-grid {
    grid-template-columns: 1fr;
  }

  .booking-success-card {
    padding: 2rem 1.5rem;
  }

  .booking-progress {
    gap: 0;
    padding: 0;
  }

  .booking-progress-step {
    font-size: 0.625rem;
    min-width: 40px;
  }

  .booking-progress-step + .booking-progress-step::before {
    width: 20px;
  }
}

/* ============================================ */
/* REDUCED MOTION                                */
/* ============================================ */

@media (prefers-reduced-motion: reduce) {
  .alert,
  .field-message {
    animation: none;
  }

  .option-card,
  .slot-card,
  .btn-icon {
    transition: none;
  }
}

/* ============================================ */
/* LOOKUP BAR — "Já tenho agendamento"           */
/* ============================================ */

.lookup-bar {
  background: white;
  border-radius: 14px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.03), 0 2px 4px rgba(0, 0, 0, 0.02);
  border: 1px solid var(--color-gray-200);
}

.lookup-bar-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.lookup-bar-icon {
  color: var(--tenant-primary);
  flex-shrink: 0;
}

.lookup-bar-text {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-gray-700);
  white-space: nowrap;
}

.lookup-bar-form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  min-width: 250px;
}

.lookup-bar-input {
  flex: 1;
  padding: 0.625rem 0.75rem;
  border: 1.5px solid var(--color-gray-200);
  border-radius: 10px;
  font-size: 0.875rem;
  background: var(--color-gray-50);
  transition: all 0.2s;
  font-family: inherit;
}

.lookup-bar-input:focus {
  outline: none;
  border-color: var(--tenant-primary);
  box-shadow: 0 0 0 3px var(--tenant-primary-light);
  background: white;
}

.lookup-bar-input::placeholder {
  color: var(--color-gray-400);
}

/* ============================================ */
/* MY APPOINTMENTS LIST                          */
/* ============================================ */

.back-to-booking-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: none;
  border: none;
  color: var(--tenant-primary);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0.5rem 0;
  margin-bottom: 1rem;
  font-family: inherit;
}

.back-to-booking-link:hover {
  text-decoration: underline;
}

.no-appointments-card {
  text-align: center;
  padding: 3rem 2rem;
  background: white;
  border-radius: 16px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.03), 0 2px 4px rgba(0, 0, 0, 0.02);
}

.no-appointments-card svg {
  color: var(--color-gray-300);
  margin-bottom: 1rem;
}

.no-appointments-card h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-gray-700);
  margin-bottom: 0.5rem;
}

.no-appointments-card p {
  color: var(--color-gray-500);
  margin-bottom: 1.5rem;
}

.my-appointments-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.my-appointment-card {
  background: white;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.03), 0 2px 4px rgba(0, 0, 0, 0.02);
  transition: all 0.2s;
}

.my-appointment-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.my-appointment-status {
  padding: 0.375rem 1rem;
  color: white;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.my-appointment-body {
  padding: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}

.my-appointment-info h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-gray-900);
  margin-bottom: 0.5rem;
}

.my-appointment-info p {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: var(--color-gray-600);
  margin-bottom: 0.25rem;
}

.my-appointment-actions {
  display: flex;
  gap: 0.5rem;
}

.btn-resend {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.75rem;
  border: 1.5px solid var(--color-gray-200);
  border-radius: 8px;
  background: white;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-gray-600);
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.btn-resend:hover {
  border-color: var(--tenant-primary);
  color: var(--tenant-primary);
  background: var(--tenant-primary-light);
}

/* ============================================ */
/* SUCCESS ACTIONS GROUP                         */
/* ============================================ */

.success-actions-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.btn-new-booking {
  display: block;
  width: 100%;
  padding: 0.75rem;
  border: 1.5px solid var(--color-gray-200);
  border-radius: 10px;
  background: white;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-gray-600);
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.btn-new-booking:hover {
  border-color: var(--tenant-primary);
  color: var(--tenant-primary);
  background: var(--tenant-primary-light);
}

/* ============================================ */
/* RESPONSIVO — LOOKUP BAR                       */
/* ============================================ */

@media (max-width: 600px) {
  .lookup-bar-content {
    flex-direction: column;
    align-items: stretch;
  }

  .lookup-bar-form {
    flex-direction: column;
    min-width: auto;
  }

  .lookup-bar-input {
    width: 100%;
  }

  .my-appointment-body {
    flex-direction: column;
  }
}

/* ============================================ */
/* LOOKUP BAR INLINE (tela de consulta)           */
/* ============================================ */

.lookup-bar-inline {
  margin-bottom: 1rem;
}

.lookup-bar-form-inline {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
}

.lookup-bar-form-inline .lookup-bar-icon {
  color: var(--color-gray-400);
  flex-shrink: 0;
}

.lookup-bar-form-inline .lookup-bar-input {
  flex: 1;
  padding: 0.625rem 0.75rem;
  border: 1.5px solid var(--color-gray-200);
  border-radius: 10px;
  font-size: 0.875rem;
  background: var(--color-gray-50);
  transition: all 0.2s;
  font-family: inherit;
}

.lookup-bar-form-inline .lookup-bar-input:focus {
  outline: none;
  border-color: var(--tenant-primary);
  box-shadow: 0 0 0 3px var(--tenant-primary-light);
  background: white;
}

/* ============================================ */
/* TOAST MESSAGE                                 */
/* ============================================ */

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateX(-50%) translateY(10px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ============================================ */
/* RESPONSIVO — LOOKUP BAR                       */
/* ============================================ */

@media (max-width: 600px) {
  .lookup-bar-content {
    flex-direction: column;
    align-items: stretch;
  }

  .lookup-bar-form,
  .lookup-bar-form-inline {
    flex-direction: column;
    min-width: auto;
  }

  .lookup-bar-input {
    width: 100%;
  }

  .cache-banner-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .cache-banner-emails {
    width: 100%;
  }

  .cache-email-btn {
    width: 100%;
    justify-content: center;
  }

  .my-appointment-body {
    flex-direction: column;
  }
}

/* ============================================ */
/* BOOKING TABS — Menu de navegação              */
/* ============================================ */

.booking-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  background: white;
  border-radius: 14px;
  padding: 0.375rem;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.03), 0 2px 4px rgba(0, 0, 0, 0.02);
}

.booking-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 10px;
  background: transparent;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-gray-500);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.booking-tab:hover {
  color: var(--tenant-primary);
  background: var(--tenant-primary-light);
}

.booking-tab.active {
  background: var(--tenant-primary);
  color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.booking-tab.active svg {
  color: white;
}

/* ============================================ */
/* COMPANY NAME                                  */
/* ============================================ */

.booking-company-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

/* ============================================ */
/* LOOKUP SECTION — Busca centralizada           */
/* ============================================ */

.lookup-section {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.03), 0 2px 4px rgba(0, 0, 0, 0.02), 0 8px 16px rgba(0, 0, 0, 0.03);
}

.lookup-form-centered {
  width: 100%;
}

.lookup-input-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lookup-input-icon {
  color: var(--color-gray-400);
  flex-shrink: 0;
}

.lookup-input-large {
  flex: 1;
  padding: 0.875rem 1rem;
  border: 1.5px solid var(--color-gray-200);
  border-radius: 12px;
  font-size: 1rem;
  background: var(--color-gray-50);
  transition: all 0.2s;
  font-family: inherit;
}

.lookup-input-large:focus {
  outline: none;
  border-color: var(--tenant-primary);
  box-shadow: 0 0 0 3px var(--tenant-primary-light);
  background: white;
}

.lookup-input-large::placeholder {
  color: var(--color-gray-400);
}

/* ============================================ */
/* RESPONSIVO — TABS E LOOKUP                    */
/* ============================================ */

@media (max-width: 600px) {
  .booking-tabs {
    flex-direction: column;
    gap: 0.25rem;
  }

  .booking-tab {
    padding: 0.625rem 1rem;
  }

  .lookup-section {
    padding: 1.25rem;
  }

  .lookup-input-group {
    flex-direction: column;
  }

  .lookup-input-large {
    width: 100%;
  }
}

/* ============================================ */
/* ACTIVE EMAIL INDICATOR                        */
/* ============================================ */

.active-email-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  background: var(--tenant-primary-light);
  border-radius: 10px;
  margin-bottom: 1rem;
  font-size: 0.8125rem;
  color: var(--tenant-primary);
}

.active-email-indicator strong {
  font-weight: 600;
}

/* ============================================ */
/* LOOKUP DIVIDER                                */
/* ============================================ */

.lookup-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
}

.lookup-divider::before,
.lookup-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-gray-200);
}

.lookup-divider span {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-gray-400);
  white-space: nowrap;
}

/* ============================================ */
/* CACHED EMAILS LIST                            */
/* ============================================ */

.cached-emails-list {
  margin-top: 1rem;
  padding: 1rem;
  background: white;
  border-radius: 12px;
  border: 1px solid var(--color-gray-200);
}

.cached-emails-title {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-gray-500);
  margin-bottom: 0.5rem;
}

.cached-emails-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ============================================ */
/* CLEAR CACHE BUTTON                            */
/* ============================================ */

.btn-clear-cache {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  width: 100%;
  margin-top: 1rem;
  padding: 0.625rem;
  background: transparent;
  border: 1px dashed var(--color-gray-300);
  border-radius: 10px;
  font-size: 0.75rem;
  color: var(--color-gray-400);
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.btn-clear-cache:hover {
  border-color: #EF4444;
  color: #EF4444;
  background: #FEF2F2;
}

/* ============================================ */
/* PUBLIC HEADER BAR                             */
/* ============================================ */

.public-header-bar {
  background: white;
  border-bottom: 3px solid var(--tenant-primary);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.public-header-content {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
}

.public-header-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid var(--color-gray-200);
}

.public-header-logo-placeholder {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
  font-weight: 700;
}

.public-header-info {
  display: flex;
  flex-direction: column;
}

.public-header-title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
}

.public-header-subtitle {
  font-size: 0.75rem;
  color: var(--color-gray-500);
}

/* ============================================ */
/* BUTTONS WITH TENANT COLOR                     */
/* ============================================ */

.btn-tenant {
  background: var(--tenant-primary) !important;
  border-color: var(--tenant-primary) !important;
  color: white !important;
}

.btn-tenant:hover {
  filter: brightness(0.9);
}

/* ============================================ */
/* PUBLIC BOOKING PAGE - PREMIUM                 */
/* ============================================ */

/* Variáveis injetadas via JS */
:root {
  --tenant-primary: #4F46E5;
  --tenant-primary-light: #4F46E515;
  --tenant-primary-dark: #4338CA;
  --tenant-bg-gradient-start: #4F46E508;
  --tenant-bg-gradient-end: #7C3AED05;
}

.public-booking-page {
  min-height: 100vh;
  background: linear-gradient(160deg, #F9FAFB 0%, #EEF2FF 100%);
  padding: 2rem 1rem 4rem;
}

.booking-container {
  max-width: 680px;
  margin: 0 auto;
}

/* ============================================ */
/* HEADER COM LOGO                               */
/* ============================================ */

.booking-header {
  text-align: center;
  padding: 2.5rem 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

/* Logo wrapper */
.tenant-logo-wrapper {
  margin-bottom: 0.5rem;
  border-radius: 16px;
  overflow: hidden;
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tenant-logo {
  display: block;
  max-width: 200px;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
  padding: 0.5rem 1rem;
}

/* Logo placeholder (fallback quando não tem logo) */
.logo-placeholder-wrapper {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.tenant-logo-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Fallback quando a imagem quebra */
.logo-fallback::after {
  content: '';
  display: none;
}

.tenant-logo-wrapper.logo-fallback {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--tenant-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tenant-logo-wrapper.logo-fallback::before {
  content: '🏢';
  font-size: 2rem;
  color: white;
}

/* Company name com cor do tenant */
.booking-company-name {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.booking-header h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.booking-header p {
  color: var(--color-gray-500);
  font-size: 0.9375rem;
}

/* ============================================ */
/* BOOKING TABS — Cores dinâmicas                */
/* ============================================ */

.booking-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  background: white;
  border-radius: 14px;
  padding: 0.375rem;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.03), 0 2px 4px rgba(0, 0, 0, 0.02);
}

.booking-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 10px;
  background: transparent;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-gray-500);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.booking-tab:hover {
  color: var(--tenant-primary);
  background: var(--tenant-primary-light);
}

.booking-tab.active {
  color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.booking-tab.active svg {
  color: white;
}

/* ============================================ */
/* STEP SECTION — Borda dinâmica                 */
/* ============================================ */

.step-section {
  background: white;
  border-radius: 16px;
  padding: 1.75rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.03), 0 2px 4px rgba(0, 0, 0, 0.02), 0 8px 16px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

.step-section-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.step-number {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.step-section-header h2 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-gray-900);
}

/* ============================================ */
/* OPTIONS CARDS — Cores dinâmicas               */
/* ============================================ */

.option-card {
  padding: 1.125rem;
  border: 1.5px solid var(--color-gray-200);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  background: white;
}

.option-card:hover {
  border-color: var(--tenant-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transform: translateY(-1px);
}

.option-card.selected {
  box-shadow: 0 0 0 3px var(--tenant-primary-light);
}

.option-card-content h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-gray-900);
  margin-bottom: 0.375rem;
}

.option-duration {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: var(--color-gray-500);
}

.option-price {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-top: 0.375rem;
}

.option-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--color-gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.option-card.selected .option-check {
  color: white;
}

/* ============================================ */
/* SLOT CARDS — Cores dinâmicas                  */
/* ============================================ */

.slot-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 0.5rem;
  border: 1.5px solid var(--color-gray-200);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-gray-700);
  background: white;
}

.slot-card:hover {
  border-color: var(--tenant-primary);
  background: var(--tenant-primary-light);
  transform: translateY(-1px);
}

.slot-card.selected {
  color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* ============================================ */
/* BUTTONS — Cores do tenant                     */
/* ============================================ */

.btn-resend:hover {
  border-color: var(--tenant-primary);
  color: var(--tenant-primary);
  background: var(--tenant-primary-light);
}

.btn-new-booking:hover {
  border-color: var(--tenant-primary);
  color: var(--tenant-primary);
  background: var(--tenant-primary-light);
}

.lookup-input-large:focus,
.lookup-bar-input:focus,
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--tenant-primary);
  box-shadow: 0 0 0 3px var(--tenant-primary-light);
  background: white;
}

/* ============================================ */
/* PROGRESS INDICATOR                            */
/* ============================================ */

.booking-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 2rem;
  padding: 0 0.5rem;
  overflow-x: auto;
}

.booking-progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--color-gray-400);
  position: relative;
  flex-shrink: 0;
  min-width: 50px;
}

.booking-progress-step.done {
  color: var(--color-success);
}

.booking-progress-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--color-gray-500);
  transition: all 0.3s ease;
}

.booking-progress-step.done .booking-progress-dot {
  background: var(--color-success);
  color: white;
}

.booking-progress-step.active .booking-progress-dot {
  color: white;
  box-shadow: 0 0 0 3px var(--tenant-primary-light);
}

/* ============================================ */
/* ALERT, SUMMARY E OUTROS                       */
/* ============================================ */

.alert {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  animation: slideDown 0.3s ease;
}

.alert-error {
  background-color: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FECACA;
}

.alert-close {
  margin-left: auto;
  background: none;
  border: none;
  color: #991B1B;
  cursor: pointer;
  opacity: 0.6;
  padding: 0.25rem;
  border-radius: 4px;
  display: flex;
}

.alert-close:hover {
  opacity: 1;
  background: rgba(0, 0, 0, 0.05);
}

.booking-summary {
  background: var(--color-gray-50);
  border: 1px solid var(--color-gray-200);
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.booking-summary h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-gray-700);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-gray-200);
}

.summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.625rem;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.25rem 0;
}

.summary-label {
  font-size: 0.8125rem;
  color: var(--color-gray-500);
}

.summary-value {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-gray-900);
  text-align: right;
}

.summary-value.highlight {
  font-weight: 600;
}

/* Bloqueio elegante */
.booking-blocked-card {
  background: white;
  border-radius: 20px;
  padding: 48px 32px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
  margin-top: 24px;
}

.blocked-icon-wrapper {
  margin-bottom: 24px;
}

.booking-blocked-card h2 {
  font-size: 1.5rem;
  color: #1F2937;
  margin-bottom: 16px;
  font-weight: 700;
}

.booking-blocked-card p {
  color: #6B7280;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 12px;
}

.blocked-hint {
  font-size: 0.85rem;
  color: #9CA3AF;
  margin-bottom: 24px;
}

.booking-blocked-card button {
  margin: 0 auto;
}
.dashboard-trial-banner {
  background: linear-gradient(135deg, #10B981, #34D399);
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

.trial-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
}

.trial-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.trial-icon {
  font-size: 1.25rem;
  color: white;
}

.trial-info strong {
  display: block;
  color: white;
  font-size: 0.875rem;
}

.trial-info span {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.75rem;
}

.trial-upgrade-btn {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  background: white;
  color: #059669;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  font-size: 0.813rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.trial-upgrade-btn:hover {
  background: #F0FDF4;
}.dashboard-page { padding: 1.5rem; }
.dashboard-page h1 { margin-bottom: 1.5rem; font-size: 1.5rem; }

/* Stats Grid */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }

.stat-card { background: white; padding: 1.25rem; border-radius: 12px; border: 1px solid var(--color-gray-200); display: flex; align-items: center; gap: 1rem; }

.stat-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; }

.stat-info { display: flex; flex-direction: column; }
.stat-value { font-size: 1.5rem; font-weight: 700; color: var(--color-gray-900); }
.stat-label { font-size: 0.75rem; color: var(--color-gray-500); }

/* Quick Stats */
.quick-stats { display: flex; gap: 1.5rem; margin-bottom: 1.5rem; padding: 0.75rem 1rem; background: white; border-radius: 8px; border: 1px solid var(--color-gray-200); }

.quick-stat { display: flex; align-items: center; gap: 0.5rem; font-size: 0.813rem; color: var(--color-gray-600); }

/* Charts */
.charts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 1.5rem; }

.chart-card { background: white; padding: 1.5rem; border-radius: 12px; border: 1px solid var(--color-gray-200); }
.chart-card h3 { font-size: 0.938rem; margin-bottom: 1rem; color: var(--color-gray-700); }

.chart-card.full-width { grid-column: 1 / -1; }

.no-data { text-align: center; color: var(--color-gray-400); padding: 2rem; }

/* Upcoming */
.upcoming-section { margin-bottom: 1.5rem; }
.upcoming-section h2 { font-size: 1.125rem; margin-bottom: 1rem; }

.upcoming-list { display: flex; flex-direction: column; gap: 0.5rem; }

.upcoming-card { background: white; padding: 1rem 1.25rem; border-radius: 8px; border: 1px solid var(--color-gray-200); display: flex; align-items: center; gap: 1.5rem; }

.upcoming-time { display: flex; flex-direction: column; min-width: 70px; }
.upcoming-time .time { font-weight: 700; font-size: 1rem; }
.upcoming-time .date { font-size: 0.688rem; color: var(--color-gray-500); }

.upcoming-info { flex: 1; }
.upcoming-info strong { font-size: 0.875rem; }
.upcoming-info p { font-size: 0.75rem; color: var(--color-gray-500); }
.upcoming-info .pro-name { font-size: 0.688rem; color: var(--color-gray-400); }

.status-badge { display: inline-block; padding: 0.125rem 0.5rem; border-radius: 50px; font-size: 0.688rem; color: white; }

@media (max-width: 768px) {
  .charts-grid { grid-template-columns: 1fr; }
  .upcoming-card { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
}/* ============================================
   APPOINTMENTS PAGE
   ============================================ */
.appointments-page {
  padding: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
  background: #f8fafc;
  min-height: 100vh;
}

/* ============================================
   HEADER
   ============================================ */
.appointments-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-left h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a202c;
  margin: 0;
}

.view-selector {
  display: flex;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.view-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: none;
  background: white;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  color: #4a5568;
  transition: all 0.2s;
}

.view-btn:hover {
  background: #f7fafc;
}

.view-btn.active {
  background: #3B82F6;
  color: white;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.filter-group {
  display: flex;
  align-items: center;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.25rem 0.75rem;
  gap: 0.5rem;
}

.filter-icon {
  color: #a0aec0;
}

.filter-group select {
  border: none;
  background: transparent;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  color: #2d3748;
  outline: none;
  cursor: pointer;
}

/* ============================================
   DATE NAVIGATION
   ============================================ */
.date-navigation {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  background: white;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  flex-wrap: wrap;
}

.nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: white;
  cursor: pointer;
  transition: all 0.2s;
  color: #4a5568;
}

.nav-btn:hover {
  background: #f7fafc;
  border-color: #3B82F6;
  color: #3B82F6;
}

.date-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1a202c;
  min-width: 200px;
  text-align: center;
  margin: 0;
}

.today-btn {
  padding: 0.5rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: white;
  font-size: 0.875rem;
  font-weight: 500;
  color: #3B82F6;
  cursor: pointer;
  transition: all 0.2s;
}

.today-btn:hover {
  background: #eff6ff;
  border-color: #3B82F6;
}

.view-options {
  display: flex;
  gap: 0.25rem;
  margin-left: auto;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
}

.view-option {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.375rem 0.75rem;
  border: none;
  background: white;
  cursor: pointer;
  color: #a0aec0;
  transition: all 0.2s;
}

.view-option:hover {
  background: #f7fafc;
  color: #4a5568;
}

.view-option.active {
  background: #3B82F6;
  color: white;
}

/* ============================================
   WEEK VIEW
   ============================================ */
.week-view {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.week-grid {
  display: flex;
  flex-direction: column;
}

.week-header {
  display: grid;
  grid-template-columns: 60px repeat(7, 1fr);
  border-bottom: 2px solid #e2e8f0;
}

.time-column-header {
  padding: 0.75rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #a0aec0;
  text-align: center;
  background: #f7fafc;
  border-right: 1px solid #e2e8f0;
}

.day-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.75rem 0.5rem;
  background: #f7fafc;
  border-right: 1px solid #e2e8f0;
  position: relative;
}

.day-header.today {
  background: #eff6ff;
}

.day-name {
  font-size: 0.75rem;
  font-weight: 500;
  color: #4a5568;
  text-transform: uppercase;
}

.day-number {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a202c;
  margin: 0.125rem 0;
}

.day-header.today .day-number {
  color: #3B82F6;
}

.day-count {
  font-size: 0.625rem;
  background: #3B82F6;
  color: white;
  padding: 0.125rem 0.5rem;
  border-radius: 50px;
  font-weight: 600;
}

.week-body {
  display: flex;
  flex-direction: column;
}

.week-row {
  display: grid;
  grid-template-columns: 60px repeat(7, 1fr);
  min-height: 60px;
  border-bottom: 1px solid #e2e8f0;
}

.week-row:last-child {
  border-bottom: none;
}

.time-label {
  padding: 0.5rem;
  font-size: 0.75rem;
  color: #a0aec0;
  text-align: center;
  background: #f7fafc;
  border-right: 1px solid #e2e8f0;
  font-weight: 500;
}

.week-cell {
  padding: 0.25rem;
  border-right: 1px solid #e2e8f0;
  min-height: 60px;
  position: relative;
}

.week-cell:last-child {
  border-right: none;
}

.week-appointment-card {
  background: white;
  border-radius: 6px;
  padding: 0.5rem;
  margin-bottom: 0.25rem;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.75rem;
}

.week-appointment-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.week-appointment-card .app-time {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: 600;
  color: #2d3748;
  font-size: 0.688rem;
}

.week-appointment-card .app-customer-name {
  font-weight: 500;
  color: #1a202c;
  margin-top: 0.125rem;
  font-size: 0.75rem;
}

.week-appointment-card .app-service-name {
  color: #718096;
  font-size: 0.688rem;
}

/* ============================================
   MONTH VIEW
   ============================================ */
.month-view {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.month-grid {
  display: flex;
  flex-direction: column;
}

.month-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border-bottom: 2px solid #e2e8f0;
}

.weekday-label {
  padding: 0.75rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.75rem;
  color: #4a5568;
  background: #f7fafc;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.month-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.month-day {
  min-height: 100px;
  padding: 0.5rem;
  border-right: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  background: white;
  transition: background 0.2s;
}

.month-day:nth-child(7n) {
  border-right: none;
}

.month-day.other-month {
  background: #f7fafc;
}

.month-day.other-month .day-number {
  color: #a0aec0;
}

.month-day.today {
  background: #eff6ff;
}

.month-day.today .day-number {
  color: #3B82F6;
  font-weight: 700;
}

.month-day-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.25rem;
}

.day-number {
  font-size: 0.875rem;
  font-weight: 500;
  color: #2d3748;
}

.day-apps-count {
  font-size: 0.625rem;
  background: #ebf4ff;
  color: #3B82F6;
  padding: 0.125rem 0.5rem;
  border-radius: 50px;
  font-weight: 600;
}

.month-day-appointments {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.month-appointment-card {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.375rem;
  border-radius: 4px;
  font-size: 0.688rem;
  cursor: pointer;
  transition: all 0.2s;
  background: white;
  border: 1px solid #e2e8f0;
  overflow: hidden;
}

.month-appointment-card:hover {
  background: #f7fafc;
  border-color: #3B82F6;
}

.month-app-time {
  font-weight: 600;
  color: #2d3748;
  white-space: nowrap;
}

.month-app-customer {
  color: #4a5568;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.month-more-appointments {
  font-size: 0.688rem;
  color: #3B82F6;
  padding: 0.25rem 0.375rem;
  cursor: pointer;
  font-weight: 500;
}

.month-more-appointments:hover {
  text-decoration: underline;
}

/* ============================================
   MODAL
   ============================================ */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: fadeIn 0.2s ease;
}

.modal {
  background: white;
  border-radius: 16px;
  width: 520px;
  max-width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 0;
  animation: slideUp 0.3s ease;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 1.5rem 1rem;
  border-bottom: 1px solid #e2e8f0;
}

.modal-header h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a202c;
  margin: 0;
}

.modal-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
  color: #a0aec0;
  transition: all 0.2s;
}

.modal-close:hover {
  background: #f7fafc;
  color: #2d3748;
}

.app-detail {
  padding: 1.5rem;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f7fafc;
}

.detail-row:last-child {
  border-bottom: none;
}

.detail-label {
  font-size: 0.813rem;
  font-weight: 500;
  color: #718096;
}

.detail-value {
  font-size: 0.875rem;
  color: #1a202c;
  font-weight: 500;
  text-align: right;
  max-width: 60%;
}

.status-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  color: white;
}

.status-actions {
  padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid #e2e8f0;
}

.status-actions h3 {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1a202c;
  margin: 0 0 0.75rem 0;
}

.status-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.modal-actions {
  padding: 1rem 1.5rem 1.5rem;
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid #e2e8f0;
}

/* ============================================
   LOADING
   ============================================ */
.loading-spinner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem;
  color: #a0aec0;
  font-size: 0.875rem;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .appointments-page {
    padding: 1rem;
  }
  
  .week-row {
    min-height: 50px;
  }
  
  .month-day {
    min-height: 80px;
  }
}

@media (max-width: 768px) {
  .appointments-header {
    flex-direction: column;
    align-items: stretch;
  }
  
  .header-left {
    flex-wrap: wrap;
  }
  
  .header-right {
    flex-wrap: wrap;
  }
  
  .date-navigation {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .date-title {
    font-size: 0.875rem;
    min-width: auto;
  }
  
  .week-view {
    overflow-x: auto;
  }
  
  .week-header {
    min-width: 700px;
  }
  
  .week-body {
    min-width/* LoadingSpinner.css */
.loading-spinner-fullpage {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: #f9fafb;
}

.loading-spinner-content {
  text-align: center;
}

.loading-spinner-content .spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #e5e7eb;
  border-top-color: #cc2945;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto;
}

.loading-message {
  margin-top: 1rem;
  color: #6b7280;
  font-size: 0.9rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}/* ============================================ */
/* INDEX.CSS
 RESET E ESTILOS GLOBAIS                      */
/* ============================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Cores principais */
  --color-primary: #4F46E5;
  --color-primary-hover: #4338CA;
  --color-secondary: #7C3AED;
  
  /* Cores de estado */
  --color-success: #10B981;
  --color-error: #EF4444;
  --color-warning: #F59E0B;
  --color-info: #3B82F6;
  
  /* Cores neutras */
  --color-white: #FFFFFF;
  --color-gray-50: #F9FAFB;
  --color-gray-100: #F3F4F6;
  --color-gray-200: #E5E7EB;
  --color-gray-300: #D1D5DB;
  --color-gray-400: #9CA3AF;
  --color-gray-500: #6B7280;
  --color-gray-600: #4B5563;
  --color-gray-700: #374151;
  --color-gray-800: #1F2937;
  --color-gray-900: #111827;
  
  /* Tamanhos */
  --max-width: 1200px;
  --border-radius: 8px;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 4px 6px rgba(0, 0, 0, 0.1);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--color-gray-50);
  color: var(--color-gray-900);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: var(--color-primary);
}

button {
  cursor: pointer;
  border: none;
  border-radius: var(--border-radius);
  font-family: inherit;
}

input, select, textarea {
  font-family: inherit;
  border: 1px solid var(--color-gray-300);
  border-radius: var(--border-radius);
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* Utilitários */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

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

.text-error {
  color: var(--color-error);
  font-size: 0.75rem;
  margin-top: 0.25rem;
}

/* Loading spinner */
.spinner {
  border: 3px solid var(--color-gray-200);
  border-top: 3px solid var(--color-primary);
  border-radius: 50%;
  width: 24px;
  height: 24px;
  animation: spin 0.6s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}
 
 /* ============================================
   VARIÁVEIS CSS (Adicione ao seu :root)
   ============================================ */
:root {
  --sidebar-width: 260px;
  --sidebar-bg: #2F3349;
  --sidebar-hover: #3B3F5C;
  --sidebar-text: #B6B9D1;
  --sidebar-text-hover: #FFFFFF;
  
  --primary: #696CFF;
  --primary-light: #E7E7FF;
  --primary-dark: #5A5DE0;
  
  --body-bg: #F5F5F9;
  --card-bg: #FFFFFF;
  --topbar-bg: #FFFFFF;
  
  --text-primary: #4B465C;
  --text-secondary: #8B869B;
  --text-muted: #B6B9D1;
  
  --border-color: #E6E6EE;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.08);
  
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  
  --font-family: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset suave */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  background: var(--body-bg);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
}

/* ============================================
   LAYOUT PRINCIPAL
   ============================================ */
.dashboard-layout {
  display: flex;
  min-height: 100vh;
  background: var(--body-bg);
}

/* ============================================
   SIDEBAR - Estilo Material Dark
   ============================================ */
.sidebar {
  width: var(--sidebar-width);
  background: var(--sidebar-bg);
  color: white;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 100;
  transition: var(--transition);
  box-shadow: var(--shadow-lg);
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sidebar-logo {
  display: flex;
  align-items: center;
      /* gap: 0.75rem;*/
}

.logo-icon {
  width: 34px;
  height: 34px;
  background: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: white;
  flex-shrink: 0;
}

.logo-text {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff !important;
  letter-spacing: -0.3px;
}

.sidebar-close {
  display: none;
  background: none;
  border: none;
  color: var(--sidebar-text);
  cursor: pointer;
  padding: 4px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.sidebar-close:hover {
  background: var(--sidebar-hover);
  color: white;
}

/* Navegação */
.sidebar-nav {
  flex: 1;
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow-y: auto;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.7rem 0.875rem;
  color: var(--sidebar-text);
  border-radius: var(--radius-md);
  font-size: 0.925rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
  position: relative;
}

.nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.nav-label {
  white-space: nowrap;
}

.nav-item:hover {
  background: var(--sidebar-hover);
  color: var(--sidebar-text-hover);
}

.nav-item.active {
  background: var(--primary);
  color: white;
  box-shadow: 0 2px 10px rgba(105, 108, 255, 0.4);
}

/* Footer do Sidebar */
.sidebar-footer {
  padding: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.user-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding: 0.5rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.user-info:hover {
  background: var(--sidebar-hover);
}

.user-avatar {
  position: relative;
  flex-shrink: 0;
      margin-top: -10px;
}

.user-avatar img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.avatar-placeholder {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1rem;
  color: white;
}

.status-dot {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 10px;
  height: 10px;
  background: #28C76F;
  border: 2px solid var(--sidebar-bg);
  border-radius: 50%;
}

.user-details {
  flex: 1;
  min-width: 0;
  padding-left: 20px;
}

.user-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: white;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-role {
  font-size: 0.75rem;
  color: var(--sidebar-text);
  line-height: 1.3;
}

.logout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  width: 100%;
  padding: 0.625rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--sidebar-text);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-family);
}

.logout-btn:hover {
  background: rgba(234, 84, 85, 0.1);
  border-color: rgba(234, 84, 85, 0.3);
  color: #EA5455;
}

/* ============================================
   OVERLAY MOBILE
   ============================================ */
.sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
  z-index: 99;
}

/* ============================================
   MAIN CONTENT
   ============================================ */
.main-content {
  flex: 1;
  margin-left: var(--sidebar-width);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--body-bg);
}

/* ============================================
   TOPBAR - Limpo e funcional
   ============================================ */
.topbar {
  background: var(--topbar-bg);
  padding: 0.75rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 10;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.menu-toggle:hover {
  background: var(--body-bg);
}

.search-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--body-bg);
  border-radius: var(--radius-md);
  padding: 0.5rem 0.875rem;
  max-width: 320px;
  width: 100%;
  border: 1px solid transparent;
  transition: var(--transition);
}

.search-bar:focus-within {
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 3px rgba(105, 108, 255, 0.1);
}

.search-bar svg {
  color: var(--text-muted);
  flex-shrink: 0;
}

.search-bar input {
  border: none;
  background: none;
  outline: none;
  font-size: 0.875rem;
  color: var(--text-primary);
  font-family: var(--font-family);
  width: 100%;
}

.search-bar input::placeholder {
  color: var(--text-muted);
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.topbar-notifications {
  position: relative;
  width: 38px;
  height: 38px;
  background: var(--body-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.topbar-notifications:hover {
  background: var(--primary-light);
}

.notification-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 18px;
  height: 18px;
  background: #EA5455;
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
}

.topbar-user {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.25rem 0.75rem 0.25rem 0.25rem;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
}

.topbar-user:hover {
  background: var(--body-bg);
}

.topbar-avatar img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
}

.avatar-placeholder-small {
  width: 34px;
  height: 34px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.8rem;
  color: white;
  line-height: 1; /* Remove o line-height padrão */
  text-align: center; /* Garante centralização horizontal */
  flex-shrink: 0; /* Evita que o avatar encolha */
}
.user-name-topbar {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* ============================================
   PAGE CONTENT
   ============================================ */
.page-content {
  flex: 1;
  padding: 1.5rem;
  overflow-y: auto;
}

.page-content::-webkit-scrollbar {
  width: 6px;
}

.page-content::-webkit-scrollbar-track {
  background: transparent;
}

.page-content::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 3px;
}

.page-content::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* ============================================
   RESPONSIVO
   ============================================ */
@media (max-width: 1024px) {
  .search-bar {
    max-width: 240px;
  }
}

@media (max-width: 768px) {
  :root {
    --sidebar-width: 260px;
  }

  .sidebar {
    transform: translateX(-100%);
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .sidebar-overlay {
    display: block;
  }

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

  .main-content {
    margin-left: 0;
  }

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

  .search-bar {
    max-width: 200px;
  }

  .user-name-topbar {
    display: none;
  }

  .page-content {
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .search-bar {
    max-width: 160px;
  }

  .topbar {
    padding: 0.75rem 1rem;
  }
}

/* Estilos para os novos itens do menu */
.nav-separator {
  padding: 8px 16px;
  margin-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-separator span {
  font-size: 11px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 1px;
}

.nav-item-external {
  background: rgba(52, 152, 219, 0.1);
  border: 1px solid rgba(52, 152, 219, 0.3);
  margin: 4px 8px;
  border-radius: 8px;
  transition: all 0.3s;
}

.nav-item-external:hover {
  background: rgba(52, 152, 219, 0.2);
  border-color: rgba(52, 152, 219, 0.5);
}

.nav-item-copy {
  background: rgba(46, 204, 113, 0.1);
  border: 1px solid rgba(46, 204, 113, 0.3);
  margin: 4px 8px;
  border-radius: 8px;
  transition: all 0.3s;
}

.nav-item-copy:hover {
  background: rgba(46, 204, 113, 0.2);
  border-color: rgba(46, 204, 113, 0.5);
}

/* Botão no header */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-public-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 14px;
}

.btn-public-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Mobile */
@media (max-width: 768px) {
  .btn-public-link span {
    display: none;
  }
}

/* Tamanhos predefinidos */
.logo-image-sm {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.logo-image-md {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.logo-image-lg {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.logo-image-xl {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

/* HOME PAGE — ESTILOS REFINADOS                 */
/* ============================================ */

/* ----- CSS Variables (assumindo que existam no projeto) ----- */
:root {
  --color-primary: #4F46E5;
  --color-primary-dark: #4338CA;
  --color-primary-light: #EEF2FF;
  --color-secondary: #7C3AED;
  --color-success: #10B981;
  --color-gray-50: #F9FAFB;
  --color-gray-100: #F3F4F6;
  --color-gray-200: #E5E7EB;
  --color-gray-300: #D1D5DB;
  --color-gray-400: #9CA3AF;
  --color-gray-500: #6B7280;
  --color-gray-600: #4B5563;
  --color-gray-700: #374151;
  --color-gray-800: #1F2937;
  --color-gray-900: #111827;
  --border-radius: 8px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 50px -6px rgba(0, 0, 0, 0.15);
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ----- RESET & BASE ----- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--color-gray-900);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 5rem 0;
  position: relative;
}

/* ----- SECTION HEADER ----- */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  background: rgba(79, 70, 229, 0.08);
  padding: 0.375rem 0.875rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.section-header h2 {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--color-gray-900);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.section-header p {
  font-size: 1.0625rem;
  color: var(--color-gray-600);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ----- BUTTONS ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  border-radius: var(--border-radius);
  transition: all var(--transition-base);
  cursor: pointer;
  text-decoration: none;
  border: 2px solid transparent;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

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

.btn-primary {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--color-gray-700);
  border-color: var(--color-gray-200);
}

.btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: rgba(79, 70, 229, 0.03);
}

.btn-ghost {
  background: transparent;
  color: var(--color-gray-600);
  border-color: transparent;
}

.btn-ghost:hover {
  background: var(--color-gray-100);
  color: var(--color-primary);
}

.btn-light {
  background: white;
  color: var(--color-primary);
  border-color: white;
}

.btn-light:hover {
  background: var(--color-gray-50);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  transform: translateY(-1px);
}

.btn-glow {
  box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.4);
  animation: glow-pulse 2s infinite;
}

@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(79, 70, 229, 0); }
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
}

.btn-lg {
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
}

.btn-icon {
  transition: transform var(--transition-fast);
}

.btn:hover .btn-icon {
  transform: translateX(3px);
}

/* ============================================ */
/* HEADER                                       */
/* ============================================ */
.header {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-gray-200);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all var(--transition-base);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--color-gray-900);
  font-size: 1.25rem;
  font-weight: 700;
}

.logo:hover {
  opacity: 0.85;
}

.logo-icon {
  font-size: 1.5rem;
}

.logo-text {
  color: var(--color-primary);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav .btn-primary {
  color: #ffffff;
}

.nav a {
  color: var(--color-gray-600);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  border-radius: var(--border-radius);
  transition: all var(--transition-fast);
}



.nav a:hover {
  color: var(--color-primary);
  background: rgba(79, 70, 229, 0.05);
}

.nav .btn {
  margin-left: 0.5rem;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-gray-600);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: var(--border-radius);
  transition: all var(--transition-fast);
}

.menu-toggle:hover {
  background: var(--color-gray-100);
  color: var(--color-primary);
}

/* ============================================ */
/* HERO                                         */
/* ============================================ */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: var(--color-gray-50);
  overflow: hidden;
  position: relative;
}

.hero-background {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.5;
  animation: float 8s ease-in-out infinite;
}

.hero-gradient-orb--1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.15), transparent 70%);
  top: -200px;
  right: -100px;
  animation-delay: 0s;
}

.hero-gradient-orb--2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.1), transparent 70%);
  bottom: -100px;
  left: -50px;
  animation-delay: -4s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-badge-group {
  display: flex;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  color: var(--color-primary);
  padding: 0.375rem 0.875rem;
  border-radius: 50px;
  font-size: 0.8125rem;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-gray-200);
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-success);
  animation: blink 2s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-text h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--color-gray-900);
  letter-spacing: -0.03em;
}

.highlight {
  color: var(--color-primary);
  position: relative;
}

.highlight::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(79, 70, 229, 0.2);
  border-radius: 2px;
}

.hero-description {
  font-size: 1.0625rem;
  color: var(--color-gray-600);
  line-height: 1.7;
  max-width: 520px;
}

.hero-description strong {
  color: var(--color-gray-900);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-avatars {
  display: flex;
}

.hero-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: white;
  border: 2px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  margin-right: -8px;
  box-shadow: var(--shadow-sm);
}

.hero-trust-text {
  font-size: 0.8125rem;
  color: var(--color-gray-500);
}

.hero-trust-text strong {
  color: var(--color-primary);
  font-weight: 600;
}

/* Hero Mockup */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-mockup-wrapper {
  position: relative;
}

.hero-mockup {
  background: white;
  border-radius: 16px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  width: 420px;
  max-width: 100%;
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
  position: relative;
  z-index: 2;
}

.hero-mockup:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.hero-mockup-shadow {
  position: absolute;
  bottom: -30px;
  left: 20px;
  right: 20px;
  height: 60px;
  background: rgba(79, 70, 229, 0.08);
  filter: blur(30px);
  border-radius: 50%;
  z-index: 1;
}

.mockup-header {
  background: var(--color-gray-50);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid var(--color-gray-100);
}

.mockup-dots {
  display: flex;
  gap: 0.375rem;
}

.mockup-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-gray-300);
}

.mockup-dots span:first-child { background: #FF5F57; }
.mockup-dots span:nth-child(2) { background: #FFBD2E; }
.mockup-dots span:nth-child(3) { background: #28CA41; }

.mockup-url {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  color: var(--color-gray-500);
  background: white;
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  border: 1px solid var(--color-gray-200);
}

.mockup-body {
  padding: 1.5rem;
}

.mockup-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--color-gray-100);
}

.mockup-brand-avatar {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #4F46E5, #7C3AED);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.mockup-brand-info strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
}

.mockup-brand-info span {
  font-size: 0.75rem;
  color: var(--color-gray-500);
}

.mockup-professional {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.mockup-professional-avatar {
  width: 48px;
  height: 48px;
  background: var(--color-primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.mockup-section-title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.mockup-slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.mockup-slot {
  padding: 0.625rem;
  background: var(--color-gray-50);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--border-radius);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.mockup-slot:hover {
  border-color: var(--color-primary);
  background: var(--color-primary-light);
}

.mockup-slot.selected {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.3);
}

.mockup-slot-day {
  display: block;
  font-size: 0.6875rem;
  opacity: 0.8;
}

.mockup-slot-time {
  display: block;
  font-weight: 600;
  font-size: 0.8125rem;
}

/* ============================================ */
/* DIFFERENTIALS                                */
/* ============================================ */
.differentials {
  background: white;
}

.differentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.differential-card {
  padding: 2rem 1.75rem;
  border-radius: 12px;
  border: 1px solid var(--color-gray-200);
  background: white;
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.differential-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  opacity: 0;
  transition: opacity var(--transition-slow);
}

.differential-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.differential-card:hover::before {
  opacity: 1;
}

.differential-icon-wrapper {
  width: 48px;
  height: 48px;
  background: var(--color-primary-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--color-primary);
  font-size: 1.5rem;
  transition: all var(--transition-base);
}

.differential-card:hover .differential-icon-wrapper {
  background: var(--color-primary);
  color: white;
}

.differential-card h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-gray-900);
}

.differential-card p {
  font-size: 0.875rem;
  color: var(--color-gray-600);
  line-height: 1.65;
}

/* ============================================ */
/* FOR WHOM                                     */
/* ============================================ */
.for-whom {
  background: var(--color-gray-50);
}

.professions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.75rem;
}

.profession-card {
  text-align: center;
  padding: 1.5rem 1rem;
  background: white;
  border: 1px solid var(--color-gray-100);
  border-radius: var(--border-radius);
  transition: all var(--transition-base);
  cursor: default;
}

.profession-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.profession-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.5rem;
}

.profession-card h3 {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-gray-700);
}

/* ============================================ */
/* HOW IT WORKS                                 */
/* ============================================ */
.how-it-works {
  background: white;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.step-card {
  text-align: center;
  padding: 2.5rem 1.75rem;
  border-radius: 12px;
  background: var(--color-gray-50);
  border: 1px solid transparent;
  transition: all var(--transition-base);
  position: relative;
}

.step-card:hover {
  background: white;
  border-color: var(--color-gray-200);
  box-shadow: var(--shadow-md);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--color-primary);
  color: white;
  border-radius: 50%;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

.step-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: 0.875rem;
  color: var(--color-gray-600);
  line-height: 1.6;
}

/* ============================================ */
/* FEATURES                                     */
/* ============================================ */
.features {
  background: var(--color-gray-50);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.feature-card {
  background: white;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--color-gray-100);
  transition: all var(--transition-base);
}

.feature-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.feature-icon {
  font-size: 1.75rem;
  display: block;
  margin-bottom: 0.75rem;
}

.feature-card h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
}

.feature-card p {
  font-size: 0.8125rem;
  color: var(--color-gray-600);
  line-height: 1.5;
}

/* ============================================ */
/* TESTIMONIALS                                 */
/* ============================================ */
.testimonials {
  background: white;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--color-gray-50);
  border-radius: 12px;
  padding: 1.75rem;
  border: 1px solid var(--color-gray-100);
  transition: all var(--transition-base);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
}

.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.star-filled {
  color: #F59E0B;
  fill: #F59E0B;
  font-size: 0.875rem;
}

.testimonial-card blockquote p {
  font-size: 0.9375rem;
  color: var(--color-gray-700);
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 1.25rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  font-size: 2rem;
}

.testimonial-author strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
}

.testimonial-author span {
  font-size: 0.75rem;
  color: var(--color-gray-500);
}

/* ============================================ */
/* PRICING                                      */
/* ============================================ */
.pricing {
  background: var(--color-gray-50);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  background: white;
  border-radius: 16px;
  border: 1px solid var(--color-gray-200);
  padding: 2.25rem 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
}

.pricing-card:hover {
  box-shadow: var(--shadow-lg);
}

.pricing-card.popular {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px var(--color-primary), var(--shadow-lg);
}

.popular-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: white;
  padding: 0.375rem 1.25rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.3);
}

.pricing-header {
  text-align: center;
  margin-bottom: 1.75rem;
}

.pricing-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.125rem;
  margin-bottom: 0.5rem;
}

.currency {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-gray-400);
}

.amount {
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  letter-spacing: -0.02em;
}

.period {
  font-size: 0.875rem;
  color: var(--color-gray-500);
}

.pricing-header p {
  font-size: 0.8125rem;
  color: var(--color-gray-500);
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--color-gray-700);
}

.pricing-features li svg {
  color: var(--color-success);
  flex-shrink: 0;
  font-size: 1rem;
}

/* ============================================ */
/* FAQ                                          */
/* ============================================ */
.faq {
  background: white;
}

.faq-grid {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid var(--color-gray-200);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: all var(--transition-base);
}

.faq-item[open] {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.faq-item summary {
  font-weight: 600;
  cursor: pointer;
  padding: 1.125rem 1.25rem;
  font-size: 0.9375rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  user-select: none;
  transition: background var(--transition-fast);
}

.faq-item summary:hover {
  background: var(--color-gray-50);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-chevron {
  width: 20px;
  height: 20px;
  position: relative;
  flex-shrink: 0;
  transition: transform var(--transition-base);
}

.faq-chevron::before,
.faq-chevron::after {
  content: '';
  position: absolute;
  background: var(--color-gray-400);
  transition: all var(--transition-base);
}

.faq-chevron::before {
  width: 2px;
  height: 10px;
  top: 5px;
  left: 9px;
}

.faq-chevron::after {
  width: 10px;
  height: 2px;
  top: 9px;
  left: 5px;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-item[open] .faq-chevron::before {
  opacity: 0;
}

.faq-answer {
  padding: 0 1.25rem 1.25rem;
  animation: faq-slide-down var(--transition-base) ease;
}

.faq-answer p {
  font-size: 0.875rem;
  color: var(--color-gray-600);
  line-height: 1.7;
}

@keyframes faq-slide-down {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================ */
/* CTA FINAL                                    */
/* ============================================ */
.cta {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.08) 0%, transparent 50%),
                    radial-gradient(circle at 70% 50%, rgba(255,255,255,0.05) 0%, transparent 50%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.cta h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.cta p {
  font-size: 1.0625rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.cta-disclaimer {
  font-size: 0.75rem !important;
  opacity: 0.6 !important;
  margin-top: 1rem !important;
  margin-bottom: 0 !important;
}

/* ============================================ */
/* MOBILE CTA FLUTUANTE                         */
/* ============================================ */
.mobile-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--color-gray-200);
  z-index: 998;
  transform: translateY(100%);
  transition: transform var(--transition-base);
}

.mobile-cta.visible {
  transform: translateY(0);
}

/* ============================================ */
/* FOOTER                                       */
/* ============================================ */
.footer {
  background: var(--color-gray-900);
  color: var(--color-gray-400);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-brand .logo {
  color: white;
}

.footer-brand .logo-text {
  color: white;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--color-gray-500);
}

.footer-links h4 {
  color: white;
  margin-bottom: 1rem;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.footer-links a,
.footer-links p {
  display: block;
  color: var(--color-gray-400);
  font-size: 0.8125rem;
  margin-bottom: 0.5rem;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid var(--color-gray-800);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--color-gray-500);
}

/* ============================================ */
/* RESPONSIVO                                   */
/* ============================================ */

@media (max-width: 1024px) {
  .hero-content {
    gap: 2.5rem;
  }
  
  .hero-text h1 {
    font-size: 2.5rem;
  }
  
  .hero-mockup {
    width: 360px;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 3rem 0 4rem;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-text {
    text-align: center;
    align-items: center;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-description {
    max-width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-trust {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .hero-mockup {
    width: 100%;
    max-width: 340px;
  }

  .nav {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 0.25rem;
    z-index: 999;
    overflow-y: auto;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 0.75rem 1rem;
    font-size: 1rem;
  }

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

  .section-header h2 {
    font-size: 1.75rem;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .mobile-cta {
    display: block;
  }
}

@media (max-width: 480px) {
  .section-header h2 {
    font-size: 1.5rem;
  }

  .hero-text h1 {
    font-size: 1.75rem;
  }

  .differentials-grid,
  .features-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .professions-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }

  .profession-card {
    padding: 1rem 0.5rem;
  }

  .profession-icon {
    font-size: 1.5rem;
  }

  .profession-card h3 {
    font-size: 0.6875rem;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cta h2 {
    font-size: 1.5rem;
  }
}

/* ============================================ */
/* REDUCED MOTION                               */
/* ============================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}

/* DASHBOARD HEADER — PREMIUM                    */
/* ============================================ */

.dashboard-header {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  position: sticky;
  top: 0;
  z-index: 100;
  transition: all 0.25s ease;
}

.dashboard-header--scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-bottom-color: #E5E7EB;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.dashboard-header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.dashboard-header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: 1.5rem;
}

/* ============================================ */
/* LEFT SIDE                                     */
/* ============================================ */

.dashboard-header-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.dashboard-logo {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  text-decoration: none;
  color: #111827;
  font-weight: 700;
  font-size: 1.125rem;
  transition: opacity 0.15s;
}

.dashboard-logo:hover {
  opacity: 0.8;
}

.dashboard-logo-icon {
  font-size: 1.25rem;
}

.dashboard-logo-text {
  color: #4F46E5;
  letter-spacing: -0.02em;
}

.dashboard-tenant-name {
  font-size: 0.75rem;
  font-weight: 500;
  color: #6B7280;
  padding: 0.25rem 0.625rem;
  background: #F3F4F6;
  border-radius: 6px;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ============================================ */
/* NAVIGATION                                    */
/* ============================================ */

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

.dashboard-nav-links {
  display: flex;
  align-items: center;
  gap: 0.125rem;
}

.dashboard-nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #6B7280;
  text-decoration: none;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.dashboard-nav-link:hover {
  color: #4F46E5;
  background: rgba(79, 70, 229, 0.05);
}

.dashboard-nav-link.active {
  color: #4F46E5;
  background: rgba(79, 70, 229, 0.08);
  font-weight: 600;
}

/* ============================================ */
/* RIGHT SIDE                                    */
/* ============================================ */

.dashboard-header-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.dashboard-btn-home {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  color: #9CA3AF;
  transition: all 0.15s;
  text-decoration: none;
}

.dashboard-btn-home:hover {
  color: #4F46E5;
  background: rgba(79, 70, 229, 0.05);
}

/* ============================================ */
/* USER MENU                                     */
/* ============================================ */

.dashboard-user-menu {
  position: relative;
}

.dashboard-user-trigger {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.625rem 0.375rem 0.375rem;
  border: 1px solid #E5E7EB;
  border-radius: 9999px;
  background: white;
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
}

.dashboard-user-trigger:hover {
  border-color: #4F46E5;
  box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.08);
}

.dashboard-user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4F46E5, #7C3AED);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.dashboard-user-name {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #374151;
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-user-chevron {
  color: #9CA3AF;
  transition: transform 0.2s ease;
}

.dashboard-user-chevron.open {
  transform: rotate(180deg);
}

/* Dropdown */
.dashboard-user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 240px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.04), 0 12px 24px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.05);
  z-index: 200;
  animation: dropdownIn 0.15s ease;
  overflow: hidden;
}

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

.dashboard-user-dropdown-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
}

.dashboard-user-dropdown-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4F46E5, #7C3AED);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.dashboard-user-dropdown-header strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #111827;
}

.dashboard-user-dropdown-header span {
  font-size: 0.75rem;
  color: #6B7280;
}

.dashboard-user-dropdown-divider {
  height: 1px;
  background: #F3F4F6;
}

.dashboard-user-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  width: 100%;
  padding: 0.625rem 1rem;
  border: none;
  background: transparent;
  font-size: 0.8125rem;
  color: #374151;
  cursor: pointer;
  transition: background 0.1s;
  font-family: inherit;
  text-decoration: none;
}

.dashboard-user-dropdown-item:hover {
  background: #F9FAFB;
}

.dashboard-user-dropdown-logout {
  color: #EF4444;
}

.dashboard-user-dropdown-logout:hover {
  background: #FEF2F2;
}

/* ============================================ */
/* MOBILE NAV ACTIONS                            */
/* ============================================ */

.dashboard-nav-mobile-actions {
  display: none;
}

/* ============================================ */
/* MOBILE TOGGLE                                 */
/* ============================================ */

.dashboard-mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #4B5563;
  cursor: pointer;
  padding: 0.375rem;
  border-radius: 8px;
  transition: all 0.15s;
}

.dashboard-mobile-toggle:hover {
  background: #F3F4F6;
  color: #4F46E5;
}

/* ============================================ */
/* MOBILE OVERLAY                                */
/* ============================================ */

.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(2px);
  z-index: 99;
  animation: fadeIn 0.2s ease;
}

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

/* ============================================ */
/* RESPONSIVO                                    */
/* ============================================ */

@media (max-width: 900px) {
  .dashboard-tenant-name {
    display: none;
  }
}

@media (max-width: 768px) {
  .dashboard-mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-overlay {
    display: block;
  }

  .dashboard-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 5rem 1.5rem 2rem;
    z-index: 100;
    overflow-y: auto;
    animation: slideDown 0.25s ease;
  }

  .dashboard-nav.open {
    display: flex;
  }

  .dashboard-nav-links {
    flex-direction: column;
    gap: 0.25rem;
  }

  .dashboard-nav-link {
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    border-radius: 10px;
  }

  .dashboard-nav-mobile-actions {
    display: block;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #E5E7EB;
  }

  .dashboard-btn-logout-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #FECACA;
    border-radius: 10px;
    background: #FEF2F2;
    color: #EF4444;
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
    font-family: inherit;
  }

  .dashboard-btn-logout-mobile:hover {
    background: #FEE2E2;
  }

  .dashboard-user-name {
    display: none;
  }

  .dashboard-user-trigger {
    padding: 0.375rem;
  }
}

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

/* ============================================ */
/* REDUCED MOTION                                */
/* ============================================ */

@media (prefers-reduced-motion: reduce) {
  .dashboard-header,
  .dashboard-user-dropdown,
  .dashboard-nav.open {
    animation: none;
    transition: none;
  }
}


/* Tamanhos predefinidos */
.logo-image-sm {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.logo-image-md {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.logo-image-lg {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.logo-image-xl {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 500;
  transition: all 0.2s;
  cursor: pointer;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Variants */
.btn-primary {
  background-color: var(--color-primary);
  color: white;
}
.btn-primary:hover:not(:disabled) {
  background-color: var(--color-primary-hover);
}

.btn-secondary {
  background-color: var(--color-gray-200);
  color: var(--color-gray-700);
}
.btn-secondary:hover:not(:disabled) {
  background-color: var(--color-gray-300);
}

.btn-outline {
  background-color: transparent;
  border: 1px solid var(--color-gray-300);
  color: var(--color-gray-700);
}
.btn-outline:hover:not(:disabled) {
  background-color: var(--color-gray-50);
}

.btn-danger {
  background-color: var(--color-error);
  color: white;
}

.btn-google {
  background-color: white;
  border: 1px solid var(--color-gray-300);
  color: var(--color-gray-700);
}
.btn-google:hover:not(:disabled) {
  background-color: var(--color-gray-50);
}

/* Sizes */
.btn-sm { padding: 0.375rem 0.75rem; font-size: 0.75rem; }
.btn-md { padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn-lg { padding: 0.75rem 1.5rem; font-size: 1rem; }

.btn-full {
  width: 100%;
}

.spinner-sm {
  width: 16px;
  height: 16px;
  border-width: 2px;
}

/* LOGIN PAGE - LAYOUT PREMIUM                   */
/* ============================================ */

.login-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(160deg, #F9FAFB 0%, #EEF2FF 100%);
  position: relative;
}

.login-page::before {
  content: '';
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 40%, rgba(79, 70, 229, 0.03) 0%, transparent 50%),
              radial-gradient(circle at 70% 60%, rgba(124, 58, 237, 0.02) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.login-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  position: relative;
  z-index: 1;
}

.login-container {
  width: 100%;
  max-width: 440px;
}

/* ============================================ */
/* CARD PRINCIPAL                                */
/* ============================================ */

.login-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px;
  box-shadow: 
    0 0 0 1px rgba(0, 0, 0, 0.03),
    0 2px 4px rgba(0, 0, 0, 0.02),
    0 12px 24px rgba(0, 0, 0, 0.04),
    0 24px 48px rgba(79, 70, 229, 0.06);
  padding: 2.75rem;
  transition: box-shadow 0.3s ease;
}

/* ============================================ */
/* HEADER                                        */
/* ============================================ */

.login-header {
  text-align: center;
  margin-bottom: 2rem;
}

.login-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.login-brand-icon {
  font-size: 1.75rem;
}

.login-brand-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}

.login-header h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-gray-900);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.login-header p {
  color: var(--color-gray-500);
  font-size: 0.9375rem;
  line-height: 1.5;
}

/* ============================================ */
/* FORMULÁRIO                                    */
/* ============================================ */

.login-form {
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.form-group label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-gray-700);
  margin-left: 0.25rem;
}

.form-group input {
  padding: 0.75rem 0.875rem;
  font-size: 0.9375rem;
  border: 1.5px solid var(--color-gray-200);
  border-radius: 10px;
  transition: all 0.2s ease;
  background: var(--color-gray-50);
  color: var(--color-gray-900);
  width: 100%;
}

.form-group input::placeholder {
  color: var(--color-gray-400);
}

.form-group input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
  background: white;
}

/* ============================================ */
/* BOTÕES                                        */
/* ============================================ */

.btn-icon {
  transition: transform 0.2s ease;
}

.btn:hover .btn-icon {
  transform: translateX(3px);
}

/* Google */
.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem 1.5rem;
  background: white;
  border: 1.5px solid var(--color-gray-200);
  border-radius: 10px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-gray-700);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.btn-google:hover {
  background: var(--color-gray-50);
  border-color: var(--color-gray-300);
  box-shadow: var(--shadow-sm);
}

.btn-google:active {
  transform: scale(0.98);
}

.google-icon {
  flex-shrink: 0;
}

/* ============================================ */
/* DIVIDER                                       */
/* ============================================ */

.divider {
  display: flex;
  align-items: center;
  margin: 1.5rem 0;
  gap: 1rem;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-gray-200);
}

.divider span {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-gray-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

/* ============================================ */
/* ALERT DE ERRO                                 */
/* ============================================ */

.alert {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  animation: slideDown 0.3s ease;
}

.alert-error {
  background-color: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FECACA;
}

.alert-close {
  margin-left: auto;
  background: none;
  border: none;
  color: #991B1B;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s;
  padding: 0.25rem;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.alert-close:hover {
  opacity: 1;
  background: rgba(0, 0, 0, 0.05);
}

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

/* ============================================ */
/* FOOTER DO CARD                                */
/* ============================================ */

.login-footer {
  text-align: center;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-gray-100);
  font-size: 0.9375rem;
  color: var(--color-gray-500);
}

.login-footer a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

.login-footer a:hover {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

/* ============================================ */
/* RESPONSIVO                                    */
/* ============================================ */

@media (max-width: 480px) {
  .login-wrapper {
    padding: 1.5rem 1rem;
  }

  .login-card {
    padding: 1.75rem;
    border-radius: 16px;
  }

  .login-header h1 {
    font-size: 1.25rem;
  }

  .login-brand-text {
    font-size: 1.25rem;
  }
}

/* ============================================ */
/* REDUCED MOTION                                */
/* ============================================ */

@media (prefers-reduced-motion: reduce) {
  .alert {
    animation: none;
  }

  .btn-icon {
    transition: none;
  }
}


/* Tamanhos predefinidos */
.logo-image-sm {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.logo-image-md {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.logo-image-lg {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.logo-image-xl {
  width: 64px;
  height: 64px;
  object-fit: contain;
}
/* REGISTER PAGE - LAYOUT PREMIUM                */
/* ============================================ */

.register-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(160deg, #F9FAFB 0%, #EEF2FF 100%);
  position: relative;
}

.register-page::before {
  content: '';
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 40%, rgba(79, 70, 229, 0.03) 0%, transparent 50%),
              radial-gradient(circle at 70% 60%, rgba(124, 58, 237, 0.02) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.register-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  position: relative;
  z-index: 1;
}

.register-container {
  width: 100%;
  max-width: 580px;
}

/* ============================================ */
/* CARD PRINCIPAL (Sombra e Profundidade)        */
/* ============================================ */

.register-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px;
  box-shadow: 
    0 0 0 1px rgba(0, 0, 0, 0.03),
    0 2px 4px rgba(0, 0, 0, 0.02),
    0 12px 24px rgba(0, 0, 0, 0.04),
    0 24px 48px rgba(79, 70, 229, 0.06);
  padding: 2.75rem;
  transition: box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}
 
/* ============================================ */
/* HEADER DO FORMULÁRIO                         */
/* ============================================ */

.register-header {
  margin-bottom: 2rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--color-gray-500);
  font-size: 0.875rem;
  margin-bottom: 2rem;
  transition: all 0.2s ease;
  text-decoration: none;
  font-weight: 500;
  padding: 0.375rem 0.75rem;
  border-radius: 6px;
  background: transparent;
}

.back-link:hover {
  color: var(--color-primary);
  background: rgba(79, 70, 229, 0.05);
}

/* ============================================ */
/* PROGRESS STEPS (Refinado)                     */
/* ============================================ */

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

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-gray-400);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.progress-step.active {
  color: var(--color-primary);
  font-weight: 600;
}

.progress-step.completed {
  color: var(--color-success);
}

.progress-dot {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--color-gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.8125rem;
  color: var(--color-gray-500);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  position: relative;
  z-index: 1;
}

.progress-step.active .progress-dot {
  background: white;
  color: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.15);
}

.progress-step.completed .progress-dot {
  background: var(--color-success);
  color: white;
  border-color: var(--color-success);
}

.progress-line {
  width: 50px;
  height: 2px;
  background: var(--color-gray-200);
  margin-bottom: 24px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 0;
}

.progress-line.completed {
  background: var(--color-success);
}

/* ============================================ */
/* STEP CONTENT                                 */
/* ============================================ */

.step-content {
  animation: fadeSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.step-header-text {
  margin-bottom: 2rem;
}

.step-header-text h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-gray-900);
  margin-bottom: 0.375rem;
  letter-spacing: -0.02em;
}

.step-header-text p {
  color: var(--color-gray-500);
  font-size: 0.9375rem;
  line-height: 1.5;
}

/* ============================================ */
/* FORM GRID & INPUTS (Premium)                  */
/* ============================================ */

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.form-group label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-gray-700);
  margin-left: 0.25rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
  padding: 0.75rem 0.875rem;
  font-size: 0.9375rem;
  border: 1.5px solid var(--color-gray-200);
  border-radius: 10px;
  transition: all 0.2s ease;
  background: var(--color-gray-50);
  color: var(--color-gray-900);
  width: 100%;
}

.form-group input::placeholder {
  color: var(--color-gray-400);
}

.form-group input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
  background: white;
}

.form-group input.input-error {
  border-color: #EF4444;
  background: #FEF2F2;
}

.form-group input.input-error:focus {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.field-message {
  font-size: 0.75rem;
  font-weight: 500;
  margin-left: 0.25rem;
  animation: slideDown 0.2s ease;
}

.field-message.error {
  color: #EF4444;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================ */
/* INPUT COM SUFIXO (Subdomínio)                 */
/* ============================================ */

.input-with-suffix {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--color-gray-200);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.2s ease;
  background: var(--color-gray-50);
}

.input-with-suffix:focus-within {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
  background: white;
}

.input-with-suffix.input-valid {
  border-color: #10B981;
  background: #F0FDF4;
}

.input-with-suffix.input-invalid {
  border-color: #EF4444;
  background: #FEF2F2;
}

.input-with-suffix input {
  flex: 1;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  padding: 0.75rem 0.875rem;
  font-size: 0.9375rem;
  background: transparent !important;
}

.suffix {
  display: flex;
  align-items: center;
  padding: 0 0.75rem;
  font-size: 0.75rem;
  color: var(--color-gray-400);
  font-weight: 500;
  white-space: nowrap;
  border-left: 1px solid var(--color-gray-200);
  background: transparent;
}

.suffix-icon {
  margin-right: 0.75rem;
  font-size: 1rem;
  flex-shrink: 0;
}

.valid-icon { color: #10B981; }
.invalid-icon { color: #EF4444; }

.spinning {
  animation: spin 1s linear infinite;
  color: var(--color-gray-500);
}

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

.domain-status-area {
  min-height: 24px;
  margin-top: 0.25rem;
}

.domain-status {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  font-weight: 500;
  animation: slideDown 0.2s ease;
}

.domain-status.checking { color: var(--color-gray-500); }
.domain-status.available { color: #059669; }
.domain-status.unavailable { color: #DC2626; }

/* ============================================ */
/* PALETAS DE CORES (Totalmente Refinado)        */
/* ============================================ */

.color-palettes {
  margin-bottom: 1.5rem;
}

.color-palettes > label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-gray-700);
  display: block;
  margin-bottom: 0.75rem;
  margin-left: 0.25rem;
}

.palette-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.palette-item {
  position: relative;
  display: flex;
  border-radius: 14px;
  overflow: hidden;
  height: 48px;
  border: 2px solid transparent;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  background: white;
  box-shadow: var(--shadow-sm);
}

.palette-item:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-md);
  border-color: var(--color-gray-200);
}

.palette-item.selected {
  border-color: var(--color-gray-900);
  box-shadow: 0 0 0 3px white, 0 0 0 5px var(--color-gray-900);
  transform: scale(1.05);
}

.palette-primary,
.palette-secondary {
  flex: 1;
}

.palette-check {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

/* ============================================ */
/* CORES CUSTOMIZADAS                           */
/* ============================================ */

.custom-colors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.color-input-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.color-input-group input[type="color"] {
  width: 44px;
  height: 44px;
  padding: 3px;
  border: 1.5px solid var(--color-gray-200);
  border-radius: 12px;
  cursor: pointer;
  background: white;
  transition: border-color 0.2s;
}

.color-input-group input[type="color"]:hover {
  border-color: var(--color-primary);
}

.color-input-group input[type="text"] {
  flex: 1;
  padding: 0.75rem 0.875rem;
  font-size: 0.9375rem;
  border: 1.5px solid var(--color-gray-200);
  border-radius: 10px;
  transition: all 0.2s ease;
  background: var(--color-gray-50);
  font-family: 'Courier New', monospace;
}

.color-input-group input[type="text"]:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
  background: white;
}

/* ============================================ */
/* PREVIEW (Mais realista e dinâmico)            */
/* ============================================ */

.preview-section {
  margin-bottom: 1.5rem;
}

.preview-section > label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-gray-700);
  display: block;
  margin-bottom: 0.75rem;
  margin-left: 0.25rem;
}

.preview-card {
  background: white;
  border-radius: 14px;
  padding: 1.25rem;
  border: 1px solid var(--color-gray-200);
  box-shadow: var(--shadow-md);
  transition: all 0.2s ease;
}

.preview-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.preview-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.preview-header strong {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-gray-900);
}

.preview-header p {
  font-size: 0.75rem;
  color: var(--color-gray-500);
}

.preview-body {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.preview-button {
  padding: 0.625rem 1.25rem;
  border-radius: 10px;
  color: white;
  font-size: 0.8125rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.preview-button-outline {
  padding: 0.625rem 1.25rem;
  border-radius: 10px;
  border: 1.5px solid;
  background: transparent;
  font-size: 0.8125rem;
  font-weight: 600;
}

.preview-footer-note {
  font-size: 0.6875rem;
  color: var(--color-gray-400);
  text-align: center;
  padding-top: 0.75rem;
  border-top: 1px solid var(--color-gray-100);
}

/* ============================================ */
/* STEP ACTIONS                                 */
/* ============================================ */

.step-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
}

/* ============================================ */
/* SUMMARY (STEP 3) Refinado                     */
/* ============================================ */

.summary {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.summary-section {
  background: var(--color-gray-50);
  padding: 1.5rem;
  border-radius: 14px;
  border: 1px solid var(--color-gray-100);
  transition: all 0.2s ease;
}

.summary-section h3 {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-gray-500);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-gray-200);
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  font-size: 0.9375rem;
}

.summary-label {
  color: var(--color-gray-500);
  font-weight: 500;
}

.summary-value {
  font-weight: 500;
  color: var(--color-gray-900);
  text-align: right;
}

.summary-value.highlight {
  color: var(--color-primary);
  font-weight: 600;
  background: var(--color-primary-light);
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
}

.color-preview {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.color-dot {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  display: inline-block;
  border: 1px solid rgba(0,0,0,0.1);
}

/* ============================================ */
/* FOOTER DO FORMULÁRIO                         */
/* ============================================ */

.register-footer {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-gray-100);
  font-size: 0.9375rem;
  color: var(--color-gray-500);
}

.register-footer a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

.register-footer a:hover {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

/* ============================================ */
/* ALERT (Erro flutuante)                       */
/* ============================================ */

.alert {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  animation: slideDown 0.3s ease;
}

.alert-error {
  background-color: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FECACA;
}

.alert-close {
  margin-left: auto;
  background: none;
  border: none;
  color: #991B1B;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s;
  padding: 0.25rem;
  border-radius: 4px;
}

.alert-close:hover {
  opacity: 1;
  background: rgba(0,0,0,0.05);
}

/* ============================================ */
/* SUCCESS SCREEN (Premium)                     */
/* ============================================ */

.success-visual {
  text-align: center;
  margin-bottom: 2rem;
}

.success-icon-wrapper {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #10B981, #34D399);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 10px 20px rgba(16, 185, 129, 0.2);
}

.success-icon {
  font-size: 2.5rem;
}

.success-visual h1 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-gray-900);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.success-message {
  color: var(--color-gray-600);
  font-size: 0.9375rem;
  line-height: 1.6;
  max-width: 400px;
  margin: 0 auto;
}

.success-details-card {
  background: var(--color-gray-50);
  border: 1px solid var(--color-gray-200);
  border-radius: 14px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.detail-item {
  padding: 0.75rem 0;
}

.detail-item + .detail-item {
  border-top: 1px solid var(--color-gray-200);
}

.primary-detail {
  margin-bottom: 0.5rem;
}

.detail-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-gray-500);
  margin-bottom: 0.5rem;
}

.detail-value-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  border: 1px solid var(--color-gray-200);
  border-radius: 10px;
  padding: 0.625rem 0.75rem;
}

.detail-value-box code {
  flex: 1;
  font-size: 0.875rem;
  color: var(--color-primary);
  font-weight: 500;
  background: transparent;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--color-gray-200);
  margin-top: 0.5rem;
  padding-top: 0.5rem;
}

.detail-grid .detail-item {
  padding: 0.75rem;
}

.detail-grid .detail-item:first-child {
  border-right: 1px solid var(--color-gray-200);
}

.detail-item code {
  font-size: 0.875rem;
  color: var(--color-gray-700);
  background: transparent;
  font-weight: 500;
}

.icon-btn {
  background: none;
  border: none;
  color: var(--color-gray-400);
  cursor: pointer;
  padding: 0.375rem;
  border-radius: 6px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.icon-btn:hover {
  background: var(--color-gray-100);
  color: var(--color-primary);
}

.success-actions {
  text-align: center;
}

.success-footer-text {
  margin-top: 1rem;
  font-size: 0.8125rem;
  color: var(--color-gray-400);
}

/* ============================================ */
/* RESPONSIVO                                   */
/* ============================================ */

@media (max-width: 600px) {
  .register-wrapper {
    padding: 1.5rem 1rem;
  }

  .register-card {
    padding: 1.5rem;
    border-radius: 16px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .custom-colors {
    grid-template-columns: 1fr;
  }

  .palette-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .step-actions {
    flex-direction: column;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }

  .detail-grid .detail-item:first-child {
    border-right: none;
    border-bottom: 1px solid var(--color-gray-200);
  }

  .step-header-text h2 {
    font-size: 1.25rem;
  }
}

/* ============================================ */
/* PHONE + COUNTRY GROUP                        */
/* ============================================ */

.phone-country-group {
  display: flex;
  align-items: stretch;
  gap: 0;
  border: 1.5px solid var(--color-gray-200);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.2s ease;
  background: var(--color-gray-50);
}

.phone-country-group:focus-within {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
  background: white;
}

.country-select-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 0.5rem;
  background: var(--color-gray-100);
  border-right: 1px solid var(--color-gray-200);
  min-width: 90px;
}

.country-flag {
  display: flex;
  align-items: center;
  margin-right: 0.25rem;
}

.country-flag svg {
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.country-select {
  appearance: none;
  -webkit-appearance: none;
  border: none;
  background: transparent;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-gray-700);
  cursor: pointer;
  padding-right: 0rem;
  outline: none;
  width: 100%;
}

.country-arrow {
  position: absolute;
  right: 0.375rem;
  pointer-events: none;
  color: var(--color-gray-400);
}

.phone-input {
  flex: 1;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  padding: 0.75rem 0.875rem;
  font-size: 0.9375rem;
  background: transparent !important;
  border-radius: 0 !important;
}

.phone-input::placeholder {
  color: var(--color-gray-400);
}
/* PUBLIC BOOKING PAGE - PREMIUM                 */
/* ============================================ */

/* Variáveis injetadas via JS */
:root {
  --tenant-primary: #4F46E5;
  --tenant-primary-light: #4F46E515;
  --tenant-primary-dark: #4338CA;
}

.public-booking-page {
  min-height: 100vh;
  background: linear-gradient(160deg, #F9FAFB 0%, #EEF2FF 100%);
  padding: 2rem 1rem 4rem;
}

.booking-container {
  max-width: 680px;
  margin: 0 auto;
}

/* ============================================ */
/* HEADER                                        */
/* ============================================ */

.booking-header {
  text-align: center;
  padding: 2.5rem 0 2rem;
}

.booking-header h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--tenant-primary);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.booking-header p {
  color: var(--color-gray-500);
  font-size: 0.9375rem;
}

/* ============================================ */
/* PROGRESS INDICATOR                            */
/* ============================================ */

.booking-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 2rem;
  padding: 0 0.5rem;
  overflow-x: auto;
}

.booking-progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--color-gray-400);
  position: relative;
  flex-shrink: 0;
  min-width: 50px;
}

.booking-progress-step.done {
  color: var(--color-success);
}

.booking-progress-step.active {
  color: var(--tenant-primary);
}

/*.booking-progress-step + .booking-progress-step::before {
  content: '';
  position: absolute;
  top: 12px;
  right: calc(100% - 0px);
  width: 30px;
  height: 1.5px;
  background: var(--color-gray-200);
}

.booking-progress-step.done + .booking-progress-step::before {
  background: var(--color-success);
}*/

.booking-progress-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--color-gray-500);
  transition: all 0.3s ease;
}

.booking-progress-step.done .booking-progress-dot {
  background: var(--color-success);
  color: white;
}

.booking-progress-step.active .booking-progress-dot {
  background: var(--tenant-primary);
  color: white;
  box-shadow: 0 0 0 3px var(--tenant-primary-light);
}

/* ============================================ */
/* ALERT                                         */
/* ============================================ */

.alert {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  animation: slideDown 0.3s ease;
}

.alert-error {
  background-color: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FECACA;
}

.alert-close {
  margin-left: auto;
  background: none;
  border: none;
  color: #991B1B;
  cursor: pointer;
  opacity: 0.6;
  padding: 0.25rem;
  border-radius: 4px;
  display: flex;
}

.alert-close:hover {
  opacity: 1;
  background: rgba(0, 0, 0, 0.05);
}

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

/* ============================================ */
/* STEP SECTION                                  */
/* ============================================ */

.step-section {
  background: white;
  border-radius: 16px;
  padding: 1.75rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.03), 0 2px 4px rgba(0, 0, 0, 0.02), 0 8px 16px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

.step-section.active-step {
  box-shadow: 0 0 0 2px var(--tenant-primary-light), 0 4px 8px rgba(0, 0, 0, 0.04), 0 12px 24px rgba(0, 0, 0, 0.05);
}

.step-section-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.step-number {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--tenant-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.step-section-header h2 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-gray-900);
}

/* ============================================ */
/* OPTIONS GRID (Serviços e Profissionais)       */
/* ============================================ */

.options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
}

.option-card {
  padding: 1.125rem;
  border: 1.5px solid var(--color-gray-200);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  background: white;
}

.option-card:hover {
  border-color: var(--tenant-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transform: translateY(-1px);
}

.option-card.selected {
  border-color: var(--tenant-primary);
  background: var(--tenant-primary-light);
  box-shadow: 0 0 0 3px var(--tenant-primary-light);
}

.option-card-content h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-gray-900);
  margin-bottom: 0.375rem;
}

.option-duration {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: var(--color-gray-500);
}

.option-price {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--tenant-primary);
  margin-top: 0.375rem;
}

.option-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--color-gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.option-card.selected .option-check {
  background: var(--tenant-primary);
  border-color: var(--tenant-primary);
  color: white;
}

/* Professional cards */
.professionals-grid {
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}

.professional-card {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
}

.professional-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--tenant-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
}

.professional-info h3 {
  font-size: 0.875rem;
  margin-bottom: 0.125rem;
}

.professional-info p {
  font-size: 0.75rem;
  color: var(--color-gray-500);
}

/* ============================================ */
/* DATE PICKER                                   */
/* ============================================ */

.date-picker-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--color-gray-200);
  border-radius: 12px;
  transition: all 0.2s ease;
  background: var(--color-gray-50);
}

.date-picker-wrapper:focus-within {
  border-color: var(--tenant-primary);
  box-shadow: 0 0 0 3px var(--tenant-primary-light);
  background: white;
}

.date-picker-icon {
  color: var(--color-gray-400);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.date-picker-input {
  border: none;
  outline: none;
  font-size: 1rem;
  flex: 1;
  background: transparent;
  color: var(--color-gray-900);
  cursor: pointer;
  font-family: inherit;
}

/* ============================================ */
/* SLOTS GRID                                    */
/* ============================================ */

.slots-loading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem;
  color: var(--color-gray-500);
  font-size: 0.875rem;
}

.loading-spinner-small {
  width: 20px;
  height: 20px;
  border: 2px solid var(--color-gray-200);
  border-top-color: var(--tenant-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

.slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 0.625rem;
}

.slot-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 0.5rem;
  border: 1.5px solid var(--color-gray-200);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-gray-700);
  background: white;
}

.slot-card:hover {
  border-color: var(--tenant-primary);
  background: var(--tenant-primary-light);
  transform: translateY(-1px);
}

.slot-card.selected {
  background: var(--tenant-primary);
  border-color: var(--tenant-primary);
  color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.slot-check {
  margin-left: auto;
}

.no-slots {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--color-gray-500);
}

.no-slots p {
  font-size: 0.9375rem;
  margin-bottom: 0.25rem;
}

.no-slots-hint {
  font-size: 0.8125rem !important;
  color: var(--color-gray-400);
}

/* ============================================ */
/* FORM GRID                                     */
/* ============================================ */

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-gray-700);
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.form-group input,
.form-group textarea {
  padding: 0.75rem 0.875rem;
  font-size: 0.9375rem;
  border: 1.5px solid var(--color-gray-200);
  border-radius: 10px;
  transition: all 0.2s ease;
  background: var(--color-gray-50);
  color: var(--color-gray-900);
  font-family: inherit;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-gray-400);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--tenant-primary);
  box-shadow: 0 0 0 3px var(--tenant-primary-light);
  background: white;
}

.form-group input.input-error {
  border-color: #EF4444;
  background: #FEF2F2;
}

.field-message {
  font-size: 0.75rem;
  font-weight: 500;
  animation: slideDown 0.2s ease;
}

.field-message.error {
  color: #EF4444;
}

/* ============================================ */
/* BOOKING SUMMARY                               */
/* ============================================ */

.booking-summary {
  background: var(--color-gray-50);
  border: 1px solid var(--color-gray-200);
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.booking-summary h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-gray-700);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-gray-200);
}

.summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.625rem;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.25rem 0;
}

.summary-label {
  font-size: 0.8125rem;
  color: var(--color-gray-500);
}

.summary-value {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-gray-900);
  text-align: right;
}

.summary-value.highlight {
  color: var(--tenant-primary);
  font-weight: 600;
}

/* ============================================ */
/* STEP ACTIONS                                  */
/* ============================================ */

.step-actions {
  margin-top: 1rem;
}

.btn-tenant {
  background: var(--tenant-primary) !important;
  border-color: var(--tenant-primary) !important;
}

.btn-tenant:hover {
  background: var(--tenant-primary-dark) !important;
  border-color: var(--tenant-primary-dark) !important;
}

.btn-icon {
  transition: transform 0.2s ease;
}

.btn:hover .btn-icon {
  transform: translateX(3px);
}

/* ============================================ */
/* SUCCESS CARD                                  */
/* ============================================ */

.booking-success-card {
  background: white;
  border-radius: 20px;
  padding: 3rem 2.5rem;
  text-align: center;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.03), 0 2px 4px rgba(0, 0, 0, 0.02), 0 12px 24px rgba(0, 0, 0, 0.04), 0 24px 48px rgba(79, 70, 229, 0.06);
}

.booking-success-visual {
  margin-bottom: 2rem;
}

.booking-success-icon-wrapper {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #10B981, #34D399);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 10px 20px rgba(16, 185, 129, 0.2);
}

.booking-success-card h1 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-gray-900);
  margin-bottom: 0.5rem;
}

.booking-success-subtitle {
  color: var(--color-gray-600);
  font-size: 0.9375rem;
  line-height: 1.6;
  max-width: 400px;
  margin: 0 auto;
}

.booking-success-details {
  background: var(--color-gray-50);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

.success-detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.625rem 0;
}

.success-detail-item + .success-detail-item {
  border-top: 1px solid var(--color-gray-200);
}

.success-detail-label {
  font-size: 0.8125rem;
  color: var(--color-gray-500);
  font-weight: 500;
}

.success-detail-value {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-gray-900);
}

.success-detail-value.highlight {
  color: var(--tenant-primary);
}

.booking-success-note {
  font-size: 0.8125rem;
  color: var(--color-gray-400);
  line-height: 1.5;
}

/* ============================================ */
/* RESPONSIVO                                    */
/* ============================================ */

@media (max-width: 600px) {
  .public-booking-page {
    padding: 1rem 0.75rem 3rem;
  }

  .booking-header h1 {
    font-size: 1.5rem;
  }

  .step-section {
    padding: 1.25rem;
    border-radius: 14px;
  }

  .options-grid {
    grid-template-columns: 1fr;
  }

  .professionals-grid {
    grid-template-columns: 1fr 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .summary-grid {
    grid-template-columns: 1fr;
  }

  .booking-success-card {
    padding: 2rem 1.5rem;
  }

  .booking-progress {
    gap: 0;
    padding: 0;
  }

  .booking-progress-step {
    font-size: 0.625rem;
    min-width: 40px;
  }

  .booking-progress-step + .booking-progress-step::before {
    width: 20px;
  }
}

/* ============================================ */
/* REDUCED MOTION                                */
/* ============================================ */

@media (prefers-reduced-motion: reduce) {
  .alert,
  .field-message {
    animation: none;
  }

  .option-card,
  .slot-card,
  .btn-icon {
    transition: none;
  }
}

/* ============================================ */
/* LOOKUP BAR — "Já tenho agendamento"           */
/* ============================================ */

.lookup-bar {
  background: white;
  border-radius: 14px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.03), 0 2px 4px rgba(0, 0, 0, 0.02);
  border: 1px solid var(--color-gray-200);
}

.lookup-bar-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.lookup-bar-icon {
  color: var(--tenant-primary);
  flex-shrink: 0;
}

.lookup-bar-text {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-gray-700);
  white-space: nowrap;
}

.lookup-bar-form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  min-width: 250px;
}

.lookup-bar-input {
  flex: 1;
  padding: 0.625rem 0.75rem;
  border: 1.5px solid var(--color-gray-200);
  border-radius: 10px;
  font-size: 0.875rem;
  background: var(--color-gray-50);
  transition: all 0.2s;
  font-family: inherit;
}

.lookup-bar-input:focus {
  outline: none;
  border-color: var(--tenant-primary);
  box-shadow: 0 0 0 3px var(--tenant-primary-light);
  background: white;
}

.lookup-bar-input::placeholder {
  color: var(--color-gray-400);
}

/* ============================================ */
/* MY APPOINTMENTS LIST                          */
/* ============================================ */

.back-to-booking-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: none;
  border: none;
  color: var(--tenant-primary);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0.5rem 0;
  margin-bottom: 1rem;
  font-family: inherit;
}

.back-to-booking-link:hover {
  text-decoration: underline;
}

.no-appointments-card {
  text-align: center;
  padding: 3rem 2rem;
  background: white;
  border-radius: 16px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.03), 0 2px 4px rgba(0, 0, 0, 0.02);
}

.no-appointments-card svg {
  color: var(--color-gray-300);
  margin-bottom: 1rem;
}

.no-appointments-card h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-gray-700);
  margin-bottom: 0.5rem;
}

.no-appointments-card p {
  color: var(--color-gray-500);
  margin-bottom: 1.5rem;
}

.my-appointments-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.my-appointment-card {
  background: white;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.03), 0 2px 4px rgba(0, 0, 0, 0.02);
  transition: all 0.2s;
}

.my-appointment-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.my-appointment-status {
  padding: 0.375rem 1rem;
  color: white;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.my-appointment-body {
  padding: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}

.my-appointment-info h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-gray-900);
  margin-bottom: 0.5rem;
}

.my-appointment-info p {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: var(--color-gray-600);
  margin-bottom: 0.25rem;
}

.my-appointment-actions {
  display: flex;
  gap: 0.5rem;
}

.btn-resend {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.75rem;
  border: 1.5px solid var(--color-gray-200);
  border-radius: 8px;
  background: white;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-gray-600);
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.btn-resend:hover {
  border-color: var(--tenant-primary);
  color: var(--tenant-primary);
  background: var(--tenant-primary-light);
}

/* ============================================ */
/* SUCCESS ACTIONS GROUP                         */
/* ============================================ */

.success-actions-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.btn-new-booking {
  display: block;
  width: 100%;
  padding: 0.75rem;
  border: 1.5px solid var(--color-gray-200);
  border-radius: 10px;
  background: white;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-gray-600);
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.btn-new-booking:hover {
  border-color: var(--tenant-primary);
  color: var(--tenant-primary);
  background: var(--tenant-primary-light);
}

/* ============================================ */
/* RESPONSIVO — LOOKUP BAR                       */
/* ============================================ */

@media (max-width: 600px) {
  .lookup-bar-content {
    flex-direction: column;
    align-items: stretch;
  }

  .lookup-bar-form {
    flex-direction: column;
    min-width: auto;
  }

  .lookup-bar-input {
    width: 100%;
  }

  .my-appointment-body {
    flex-direction: column;
  }
}

/* ============================================ */
/* LOOKUP BAR INLINE (tela de consulta)           */
/* ============================================ */

.lookup-bar-inline {
  margin-bottom: 1rem;
}

.lookup-bar-form-inline {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
}

.lookup-bar-form-inline .lookup-bar-icon {
  color: var(--color-gray-400);
  flex-shrink: 0;
}

.lookup-bar-form-inline .lookup-bar-input {
  flex: 1;
  padding: 0.625rem 0.75rem;
  border: 1.5px solid var(--color-gray-200);
  border-radius: 10px;
  font-size: 0.875rem;
  background: var(--color-gray-50);
  transition: all 0.2s;
  font-family: inherit;
}

.lookup-bar-form-inline .lookup-bar-input:focus {
  outline: none;
  border-color: var(--tenant-primary);
  box-shadow: 0 0 0 3px var(--tenant-primary-light);
  background: white;
}

/* ============================================ */
/* TOAST MESSAGE                                 */
/* ============================================ */

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateX(-50%) translateY(10px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ============================================ */
/* RESPONSIVO — LOOKUP BAR                       */
/* ============================================ */

@media (max-width: 600px) {
  .lookup-bar-content {
    flex-direction: column;
    align-items: stretch;
  }

  .lookup-bar-form,
  .lookup-bar-form-inline {
    flex-direction: column;
    min-width: auto;
  }

  .lookup-bar-input {
    width: 100%;
  }

  .cache-banner-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .cache-banner-emails {
    width: 100%;
  }

  .cache-email-btn {
    width: 100%;
    justify-content: center;
  }

  .my-appointment-body {
    flex-direction: column;
  }
}

/* ============================================ */
/* BOOKING TABS — Menu de navegação              */
/* ============================================ */

.booking-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  background: white;
  border-radius: 14px;
  padding: 0.375rem;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.03), 0 2px 4px rgba(0, 0, 0, 0.02);
}

.booking-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 10px;
  background: transparent;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-gray-500);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.booking-tab:hover {
  color: var(--tenant-primary);
  background: var(--tenant-primary-light);
}

.booking-tab.active {
  background: var(--tenant-primary);
  color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.booking-tab.active svg {
  color: white;
}

/* ============================================ */
/* COMPANY NAME                                  */
/* ============================================ */

.booking-company-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

/* ============================================ */
/* LOOKUP SECTION — Busca centralizada           */
/* ============================================ */

.lookup-section {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.03), 0 2px 4px rgba(0, 0, 0, 0.02), 0 8px 16px rgba(0, 0, 0, 0.03);
}

.lookup-form-centered {
  width: 100%;
}

.lookup-input-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lookup-input-icon {
  color: var(--color-gray-400);
  flex-shrink: 0;
}

.lookup-input-large {
  flex: 1;
  padding: 0.875rem 1rem;
  border: 1.5px solid var(--color-gray-200);
  border-radius: 12px;
  font-size: 1rem;
  background: var(--color-gray-50);
  transition: all 0.2s;
  font-family: inherit;
}

.lookup-input-large:focus {
  outline: none;
  border-color: var(--tenant-primary);
  box-shadow: 0 0 0 3px var(--tenant-primary-light);
  background: white;
}

.lookup-input-large::placeholder {
  color: var(--color-gray-400);
}

/* ============================================ */
/* RESPONSIVO — TABS E LOOKUP                    */
/* ============================================ */

@media (max-width: 600px) {
  .booking-tabs {
    flex-direction: column;
    gap: 0.25rem;
  }

  .booking-tab {
    padding: 0.625rem 1rem;
  }

  .lookup-section {
    padding: 1.25rem;
  }

  .lookup-input-group {
    flex-direction: column;
  }

  .lookup-input-large {
    width: 100%;
  }
}

/* ============================================ */
/* ACTIVE EMAIL INDICATOR                        */
/* ============================================ */

.active-email-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  background: var(--tenant-primary-light);
  border-radius: 10px;
  margin-bottom: 1rem;
  font-size: 0.8125rem;
  color: var(--tenant-primary);
}

.active-email-indicator strong {
  font-weight: 600;
}

/* ============================================ */
/* LOOKUP DIVIDER                                */
/* ============================================ */

.lookup-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
}

.lookup-divider::before,
.lookup-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-gray-200);
}

.lookup-divider span {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-gray-400);
  white-space: nowrap;
}

/* ============================================ */
/* CACHED EMAILS LIST                            */
/* ============================================ */

.cached-emails-list {
  margin-top: 1rem;
  padding: 1rem;
  background: white;
  border-radius: 12px;
  border: 1px solid var(--color-gray-200);
}

.cached-emails-title {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-gray-500);
  margin-bottom: 0.5rem;
}

.cached-emails-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ============================================ */
/* CLEAR CACHE BUTTON                            */
/* ============================================ */

.btn-clear-cache {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  width: 100%;
  margin-top: 1rem;
  padding: 0.625rem;
  background: transparent;
  border: 1px dashed var(--color-gray-300);
  border-radius: 10px;
  font-size: 0.75rem;
  color: var(--color-gray-400);
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.btn-clear-cache:hover {
  border-color: #EF4444;
  color: #EF4444;
  background: #FEF2F2;
}

/* ============================================ */
/* PUBLIC HEADER BAR                             */
/* ============================================ */

.public-header-bar {
  background: white;
  border-bottom: 3px solid var(--tenant-primary);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.public-header-content {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
}

.public-header-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid var(--color-gray-200);
}

.public-header-logo-placeholder {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
  font-weight: 700;
}

.public-header-info {
  display: flex;
  flex-direction: column;
}

.public-header-title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
}

.public-header-subtitle {
  font-size: 0.75rem;
  color: var(--color-gray-500);
}

/* ============================================ */
/* BUTTONS WITH TENANT COLOR                     */
/* ============================================ */

.btn-tenant {
  background: var(--tenant-primary) !important;
  border-color: var(--tenant-primary) !important;
  color: white !important;
}

.btn-tenant:hover {
  filter: brightness(0.9);
}

/* ============================================ */
/* PUBLIC BOOKING PAGE - PREMIUM                 */
/* ============================================ */

/* Variáveis injetadas via JS */
:root {
  --tenant-primary: #4F46E5;
  --tenant-primary-light: #4F46E515;
  --tenant-primary-dark: #4338CA;
  --tenant-bg-gradient-start: #4F46E508;
  --tenant-bg-gradient-end: #7C3AED05;
}

.public-booking-page {
  min-height: 100vh;
  background: linear-gradient(160deg, #F9FAFB 0%, #EEF2FF 100%);
  padding: 2rem 1rem 4rem;
}

.booking-container {
  max-width: 680px;
  margin: 0 auto;
}

/* ============================================ */
/* HEADER COM LOGO                               */
/* ============================================ */

.booking-header {
  text-align: center;
  padding: 2.5rem 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

/* Logo wrapper */
.tenant-logo-wrapper {
  margin-bottom: 0.5rem;
  border-radius: 16px;
  overflow: hidden;
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tenant-logo {
  display: block;
  max-width: 200px;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
  padding: 0.5rem 1rem;
}

/* Logo placeholder (fallback quando não tem logo) */
.logo-placeholder-wrapper {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.tenant-logo-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Fallback quando a imagem quebra */
.logo-fallback::after {
  content: '';
  display: none;
}

.tenant-logo-wrapper.logo-fallback {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--tenant-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tenant-logo-wrapper.logo-fallback::before {
  content: '🏢';
  font-size: 2rem;
  color: white;
}

/* Company name com cor do tenant */
.booking-company-name {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.booking-header h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.booking-header p {
  color: var(--color-gray-500);
  font-size: 0.9375rem;
}

/* ============================================ */
/* BOOKING TABS — Cores dinâmicas                */
/* ============================================ */

.booking-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  background: white;
  border-radius: 14px;
  padding: 0.375rem;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.03), 0 2px 4px rgba(0, 0, 0, 0.02);
}

.booking-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 10px;
  background: transparent;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-gray-500);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.booking-tab:hover {
  color: var(--tenant-primary);
  background: var(--tenant-primary-light);
}

.booking-tab.active {
  color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.booking-tab.active svg {
  color: white;
}

/* ============================================ */
/* STEP SECTION — Borda dinâmica                 */
/* ============================================ */

.step-section {
  background: white;
  border-radius: 16px;
  padding: 1.75rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.03), 0 2px 4px rgba(0, 0, 0, 0.02), 0 8px 16px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

.step-section-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.step-number {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.step-section-header h2 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-gray-900);
}

/* ============================================ */
/* OPTIONS CARDS — Cores dinâmicas               */
/* ============================================ */

.option-card {
  padding: 1.125rem;
  border: 1.5px solid var(--color-gray-200);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  background: white;
}

.option-card:hover {
  border-color: var(--tenant-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transform: translateY(-1px);
}

.option-card.selected {
  box-shadow: 0 0 0 3px var(--tenant-primary-light);
}

.option-card-content h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-gray-900);
  margin-bottom: 0.375rem;
}

.option-duration {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: var(--color-gray-500);
}

.option-price {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-top: 0.375rem;
}

.option-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--color-gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.option-card.selected .option-check {
  color: white;
}

/* ============================================ */
/* SLOT CARDS — Cores dinâmicas                  */
/* ============================================ */

.slot-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 0.5rem;
  border: 1.5px solid var(--color-gray-200);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-gray-700);
  background: white;
}

.slot-card:hover {
  border-color: var(--tenant-primary);
  background: var(--tenant-primary-light);
  transform: translateY(-1px);
}

.slot-card.selected {
  color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* ============================================ */
/* BUTTONS — Cores do tenant                     */
/* ============================================ */

.btn-resend:hover {
  border-color: var(--tenant-primary);
  color: var(--tenant-primary);
  background: var(--tenant-primary-light);
}

.btn-new-booking:hover {
  border-color: var(--tenant-primary);
  color: var(--tenant-primary);
  background: var(--tenant-primary-light);
}

.lookup-input-large:focus,
.lookup-bar-input:focus,
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--tenant-primary);
  box-shadow: 0 0 0 3px var(--tenant-primary-light);
  background: white;
}

/* ============================================ */
/* PROGRESS INDICATOR                            */
/* ============================================ */

.booking-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 2rem;
  padding: 0 0.5rem;
  overflow-x: auto;
}

.booking-progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--color-gray-400);
  position: relative;
  flex-shrink: 0;
  min-width: 50px;
}

.booking-progress-step.done {
  color: var(--color-success);
}

.booking-progress-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--color-gray-500);
  transition: all 0.3s ease;
}

.booking-progress-step.done .booking-progress-dot {
  background: var(--color-success);
  color: white;
}

.booking-progress-step.active .booking-progress-dot {
  color: white;
  box-shadow: 0 0 0 3px var(--tenant-primary-light);
}

/* ============================================ */
/* ALERT, SUMMARY E OUTROS                       */
/* ============================================ */

.alert {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  animation: slideDown 0.3s ease;
}

.alert-error {
  background-color: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FECACA;
}

.alert-close {
  margin-left: auto;
  background: none;
  border: none;
  color: #991B1B;
  cursor: pointer;
  opacity: 0.6;
  padding: 0.25rem;
  border-radius: 4px;
  display: flex;
}

.alert-close:hover {
  opacity: 1;
  background: rgba(0, 0, 0, 0.05);
}

.booking-summary {
  background: var(--color-gray-50);
  border: 1px solid var(--color-gray-200);
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.booking-summary h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-gray-700);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-gray-200);
}

.summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.625rem;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.25rem 0;
}

.summary-label {
  font-size: 0.8125rem;
  color: var(--color-gray-500);
}

.summary-value {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-gray-900);
  text-align: right;
}

.summary-value.highlight {
  font-weight: 600;
}

/* Bloqueio elegante */
.booking-blocked-card {
  background: white;
  border-radius: 20px;
  padding: 48px 32px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
  margin-top: 24px;
}

.blocked-icon-wrapper {
  margin-bottom: 24px;
}

.booking-blocked-card h2 {
  font-size: 1.5rem;
  color: #1F2937;
  margin-bottom: 16px;
  font-weight: 700;
}

.booking-blocked-card p {
  color: #6B7280;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 12px;
}

.blocked-hint {
  font-size: 0.85rem;
  color: #9CA3AF;
  margin-bottom: 24px;
}

.booking-blocked-card button {
  margin: 0 auto;
}

.dashboard-trial-banner {
  background: linear-gradient(135deg, #10B981, #34D399);
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

.trial-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
}

.trial-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.trial-icon {
  font-size: 1.25rem;
  color: white;
}

.trial-info strong {
  display: block;
  color: white;
  font-size: 0.875rem;
}

.trial-info span {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.75rem;
}

.trial-upgrade-btn {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  background: white;
  color: #059669;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  font-size: 0.813rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.trial-upgrade-btn:hover {
  background: #F0FDF4;
}

.dashboard-page { padding: 1.5rem; }
.dashboard-page h1 { margin-bottom: 1.5rem; font-size: 1.5rem; }

/* Stats Grid */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }

.stat-card { background: white; padding: 1.25rem; border-radius: 12px; border: 1px solid var(--color-gray-200); display: flex; align-items: center; gap: 1rem; }

.stat-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; }

.stat-info { display: flex; flex-direction: column; }
.stat-value { font-size: 1.5rem; font-weight: 700; color: var(--color-gray-900); }
.stat-label { font-size: 0.75rem; color: var(--color-gray-500); }

/* Quick Stats */
.quick-stats { display: flex; gap: 1.5rem; margin-bottom: 1.5rem; padding: 0.75rem 1rem; background: white; border-radius: 8px; border: 1px solid var(--color-gray-200); }

.quick-stat { display: flex; align-items: center; gap: 0.5rem; font-size: 0.813rem; color: var(--color-gray-600); }

/* Charts */
.charts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 1.5rem; }

.chart-card { background: white; padding: 1.5rem; border-radius: 12px; border: 1px solid var(--color-gray-200); }
.chart-card h3 { font-size: 0.938rem; margin-bottom: 1rem; color: var(--color-gray-700); }

.chart-card.full-width { grid-column: 1 / -1; }

.no-data { text-align: center; color: var(--color-gray-400); padding: 2rem; }

/* Upcoming */
.upcoming-section { margin-bottom: 1.5rem; }
.upcoming-section h2 { font-size: 1.125rem; margin-bottom: 1rem; }

.upcoming-list { display: flex; flex-direction: column; gap: 0.5rem; }

.upcoming-card { background: white; padding: 1rem 1.25rem; border-radius: 8px; border: 1px solid var(--color-gray-200); display: flex; align-items: center; gap: 1.5rem; }

.upcoming-time { display: flex; flex-direction: column; min-width: 70px; }
.upcoming-time .time { font-weight: 700; font-size: 1rem; }
.upcoming-time .date { font-size: 0.688rem; color: var(--color-gray-500); }

.upcoming-info { flex: 1; }
.upcoming-info strong { font-size: 0.875rem; }
.upcoming-info p { font-size: 0.75rem; color: var(--color-gray-500); }
.upcoming-info .pro-name { font-size: 0.688rem; color: var(--color-gray-400); }

.status-badge { display: inline-block; padding: 0.125rem 0.5rem; border-radius: 50px; font-size: 0.688rem; color: white; }

@media (max-width: 768px) {
  .charts-grid { grid-template-columns: 1fr; }
  .upcoming-card { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
}

/* ============================================
   APPOINTMENTS PAGE
   ============================================ */
.appointments-page {
  padding: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
  background: #f8fafc;
  min-height: 100vh;
}

/* ============================================
   HEADER
   ============================================ */
.appointments-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-left h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a202c;
  margin: 0;
}

.view-selector {
  display: flex;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.view-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: none;
  background: white;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  color: #4a5568;
  transition: all 0.2s;
}

.view-btn:hover {
  background: #f7fafc;
}

.view-btn.active {
  background: #3B82F6;
  color: white;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.filter-group {
  display: flex;
  align-items: center;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.25rem 0.75rem;
  gap: 0.5rem;
}

.filter-icon {
  color: #a0aec0;
}

.filter-group select {
  border: none;
  background: transparent;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  color: #2d3748;
  outline: none;
  cursor: pointer;
}

/* ============================================
   DATE NAVIGATION
   ============================================ */
.date-navigation {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  background: white;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  flex-wrap: wrap;
}

.nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: white;
  cursor: pointer;
  transition: all 0.2s;
  color: #4a5568;
}

.nav-btn:hover {
  background: #f7fafc;
  border-color: #3B82F6;
  color: #3B82F6;
}

.date-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1a202c;
  min-width: 200px;
  text-align: center;
  margin: 0;
}

.today-btn {
  padding: 0.5rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: white;
  font-size: 0.875rem;
  font-weight: 500;
  color: #3B82F6;
  cursor: pointer;
  transition: all 0.2s;
}

.today-btn:hover {
  background: #eff6ff;
  border-color: #3B82F6;
}

.view-options {
  display: flex;
  gap: 0.25rem;
  margin-left: auto;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
}

.view-option {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.375rem 0.75rem;
  border: none;
  background: white;
  cursor: pointer;
  color: #a0aec0;
  transition: all 0.2s;
}

.view-option:hover {
  background: #f7fafc;
  color: #4a5568;
}

.view-option.active {
  background: #3B82F6;
  color: white;
}

/* ============================================
   WEEK VIEW
   ============================================ */
.week-view {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.week-grid {
  display: flex;
  flex-direction: column;
}

.week-header {
  display: grid;
  grid-template-columns: 60px repeat(7, 1fr);
  border-bottom: 2px solid #e2e8f0;
}

.time-column-header {
  padding: 0.75rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #a0aec0;
  text-align: center;
  background: #f7fafc;
  border-right: 1px solid #e2e8f0;
}

.day-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.75rem 0.5rem;
  background: #f7fafc;
  border-right: 1px solid #e2e8f0;
  position: relative;
}

.day-header.today {
  background: #eff6ff;
}

.day-name {
  font-size: 0.75rem;
  font-weight: 500;
  color: #4a5568;
  text-transform: uppercase;
}

.day-number {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a202c;
  margin: 0.125rem 0;
}

.day-header.today .day-number {
  color: #3B82F6;
}

.day-count {
  font-size: 0.625rem;
  background: #3B82F6;
  color: white;
  padding: 0.125rem 0.5rem;
  border-radius: 50px;
  font-weight: 600;
}

.week-body {
  display: flex;
  flex-direction: column;
}

.week-row {
  display: grid;
  grid-template-columns: 60px repeat(7, 1fr);
  min-height: 60px;
  border-bottom: 1px solid #e2e8f0;
}

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

.time-label {
  padding: 0.5rem;
  font-size: 0.75rem;
  color: #a0aec0;
  text-align: center;
  background: #f7fafc;
  border-right: 1px solid #e2e8f0;
  font-weight: 500;
}

.week-cell {
  padding: 0.25rem;
  border-right: 1px solid #e2e8f0;
  min-height: 60px;
  position: relative;
}

.week-cell:last-child {
  border-right: none;
}

.week-appointment-card {
  background: white;
  border-radius: 6px;
  padding: 0.5rem;
  margin-bottom: 0.25rem;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.75rem;
}

.week-appointment-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.week-appointment-card .app-time {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: 600;
  color: #2d3748;
  font-size: 0.688rem;
}

.week-appointment-card .app-customer-name {
  font-weight: 500;
  color: #1a202c;
  margin-top: 0.125rem;
  font-size: 0.75rem;
}

.week-appointment-card .app-service-name {
  color: #718096;
  font-size: 0.688rem;
}

/* ============================================
   MONTH VIEW
   ============================================ */
.month-view {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.month-grid {
  display: flex;
  flex-direction: column;
}

.month-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border-bottom: 2px solid #e2e8f0;
}

.weekday-label {
  padding: 0.75rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.75rem;
  color: #4a5568;
  background: #f7fafc;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.month-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.month-day {
  min-height: 100px;
  padding: 0.5rem;
  border-right: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  background: white;
  transition: background 0.2s;
}

.month-day:nth-child(7n) {
  border-right: none;
}

.month-day.other-month {
  background: #f7fafc;
}

.month-day.other-month .day-number {
  color: #a0aec0;
}

.month-day.today {
  background: #eff6ff;
}

.month-day.today .day-number {
  color: #3B82F6;
  font-weight: 700;
}

.month-day-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.25rem;
}

.day-number {
  font-size: 0.875rem;
  font-weight: 500;
  color: #2d3748;
}

.day-apps-count {
  font-size: 0.625rem;
  background: #ebf4ff;
  color: #3B82F6;
  padding: 0.125rem 0.5rem;
  border-radius: 50px;
  font-weight: 600;
}

.month-day-appointments {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.month-appointment-card {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.375rem;
  border-radius: 4px;
  font-size: 0.688rem;
  cursor: pointer;
  transition: all 0.2s;
  background: white;
  border: 1px solid #e2e8f0;
  overflow: hidden;
}

.month-appointment-card:hover {
  background: #f7fafc;
  border-color: #3B82F6;
}

.month-app-time {
  font-weight: 600;
  color: #2d3748;
  white-space: nowrap;
}

.month-app-customer {
  color: #4a5568;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.month-more-appointments {
  font-size: 0.688rem;
  color: #3B82F6;
  padding: 0.25rem 0.375rem;
  cursor: pointer;
  font-weight: 500;
}

.month-more-appointments:hover {
  text-decoration: underline;
}

/* ============================================
   MODAL
   ============================================ */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: fadeIn 0.2s ease;
}

.modal {
  background: white;
  border-radius: 16px;
  width: 520px;
  max-width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 0;
  animation: slideUp 0.3s ease;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 1.5rem 1rem;
  border-bottom: 1px solid #e2e8f0;
}

.modal-header h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a202c;
  margin: 0;
}

.modal-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
  color: #a0aec0;
  transition: all 0.2s;
}

.modal-close:hover {
  background: #f7fafc;
  color: #2d3748;
}

.app-detail {
  padding: 1.5rem;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f7fafc;
}

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

.detail-label {
  font-size: 0.813rem;
  font-weight: 500;
  color: #718096;
}

.detail-value {
  font-size: 0.875rem;
  color: #1a202c;
  font-weight: 500;
  text-align: right;
  max-width: 60%;
}

.status-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  color: white;
}

.status-actions {
  padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid #e2e8f0;
}

.status-actions h3 {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1a202c;
  margin: 0 0 0.75rem 0;
}

.status-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.modal-actions {
  padding: 1rem 1.5rem 1.5rem;
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid #e2e8f0;
}

/* ============================================
   LOADING
   ============================================ */
.loading-spinner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem;
  color: #a0aec0;
  font-size: 0.875rem;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .appointments-page {
    padding: 1rem;
  }
  
  .week-row {
    min-height: 50px;
  }
  
  .month-day {
    min-height: 80px;
  }
}

@media (max-width: 768px) {
  .appointments-header {
    flex-direction: column;
    align-items: stretch;
  }
  
  .header-left {
    flex-wrap: wrap;
  }
  
  .header-right {
    flex-wrap: wrap;
  }
  
  .date-navigation {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .date-title {
    font-size: 0.875rem;
    min-width: auto;
  }
  
  .week-view {
    overflow-x: auto;
  }
  
  .week-header {
    min-width: 700px;
  }
  
.services-page { padding: 1.5rem; }
.page-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1rem; }
.service-card { background: white; padding: 1.5rem; border-radius: 8px; border: 1px solid var(--color-gray-200); display: flex; justify-content: space-between; }
.service-card.inactive { opacity: 0.5; }
.service-info h3 { margin-bottom: 0.5rem; }
.duration { color: var(--color-gray-500); font-size: 0.875rem; }
.price { color: var(--color-primary); font-weight: 600; margin-top: 0.5rem; }
.description { color: var(--color-gray-500); font-size: 0.813rem; margin-top: 0.25rem; }
.service-actions { display: flex; gap: 0.5rem; align-items: flex-start; }
.service-actions button { background: none; border: none; cursor: pointer; font-size: 1.25rem; }
.modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; z-index: 1000; }
.modal { background: white; padding: 2rem; border-radius: 12px; width: 500px; max-width: 90%; }
.modal h2 { margin-bottom: 1.5rem; }
.modal-actions { display: flex; gap: 1rem; margin-top: 1.5rem; justify-content: flex-end; }
.professionals-page {
  padding: 1.5rem;
}

.page-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.page-header h1 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.page-header p {
  color: var(--color-gray-500);
  font-size: 0.875rem;
}

/* Grid */
.professionals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

/* Card */
.pro-card {
  background: white;
  border: 1px solid var(--color-gray-200);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
}

.pro-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border-color: var(--color-gray-300);
}

.pro-card.inactive {
  opacity: 0.5;
}

.pro-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.pro-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.pro-avatar span {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
}

.pro-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pro-status {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  color: var(--color-gray-500);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.status-dot.active { background: #10B981; }
.status-dot.inactive { background: #EF4444; }

.pro-card-body {
  flex: 1;
  margin-bottom: 1rem;
}

.pro-card-body h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.pro-title {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  color: var(--color-primary);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.pro-contact {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.813rem;
  color: var(--color-gray-500);
  margin-bottom: 0.25rem;
}

.pro-card-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  padding-top: 1rem;
  border-top: 1px solid var(--color-gray-100);
}

.pro-card-actions button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.375rem;
  border-radius: 6px;
  transition: all 0.2s;
  color: var(--color-gray-500);
  display: flex;
  align-items: center;
}

.pro-card-actions button:hover {
  background: var(--color-gray-100);
  color: var(--color-gray-700);
}

/* Empty State */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  background: white;
  border: 2px dashed var(--color-gray-200);
  border-radius: 12px;
}

.empty-state h3 {
  margin: 1rem 0 0.5rem;
  color: var(--color-gray-600);
}

.empty-state p {
  color: var(--color-gray-500);
  margin-bottom: 1.5rem;
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  width: 520px;
  max-width: 90%;
  max-height: 85vh;
  overflow-y: auto;
}

.modal h2 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  margin-bottom: 1rem;
}

.form-group label {
  font-size: 0.813rem;
  font-weight: 600;
  color: var(--color-gray-700);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="url"] {
  padding: 0.625rem 0.75rem;
  border: 1px solid var(--color-gray-300);
  border-radius: 8px;
  font-size: 0.875rem;
  transition: all 0.2s;
}

.form-group input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.modal-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-gray-100);
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* Botão de horários */
.pro-card-actions button:first-child {
  color: #4F46E5;
}

/* Modal de Horários */
.modal-hours {
  width: 550px;
}

.modal-subtitle {
  color: var(--color-gray-500);
  font-size: 0.813rem;
  margin-bottom: 1.5rem;
}

.hours-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hours-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-gray-100);
}

.hours-day {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 80px;
  font-weight: 500;
  cursor: pointer;
}

.hours-inputs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
}

.hours-inputs input[type="time"] {
  padding: 0.375rem 0.5rem;
  border: 1px solid var(--color-gray-300);
  border-radius: 6px;
  font-size: 0.813rem;
}

.hours-inputs input[type="time"]:disabled {
  background: var(--color-gray-100);
  opacity: 0.5;
}

.hours-inputs span {
  font-size: 0.75rem;
  color: var(--color-gray-500);
}
.customers-page { padding: 1.5rem; }
.customers-page h1 { margin-bottom: 1.5rem; }

.search-bar { display: flex; align-items: center; gap: 0.75rem; background: white; border: 1px solid var(--color-gray-200); border-radius: 8px; padding: 0.75rem; margin-bottom: 1.5rem; }
.search-bar input { border: none; outline: none; flex: 1; font-size: 0.938rem; }

.customers-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 1.5rem; }

.customers-list { display: flex; flex-direction: column; gap: 0.5rem; }

.customer-card { display: flex; align-items: center; gap: 1rem; padding: 1rem; background: white; border: 1px solid var(--color-gray-200); border-radius: 8px; cursor: pointer; transition: all 0.2s; }
.customer-card:hover { border-color: var(--color-primary); }
.customer-card.selected { border-color: var(--color-primary); background: #EEF2FF; }

.customer-avatar { width: 40px; height: 40px; background: var(--color-gray-100); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.customer-card h3 { font-size: 0.938rem; }
.customer-card p { font-size: 0.75rem; color: var(--color-gray-500); display: flex; align-items: center; gap: 0.25rem; }

.customer-history { background: white; border: 1px solid var(--color-gray-200); border-radius: 8px; padding: 1.5rem; }
.customer-history h2 { font-size: 1.125rem; margin-bottom: 1rem; }

.history-list { display: flex; flex-direction: column; gap: 0.75rem; }
.history-card { padding: 1rem; background: var(--color-gray-50); border-radius: 8px; }
.history-date { display: flex; align-items: center; gap: 0.5rem; font-weight: 600; margin-bottom: 0.5rem; }
.history-card p { font-size: 0.813rem; margin-bottom: 0.25rem; }

.no-results, .no-history { text-align: center; color: var(--color-gray-500); padding: 2rem; }

@media (max-width: 768px) {
  .customers-layout { grid-template-columns: 1fr; }
}
.users-page { padding: 1.5rem; }
.page-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }

.users-table { background: white; border-radius: 12px; border: 1px solid var(--color-gray-200); overflow: hidden; }
.users-table table { width: 100%; border-collapse: collapse; }
.users-table th { text-align: left; padding: 0.75rem 1rem; font-size: 0.75rem; text-transform: uppercase; color: var(--color-gray-500); background: var(--color-gray-50); border-bottom: 1px solid var(--color-gray-200); }
.users-table td { padding: 0.75rem 1rem; font-size: 0.875rem; border-bottom: 1px solid var(--color-gray-100); }

.user-name { display: flex; align-items: center; gap: 0.75rem; }
.user-avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.user-avatar-placeholder { width: 32px; height: 32px; border-radius: 50%; background: var(--color-gray-100); display: flex; align-items: center; justify-content: center; color: var(--color-gray-400); }

.role-badge { display: inline-flex; align-items: center; gap: 0.25rem; padding: 0.25rem 0.5rem; border-radius: 50px; font-size: 0.75rem; }
.role-badge.ADMIN { background: #EEF2FF; color: #4F46E5; }
.role-badge.ATTENDANT { background: #F3F4F6; color: #6B7280; }

.status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 0.375rem; }
.status-dot.active { background: #10B981; }
.status-dot.inactive { background: #EF4444; }

.icon-btn { background: none; border: none; cursor: pointer; padding: 0.25rem; border-radius: 4px; color: var(--color-gray-500); }
.icon-btn:hover { background: var(--color-gray-100); }
.icon-btn.danger:hover { color: #EF4444; background: #FEF2F2; }
.settings-page {
  padding: 1.5rem;
  max-width: 800px;
}

.settings-page h1 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Tabs */
.settings-tabs {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
  background: var(--color-gray-100);
  border-radius: 8px;
  padding: 0.25rem;
}

.tab-btn {
  flex: 1;
  padding: 0.625rem 1rem;
  border: none;
  background: transparent;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.813rem;
  font-weight: 500;
  color: var(--color-gray-600);
  transition: all 0.2s;
}

.tab-btn.active {
  background: white;
  color: var(--color-primary);
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Card */
.settings-card {
  background: white;
  border: 1px solid var(--color-gray-200);
  border-radius: 12px;
  padding: 2rem;
}

.settings-card h2 {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.section-desc {
  color: var(--color-gray-500);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  margin-top: -1rem;
}

/* Logo Upload */
.logo-section {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-gray-100);
}

.logo-preview {
  width: 100px;
  height: 100px;
  border-radius: 12px;
  border: 2px dashed var(--color-gray-300);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.2s;
}

.logo-preview:hover { border-color: var(--color-primary); }

.logo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--color-gray-400);
  font-size: 0.75rem;
}

.logo-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.5);
  padding: 0.25rem;
  display: flex;
  justify-content: center;
  color: white;
  opacity: 0;
  transition: opacity 0.2s;
}

.logo-preview:hover .logo-overlay { opacity: 1; }

.logo-info p { font-size: 0.875rem; }
.logo-info .hint { font-size: 0.75rem; color: var(--color-gray-400); }

/* Form */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group { display: flex; flex-direction: column; gap: 0.375rem; margin-bottom: 1rem; }
.form-group label { font-size: 0.813rem; font-weight: 600; color: var(--color-gray-700); }
.form-group input,
.form-group select {
  padding: 0.625rem 0.75rem;
  border: 1px solid var(--color-gray-300);
  border-radius: 8px;
  font-size: 0.875rem;
}

.form-actions { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--color-gray-100); }

/* Colors */
.color-palettes { margin-bottom: 1.5rem; }
.color-palettes > label { font-size: 0.813rem; font-weight: 600; display: block; margin-bottom: 0.75rem; }

.palette-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem; }

.palette-item {
  display: flex; border-radius: 8px; overflow: hidden; height: 40px;
  border: 2px solid transparent; cursor: pointer; padding: 0; transition: all 0.2s;
}
.palette-item:hover { transform: scale(1.05); }
.palette-item.selected { border-color: var(--color-gray-900); }
.palette-primary, .palette-secondary { flex: 1; }

.custom-colors { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.5rem; }

.color-input-group { display: flex; align-items: center; gap: 0.5rem; }
.color-input-group input[type="color"] { width: 40px; height: 40px; padding: 2px; border-radius: 8px; }

/* Preview */
.preview-section { margin-bottom: 1.5rem; }
.preview-section > label { font-size: 0.813rem; font-weight: 600; display: block; margin-bottom: 0.75rem; }
.preview-card { background: var(--color-gray-50); border-radius: 8px; padding: 1.25rem; border: 1px solid var(--color-gray-200); }
.preview-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.preview-logo-small { width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: white; font-weight: 600; }
.preview-body { display: flex; gap: 0.5rem; }
.preview-btn { padding: 0.5rem 1rem; border-radius: 6px; color: white; font-size: 0.75rem; }
.preview-btn-outline { padding: 0.5rem 1rem; border-radius: 6px; border: 1px solid; font-size: 0.75rem; }

/* Plan */
.plan-status-card { padding: 1.5rem; border-radius: 12px; margin-bottom: 1.5rem; }
.plan-status-card.trial { background: #F0FDF4; border: 1px solid #BBF7D0; }
.plan-status-card.active { background: #EEF2FF; border: 1px solid #C7D2FE; }
.plan-status-card.expired { background: #FEF2F2; border: 1px solid #FECACA; }

.plan-status-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1rem; }
.plan-status-header h3 { font-size: 1.25rem; }

.plan-badge { display: inline-block; padding: 0.125rem 0.75rem; border-radius: 50px; font-size: 0.75rem; font-weight: 500; background: white; margin-top: 0.25rem; }

.plan-price { text-align: right; }
.price-amount { font-size: 1.5rem; font-weight: 700; }
.price-period { font-size: 0.75rem; color: var(--color-gray-500); }

.plan-days { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; margin-bottom: 0.5rem; }
.plan-alert { display: flex; align-items: center; gap: 0.5rem; font-size: 0.813rem; color: #D97706; background: #FFF7ED; padding: 0.75rem; border-radius: 8px; }

.plan-features-list { margin-bottom: 1.5rem; }
.plan-features-list h3 { font-size: 0.938rem; margin-bottom: 0.75rem; }
.plan-features-list ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.plan-features-list li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; }

.plan-actions { padding-top: 1rem; border-top: 1px solid var(--color-gray-100); }

.no-plan { text-align: center; padding: 2rem; }

/* Alert */
.alert { display: flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1rem; border-radius: 8px; margin-bottom: 1rem; font-size: 0.875rem; }
.alert-success { background: #F0FDF4; color: #059669; }
.alert-error { background: #FEF2F2; color: #DC2626; }

@media (max-width: 600px) {
  .form-grid, .custom-colors { grid-template-columns: 1fr; }
  .logo-section { flex-direction: column; align-items: flex-start; }
}

/* Plan Header com botão de refresh */
.plan-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.plan-header h2 {
  margin: 0;
}

.refresh-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: white;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.2s;
}

.refresh-btn:hover {
  background: #f3f4f6;
  color: #374151;
}

.refresh-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.spinning {
  animation: spin 1s linear infinite;
}

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

/* Loading state */
.plan-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
}

.loading-spinner-small {
  width: 32px;
  height: 32px;
  border: 3px solid #e5e7eb;
  border-top-color: #4F46E5;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-bottom: 16px;
}

.plan-loading p {
  color: #6b7280;
  font-size: 14px;
}

/* No plan state */
.no-plan {
  text-align: center;
  padding: 40px 20px;
}

.no-plan-icon {
  color: #f59e0b;
  margin-bottom: 16px;
}

.no-plan h3 {
  font-size: 18px;
  color: #111827;
  margin-bottom: 8px;
}

.no-plan p {
  color: #6b7280;
  margin-bottom: 24px;
  font-size: 14px;
}

.no-plan-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

/* Plan billing info */
.plan-billing-info {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #f9fafb;
  border-radius: 8px;
  margin-top: 16px;
  color: #6b7280;
  font-size: 14px;
}

.plan-billing-info svg {
  color: #9ca3af;
}

/* Cancel plan button */
.cancel-plan-btn {
  color: #DC2626 !important;
  border-color: #DC2626 !important;
}

.cancel-plan-btn:hover {
  background: #fef2f2 !important;
}

/* Feature icons */
.feature-icon {
  color: #10B981;
  min-width: 18px;
}

/* Plan badge styles */
.plan-badge.trial {
  background: #fef3c7;
  color: #92400e;
}

.plan-badge.active {
  background: #d1fae5;
  color: #065f46;
}

.plan-badge.canceled {
  background: #fee2e2;
  color: #991b1b;
}

.plan-badge.expired {
  background: #f3f4f6;
  color: #6b7280;
}

/* Plan status cards */
.plan-status-card.trial {
  border-left: 4px solid #f59e0b;
}

.plan-status-card.active {
  border-left: 4px solid #10b981;
}

.plan-status-card.canceled {
  border-left: 4px solid #ef4444;
}

.plan-status-card.expired {
  border-left: 4px solid #9ca3af;
}
/* ============================================ */
/* SELECT PLAN PAGE - PREMIUM                    */
/* ============================================ */

.select-plan-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(160deg, #F9FAFB 0%, #EEF2FF 100%);
  position: relative;
}

.select-plan-page::before {
  content: '';
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 40%, rgba(79, 70, 229, 0.03) 0%, transparent 50%),
              radial-gradient(circle at 70% 60%, rgba(124, 58, 237, 0.02) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.select-plan-wrapper {
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 3rem 1.5rem;
  position: relative;
  z-index: 1;
}

.select-plan-container {
  width: 100%;
  max-width: 940px;
}

/* ============================================ */
/* LOADING STATE                                 */
/* ============================================ */

.loading-state {
  text-align: center;
  padding: 4rem 2rem;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px;
  box-shadow: 
    0 0 0 1px rgba(0, 0, 0, 0.03),
    0 2px 4px rgba(0, 0, 0, 0.02),
    0 12px 24px rgba(0, 0, 0, 0.04);
}

.loading-spinner {
  width: 64px;
  height: 64px;
  background: var(--color-primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--color-primary);
}

.spinning {
  animation: spin 1s linear infinite;
}

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

.loading-state h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-gray-900);
  margin-bottom: 0.5rem;
}

.loading-state p {
  color: var(--color-gray-500);
  font-size: 0.9375rem;
}

/* ============================================ */
/* HEADER                                        */
/* ============================================ */

.select-plan-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  background: rgba(79, 70, 229, 0.08);
  padding: 0.375rem 0.875rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.select-plan-header h1 {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--color-gray-900);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.select-plan-header p {
  color: var(--color-gray-600);
  font-size: 1.0625rem;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ============================================ */
/* ALERT DE ERRO                                 */
/* ============================================ */

.alert {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  animation: slideDown 0.3s ease;
}

.alert-error {
  background-color: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FECACA;
}

.alert-close {
  margin-left: auto;
  background: none;
  border: none;
  color: #991B1B;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s;
  padding: 0.25rem;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.alert-close:hover {
  opacity: 1;
  background: rgba(0, 0, 0, 0.05);
}

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

/* ============================================ */
/* TRIAL BANNER                                  */
/* ============================================ */

.trial-banner {
  background: linear-gradient(135deg, #059669, #10B981);
  border-radius: 16px;
  padding: 1.75rem 2rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.2);
  position: relative;
  overflow: hidden;
}

.trial-banner::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  pointer-events: none;
}

.trial-banner-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.trial-banner-text {
  flex: 1;
}

.trial-banner-text h3 {
  color: white;
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.trial-banner-text p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
  line-height: 1.5;
}

.trial-banner-btn {
   display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 20%;
  padding: 0.75rem 1.5rem;
  background: white;
  border: 1.5px solid var(--color-gray-200);
  border-radius: 10px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-gray-700);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.trial-banner-btn:hover {
  background: var(--color-gray-50);
  border-color: var(--color-gray-300);
  box-shadow: var(--shadow-sm);
}

/* ============================================ */
/* DIVIDER TEXT                                  */
/* ============================================ */

.divider-text {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}

.divider-text::before,
.divider-text::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-gray-200);
}

.divider-text span {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-gray-400);
  white-space: nowrap;
}

/* ============================================ */
/* PLANS GRID                                    */
/* ============================================ */

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* ============================================ */
/* PLAN CARD                                     */
/* ============================================ */

.plan-card {
  background: white;
  border-radius: 16px;
  border: 1.5px solid var(--color-gray-200);
  padding: 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 
    0 0 0 1px rgba(0, 0, 0, 0.02),
    0 2px 4px rgba(0, 0, 0, 0.02),
    0 8px 16px rgba(0, 0, 0, 0.03);
}

.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 
    0 0 0 1px rgba(0, 0, 0, 0.04),
    0 4px 8px rgba(0, 0, 0, 0.04),
    0 16px 32px rgba(79, 70, 229, 0.08);
  border-color: var(--color-gray-300);
}

.plan-card.current {
  border-color: var(--color-success);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.plan-card.popular {
  border-color: var(--color-primary);
  box-shadow: 
    0 0 0 3px rgba(79, 70, 229, 0.1),
    0 4px 8px rgba(0, 0, 0, 0.04),
    0 16px 32px rgba(79, 70, 229, 0.1);
}

.plan-card.popular:hover {
  box-shadow: 
    0 0 0 3px rgba(79, 70, 229, 0.15),
    0 4px 8px rgba(0, 0, 0, 0.06),
    0 20px 40px rgba(79, 70, 229, 0.15);
}

.popular-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: white;
  padding: 0.375rem 1.25rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.3);
  z-index: 1;
}

.plan-card-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.plan-card-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-gray-900);
  margin-bottom: 0.75rem;
}

.plan-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.125rem;
  margin-bottom: 0.75rem;
}

.currency {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-gray-400);
}

.amount {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  letter-spacing: -0.02em;
}

.period {
  font-size: 0.875rem;
  color: var(--color-gray-500);
}

.plan-description {
  font-size: 0.875rem;
  color: var(--color-gray-500);
  line-height: 1.5;
}

/* ============================================ */
/* PLAN FEATURES                                 */
/* ============================================ */

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex: 1;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--color-gray-700);
  line-height: 1.4;
}

.feature-check {
  width: 20px;
  height: 20px;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-success);
  flex-shrink: 0;
}

/* ============================================ */
/* PLAN CARD ACTION                              */
/* ============================================ */

.plan-card-action {
  margin-top: auto;
}

.current-plan-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(16, 185, 129, 0.08);
  border: 1.5px solid rgba(16, 185, 129, 0.2);
  border-radius: 10px;
  color: var(--color-success);
  font-weight: 600;
  font-size: 0.9375rem;
}

.btn-icon {
  transition: transform 0.2s ease;
}

.btn:hover .btn-icon {
  transform: translateX(3px);
}

/* ============================================ */
/* FOOTER NOTE                                   */
/* ============================================ */

.plans-footer-note {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.8125rem;
  color: var(--color-gray-400);
}

/* ============================================ */
/* SUCCESS CARD                                  */
/* ============================================ */

.plan-success-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px;
  box-shadow: 
    0 0 0 1px rgba(0, 0, 0, 0.03),
    0 2px 4px rgba(0, 0, 0, 0.02),
    0 12px 24px rgba(0, 0, 0, 0.04),
    0 24px 48px rgba(79, 70, 229, 0.06);
  padding: 3rem 2.5rem;
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
}

.plan-success-visual {
  margin-bottom: 2rem;
}

.plan-success-icon-wrapper {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #10B981, #34D399);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 10px 20px rgba(16, 185, 129, 0.2);
}

.plan-success-icon {
  font-size: 2.5rem;
}

.plan-success-card h1 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-gray-900);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.plan-success-card p {
  color: var(--color-gray-600);
  font-size: 0.9375rem;
  line-height: 1.6;
  max-width: 360px;
  margin: 0 auto;
}

/* ============================================ */
/* RESPONSIVO                                    */
/* ============================================ */

@media (max-width: 768px) {
  .select-plan-header h1 {
    font-size: 1.75rem;
  }

  .trial-banner {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
    gap: 1rem;
  }

  .trial-banner-icon {
    margin: 0 auto;
  }

  .trial-banner-btn {
    width: 100%;
  }

  .plans-grid {
    grid-template-columns: 1fr;
  }

  .plan-success-card {
    padding: 2rem 1.5rem;
    margin: 0 1rem;
  }
}

@media (max-width: 480px) {
  .select-plan-wrapper {
    padding: 1.5rem 1rem;
  }

  .select-plan-header h1 {
    font-size: 1.5rem;
  }

  .plan-card {
    padding: 1.5rem;
  }

  .amount {
    font-size: 2.25rem;
  }
}

/* ============================================ */
/* REDUCED MOTION                                */
/* ============================================ */

@media (prefers-reduced-motion: reduce) {
  .alert {
    animation: none;
  }

  .plan-card {
    transition: none;
  }

  .btn-icon {
    transition: none;
  }
}

/* Plano desabilitado */
.plan-card.disabled {
  opacity: 0.6;
  cursor: not-allowed;
  border-color: #e0e0e0;
}

.plan-card.disabled .plan-card-action {
  pointer-events: none;
}

/* Badge de indisponível */
.unavailable-plan-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: #f5f5f5;
  color: #666;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  width: 100%;
  justify-content: center;
}

/* Tooltip do plano desabilitado */
.plan-disabled-tooltip {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 6px 12px;
  background: #fff3cd;
  border-radius: 4px;
  font-size: 12px;
  color: #856404;
}

.plan-disabled-tooltip svg {
  flex-shrink: 0;
  color: #856404;
}

/* Banner de trial já usado */
.trial-used-banner {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  background: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: 12px;
  margin-bottom: 32px;
}

.trial-used-icon {
  color: #856404;
  flex-shrink: 0;
  margin-top: 2px;
}

.trial-used-text h3 {
  color: #856404;
  font-size: 16px;
  margin: 0 0 4px 0;
}

.trial-used-text p {
  color: #856404;
  font-size: 14px;
  margin: 0;
}

/* Esconder plano FREE quando já usado */
.plan-card.hidden {
  display: none;
}

/* Badge de plano atual melhorado */
.current-plan-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: #e8f5e9;
  color: #2e7d32;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  width: 100%;
  justify-content: center;
}

/* Loading spinner */
.spinning {
  animation: spin 1s linear infinite;
}

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


/* ══════════════════════════════════════════ */
/* RENEWAL BANNER                            */
/* ══════════════════════════════════════════ */
.renewal-banner {
  background: linear-gradient(135deg, #FFF5F5 0%, #FEE2E2 50%, #FFF5F5 100%);
  border: 2px solid #FECACA;
  border-radius: 16px;
  padding: 0;
  margin-bottom: 24px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.08);
}

/* Versão para expiring soon (amarelo/laranja) */
.renewal-banner:has(.renewal-banner-icon svg:not(.expired-icon)) {
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 50%, #FFFBEB 100%);
  border-color: #FCD34D;
}

.renewal-banner-content {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
}

.renewal-banner-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #DC2626;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.15);
}

.renewal-banner:has(.renewal-banner-icon svg:not(.expired-icon)) .renewal-banner-icon {
  color: #D97706;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.15);
}

.renewal-banner-text {
  flex: 1;
}

.renewal-banner-text h3 {
  margin: 0 0 4px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #991B1B;
}

.renewal-banner:has(.renewal-banner-icon svg:not(.expired-icon)) .renewal-banner-text h3 {
  color: #92400E;
}

.renewal-banner-text p {
  margin: 0 0 12px;
  font-size: 0.85rem;
  color: #B91C1C;
  line-height: 1.5;
}

.renewal-banner:has(.renewal-banner-icon svg:not(.expired-icon)) .renewal-banner-text p {
  color: #A16207;
}

.renewal-banner-features {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.renewal-banner-features span {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  color: #7F1D1D;
  font-weight: 500;
}

.renewal-banner:has(.renewal-banner-icon svg:not(.expired-icon)) .renewal-banner-features span {
  color: #78350F;
}

.renewal-banner-features span svg {
  color: #16A34A;
}

.renewal-banner-actions {
  min-width: 200px;
  text-align: center;
}

.renew-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #DC2626;
  border: none;
  padding: 12px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s;
}

.renew-btn:hover {
  background: #B91C1C;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.renewal-banner:has(.renewal-banner-icon svg:not(.expired-icon)) .renew-btn {
  background: #D97706;
}

.renewal-banner:has(.renewal-banner-icon svg:not(.expired-icon)) .renew-btn:hover {
  background: #B45309;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
}

.renewal-hint {
  font-size: 0.72rem;
  color: #9CA3AF;
  margin: 8px 0 0;
}

/* ══════════════════════════════════════════ */
/* RESPONSIVE                                */
/* ══════════════════════════════════════════ */
@media (max-width: 768px) {
  .renewal-banner-content {
    flex-direction: column;
    text-align: center;
    padding: 20px;
    gap: 16px;
  }

  .renewal-banner-features {
    justify-content: center;
  }

  .renewal-banner-actions {
    min-width: 100%;
  }
}
.trial-expired-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, #FEF2F2 0%, #FEE2E2 100%);
}

.trial-expired-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.trial-expired-container {
  width: 100%;
  max-width: 500px;
}

.expired-card {
  background: white;
  border-radius: 12px;
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.expired-icon {
  color: var(--color-error);
  margin-bottom: 1.5rem;
}

.expired-card h1 {
  font-size: 1.5rem;
  color: var(--color-gray-900);
  margin-bottom: 1rem;
}

.expired-card p {
  color: var(--color-gray-500);
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.expired-actions {
  margin-top: 2rem;
}
/* ============================================ */
/* PAYMENT PAGE - CSS COMPLETO                  */
/* ============================================ */

/* Cores do tema */
:root {
  --pay-primary: #4F46E5;
  --pay-primary-hover: #4338CA;
  --pay-primary-light: #EEF2FF;
  --pay-bg: #F8FAFC;
  --pay-white: #FFFFFF;
  --pay-gray-50: #F9FAFB;
  --pay-gray-100: #F3F4F6;
  --pay-gray-200: #E5E7EB;
  --pay-gray-300: #D1D5DB;
  --pay-gray-500: #6B7280;
  --pay-gray-600: #4B5563;
  --pay-gray-700: #374151;
  --pay-gray-800: #1F2937;
  --pay-gray-900: #111827;
  --pay-success: #059669;
  --pay-success-light: #D1FAE5;
  --pay-warning: #4F46E5;
  --pay-warning-light: #FEF3C7;
  --pay-error: #DC2626;
  --pay-error-light: #FEE2E2;
  --pay-info: #2563EB;
  --pay-info-light: #DBEAFE;
  --pay-dark: #1E293B;
  --pay-dark-light: #334155;
  --pay-shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --pay-shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --pay-radius: 12px;
  --pay-radius-sm: 8px;
  --pay-radius-lg: 16px;
}

/* ============================================ */
/* BASE                                        */
/* ============================================ */
.payment-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--pay-bg);
}

.payment-main {
  flex: 1;
  padding: 24px 16px;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

/* ============================================ */
/* LOADING, ERROR, SUCCESS, EXPIRED             */
/* ============================================ */
.payment-loading,
.payment-state {
  text-align: center;
  padding: 48px 32px;
  background: var(--pay-white);
  border-radius: var(--pay-radius-lg);
  box-shadow: var(--pay-shadow-lg);
  max-width: 480px;
  margin: 40px auto;
}

.payment-loading h2,
.payment-state h2 {
  margin: 16px 0 8px;
  color: var(--pay-gray-800);
  font-size: 1.25rem;
  font-weight: 600;
}

.payment-loading p,
.payment-state p {
  color: var(--pay-gray-500);
  margin-bottom: 16px;
  font-size: 0.9rem;
}

.state-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-size: 1.5rem;
  font-weight: 700;
}

.success-icon { background: var(--pay-success-light); color: var(--pay-success); }
.error-icon { background: var(--pay-error-light); color: var(--pay-error); }
.expired-icon { background: var(--pay-warning-light); color: var(--pay-warning); font-size: 2rem; }
.pending-icon { background: var(--pay-info-light); color: var(--pay-info); font-size: 2rem; }

.state-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
}

.redirect-text {
  color: var(--pay-gray-300);
  font-size: 0.875rem;
}

/* ============================================ */
/* TWO COLUMN GRID                              */
/* ============================================ */
.payment-grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 768px) {
  .payment-grid {
    grid-template-columns: 1fr 2fr;
  }
}

@media (min-width: 1024px) {
  .payment-grid {
    grid-template-columns: 360px 1fr;
  }
}

/* ============================================ */
/* SUMMARY COLUMN (ESQUERDA)                    */
/* ============================================ */
.summary-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Resumo Card */
.summary-card {
  background: var(--pay-dark);
  border-radius: var(--pay-radius-lg);
  padding: 24px;
  color: white;
  box-shadow: var(--pay-shadow-lg);
}

.summary-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.summary-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.main-row {
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.main-row h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.summary-period {
  margin: 2px 0 0;
  font-size: 0.75rem;
  opacity: 0.65;
}

.summary-price {
  font-size: 1.25rem;
  font-weight: 700;
}

.summary-label {
  font-size: 0.85rem;
  opacity: 0.75;
}

.summary-value {
  font-size: 0.85rem;
  font-weight: 500;
}

.summary-value.invoice {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.7rem;
  opacity: 0.8;
}

/* Security Seal */
.security-seal {
  background: rgba(255,255,255,0.08);
  border-radius: var(--pay-radius-sm);
  padding: 12px;
  margin-top: 4px;
}

.security-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.security-header h4 {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
}

.security-items {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.75rem;
  opacity: 0.7;
}

/* How to Pay Card */
.how-to-card {
  background: var(--pay-white);
  border: 1px solid var(--pay-gray-200);
  border-radius: var(--pay-radius);
  padding: 20px;
  box-shadow: var(--pay-shadow);
}

.how-to-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--pay-gray-800);
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.step-card {
  background: var(--pay-gray-50);
  padding: 10px;
  border-radius: var(--pay-radius-sm);
  text-align: center;
}

.step-number {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--pay-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 6px;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--pay-primary);
}

.step-card p {
  margin: 0;
  font-size: 0.72rem;
  color: var(--pay-gray-600);
  font-weight: 500;
}

/* Support Card */
.support-card {
  background: var(--pay-gray-50);
  border: 1px solid var(--pay-gray-200);
  border-radius: var(--pay-radius);
  padding: 20px;
  text-align: center;
  box-shadow: var(--pay-shadow);
}

.support-content svg {
  margin-bottom: 8px;
}

.support-content h4 {
  margin: 0 0 4px;
  font-size: 0.9rem;
  color: var(--pay-gray-800);
}

.support-content p {
  margin: 0 0 12px;
  font-size: 0.8rem;
  color: var(--pay-gray-500);
}

.support-btn {
  display: inline-block;
  width: 100%;
  padding: 10px;
  background: var(--pay-primary);
  color: white;
  border-radius: var(--pay-radius-sm);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: background 0.15s;
}

.support-btn:hover {
  background: var(--pay-primary-hover);
}

/* ============================================ */
/* PAYMENT COLUMN (DIREITA)                     */
/* ============================================ */
.payment-card {
  background: var(--pay-white);
  border-radius: var(--pay-radius-lg);
  padding: 24px;
  box-shadow: var(--pay-shadow-lg);
  border: 1px solid var(--pay-gray-200);
}

@media (min-width: 768px) {
  .payment-card {
    padding: 32px;
  }
}

/* Header */
.payment-card-header {
  text-align: center;
  margin-bottom: 24px;
}

.payment-icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--pay-primary);
  margin-bottom: 8px;
}

.payment-card-header h2 {
  font-size: 1.35rem;
  color: var(--pay-gray-800);
  margin: 8px 0;
  font-weight: 700;
}

.payment-card-header p {
  color: var(--pay-gray-500);
  font-size: 0.85rem;
  margin: 0;
  line-height: 1.5;
}

/* QR + Info Grid */
.qr-info-grid {
  display: grid;
  gap: 24px;
  margin-bottom: 24px;
}

@media (min-width: 640px) {
  .qr-info-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* QR Box */
.qr-box {
  background: var(--pay-white);
  border: 1px solid var(--pay-gray-200);
  border-radius: var(--pay-radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.qr-badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--pay-primary-light);
  color: var(--pay-primary);
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 9999px;
  margin-bottom: 16px;
}

.qr-image-wrapper {
  padding: 12px;
  background: var(--pay-white);
  border: 2px dashed var(--pay-gray-200);
  border-radius: var(--pay-radius-sm);
}

.qr-placeholder {
  width: 200px;
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--pay-gray-300);
}

.qr-placeholder p {
  font-size: 0.8rem;
  margin-top: 8px;
}

.qr-expiration {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--pay-gray-500);
}

.qr-expiration strong {
  color: var(--pay-primary);
  font-weight: 600;
}

.qr-expiration .expiring {
  color: var(--pay-error);
}

/* PIX Details */
.pix-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Value Display */
.value-display {
  background: var(--pay-primary-light);
  border: 1px solid #C7D2FE;
  border-radius: var(--pay-radius-sm);
  padding: 16px;
  text-align: center;
}

.value-label {
  font-size: 0.8rem;
  color: var(--pay-gray-600);
  margin: 0 0 4px;
}

.value-amount {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--pay-primary);
}

.value-note {
  font-size: 0.7rem;
  color: var(--pay-gray-500);
  margin: 4px 0 0;
}

/* PIX Copy Section */
.pix-copy-section {
  border: 1px solid var(--pay-gray-200);
  border-radius: var(--pay-radius-sm);
  padding: 16px;
}

.pix-copy-section h4 {
  font-size: 0.85rem;
  color: var(--pay-gray-800);
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.pix-code-display {
  position: relative;
  background: var(--pay-gray-50);
  border: 1px solid var(--pay-gray-200);
  border-radius: 6px;
  padding: 10px;
  margin-bottom: 12px;
}

.pix-code-display code {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.65rem;
  color: var(--pay-gray-800);
  word-break: break-all;
  display: block;
  line-height: 1.5;
}

.pix-tag {
  position: absolute;
  right: 8px;
  top: 8px;
  font-size: 0.65rem;
  font-weight: 600;
  background: var(--pay-primary);
  color: white;
  padding: 2px 8px;
  border-radius: 4px;
}

.copy-button {
  width: 100%;
  padding: 11px;
  border: none;
  border-radius: var(--pay-radius-sm);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.15s;
  background: var(--pay-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.copy-button:hover:not(:disabled) {
  background: var(--pay-primary-hover);
}

.copy-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.copy-button.copied {
  background: var(--pay-success);
}

.copy-hint {
  font-size: 0.7rem;
  color: var(--pay-gray-500);
  text-align: center;
  margin: 8px 0 0;
}

/* Payment Status Bar */
.payment-status-bar {
  border-radius: var(--pay-radius-sm);
  padding: 16px;
  margin-bottom: 16px;
}

.payment-status-bar.pending {
  background: var(--pay-warning-light);
  border: 1px solid #4F46E5;
}

.status-content {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.status-content h4 {
  margin: 0 0 4px;
  font-size: 0.85rem;
  color: var(--pay-gray-800);
  font-weight: 600;
}

.status-content p {
  margin: 0;
  font-size: 0.75rem;
  color: var(--pay-gray-600);
  line-height: 1.5;
}

.status-dot-pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--pay-warning);
  margin-top: 4px;
  flex-shrink: 0;
  animation: pulse-dot 1.5s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.4); }
}

/* Verify Section */
.verify-section {
  text-align: center;
  margin-bottom: 16px;
}

.verify-btn {
  padding: 10px 24px;
  background: var(--pay-primary);
  color: white;
  font-weight: 500;
  border: none;
  border-radius: var(--pay-radius-sm);
  cursor: pointer;
  transition: background 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
}

.verify-btn:hover:not(:disabled) {
  background: var(--pay-primary-hover);
}

.verify-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.verify-section p {
  font-size: 0.72rem;
  color: var(--pay-gray-500);
  margin: 8px 0 0;
}

/* Security Footer */
.security-footer {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--pay-gray-200);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  font-size: 0.8rem;
  color: var(--pay-gray-500);
}

/* ============================================ */
/* SPINNER                                      */
/* ============================================ */
.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--pay-gray-200);
  border-top-color: var(--pay-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto;
}

.spinner.small {
  width: 28px;
  height: 28px;
  border-width: 2px;
}

.spin {
  display: inline-block;
  animation: spin 1s linear infinite;
}

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

/* ============================================ */
/* PENDING NOTICE (VINDO DO GUARD)              */
/* ============================================ */
.pending-notice-container {
  max-width: 520px;
  margin: 40px auto;
  width: 100%;
}

.pending-notice-card {
  background: var(--pay-white);
  border-radius: var(--pay-radius-lg);
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--pay-shadow-lg);
  border: 2px solid #4F46E5;
}

.pending-notice-icon {
  margin-bottom: 16px;
}

.pending-notice-card h2 {
  font-size: 1.5rem;
  color: #1E293B;
  margin: 0 0 16px;
  font-weight: 700;
}

.pending-notice-plan-badge {
  display: inline-block;
  background: var(--pay-primary);
  color: white;
  padding: 6px 20px;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.pending-notice-description {
  color: var(--pay-gray-600);
  font-size: 0.95rem;
  margin: 0 0 12px;
  line-height: 1.6;
}

.pending-notice-hint {
  color: var(--pay-gray-500);
  font-size: 0.85rem;
  margin: 0 0 24px;
  line-height: 1.6;
}

.pending-notice-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  margin-bottom: 20px;
}

.pending-notice-actions button {
  min-width: 240px;
}

.pending-notice-footer {
  color: var(--pay-gray-400);
  font-size: 0.75rem;
  margin: 0;
}

/* ============================================ */
/* RESPONSIVE                                   */
/* ============================================ */
@media (max-width: 768px) {
  .payment-card {
    padding: 20px;
  }
  
  .payment-card-header h2 {
    font-size: 1.15rem;
  }
  
  .value-amount {
    font-size: 1.5rem;
  }
  
  .steps-grid {
    gap: 6px;
  }
  
  .security-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

@media (max-width: 480px) {
  .payment-main {
    padding: 12px;
  }
  
  .payment-grid {
    gap: 16px;
  }
  
  .steps-grid {
    grid-template-columns: 1fr;
  }
  
  .pending-notice-card {
    padding: 24px 20px;
  }
  
  .pending-notice-card h2 {
    font-size: 1.25rem;
  }
  
  .pending-notice-actions button {
    min-width: 100%;
  }
}
 
 .loading-spinner-fullpage {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: #f9fafb;
}

.loading-spinner-content {
  text-align: center;
}

.loading-spinner-content .spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #e5e7eb;
  border-top-color: #cc2945;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto;
}

.loading-message {
  margin-top: 1rem;
  color: #6b7280;
  font-size: 0.9rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
 
 /* INDEX.CSS
 RESET E ESTILOS GLOBAIS                      */
/* ============================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Cores principais */
  --color-primary: #4F46E5;
  --color-primary-hover: #4338CA;
  --color-secondary: #7C3AED;
  
  /* Cores de estado */
  --color-success: #10B981;
  --color-error: #EF4444;
  --color-warning: #F59E0B;
  --color-info: #3B82F6;
  
  /* Cores neutras */
  --color-white: #FFFFFF;
  --color-gray-50: #F9FAFB;
  --color-gray-100: #F3F4F6;
  --color-gray-200: #E5E7EB;
  --color-gray-300: #D1D5DB;
  --color-gray-400: #9CA3AF;
  --color-gray-500: #6B7280;
  --color-gray-600: #4B5563;
  --color-gray-700: #374151;
  --color-gray-800: #1F2937;
  --color-gray-900: #111827;
  
  /* Tamanhos */
  --max-width: 1200px;
  --border-radius: 8px;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 4px 6px rgba(0, 0, 0, 0.1);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--color-gray-50);
  color: var(--color-gray-900);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: var(--color-primary);
}

button {
  cursor: pointer;
  border: none;
  border-radius: var(--border-radius);
  font-family: inherit;
}

input, select, textarea {
  font-family: inherit;
  border: 1px solid var(--color-gray-300);
  border-radius: var(--border-radius);
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* Utilitários */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

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

.text-error {
  color: var(--color-error);
  font-size: 0.75rem;
  margin-top: 0.25rem;
}

/* Loading spinner */
.spinner {
  border: 3px solid var(--color-gray-200);
  border-top: 3px solid var(--color-primary);
  border-radius: 50%;
  width: 24px;
  height: 24px;
  animation: spin 0.6s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}
 /* ============================================ */
/* SELECT PLAN PAGE CSS - PREMIUM                    */
/* ============================================ */

.select-plan-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(160deg, #F9FAFB 0%, #EEF2FF 100%);
  position: relative;
}

.select-plan-page::before {
  content: '';
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 40%, rgba(79, 70, 229, 0.03) 0%, transparent 50%),
              radial-gradient(circle at 70% 60%, rgba(124, 58, 237, 0.02) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.select-plan-wrapper {
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 3rem 1.5rem;
  position: relative;
  z-index: 1;
}

.select-plan-container {
  width: 100%;
  max-width: 940px;
}

/* ============================================ */
/* LOADING STATE                                 */
/* ============================================ */

.loading-state {
  text-align: center;
  padding: 4rem 2rem;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px;
  box-shadow: 
    0 0 0 1px rgba(0, 0, 0, 0.03),
    0 2px 4px rgba(0, 0, 0, 0.02),
    0 12px 24px rgba(0, 0, 0, 0.04);
}

.loading-spinner {
  width: 64px;
  height: 64px;
  background: var(--color-primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--color-primary);
}

.spinning {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}

.loading-state h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-gray-900);
  margin-bottom: 0.5rem;
}

.loading-state p {
  color: var(--color-gray-500);
  font-size: 0.9375rem;
}

/* ============================================ */
/* HEADER                                        */
/* ============================================ */

.select-plan-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  background: rgba(79, 70, 229, 0.08);
  padding: 0.375rem 0.875rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.select-plan-header h1 {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--color-gray-900);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.select-plan-header p {
  color: var(--color-gray-600);
  font-size: 1.0625rem;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ============================================ */
/* ALERT DE ERRO                                 */
/* ============================================ */

.alert {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  animation: slideDown 0.3s ease;
}

.alert-error {
  background-color: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FECACA;
}

.alert-close {
  margin-left: auto;
  background: none;
  border: none;
  color: #991B1B;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s;
  padding: 0.25rem;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.alert-close:hover {
  opacity: 1;
  background: rgba(0, 0, 0, 0.05);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================ */
/* TRIAL BANNER                                  */
/* ============================================ */

.trial-banner {
  background: linear-gradient(135deg, #059669, #10B981);
  border-radius: 16px;
  padding: 1.75rem 2rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.2);
  position: relative;
  overflow: hidden;
}

.trial-banner::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  pointer-events: none;
}

.trial-banner-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.trial-banner-text {
  flex: 1;
}

.trial-banner-text h3 {
  color: white;
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.trial-banner-text p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
  line-height: 1.5;
}

.trial-banner-btn {
   display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 20%;
  padding: 0.75rem 1.5rem;
  background: white;
  border: 1.5px solid var(--color-gray-200);
  border-radius: 10px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-gray-700);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.trial-banner-btn:hover {
  background: var(--color-gray-50);
  border-color: var(--color-gray-300);
  box-shadow: var(--shadow-sm);
}

/* ============================================ */
/* DIVIDER TEXT                                  */
/* ============================================ */

.divider-text {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}

.divider-text::before,
.divider-text::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-gray-200);
}

.divider-text span {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-gray-400);
  white-space: nowrap;
}

/* ============================================ */
/* PLANS GRID                                    */
/* ============================================ */

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* ============================================ */
/* PLAN CARD                                     */
/* ============================================ */

.plan-card {
  background: white;
  border-radius: 16px;
  border: 1.5px solid var(--color-gray-200);
  padding: 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 
    0 0 0 1px rgba(0, 0, 0, 0.02),
    0 2px 4px rgba(0, 0, 0, 0.02),
    0 8px 16px rgba(0, 0, 0, 0.03);
}

.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 
    0 0 0 1px rgba(0, 0, 0, 0.04),
    0 4px 8px rgba(0, 0, 0, 0.04),
    0 16px 32px rgba(79, 70, 229, 0.08);
  border-color: var(--color-gray-300);
}

.plan-card.current {
  border-color: var(--color-success);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.plan-card.popular {
  border-color: var(--color-primary);
  box-shadow: 
    0 0 0 3px rgba(79, 70, 229, 0.1),
    0 4px 8px rgba(0, 0, 0, 0.04),
    0 16px 32px rgba(79, 70, 229, 0.1);
}

.plan-card.popular:hover {
  box-shadow: 
    0 0 0 3px rgba(79, 70, 229, 0.15),
    0 4px 8px rgba(0, 0, 0, 0.06),
    0 20px 40px rgba(79, 70, 229, 0.15);
}

.popular-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: white;
  padding: 0.375rem 1.25rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.3);
  z-index: 1;
}

.plan-card-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.plan-card-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-gray-900);
  margin-bottom: 0.75rem;
}

.plan-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.125rem;
  margin-bottom: 0.75rem;
}

.currency {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-gray-400);
}

.amount {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  letter-spacing: -0.02em;
}

.period {
  font-size: 0.875rem;
  color: var(--color-gray-500);
}

.plan-description {
  font-size: 0.875rem;
  color: var(--color-gray-500);
  line-height: 1.5;
}

/* ============================================ */
/* PLAN FEATURES                                 */
/* ============================================ */

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex: 1;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--color-gray-700);
  line-height: 1.4;
}

.feature-check {
  width: 20px;
  height: 20px;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-success);
  flex-shrink: 0;
}

/* ============================================ */
/* PLAN CARD ACTION                              */
/* ============================================ */

.plan-card-action {
  margin-top: auto;
}

.current-plan-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(16, 185, 129, 0.08);
  border: 1.5px solid rgba(16, 185, 129, 0.2);
  border-radius: 10px;
  color: var(--color-success);
  font-weight: 600;
  font-size: 0.9375rem;
}

.btn-icon {
  transition: transform 0.2s ease;
}

.btn:hover .btn-icon {
  transform: translateX(3px);
}

/* ============================================ */
/* FOOTER NOTE                                   */
/* ============================================ */

.plans-footer-note {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.8125rem;
  color: var(--color-gray-400);
}

/* ============================================ */
/* SUCCESS CARD                                  */
/* ============================================ */

.plan-success-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px;
  box-shadow: 
    0 0 0 1px rgba(0, 0, 0, 0.03),
    0 2px 4px rgba(0, 0, 0, 0.02),
    0 12px 24px rgba(0, 0, 0, 0.04),
    0 24px 48px rgba(79, 70, 229, 0.06);
  padding: 3rem 2.5rem;
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
}

.plan-success-visual {
  margin-bottom: 2rem;
}

.plan-success-icon-wrapper {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #10B981, #34D399);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 10px 20px rgba(16, 185, 129, 0.2);
}

.plan-success-icon {
  font-size: 2.5rem;
}

.plan-success-card h1 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-gray-900);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.plan-success-card p {
  color: var(--color-gray-600);
  font-size: 0.9375rem;
  line-height: 1.6;
  max-width: 360px;
  margin: 0 auto;
}

/* ============================================ */
/* RESPONSIVO                                    */
/* ============================================ */

@media (max-width: 768px) {
  .select-plan-header h1 {
    font-size: 1.75rem;
  }

  .trial-banner {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
    gap: 1rem;
  }

  .trial-banner-icon {
    margin: 0 auto;
  }

  .trial-banner-btn {
    width: 100%;
  }

  .plans-grid {
    grid-template-columns: 1fr;
  }

  .plan-success-card {
    padding: 2rem 1.5rem;
    margin: 0 1rem;
  }
}

@media (max-width: 480px) {
  .select-plan-wrapper {
    padding: 1.5rem 1rem;
  }

  .select-plan-header h1 {
    font-size: 1.5rem;
  }

  .plan-card {
    padding: 1.5rem;
  }

  .amount {
    font-size: 2.25rem;
  }
}

/* ============================================ */
/* REDUCED MOTION                                */
/* ============================================ */

@media (prefers-reduced-motion: reduce) {
  .alert {
    animation: none;
  }

  .plan-card {
    transition: none;
  }

  .btn-icon {
    transition: none;
  }
}

/* Plano desabilitado */
.plan-card.disabled {
  opacity: 0.6;
  cursor: not-allowed;
  border-color: #e0e0e0;
}

.plan-card.disabled .plan-card-action {
  pointer-events: none;
}

/* Badge de indisponível */
.unavailable-plan-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: #f5f5f5;
  color: #666;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  width: 100%;
  justify-content: center;
}

/* Tooltip do plano desabilitado */
.plan-disabled-tooltip {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 6px 12px;
  background: #fff3cd;
  border-radius: 4px;
  font-size: 12px;
  color: #856404;
}

.plan-disabled-tooltip svg {
  flex-shrink: 0;
  color: #856404;
}

/* Banner de trial já usado */
.trial-used-banner {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  background: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: 12px;
  margin-bottom: 32px;
}

.trial-used-icon {
  color: #856404;
  flex-shrink: 0;
  margin-top: 2px;
}

.trial-used-text h3 {
  color: #856404;
  font-size: 16px;
  margin: 0 0 4px 0;
}

.trial-used-text p {
  color: #856404;
  font-size: 14px;
  margin: 0;
}

/* Esconder plano FREE quando já usado */
.plan-card.hidden {
  display: none;
}

/* Badge de plano atual melhorado */
.current-plan-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: #e8f5e9;
  color: #2e7d32;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  width: 100%;
  justify-content: center;
}

/* Loading spinner */
.spinning {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}


/* ══════════════════════════════════════════ */
/* RENEWAL BANNER                            */
/* ══════════════════════════════════════════ */
.renewal-banner {
  background: linear-gradient(135deg, #FFF5F5 0%, #FEE2E2 50%, #FFF5F5 100%);
  border: 2px solid #FECACA;
  border-radius: 16px;
  padding: 0;
  margin-bottom: 24px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.08);
}

/* Versão para expiring soon (amarelo/laranja) */
.renewal-banner:has(.renewal-banner-icon svg:not(.expired-icon)) {
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 50%, #FFFBEB 100%);
  border-color: #FCD34D;
}

.renewal-banner-content {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
}

.renewal-banner-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #DC2626;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.15);
}

.renewal-banner:has(.renewal-banner-icon svg:not(.expired-icon)) .renewal-banner-icon {
  color: #D97706;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.15);
}

.renewal-banner-text {
  flex: 1;
}

.renewal-banner-text h3 {
  margin: 0 0 4px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #991B1B;
}

.renewal-banner:has(.renewal-banner-icon svg:not(.expired-icon)) .renewal-banner-text h3 {
  color: #92400E;
}

.renewal-banner-text p {
  margin: 0 0 12px;
  font-size: 0.85rem;
  color: #B91C1C;
  line-height: 1.5;
}

.renewal-banner:has(.renewal-banner-icon svg:not(.expired-icon)) .renewal-banner-text p {
  color: #A16207;
}

.renewal-banner-features {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.renewal-banner-features span {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  color: #7F1D1D;
  font-weight: 500;
}

.renewal-banner:has(.renewal-banner-icon svg:not(.expired-icon)) .renewal-banner-features span {
  color: #78350F;
}

.renewal-banner-features span svg {
  color: #16A34A;
}

.renewal-banner-actions {
  min-width: 200px;
  text-align: center;
}

.renew-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #DC2626;
  border: none;
  padding: 12px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s;
}

.renew-btn:hover {
  background: #B91C1C;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.renewal-banner:has(.renewal-banner-icon svg:not(.expired-icon)) .renew-btn {
  background: #D97706;
}

.renewal-banner:has(.renewal-banner-icon svg:not(.expired-icon)) .renew-btn:hover {
  background: #B45309;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
}

.renewal-hint {
  font-size: 0.72rem;
  color: #9CA3AF;
  margin: 8px 0 0;
}

/* ══════════════════════════════════════════ */
/* RESPONSIVE                                */
/* ══════════════════════════════════════════ */
@media (max-width: 768px) {
  .renewal-banner-content {
    flex-direction: column;
    text-align: center;
    padding: 20px;
    gap: 16px;
  }

  .renewal-banner-features {
    justify-content: center;
  }

  .renewal-banner-actions {
    min-width: 100%;
  }
}/*$vite$:1*/