/* ==========================================================================
   SISTEMA DE DESIGN & VARIAVEIS (MONOCROMÁTICO PREMIUM)
   ========================================================================== */

:root {
  --bg-dark: #070707;
  --bg-card: #121212;
  --bg-card-hover: #181818;
  --border-color: #222222;
  --border-hover: #3a3a3a;
  --text-primary: #ffffff;
  --text-secondary: #a3a3a3;
  --text-muted: #525252;
  --accent-white: #ffffff;
  --accent-grey: #2e2e2e;

  --success-color: #ffffff;
  --success-accent: #1e1e1e;
  --error-color: #ef4444;
  --error-bg: rgba(239, 68, 68, 0.08);

  --font-heading: "Outfit", sans-serif;
  --font-body: "Inter", sans-serif;

  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: all 0.15s ease;

  --glass-blur: blur(12px);
  --glass-bg: rgba(18, 18, 18, 0.75);

  --glow-shadow: 0 0 20px rgba(255, 255, 255, 0.03);
  --active-glow-shadow: 0 0 30px rgba(255, 255, 255, 0.08);

  --border-radius-lg: 16px;
  --border-radius-md: 10px;
  --border-radius-sm: 6px;
}

/* TEMA CLARO */
body.light-mode {
  --bg-dark: #f0f0f0;
  --bg-card: #ffffff;
  --bg-card-hover: #f7f7f7;
  --border-color: #e0e0e0;
  --border-hover: #c0c0c0;
  --text-primary: #111111;
  --text-secondary: #555555;
  --text-muted: #999999;
  --accent-white: #111111;
  --accent-grey: #e8e8e8;
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glow-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
  --active-glow-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}

body.light-mode .main-header {
  background-color: rgba(240, 240, 240, 0.92);
  border-bottom-color: var(--border-color);
}

body.light-mode .btn-primary {
  background-color: #111111;
  color: #ffffff;
}

body.light-mode .btn-primary:hover {
  background-color: #333333;
}

body.light-mode .badge-live {
  background-color: #111111;
  color: #ffffff;
}

body.light-mode input,
body.light-mode select {
  background-color: #ffffff !important;
  color: #111111 !important;
  border-color: #d0d0d0 !important;
}

/* Input wrapper — fundo e foco no light mode */
body.light-mode .input-wrapper input {
  background-color: #ffffff !important;
  color: #111111 !important;
  border-color: #d0d0d0 !important;
}

body.light-mode .input-wrapper input:focus {
  background-color: #ffffff !important;
  border-color: #111111 !important;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08) !important;
  color: #111111 !important;
}

body.light-mode .input-wrapper input::placeholder {
  color: #aaaaaa !important;
}

/* Ícone do input no focus */
body.light-mode .input-wrapper input:focus + .input-icon {
  color: #111111 !important;
}

/* Search bar */
body.light-mode .search-bar input {
  background-color: #ffffff !important;
  color: #111111 !important;
  border-color: #d0d0d0 !important;
}

body.light-mode .search-bar input:focus {
  background-color: #ffffff !important;
  border-color: #111111 !important;
  color: #111111 !important;
}

body.light-mode .search-bar input::placeholder {
  color: #aaaaaa !important;
}

/* Input do modal admin */
body.light-mode .dev-pass-input-group input {
  background-color: #ffffff !important;
  color: #111111 !important;
  border-color: #d0d0d0 !important;
}

body.light-mode .dev-pass-input-group input:focus {
  background-color: #ffffff !important;
  border-color: #111111 !important;
  color: #111111 !important;
}

/* Input de senha do modal */
body.light-mode #input-admin-password {
  background-color: #ffffff !important;
  color: #111111 !important;
  border-color: #d0d0d0 !important;
}

body.light-mode #input-admin-password:focus {
  background-color: #ffffff !important;
  border-color: #111111 !important;
  color: #111111 !important;
}

body.light-mode #input-admin-password::placeholder {
  color: #aaaaaa !important;
}

/* Runner cards da lista pública */
body.light-mode .runner-card-pub {
  background-color: #ffffff !important;
  border-color: #e0e0e0 !important;
  color: #111111 !important;
}

