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

:root {
  --bg-primary: #090b11;
  --bg-secondary: #111422;
  --card-bg: rgba(17, 20, 34, 0.65);
  --card-border: rgba(255, 255, 255, 0.06);
  --text-primary: #f3f4f6;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  
  --primary-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
  --btn-hover-gradient: linear-gradient(135deg, #4f46e5 0%, #9333ea 100%);
  
  --accent-color: #a855f7;
  --success-color: #10b981;
  --error-color: #ef4444;
  --warning-color: #f59e0b;
  --info-color: #3b82f6;

  --font-title: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --shadow-premium: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.15);
}

html {
  font-size: 14px;
}

/* Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-primary);
  background-image: 
    radial-gradient(at 0% 0%, rgba(99, 102, 241, 0.12) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(168, 85, 247, 0.1) 0px, transparent 50%);
  background-attachment: fixed;
  color: var(--text-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.05rem;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Layout Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1rem;
}

.card {
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--card-border);
  border-radius: 0.875rem;
  padding: 1.25rem;
  box-shadow: var(--shadow-premium);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.card:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

/* Inputs & Form Elements */
.form-group {
  margin-bottom: 1rem;
  position: relative;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
  color: var(--text-secondary);
  font-family: var(--font-title);
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.5rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

select.form-input option {
  background-color: var(--bg-secondary);
  color: var(--text-primary);
}

.form-input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.15);
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1rem;
  border-radius: 0.5rem;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.85rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  gap: 0.5rem;
}

.btn-primary {
  background: var(--primary-gradient);
  color: white;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
  background: var(--btn-hover-gradient);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-danger {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: var(--error-color);
}

.btn-danger:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: var(--error-color);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  border-radius: 0.5rem;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

/* Custom Brand Buttons for API Integration */
.btn-bd {
  background: #d6001c !important;
  color: white !important;
  border: 1px solid #d6001c !important;
  box-shadow: 0 4px 15px rgba(214, 0, 28, 0.25);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.btn-bd:hover {
  background: #b00014 !important;
  border-color: #b00014 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(214, 0, 28, 0.35);
}
.btn-bd:active {
  transform: translateY(0);
}

.btn-sympla {
  background: #0084ff !important;
  color: white !important;
  border: 1px solid #0084ff !important;
  box-shadow: 0 4px 15px rgba(0, 132, 255, 0.25);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.btn-sympla:hover {
  background: #006ec7 !important;
  border-color: #006ec7 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 132, 255, 0.35);
}
.btn-sympla:active {
  transform: translateY(0);
}

/* Badges & Status */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font-title);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-success {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success-color);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.badge-danger {
  background: rgba(239, 68, 68, 0.1);
  color: var(--error-color);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.badge-warning {
  background: rgba(245, 158, 11, 0.1);
  color: var(--warning-color);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.badge-info {
  background: rgba(59, 130, 246, 0.1);
  color: var(--info-color);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

/* Login Page Specifc */
.login-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  position: relative;
}

.login-card {
  width: 100%;
  max-width: 420px;
  text-align: center;
}

.login-logo {
  font-family: var(--font-title);
  font-size: 2.25rem;
  font-weight: 800;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

.login-subtitle {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

/* Guest Portal (Index.html) */
.portal-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.portal-card {
  width: 100%;
  max-width: 580px;
  overflow: hidden;
  position: relative;
}

.portal-banner {
  width: 100%;
  height: 240px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 0.875rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.event-title {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.25;
}

.event-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 0.75rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.detail-item {
  display: flex;
  flex-direction: column;
}

.detail-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}

.detail-value {
  font-size: 0.95rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  min-height: 22px;
}

.invite-alert {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.18) 0%, rgba(168, 85, 247, 0.04) 100%);
  border: 1px solid rgba(168, 85, 247, 0.45);
  border-radius: 0.85rem;
  padding: 1.15rem;
  margin-bottom: 1.5rem;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.12);
  border-left: 4px solid var(--accent-color); /* Destaque na borda lateral */
}

.invite-alert i {
  color: var(--accent-color);
  font-size: 1.35rem;
  animation: ticket-pulse-glowing 2s infinite ease-in-out;
}

.invite-alert strong {
  color: #fff;
  background: rgba(168, 85, 247, 0.35);
  border: 1px solid rgba(168, 85, 247, 0.6);
  padding: 0.15rem 0.55rem;
  border-radius: 0.35rem;
  font-weight: 800;
  font-size: 1rem;
  margin: 0 0.2rem;
  display: inline-block;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.2);
}

@keyframes ticket-pulse-glowing {
  0% { transform: scale(1); filter: drop-shadow(0 0 2px rgba(168, 85, 247, 0.4)); }
  50% { transform: scale(1.15); filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.8)); }
  100% { transform: scale(1); filter: drop-shadow(0 0 2px rgba(168, 85, 247, 0.4)); }
}

/* Admin Dashboard Specific */
.admin-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo-group h2 {
  font-size: 1.3rem;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-group p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.admin-tabs {
  display: flex;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.25rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.04);
  margin-bottom: 1.25rem;
  overflow-x: auto;
}

.tab-btn {
  padding: 0.5rem 0.85rem;
  border-radius: 0.35rem;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--text-secondary);
  border: none;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.tab-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.02);
}