body.light-mode .runner-card-pub:hover {
  border-color: #aaaaaa !important;
  background-color: #f5f5f5 !important;
}

body.light-mode .runner-name {
  color: #111111 !important;
}

/* Modal footer */
body.light-mode .modal-footer {
  background-color: #f5f5f5 !important;
  border-top-color: #e0e0e0 !important;
}

/* Botão cancelar no modal — texto legível */
body.light-mode .btn-auth-cancel,
body.light-mode #btn-auth-cancel {
  background-color: #e8e8e8 !important;
  color: #111111 !important;
  border-color: #cccccc !important;
}

body.light-mode .btn-auth-cancel:hover,
body.light-mode #btn-auth-cancel:hover {
  background-color: #dddddd !important;
}

/* Btn secondary outline no light */
body.light-mode .btn-secondary-outline {
  background-color: #ffffff !important;
  border-color: #cccccc !important;
  color: #111111 !important;
}

body.light-mode .btn-secondary-outline:hover {
  background-color: #f0f0f0 !important;
  border-color: #111111 !important;
  color: #111111 !important;
}

/* Toast no light mode */
body.light-mode .toast {
  background-color: #111111 !important;
  color: #ffffff !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
}

/* ==========================================================================
   LIGHT MODE — PAINEL ADMIN & DEV
   ========================================================================== */

/* Cards de estatística */
body.light-mode .admin-stat-card {
  background-color: #ffffff !important;
  border-color: #e0e0e0 !important;
}

body.light-mode .stat-number {
  color: #111111 !important;
}

body.light-mode .stat-desc {
  color: #666666 !important;
}

/* Tabela admin */
body.light-mode .admin-table-wrapper {
  background-color: #ffffff !important;
  border-color: #e0e0e0 !important;
}

body.light-mode .admin-table th {
  background-color: #f5f5f5 !important;
  color: #555555 !important;
  border-bottom-color: #e0e0e0 !important;
}

body.light-mode .admin-table td {
  color: #111111 !important;
  border-bottom-color: #f0f0f0 !important;
}

body.light-mode .admin-table tbody tr:hover {
  background-color: #f9f9f9 !important;
}

/* Barras de distribuição etária */
body.light-mode .dist-bar-bg {
  background-color: #e8e8e8 !important;
}

/* Dev settings box */
body.light-mode .dev-settings-box {
  background-color: #f5f5f5 !important;
  border-color: #cccccc !important;
}

body.light-mode .dev-box-header {
  border-bottom-color: #e0e0e0 !important;
}

body.light-mode .dev-box-header h4 {
  color: #111111 !important;
}

body.light-mode .dev-checkbox-label {
  color: #333333 !important;
}

body.light-mode .dev-checkbox-label input[type="checkbox"] {
  accent-color: #111111 !important;
}

body.light-mode .badge-dev {
  background-color: #111111 !important;
  color: #ffffff !important;
}

/* Raffle card */
body.light-mode .raffle-card {
  background-color: #ffffff !important;
  border-color: #cccccc !important;
}

/* Fechar admin (X) */
body.light-mode .btn-close-admin-x:hover {
  background-color: rgba(0, 0, 0, 0.06) !important;
  color: #111111 !important;
}

body.light-mode .runner-badge-age {
  background-color: #e8e8e8;
  color: #111111;
}

body.light-mode .foto-upload-label {
  background-color: #f7f7f7;
  border-color: #d0d0d0;
  color: #555555;
}

body.light-mode .foto-upload-label:hover {
  background-color: #eeeeee;
  color: #111111;
}

/* Label do botão compartilhar some em telas pequenas */
@media (max-width: 600px) {
  .btn-share-label {
    display: none;
  }
}

/* Botões do header lado a lado com gap de 10px */
.header-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
  flex-shrink: 0;
}

/* CORREÇÕES DO MODO CLARO */
body.light-mode .slogan-main {
  color: #ffffff;
}

body.light-mode .slogan-sub {
  color: #666666;
}

body.light-mode .countdown-value {
  color: #111111;
}

body.light-mode .countdown-divider {
  color: #999999;
}

body.light-mode .countdown-label {
  color: #888888;
}

/* Logo: mostra versão preta no light, branca no dark */
.logo-dark-mode {
  display: block;
}
.logo-light-mode {
  display: none;
}
body.light-mode .logo-dark-mode {
  display: none;
}
body.light-mode .logo-light-mode {
  display: block;
}

/* ==========================================================================
   RESET & CONFIGURAÇÕES BÁSICAS
   ========================================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Efeito sutil de grão de fundo esportivo */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.15) 1px,
    transparent 1px
  );
  background-size: 40px 40px;
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}

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

/* ==========================================================================
   CABEÇALHO (GLASSMORPHISM STICKY)
   ========================================================================== */

.main-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border-color);
  padding: 10px 0;
  transition: var(--transition-smooth);
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-area {
  display: flex;
  align-items: center;
  width: 250px;
  height: 60px;
}

.main-logo {
  width: 150%;
  height: 150%;
  object-fit: contain;
}

.event-brief-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.badge-live {
  background-color: var(--text-primary);
  color: #000000;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 1px;
  animation: pulse 1.8s infinite ease-in-out;
}
.event-tagline {
  font-family: var(--font-heading);
  font-size: 14px;
  color: var(--text-secondary);
}

.event-meta-info {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
}

/* ==========================================================================
   CONTAINERS & GRID PRINCIPAL
   ========================================================================== */

.container-main {
  max-width: 1280px;
  margin: 40px auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.main-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

@media (max-width: 992px) {
  .main-grid {
    grid-template-columns: 1fr;
  }
  .header-container {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  .logo-area {
    margin: 0 auto;
  }
}

/* ==========================================================================
   GLASS CARDS (EFEITOS VISUAIS)
   ========================================================================== */

.glass-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
  box-shadow: var(--glow-shadow);
}

.glass-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--active-glow-shadow);
}

/* Efeito de brilho nas bordas ativas */
.card-glow::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #ffffff, transparent);
  opacity: 0.4;
  transition: var(--transition-smooth);
}

.card-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.card-title-sm {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.2px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.title-icon {
  width: 24px;
  height: 24px;
  color: var(--text-primary);
}

.card-subtitle {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 28px;
}

.grid-column-left,
.grid-column-right {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* ==========================================================================
   INPUTS & ESTADOS DE FORMULÁRIO
   ========================================================================== */

.input-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.input-group label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-secondary);
}

.input-wrapper {
  position: relative;
  width: 100%;
}

.input-wrapper input {
  width: 100%;
  background-color: #0c0c0c;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 14px 16px 14px 44px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 15px;
  transition: var(--transition-fast);
}

.input-wrapper input:focus {
  outline: none;
  border-color: var(--accent-white);
  background-color: #121212;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
}

.input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.input-wrapper input:focus + .input-icon {
  color: var(--text-primary);
}

/* Validações */
.error-message {
  color: var(--error-color);
  font-size: 12px;
  display: none;
  margin-top: 4px;
  animation: slideDown 0.2s ease-out;
}

.input-group.invalid input {
  border-color: var(--error-color);
  background-color: var(--error-bg);
}

.input-group.invalid .error-message {
  display: block;
}

.input-group.invalid .input-icon {
  color: var(--error-color);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 16px 28px;
  border-radius: var(--border-radius-md);
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background-color: var(--text-primary);
  color: #000000;
}

.btn-primary:hover {
  background-color: #e5e5e5;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.1);
}

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

.btn-secondary-outline {
  background-color: transparent;
  border-color: var(--border-color);
  color: var(--text-primary);
}

.btn-secondary-outline:hover {
  border-color: var(--text-primary);
  background-color: rgba(255, 255, 255, 0.05);
}

.btn-danger-outline {
  background-color: transparent;
  border-color: rgba(239, 68, 68, 0.3);
  color: var(--error-color);
}

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