.tab-btn.active {
  background: var(--primary-gradient);
  color: white;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.tab-content {
  display: none;
  animation: fadeIn 0.4s ease;
}

.tab-content.active {
  display: block;
}

/* Event Cards Grid */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.event-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.event-card-banner {
  width: 100%;
  height: 110px;
  background-size: cover;
  background-position: center;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  position: relative;
}

.event-card-status {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
}

.event-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.event-card-title {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.event-card-meta {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 0.875rem;
  display: flex;
  flex-direction: column;
  gap: 0.2/rem;
}

.event-card-progress {
  margin-top: auto;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 0.5rem;
  padding: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.progress-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.progress-bar-container {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: var(--primary-gradient);
  border-radius: 3px;
  width: 0%;
  transition: width 0.5s ease;
}

.event-card-actions {
  margin-top: 0.875rem;
  display: flex;
  gap: 0.5rem;
}

/* Panel Split (Guests view & details) */
.admin-split {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.25rem;
}

@media (max-width: 768px) {
  .admin-split {
    grid-template-columns: 1fr;
  }
}

.sidebar-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  max-height: 500px;
  overflow-y: auto;
}

.sidebar-item {
  padding: 0.6rem 0.8rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}

.sidebar-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.sidebar-item.active {
  background: rgba(99, 102, 241, 0.08);
  border-color: var(--accent-color);
  color: white;
}

.sidebar-item-title {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.sidebar-item-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Table styles */
.table-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.search-input-group {
  position: relative;
  max-width: 320px;
  width: 100%;
}

.search-input-group i {
  position: absolute;
  left: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.search-input-group .form-input {
  padding-left: 2.25rem;
}

.table-container {
  overflow-x: auto;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.custom-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.85rem;
}

.custom-table th {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-secondary);
  font-family: var(--font-title);
  font-weight: 600;
  padding: 0.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.custom-table td {
  padding: 0.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
}

.custom-table tr:last-child td {
  border-bottom: none;
}

.custom-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.01);
}

/* Autocomplete suggestion styles */
.autocomplete-container {
  position: relative;
}

.autocomplete-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg-secondary);
  border: 1px solid var(--card-border);
  border-radius: 0.75rem;
  margin-top: 0.25rem;
  max-height: 200px;
  overflow-y: auto;
  z-index: 50;
  box-shadow: var(--shadow-premium);
}

.suggestion-item {
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: background 0.15s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.suggestion-item:last-child {
  border-bottom: none;
}

.suggestion-item:hover {
  background: rgba(255, 255, 255, 0.04);
}

.suggestion-name {
  font-weight: 600;
  font-size: 0.9rem;
}

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

/* CSS Grid layout for registration forms */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (max-width: 580px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

.form-actions-full {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  margin-top: 0.5rem;
}

/* Extra lots listing on admin panel */
.lots-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.lot-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 0.75rem;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.75rem;
}

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

.lot-code {
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--accent-color);
}

.lot-stats {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.lot-creator {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Toast Notification Styles */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #10b981;
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  font-family: var(--font-title);
  font-weight: 600;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 9999;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast.danger {
  background: #ef4444;
}

.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
}

.empty-state i {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.05);
}

/* Sub-abas do Evento */
.event-subtab-btn {
  width: 100%;
  text-align: left;
  justify-content: flex-start;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.85rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.8rem;
  border-radius: 0.35rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.event-subtab-btn i {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.event-subtab-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
}

.event-subtab-btn:hover i {
  color: var(--text-primary);
}

.event-subtab-btn.active {
  background: var(--primary-gradient) !important;
  color: white !important;
  border-color: transparent !important;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.event-subtab-btn.active i {
  color: white !important;
}

/* Switch toggle custom styling mimicking ON/OFF */
.switch-toggle {
  position: relative;
  display: inline-block;
  width: 76px;
  height: 30px;
  user-select: none;
  cursor: pointer;
}

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

.switch-slider {
  position: absolute;
  inset: 0;
  background-color: #ff4757; /* Red background for OFF */
  border-radius: 30px;
  transition: 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
  box-sizing: border-box;
}

/* Knob */
.switch-slider::before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: calc(100% - 26px); /* Right side for OFF */
  bottom: 4px;
  background-color: white;
  border-radius: 50%;
  transition: 0.3s ease;
  z-index: 2;
}

/* Text */
.switch-slider::after {
  content: "OFF";
  color: white;
  font-size: 0.7rem;
  font-weight: 800;
  font-family: var(--font-title);
  margin-left: 2px;
  transition: 0.3s ease;
  z-index: 1;
}

/* Checked state (ON) */
.switch-toggle input:checked + .switch-slider {
  background-color: #2ed573; /* Green background */
}

/* Checked knob position (LEFT) */
.switch-toggle input:checked + .switch-slider::before {
  left: 4px; /* Left side for ON */
}

/* Checked text content and alignment */
.switch-toggle input:checked + .switch-slider::after {
  content: "ON";
  margin-left: auto;
  margin-right: 4px;
}

/* Guests Table Footer Responsive Classes */
.guests-table-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.01);
  border-radius: 0.75rem;
  margin-top: 1.25rem;
  width: 100%;
  flex-wrap: wrap;
  gap: 1.25rem;
  box-sizing: border-box;
}

.guests-table-footer-left {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.guests-table-footer-center {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.02);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.guests-table-footer-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

@media (max-width: 992px) {
  .guests-table-footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.25rem;
    padding: 1.5rem 1rem;
  }
  .guests-table-footer-left,
  .guests-table-footer-right {
    justify-content: center;
    width: 100%;
  }
  .guests-table-footer-center {
    order: -1; /* Posiciona os contadores no topo no mobile */
    width: 100%;
    box-sizing: border-box;
    justify-content: center;
  }
}

/* Footer Copyright */
.app-footer {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 1.5rem;
  letter-spacing: 0.03em;
}
.app-footer i {
  color: var(--accent-color);
  font-size: 0.8rem;
}

/* Quebra de linha condicional para mobile */
.mobile-br {
  display: none;
}
@media (max-width: 576px) {
  .mobile-br {
    display: block;
    margin-bottom: 0.35rem;
  }
}