/* Icones nos botões */
.icon-svg {
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   CONTAGEM REGRESSIVA
   ========================================================================== */

.countdown-card {
  background: linear-gradient(135deg, #121212, #070707);
}

body.light-mode .countdown-card {
  background: linear-gradient(135deg, #ffffff, #f0f0f0);
  border-color: var(--border-color);
}

.countdown-description {
  color: var(--text-secondary);
  font-size: 13px;
  margin-bottom: 20px;
}

.countdown-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #0c0c0c;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 16px 24px;
}

body.light-mode .countdown-grid {
  background-color: #f0f0f0;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.countdown-value {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 36px;
  color: var(--text-primary);
  line-height: 1;
}

.countdown-divider {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 28px;
  color: var(--text-muted);
  margin-bottom: 15px;
  animation: blink 1s infinite;
}

.countdown-label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.8px;
  margin-top: 4px;
}

/* ==========================================================================
   LISTA PÚBLICA DE PRESENÇA
   ========================================================================== */

.list-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  gap: 15px;
}

.presence-indicator-bubble {
  background-color: var(--accent-grey);
  border: 1px solid var(--border-color);
  padding: 10px 16px;
  border-radius: var(--border-radius-md);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 105px;
}

.presence-indicator-bubble .count-value {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 26px;
  color: var(--text-primary);
  line-height: 1;
}

.presence-indicator-bubble .count-label {
  font-size: 9px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  margin-top: 2px;
}

.search-bar {
  position: relative;
  margin-bottom: 24px;
}

.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  width: 18px;
  height: 18px;
}

.search-bar input {
  width: 100%;
  background-color: #0c0c0c;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 14px 16px 14px 48px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 14px;
  transition: var(--transition-fast);
}

.search-bar input:focus {
  outline: none;
  border-color: var(--border-hover);
  background-color: #121212;
}

/* Grid de Corredores Públicos */
.public-list-wrapper {
  max-height: 380px;
  overflow-y: auto;
  padding-right: 5px;
}

/* Custom Scrollbar */
.public-list-wrapper::-webkit-scrollbar,
.admin-table-wrapper::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.public-list-wrapper::-webkit-scrollbar-track,
.admin-table-wrapper::-webkit-scrollbar-track {
  background: transparent;
}

.public-list-wrapper::-webkit-scrollbar-thumb,
.admin-table-wrapper::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 3px;
}

.public-list-wrapper::-webkit-scrollbar-thumb:hover,
.admin-table-wrapper::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

.public-list-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.runner-card-pub {
  background-color: #0c0c0c;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition-fast);
  animation: fadeInSlideUp 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.runner-card-pub:hover {
  border-color: var(--border-hover);
  transform: translateX(3px);
}

.runner-info-left {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.runner-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  color: var(--text-primary);
}

.runner-badge-age {
  background-color: var(--accent-grey);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: var(--border-radius-sm);
  letter-spacing: 0.2px;
}

.empty-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
  color: var(--text-muted);
}

.empty-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  color: var(--border-color);
}

/* ==========================================================================
   PAINEL DO ORGANIZADOR & RELATÓRIOS
   ========================================================================== */

.admin-panel-section {
  margin-top: 40px;
  border-color: var(--border-hover);
  animation: slideDown 0.4s ease-out;
}

.admin-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 20px;
  margin-bottom: 24px;
}

.btn-close-admin-x {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition-fast);
}

.btn-close-admin-x:hover {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
}

/* Grid de Estatísticas Admin */
.admin-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  gap: 20px;
  margin-bottom: 32px;
}

@media (max-width: 768px) {
  .admin-stats-grid {
    grid-template-columns: 1fr;
  }
  .full-width-mobile {
    grid-column: 1 / -1;
  }
}

.admin-stat-card {
  background-color: #0c0c0c;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stat-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.stat-number {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 40px;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-desc {
  font-size: 11px;
  color: var(--text-secondary);
}

/* Gráfico / Barras de Distribuição */
.age-distribution-bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.dist-row {
  display: flex;
  align-items: center;
  font-size: 11px;
  gap: 10px;
}

.dist-label {
  width: 120px;
  color: var(--text-secondary);
  font-weight: 500;
}

.bar-wrapper {
  flex: 1;
  height: 8px;
  background-color: #1e1e1e;
  border-radius: 4px;
  overflow: hidden;
}

.bar {
  height: 100%;
  background-color: var(--text-primary);
  border-radius: 4px;
  transition: width 0.6s ease-out;
}

.dist-count {
  width: 25px;
  text-align: right;
  font-weight: 700;
  color: var(--text-primary);
}

/* Ações e Tabela Admin */
.admin-actions-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 15px;
}

.admin-table-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
}

.admin-buttons-group {
  display: flex;
  gap: 12px;
}

.admin-table-wrapper {
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  background-color: #0c0c0c;
  overflow-x: auto;
  max-height: 400px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
}

.admin-table th {
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-color);
  padding: 14px 18px;
  background-color: #0e0e0e;
}

.admin-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-primary);
}

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

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

.btn-delete-row {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
  padding: 5px;
  border-radius: var(--border-radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-delete-row:hover {
  color: var(--error-color);
  background-color: rgba(239, 68, 68, 0.1);
}

/* ==========================================================================
   MODAL DE AUTENTICAÇÃO (ORGANIZADOR)
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.25s ease-out;
}

.modal-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  width: 100%;
  max-width: 450px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  animation: slideUpModal 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
}

.btn-close-modal-x {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition-fast);
}

.btn-close-modal-x:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.modal-body {
  padding: 24px;
}

.modal-body p {
  color: var(--text-secondary);
  font-size: 13.5px;
  margin-bottom: 20px;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 16px 24px;
  border-top: 1px solid var(--border-color);
  background-color: #0c0c0c;
}

.modal-footer .btn {
  padding: 12px 20px;
  font-size: 12.5px;
}

.hidden {
  display: none !important;
}

/* ==========================================================================
   RODAPÉ & PATROCINADORES
   ========================================================================== */

.main-footer {
  margin-top: 80px;
  border-top: 1px solid var(--border-color);
  padding: 48px 0 60px 0;
  background-color: #060606;
}

.footer-slogan {
  max-width: 1280px;
  margin: 0 auto 40px auto;
  padding: 0 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.slogan-main {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 20px;
  letter-spacing: 2px;
}

.slogan-sub {
  font-size: 12px;
  color: var(--text-muted);
}

.sponsors-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.sponsors-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 28px;
  text-transform: uppercase;
}

.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 768px) {
  .sponsors-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.sponsor-card {
  background-color: #0c0c0c;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 76px;
  transition: var(--transition-smooth);
}

.sponsor-card:hover {
  border-color: var(--border-hover);
  background-color: #121212;
}

.sponsor-logo-svg {
  width: 100%;
  height: 100%;
  opacity: 0.6;
  transition: var(--transition-smooth);
}

.sponsor-card:hover .sponsor-logo-svg {
  opacity: 1;
}

/* ==========================================================================
   PERMISSÕES DO DESENVOLVEDOR (DEV PANEL BOX) & OUTROS AJUSTES
   ========================================================================== */

.sponsors-thanks {
  max-width: 800px;
  margin: 0 auto 32px auto;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-secondary);
  text-align: center;
  font-weight: 400;
}

.dev-settings-box {
  background-color: #0b0b0b;
  border: 1px dashed #3a3a3a;
  border-radius: var(--border-radius-md);
  padding: 24px;
  margin-bottom: 30px;
  animation: fadeInSlideUp 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.dev-box-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.dev-box-header h4 {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: var(--text-primary);
}

.badge-dev {
  background-color: #ffffff;
  color: #000000;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 9px;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 1px;
}

.dev-box-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.dev-control-row {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.dev-checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
  user-select: none;
}

.dev-checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #ffffff;
  cursor: pointer;
}

.dev-password-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
}

.dev-pass-input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-width: 250px;
}

.dev-pass-input-group label {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.dev-pass-input-group input {
  background-color: #050505;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  padding: 10px 14px;
  color: var(--text-primary);
  font-size: 13.5px;
  width: 100%;
  max-width: 320px;
  transition: var(--transition-fast);
}

.dev-pass-input-group input:focus {
  outline: none;
  border-color: var(--border-hover);
  background-color: #090909;
}

#btn-save-dev-settings {
  padding: 12px 22px;
  font-size: 11px;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   TOAST DE NOTIFICAÇÃO
   ========================================================================== */

.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: var(--text-primary);
  color: #000000;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13.5px;
  padding: 16px 28px;
  border-radius: var(--border-radius-md);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.15);
  z-index: 1100;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: toastSlideIn 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ==========================================================================
   ELEMENTOS DE IMPRESSÃO (OCULTOS EM NAVEGAÇÃO NORMAL)
   ========================================================================== */

.print-only-container {
  display: none;
}

/* ==========================================================================
   ANIMAÇÕES E KEYFRAMES
   ========================================================================== */

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(0.98);
  }
}

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

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

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

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

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

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

/* ==========================================================================
   CONFIGURAÇÕES EXTRA E RESPONSIVIDADE PEQUENA
   ========================================================================== */

@media (max-width: 480px) {
  .container-main {
    padding: 0 16px;
    margin: 20px auto;
  }
  .glass-card {
    padding: 20px;
  }
  .btn {
    padding: 14px 20px;
    font-size: 13px;
  }
  .countdown-grid {
    padding: 12px 14px;
  }
  .countdown-value {
    font-size: 28px;
  }
  .countdown-divider {
    font-size: 20px;
  }
  .admin-buttons-group {
    width: 100%;
    flex-direction: column;
  }
  .admin-buttons-group .btn {
    width: 100%;
  }
}

/* ==========================================================================
   FOTO DE PERFIL — UPLOAD, PREVIEW E AVATAR NOS CARDS
   ========================================================================== */

.foto-upload-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background-color: #0c0c0c;
  border: 1px dashed var(--border-color);
  border-radius: var(--border-radius-md);
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: var(--transition-fast);
  width: 100%;
  justify-content: center;
}

.foto-upload-label:hover {
  border-color: var(--border-hover);
  color: var(--text-primary);
  background-color: #121212;
}

.foto-preview {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
  padding: 10px 14px;
  background-color: rgba(74, 222, 128, 0.05);
  border: 1px solid rgba(74, 222, 128, 0.2);
  border-radius: var(--border-radius-md);
  animation: fadeInSlideUp 0.25s ease-out;
}

.foto-preview img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(74, 222, 128, 0.4);
}

.foto-preview-label {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  color: #4ade80;
}

/* Avatar nos cards da lista pública */
.runner-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-color);
  flex-shrink: 0;
}

.runner-avatar-placeholder {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--accent-grey);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text-muted);
}

.runner-avatar-placeholder svg {
  width: 18px;
  height: 18px;
}

/* Ajuste do runner-info-left para alinhar avatar + nome */
.runner-info-left {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

/* Número de ordem na lista pública */
.runner-number {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 13px;
  color: var(--text-muted);
  min-width: 22px;
  text-align: right;
  line-height: 1;
  flex-shrink: 0;
}

/* Grupo nome + cidade */
.runner-name-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* Cidade embaixo do nome */
.runner-cidade {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 400;
  font-family: var(--font-body);
  letter-spacing: 0.1px;
}



@media print {
  /* Ocultar elementos desnecessários da aplicação */
  .no-print,
  .main-header,
  .container-main,
  .main-footer,
  #admin-auth-modal,
  #toast-notification {
    display: none !important;
  }

  body {
    background-color: #ffffff !important;
    color: #000000 !important;
    font-family: "Inter", sans-serif !important;
    line-height: 1.5 !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  body::before {
    display: none !important;
  }

  /* Mostrar e formatar container de impressão */
  .print-only-container {
    display: block !important;
    padding: 30px !important;
    max-width: 100% !important;
  }

  .print-header {
    text-align: center !important;
    border-bottom: 2px solid #000000 !important;
    padding-bottom: 16px !important;
    margin-bottom: 30px !important;
  }

  .print-title {
    font-family: "Outfit", sans-serif !important;
    font-size: 32px !important;
    font-weight: 900 !important;
    letter-spacing: 2px !important;
    margin-bottom: 4px !important;
  }

  .print-subtitle {
    font-size: 14px !important;
    color: #555555 !important;
    margin-bottom: 15px !important;
  }

  .print-meta-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px 20px !important;
    text-align: left !important;
    font-size: 12px !important;
    max-width: 600px !important;
    margin: 0 auto !important;
  }

  .print-table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin-bottom: 40px !important;
    font-size: 11px !important;
  }

  .print-table th {
    background-color: #eeeeee !important;
    color: #000000 !important;
    border: 1px solid #cccccc !important;
    padding: 10px !important;
    font-weight: 700 !important;
    text-align: left !important;
    text-transform: uppercase !important;
    font-size: 10px !important;
  }

  .print-table td {
    border: 1px solid #cccccc !important;
    padding: 10px !important;
    color: #000000 !important;
    vertical-align: middle !important;
  }

  .print-table tbody tr:nth-child(even) {
    background-color: #fafafa !important;
  }

  /* Coluna de Assinatura */
  .print-table td:last-child {
    width: 200px !important;
    border-bottom: 1px solid #000000 !important;
  }

  .print-footer {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    font-size: 10px !important;
    color: #777777 !important;
    border-top: 1px solid #dddddd !important;
    padding-top: 16px !important;
    position: fixed !important;
    bottom: 20px !important;
    left: 30px !important;
    right: 30px !important;
  }

  .print-slogan {
    font-family: "Outfit", sans-serif !important;
    font-weight: 700 !important;
    font-size: 11px !important;
    letter-spacing: 0.5px !important;
  }
}

.card-bramil,
.card-msjpremium,
.card-repassa,
.card-mixpremium,
.card-unimed,
.card-mdmodas,
.card-v6,
.card-brasileirissimo {
  background-color: #0c0c0c;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 90px;
  transition: var(--transition-smooth);
}

.card-bramil:hover,
.card-msjpremium:hover,
.card-repassa:hover,
.card-mixpremium:hover,
.card-unimed:hover,
.card-mdmodas:hover,
.card-v6:hover,
.card-brasileirissimo:hover {
  border-color: var(--border-hover);
  background-color: #121212;
}

.card-bramil img,
.card-repassa img,
.card-mixpremium img,
.card-unimed img,
.card-mdmodas img,
.card-v6 img,
.card-brasileirissimo img,
.card-msjpremium img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.65;
  transition: var(--transition-smooth);
}

.card-bramil:hover img,
.card-repassa:hover img,
.card-mixpremium:hover img,
.card-unimed:hover img,
.card-mdmodas:hover img,
.card-v6:hover img,
.card-brasileirissimo:hover img,
.card-msjpremium:hover img {
  opacity: 1;
}

.footer-credits {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 24px 0;
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.footer-credits p {
  font-size: 12px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-weight: 600;
  margin: 0;
}

.footer-credits a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.4px;
  background-color: var(--bg-card);
  transition: var(--transition-smooth);
}

.footer-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  border: 1px solid #1a3d2b;
  border-radius: var(--border-radius-md);
  color: #4ade80;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.4px;
  background-color: #0a1f12;
  transition: var(--transition-smooth);
}

.footer-whatsapp:hover {
  border-color: #25d366;
  background-color: #0f2b1a;
  transform: translateY(-2px);
}

.footer-credits a:hover {
  border-color: var(--border-hover);
  background-color: var(--bg-card-hover);
  transform: translateY(-2px);
}

.footer-credits .credits-copy {
  font-size: 11px;
  color: #3a3a3a;
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  margin-top: 4px;
}

/* ==========================================================================
   ÁREA DE AVISOS
   ========================================================================== */

.notice-section {
  max-width: 1280px;
  margin: 0 auto 32px;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.notice-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.notice-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.notice-label {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-secondary);
  background-color: var(--accent-grey);
  border: 1px solid var(--border-color);
  padding: 3px 10px;
  border-radius: var(--border-radius-sm);
}

.notice-text {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-primary);
  max-width: 820px;
}

.notice-image-wrapper {
  width: 100%;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  background-color: var(--accent-grey);
  transition: var(--transition-smooth);
}

.notice-image-wrapper:empty,
.notice-image-wrapper[style*="display:none"],
.notice-image-wrapper[style*="display: none"] {
  display: none;
}

.notice-image {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  display: block;
  transition: var(--transition-smooth);
}

.notice-card:hover .notice-image {
  transform: scale(1.01);
}

/* Tema claro */
body.light-mode .notice-label {
  background-color: #ebebeb;
  border-color: #d0d0d0;
  color: #555555;
}

body.light-mode .notice-image-wrapper {
  border-color: #e0e0e0;
  background-color: #f0f0f0;
}

/* Aviso integrado na coluna direita */
.grid-column-right {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Seção de controle do aviso no painel Dev */
.dev-notice-section {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dev-notice-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.dev-notice-section textarea:focus,
.dev-notice-section input[type="text"]:focus {
  outline: none;
  border-color: var(--accent-white) !important;
  box-shadow: 0 0 10px rgba(255,255,255,0.05);
}

body.light-mode .dev-notice-section textarea,
body.light-mode .dev-notice-section input[type="text"] {
  background-color: #ffffff !important;
  color: #111111 !important;
  border-color: #d0d0d0 !important;
}

.admin-tel-link {
  color: #4ade80;
  text-decoration: none;
  font-family: monospace;
  letter-spacing: 0.3px;
  transition: var(--transition-fast);
}

.admin-tel-link:hover {
  color: #86efac;
  text-decoration: underline;
}

/* ==========================================================================
   ÁREA DE SORTEIO (ADMIN)
   ========================================================================== */

.admin-raffle-section {
  margin-bottom: 32px;
}

.raffle-card {
  background-color: #0c0c0c;
  border: 1px dashed var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  transition: var(--transition-smooth);
}

.raffle-card:hover {
  border-color: var(--border-hover);
}

.raffle-result {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: rgba(74, 222, 128, 0.05); /* Fundo sutilmente verde */
  padding: 20px;
  border-radius: var(--border-radius-md);
  width: 100%;
  max-width: 500px;
  border: 1px solid rgba(74, 222, 128, 0.2);
  animation: fadeInSlideUp 0.4s ease-out;
}

.raffle-label {
  font-size: 11px;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.raffle-winner {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 900;
  color: #4ade80; /* Destaque verde no nome */
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.raffle-details {
  font-size: 13px;
  font-family: monospace;
  color: var(--text-secondary);
}

/* ==========================================================================
   SISTEMA DE AUTENTICAÇÃO E SEGURANÇA (NOVO)
   ========================================================================== */

.auth-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 0;
  animation: fadeIn 0.3s ease-out;
}

.auth-icon-wrapper {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.auth-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.auth-desc {
  font-size: 13px;
  color: var(--text-secondary);
  max-width: 90%;
  line-height: 1.5;
}

.user-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background-color: rgba(74, 222, 128, 0.05);
  border: 1px solid rgba(74, 222, 128, 0.2);
  border-radius: var(--border-radius-md);
  margin-bottom: 24px;
  animation: fadeIn 0.3s ease-out;
}

#user-info-text {
  font-size: 12px;
  color: #4ade80;
  font-family: var(--font-heading);
  font-weight: 600;
}

.btn-logout {
  background: transparent;
  border: none;
  color: var(--error-color);
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  padding: 6px 10px;
  transition: var(--transition-fast);
}

.btn-logout:hover {
  background-color: rgba(239, 68, 68, 0.1);
  border-radius: var(--border-radius-sm);
}

.btn-ban-row {
  background: transparent;
  border: none;
  color: #f59e0b;
  cursor: pointer;
  transition: var(--transition-fast);
  padding: 5px;
  border-radius: var(--border-radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-ban-row:hover {
  color: #d97706;
  background-color: rgba(245, 158, 11, 0.1);
}
