/* ========================================
   COMPLETA TIME — Design System Global
   ======================================== */

:root {
  --color-primary: #3E7BFA;
  --color-primary-dark: #3568D4;
  --color-secondary: #2D6A4F;
  --color-accent: #52B788;
  --color-accent-light: #D8F3DC;
  --color-bg: #F5F6FA;
  --color-card: #FFFFFF;
  --color-text: #1B2D27;
  --color-muted: #6B7280;
  --color-border: #E5E7EB;
  --color-danger: #E74C3C;
  --color-warning: #F59E0B;
  --color-success: #10B981;
  --radius-card: 16px;
  --radius-btn: 12px;
  --radius-chip: 24px;
  --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.08);
  --shadow-bottom-nav: 0 -4px 20px rgba(0, 0, 0, 0.08);
  --bottom-nav-height: 70px;
  --font: 'Urbanist', 'Segoe UI', system-ui, -apple-system, sans-serif;

  /* ---- Material redesign tokens (rodada BidiBet) ---- */
  --md-primary: #3E7BFA;
  --md-primary-dark: #3568D4;
  --md-primary-light: #6496FF;
  --md-navy-900: #0F172A;
  --md-navy-800: #17233F;
  --md-surface: #F5F6FA;
  --md-card: #FFFFFF;
  --md-accent-orange: #F2622E;
  --md-accent-teal: #14B8A6;
  --md-success: #22C55E;
  --md-danger: #EF4444;
  --md-warning: #F59E0B;
  --md-text: #0F172A;
  --md-text-inverse: #FFFFFF;
  --md-muted: #7C8DB5;
  --md-muted-on-dark: rgba(255,255,255,0.68);
  --md-radius-lg: 24px;
  --md-radius-md: 16px;
  --md-radius-sm: 10px;
  --md-radius-pill: 999px;
  --md-elevation-1: 0 2px 8px rgba(15,23,42,0.06);
  --md-elevation-2: 0 8px 24px rgba(15,23,42,0.14);
  --md-elevation-3: 0 16px 40px rgba(15,23,42,0.22);
}

@font-face {
  font-family: 'Urbanist';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('/assets/fonts/urbanist-variable.woff2') format('woff2-variations'), url('/assets/fonts/urbanist-variable.woff2') format('woff2');
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--color-bg);
  color: var(--color-text);
  min-height: 100vh;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: var(--font); }

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: 4px; }

/* ==============================
   LAYOUT
   ============================== */

.page {
  padding-bottom: calc(var(--bottom-nav-height) + 16px);
  min-height: 100vh;
}

.page-no-nav {
  min-height: 100vh;
}

.container {
  padding: 0 16px;
}

/* ==============================
   HEADER / TOP BAR
   ============================== */

.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: max(16px, env(safe-area-inset-top)) 16px 8px;
  background: var(--color-bg);
  position: sticky;
  top: 0;
  z-index: 10;
}

.top-bar-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
}

.top-bar-back {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-card);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card);
  cursor: pointer;
}

.top-bar-action {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-card);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  position: relative;
}

.notif-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--color-danger);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.card {
  background: var(--color-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.card-body {
  padding: 16px;
}

/* ==============================
   BUTTONS
   ============================== */

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  border-radius: var(--radius-btn);
  font-size: 15px;
  font-weight: 600;
  transition: all 0.15s ease;
  cursor: pointer;
  border: none;
  width: 100%;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
}
.btn-primary:active { background: var(--color-primary-dark); transform: scale(0.98); }

.btn-secondary {
  background: var(--color-accent-light);
  color: var(--color-secondary);
}
.btn-secondary:active { opacity: 0.8; }

.btn-success {
  background: var(--color-success);
  color: #fff;
}

.btn-danger {
  background: #FEE2E2;
  color: var(--color-danger);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
  border-radius: 8px;
  width: auto;
}

.btn-fixed {
  position: fixed;
  bottom: calc(var(--bottom-nav-height) + 16px);
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 400px;
  z-index: 20;
  box-shadow: 0 4px 20px rgba(62, 123, 250, 0.35);
}

.btn-fixed-nonnav {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 400px;
  z-index: 20;
  box-shadow: 0 4px 20px rgba(62, 123, 250, 0.35);
}

/* ==============================
   CHIPS / BADGES
   ============================== */

.chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  border-radius: var(--radius-chip);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
  border: 2px solid transparent;
  background: var(--color-card);
  color: var(--color-text);
  box-shadow: var(--shadow-card);
}

.chip.active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.chip-filter {
  background: var(--color-card);
  color: var(--color-muted);
  border: 1.5px solid var(--color-border);
  box-shadow: none;
}
.chip-filter.active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.badge-green { background: var(--color-accent-light); color: var(--color-secondary); }
.badge-blue { background: #DBEAFE; color: #1E40AF; }
.badge-orange { background: #FEF3C7; color: #92400E; }
.badge-red { background: #FEE2E2; color: #991B1B; }
.badge-gray { background: #F3F4F6; color: var(--color-muted); }

/* ==============================
   SEARCH BAR
   ============================== */

.search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--color-card);
  border-radius: var(--radius-chip);
  padding: 12px 16px;
  box-shadow: var(--shadow-card);
  flex: 1;
}

.search-bar input {
  border: none;
  outline: none;
  font-size: 14px;
  color: var(--color-text);
  background: transparent;
  flex: 1;
}
.search-bar input::placeholder { color: var(--color-muted); }

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

.search-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
}

.filter-btn {
  width: 44px;
  height: 44px;
  background: var(--color-card);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card);
  flex-shrink: 0;
  cursor: pointer;
}

/* ==============================
   CHIPS SCROLL ROW
   ============================== */

.chips-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 8px 16px;
  scrollbar-width: none;
}
.chips-row::-webkit-scrollbar { display: none; }

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

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px 10px;
}

.section-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-text);
}

.section-link {
  font-size: 13px;
  color: var(--color-primary);
  font-weight: 500;
}

/* ==============================
   BANNER CAROUSEL
   ============================== */

.banner-carousel {
  position: relative;
  margin: 0 16px 16px;
  border-radius: var(--radius-card);
  overflow: hidden;
}

.banner-carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-radius: var(--radius-card);
}
.banner-carousel-track::-webkit-scrollbar { display: none; }

.banner-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  display: block;
}

.banner-slide img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}

.banner-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card);
  color: var(--color-text);
  border: none;
  cursor: pointer;
}
.banner-carousel-arrow.prev { left: 8px; }
.banner-carousel-arrow.next { right: 8px; }

.banner-carousel-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
}

.banner-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
}
.banner-dot.active { background: #fff; width: 16px; border-radius: 4px; }

/* ==============================
   CARDS DE PARTIDA (horizontal scroll)
   ============================== */

.partidas-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 4px 16px 16px;
  scrollbar-width: none;
}
.partidas-scroll::-webkit-scrollbar { display: none; }

.partida-card {
  min-width: 260px;
  border-radius: var(--md-radius-md);
  overflow: hidden;
  position: relative;
  box-shadow: var(--md-elevation-1);
  flex-shrink: 0;
  cursor: pointer;
  transition: box-shadow 0.15s ease;
}
.partida-card:hover { box-shadow: var(--md-elevation-2); }

.partida-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.partida-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.1) 50%, transparent 100%);
}

.partida-card-top {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}

.partida-card-top > div:first-child {
  min-width: 0;
  flex: 1;
}

.partida-card-title {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.partida-card-title-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255,255,255,0.22);
  backdrop-filter: blur(2px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.partida-card-title-icon svg { width: 12px; height: 12px; color: #fff; }

.partida-card-menu {
  width: 28px;
  height: 28px;
  background: rgba(255,255,255,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.partida-card-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px;
}

.partida-card-location {
  color: rgba(255,255,255,0.85);
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
  overflow: hidden;
}
.partida-card-location span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.partida-card-footer {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.partida-card-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.partida-card-vagas {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.partida-card-vagas-text {
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.participantes-stack {
  display: flex;
}
.participantes-stack .avatar-xs {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid #fff;
  object-fit: cover;
  margin-left: -8px;
}
.participantes-stack .avatar-xs:first-child { margin-left: 0; }

.partida-fee-badge {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 4px 10px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 4px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.partida-book-btn {
  background: rgba(255,255,255,0.95);
  color: var(--color-text);
  border: none;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

/* ==============================
   CARDS DE QUADRA (lista vertical)
   ============================== */

.quadra-list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--color-card);
  border-radius: var(--radius-card);
  padding: 12px;
  margin: 0 16px 12px;
  box-shadow: var(--shadow-card);
  cursor: pointer;
}

.quadra-list-item:active { opacity: 0.85; }

.quadra-list-img {
  width: 70px;
  height: 70px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}

.quadra-list-info { flex: 1; }

.quadra-list-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 2px;
}

.quadra-list-location {
  font-size: 12px;
  color: var(--color-secondary);
  display: flex;
  align-items: center;
  gap: 3px;
  margin-bottom: 4px;
}

.quadra-list-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--color-muted);
}

.star { color: var(--color-warning); }

.quadra-list-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary);
  white-space: nowrap;
}

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

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: var(--color-card);
  box-shadow: var(--shadow-bottom-nav);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 100;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  cursor: pointer;
  flex: 1;
  border-radius: 12px;
  transition: all 0.15s ease;
  text-decoration: none;
}

.nav-item span {
  font-size: 10px;
  font-weight: 500;
  color: var(--color-muted);
}

.nav-item.active span { color: var(--color-primary); }
.nav-item.active svg { color: var(--color-primary); }
.nav-item svg { color: var(--color-muted); }

.nav-item-create {
  width: 52px;
  height: 52px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(62, 123, 250, 0.4);
  margin-bottom: 8px;
  flex: 0 0 auto;
  cursor: pointer;
  text-decoration: none;
}

/* ==============================
   STEP INDICATOR
   ============================== */

.step-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 16px;
}

.step-dot {
  width: 32px;
  height: 4px;
  border-radius: 2px;
  background: var(--color-border);
  transition: background 0.2s;
  margin: 0 3px;
}

.step-dot.done { background: var(--color-primary); }
.step-dot.active { background: var(--color-primary); }

/* ==============================
   FORM ELEMENTS
   ============================== */

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-btn);
  font-size: 15px;
  color: var(--color-text);
  background: var(--color-card);
  outline: none;
  transition: border-color 0.15s;
}

.form-input:focus { border-color: var(--color-primary); }

.form-input[type="file"] {
  padding: 10px 14px;
  border-style: dashed;
  font-size: 13px;
  color: var(--color-muted);
}
.form-input[type="file"]::file-selector-button {
  padding: 8px 14px;
  margin-right: 12px;
  border: none;
  border-radius: var(--md-radius-pill, 999px);
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.15s ease;
}
.form-input[type="file"]::file-selector-button:hover { background: var(--color-primary-dark); }

.form-select {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-btn);
  font-size: 15px;
  color: var(--color-text);
  background: var(--color-card);
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236B7280' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

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

/* Sport selector chips */
.sport-chips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.sport-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 8px;
  border-radius: 14px;
  background: var(--color-card);
  border: 2px solid var(--color-border);
  cursor: pointer;
  transition: all 0.15s;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-muted);
}

.sport-chip .emoji { font-size: 28px; }
.sport-chip-icon { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; color: var(--color-muted); }
.sport-chip-icon svg { width: 28px; height: 28px; }
.sport-chip.active .sport-chip-icon { color: var(--color-primary); }

.sport-chip.active {
  background: #EFF6FF;
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* Nivel selector */
.nivel-chips {
  display: flex;
  gap: 8px;
}

.nivel-chip {
  flex: 1;
  padding: 12px 8px;
  border-radius: 12px;
  border: 2px solid var(--color-border);
  background: var(--color-card);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-muted);
  text-align: center;
  cursor: pointer;
  transition: all 0.15s;
}

.nivel-chip.active {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: #EFF6FF;
}

.nivel-chip-icon { display: block; width: 20px; height: 20px; margin: 0 auto 4px; }
.nivel-chip-icon svg { width: 20px; height: 20px; }

/* ---- Grouped settings list (perfil/editar) ---- */
.md-nav-list { background: var(--md-card); border-radius: var(--md-radius-md); box-shadow: var(--md-elevation-1); overflow: hidden; }
.md-nav-list-item { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--color-border); text-decoration: none; color: var(--md-text); font-size: 14px; font-weight: 600; }
.md-nav-list-item:last-child { border-bottom: none; }
.md-nav-list-item .chevron { margin-left: auto; color: var(--md-muted); flex-shrink: 0; }
.md-nav-list-icon { width: 34px; height: 34px; border-radius: 10px; background: var(--md-surface); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 16px; }

/* Toggle */
.toggle-row {
  display: flex;
  background: var(--color-bg);
  border-radius: 12px;
  padding: 4px;
  gap: 4px;
}

.toggle-option {
  flex: 1;
  padding: 10px;
  border-radius: 10px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-muted);
  cursor: pointer;
  transition: all 0.15s;
}

.toggle-option.active {
  background: var(--color-card);
  color: var(--color-text);
  box-shadow: var(--shadow-card);
}

/* Slider */
.slider-container {
  padding: 8px 0;
}

.vagas-display {
  text-align: center;
  font-size: 36px;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 4px;
}

.vagas-label {
  text-align: center;
  font-size: 14px;
  color: var(--color-muted);
  margin-bottom: 16px;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--color-primary);
  height: 4px;
}

/* ==============================
   QUADRA DROPDOWN
   ============================== */

.dropdown-list {
  background: var(--color-card);
  border-radius: var(--radius-btn);
  border: 1.5px solid var(--color-border);
  margin-top: 4px;
  overflow: hidden;
  display: none;
}

.dropdown-list.open { display: block; }

.dropdown-item {
  padding: 12px 16px;
  font-size: 14px;
  cursor: pointer;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: 10px;
}

.dropdown-item:last-child { border-bottom: none; }
.dropdown-item:active { background: var(--color-bg); }

.dropdown-item-info { flex: 1; }
.dropdown-item-name { font-weight: 600; font-size: 14px; }
.dropdown-item-price { font-size: 12px; color: var(--color-muted); }

/* ==============================
   RESUMO / SUMMARY CARDS
   ============================== */

.summary-card {
  background: var(--color-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  margin: 0 16px 16px;
  overflow: hidden;
}

.summary-card-header {
  background: linear-gradient(135deg, var(--md-navy-900), var(--md-navy-800));
  color: #fff;
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 700;
}

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

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

.summary-label { font-size: 14px; color: var(--color-muted); }
.summary-value { font-size: 14px; font-weight: 600; color: var(--color-text); }
.summary-value.highlight { color: var(--color-primary); font-size: 16px; }
.summary-value.green { color: var(--color-secondary); }

.cost-total {
  background: #EFF6FF;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cost-total-label { font-size: 16px; font-weight: 700; color: var(--color-primary); }
.cost-total-value { font-size: 20px; font-weight: 800; color: var(--color-primary); }

/* ==============================
   CHECKOUT / PAYMENT
   ============================== */

.payment-option {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--color-card);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 14px 16px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: all 0.15s;
}

.payment-option.selected {
  border-color: var(--color-primary);
  background: #EFF6FF;
}

.payment-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.payment-info { flex: 1; }
.payment-name { font-size: 14px; font-weight: 700; }
.payment-sub { font-size: 12px; color: var(--color-muted); }

.payment-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}

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

/* ==============================
   ATLETA CARD (lista)
   ============================== */

.atleta-list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--md-card);
  border-radius: var(--md-radius-md);
  padding: 14px 16px;
  margin: 0 16px 12px;
  box-shadow: var(--md-elevation-1);
  cursor: pointer;
}

.atleta-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.atleta-info { flex: 1; }

.atleta-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text);
}

.atleta-sport {
  font-size: 12px;
  color: var(--color-muted);
  margin: 2px 0 4px;
}

.atleta-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.atleta-distance {
  font-size: 12px;
  color: var(--color-muted);
  display: flex;
  align-items: center;
  gap: 2px;
}

.atleta-rating {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 12px;
  color: var(--color-muted);
}

.atleta-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  background: var(--color-accent-light);
  color: var(--color-secondary);
}

.atleta-tag-blue {
  background: #DBEAFE;
  color: #1E40AF;
}

.atleta-fav-btn {
  padding: 6px;
  cursor: pointer;
}

/* ==============================
   PERFIL ATLETA — FIFA CARD
   ============================== */

.fifa-card {
  margin: 16px;
  background: linear-gradient(135deg, #1a3a2e 0%, #2D6A4F 40%, #52B788 100%);
  border-radius: 20px;
  padding: 24px;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(45, 106, 79, 0.4);
}

.fifa-card::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
}

.fifa-card-top {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.fifa-overall {
  font-size: 56px;
  font-weight: 900;
  line-height: 1;
  color: #FFD700;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.fifa-overall-label {
  font-size: 10px;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 2px;
}

.fifa-photo {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255,255,255,0.4);
  flex-shrink: 0;
}

.fifa-name-block { flex: 1; }

.fifa-name {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 4px;
}

.fifa-position {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 8px;
}

.fifa-city {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
}

.fifa-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.fifa-stat {
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 10px 12px;
}

.fifa-stat-label {
  font-size: 10px;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.fifa-stat-value {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
}

.fifa-stat-bar {
  height: 4px;
  background: rgba(255,255,255,0.2);
  border-radius: 2px;
  margin-top: 4px;
  overflow: hidden;
}

.fifa-stat-fill {
  height: 100%;
  background: #FFD700;
  border-radius: 2px;
}

/* ==============================
   PERFIL ATLETA — HEADER ACHATADO (Material)
   ============================== */

.md-profile-header {
  margin: 16px;
  background: linear-gradient(160deg, var(--md-navy-900) 0%, var(--md-navy-800) 100%);
  border-radius: var(--md-radius-lg);
  padding: 20px;
  position: relative;
  box-shadow: var(--md-elevation-2);
}


.md-profile-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.md-profile-photo {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255,255,255,0.35);
  flex-shrink: 0;
}

.md-profile-identity { flex: 1; min-width: 0; }
.md-profile-name {
  font-size: 19px;
  font-weight: 800;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.md-profile-username { font-size: 13px; color: var(--md-muted-on-dark); margin-top: 2px; }
.md-profile-city {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--md-muted-on-dark);
  margin-top: 6px;
}

.md-profile-score { text-align: center; flex-shrink: 0; }
.md-profile-score-value { font-size: 28px; font-weight: 900; color: #fff; line-height: 1; }
.md-profile-score-label { font-size: 10px; color: var(--md-muted-on-dark); text-transform: uppercase; letter-spacing: 0.4px; margin-top: 4px; }

.recommend-block {
  margin: 16px 16px 20px;
  text-align: center;
}

.btn-recommend {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--md-radius-pill);
  border: 1.5px solid var(--md-primary);
  background: var(--md-card);
  color: var(--md-primary);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}

.recommend-count {
  margin-top: 8px;
  font-size: 12px;
  color: var(--md-muted);
}

/* ---- Segmented tabs (Atleta / Organizador) ---- */
.md-segment {
  display: flex;
  background: var(--md-surface);
  border-radius: var(--md-radius-pill);
  padding: 4px;
  margin: 4px 16px 20px;
  gap: 4px;
}
.md-segment-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 12px;
  border-radius: var(--md-radius-pill);
  font-size: 13px;
  font-weight: 700;
  color: var(--md-muted);
  background: none;
  border: none;
  cursor: pointer;
}
.md-segment-btn.active {
  background: var(--md-card);
  color: var(--md-primary);
  box-shadow: var(--md-elevation-1);
}

/* ---- Card de informações / disponibilidade agrupada ---- */
.md-info-card {
  margin: 0 16px 16px;
  background: var(--md-card);
  border-radius: var(--md-radius-md);
  box-shadow: var(--md-elevation-1);
  padding: 16px;
}
.md-info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
}
.md-info-row + .md-info-row { border-top: 1px solid var(--color-border); }
.md-info-label { font-size: 12px; color: var(--md-muted); font-weight: 600; }
.md-info-value { font-size: 13px; color: var(--md-text); font-weight: 700; text-align: right; }

.md-availability-card {
  margin: 0 16px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--md-radius-md);
  padding: 14px 16px;
}
.md-availability-days { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }

/* ---- Avaliações: comentário vazio ---- */
.avaliacao-text-empty {
  font-size: 12px;
  color: var(--md-muted);
  font-style: italic;
}

/* ---- Botão de compartilhar ---- */
.md-share-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--md-card);
  box-shadow: var(--md-elevation-1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--md-text);
  cursor: pointer;
  border: none;
}

.md-profile-actions { display: flex; gap: 10px; margin: 0 16px 16px; }
.md-profile-actions .md-btn { flex: 1; }

.md-organizer-highlight {
  margin: 0 16px 16px;
  background: linear-gradient(135deg, var(--md-accent-orange), #ff8a5c);
  border-radius: var(--md-radius-md);
  padding: 18px;
  color: #fff;
  text-align: center;
  box-shadow: var(--md-elevation-2);
}
.md-organizer-highlight-value { font-size: 32px; font-weight: 900; line-height: 1; }
.md-organizer-highlight-label { font-size: 11px; opacity: 0.9; margin-top: 6px; text-transform: uppercase; letter-spacing: 0.4px; }

.md-fill-cta {
  display: inline-block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--md-primary);
  text-decoration: none;
}

.perfil-badges {
  display: flex;
  gap: 8px;
  padding: 0 16px 16px;
  flex-wrap: wrap;
}

.perfil-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--color-card);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow-card);
}

/* ==============================
   AVALIAÇÕES (BlaBlaCar style)
   ============================== */

.avaliacao-item {
  background: var(--color-card);
  border-radius: var(--radius-card);
  padding: 14px 16px;
  margin: 0 16px 12px;
  box-shadow: var(--shadow-card);
}

.avaliacao-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.avaliacao-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
}

.avaliacao-meta { flex: 1; }
.avaliacao-name { font-size: 14px; font-weight: 700; }
.avaliacao-date { font-size: 11px; color: var(--color-muted); }

.avaliacao-stars {
  display: flex;
  gap: 2px;
}

.avaliacao-text {
  font-size: 13px;
  color: var(--color-text);
  line-height: 1.5;
}

/* ==============================
   QUADRA DETALHES
   ============================== */

.quadra-hero {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.quadra-thumbs {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
}

.quadra-thumb {
  width: 70px;
  height: 55px;
  border-radius: 10px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.15s;
}

.quadra-thumb.active { border-color: var(--color-primary); }

.quadra-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 8px 16px;
}

.quadra-tag {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--color-card);
  border: 1.5px solid var(--color-border);
  border-radius: 20px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--color-text);
}

/* ==============================
   NOTIFICAÇÕES
   ============================== */

.convite-card {
  background: var(--color-card);
  border-radius: var(--radius-card);
  padding: 16px;
  margin: 0 16px 12px;
  box-shadow: var(--shadow-card);
}

.convite-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.convite-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.convite-info { flex: 1; }
.convite-title { font-size: 14px; font-weight: 700; }
.convite-sub { font-size: 12px; color: var(--color-muted); }

.convite-detail-row {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.convite-actions {
  display: flex;
  gap: 10px;
}

.convite-actions .btn { flex: 1; padding: 10px; font-size: 14px; }

/* ==============================
   NOTIF GERAL
   ============================== */

.notif-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--color-card);
  border-radius: var(--radius-card);
  padding: 14px 16px;
  margin: 0 16px 10px;
  box-shadow: var(--shadow-card);
}

.notif-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-primary);
  flex-shrink: 0;
  margin-top: 4px;
}

.notif-dot.read { background: var(--color-border); }

.notif-text { flex: 1; }
.notif-text strong { font-size: 14px; font-weight: 700; display: block; margin-bottom: 2px; }
.notif-text span { font-size: 13px; color: var(--color-muted); }
.notif-time { font-size: 11px; color: var(--color-muted); }

/* ==============================
   LOGIN PAGE
   ============================== */

.login-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
  background: linear-gradient(160deg, var(--md-surface) 0%, #E4E9F7 100%);
}

.login-logo {
  margin-bottom: 12px;
}

.login-logo-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--md-navy-900), var(--md-navy-800));
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 8px 24px rgba(62, 123, 250, 0.35);
}

.login-app-name {
  font-size: 28px;
  font-weight: 900;
  color: var(--md-navy-900);
  text-align: center;
}

.login-tagline {
  font-size: 14px;
  color: var(--color-muted);
  text-align: center;
  margin-bottom: 40px;
}

.login-form { width: 100%; max-width: 360px; }

.login-form .form-group { margin-bottom: 16px; }

.login-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: var(--color-muted);
  font-size: 13px;
}

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

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

.dash-header {
  padding: 20px 16px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dash-greeting { flex: 1; }

.dash-hello {
  font-size: 13px;
  color: var(--color-muted);
}

.dash-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--color-text);
}

.dash-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-accent);
}

/* ==============================
   TOAST / SUCCESS
   ============================== */

.toast {
  position: fixed;
  bottom: calc(var(--bottom-nav-height) + 80px);
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--color-text);
  color: #fff;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 1000;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ==============================
   UTILITIES
   ============================== */

.mt-8 { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.px-16 { padding-left: 16px; padding-right: 16px; }
.pb-80 { padding-bottom: 80px; }

.text-center { text-align: center; }
.text-sm { font-size: 13px; }
.text-muted { color: var(--color-muted); }
.text-primary { color: var(--color-primary); }
.text-secondary { color: var(--color-secondary); }
.font-bold { font-weight: 700; }

.divider {
  height: 1px;
  background: var(--color-border);
  margin: 8px 0;
}

.flex { display: flex; }
.items-center { align-items: center; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.flex-1 { flex: 1; }

.empty-state {
  text-align: center;
  padding: 48px 24px;
  color: var(--color-muted);
}

.empty-state .emoji { font-size: 48px; margin-bottom: 12px; }
.empty-state p { font-size: 14px; line-height: 1.6; }

/* ==============================
   CANDIDATOS (gestão de partida)
   ============================== */

.candidate-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--color-card);
  border-radius: var(--radius-card);
  padding: 12px 14px;
  margin: 0 16px 10px;
  box-shadow: var(--shadow-card);
}

.candidate-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.candidate-info { flex: 1; min-width: 0; }
.candidate-name { font-size: 14px; font-weight: 700; }
.candidate-meta { font-size: 12px; color: var(--color-muted); margin-top: 2px; }
.candidate-message {
  font-size: 12px;
  color: var(--color-text);
  margin-top: 6px;
  background: var(--color-bg);
  border-radius: 8px;
  padding: 8px 10px;
  line-height: 1.5;
}

.candidate-actions { display: flex; gap: 6px; flex-shrink: 0; }
.candidate-actions .btn-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
}
.candidate-actions .btn-icon.accept { background: var(--color-accent-light); color: var(--color-secondary); }
.candidate-actions .btn-icon.reject { background: #FEE2E2; color: var(--color-danger); }

/* ==============================
   CHAT (mensagens)
   ============================== */

.conv-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
  border-bottom: 1px solid var(--color-border);
  transition: background 0.12s;
}
.conv-item:hover, .conv-item:active { background: var(--color-bg); }
.conv-item.unread .conv-name { font-weight: 800; }
.conv-item.unread .conv-preview { color: var(--color-text); font-weight: 600; }

.conv-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.conv-info { flex: 1; min-width: 0; }
.conv-name { font-size: 14px; font-weight: 700; }
.conv-context { font-size: 11px; color: var(--color-primary); font-weight: 600; margin-top: 1px; }
.conv-preview {
  font-size: 13px;
  color: var(--color-muted);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.conv-meta { text-align: right; flex-shrink: 0; }
.conv-time { font-size: 11px; color: var(--color-muted); }
.conv-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 20px;
  background: var(--color-primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  margin-top: 4px;
}

.chat-match-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 16px 10px;
  padding: 10px 14px;
  background: var(--color-card);
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  text-decoration: none;
  color: var(--color-text);
}
.chat-match-banner-emoji { font-size: 20px; flex-shrink: 0; color: var(--md-primary); display: flex; }
.chat-match-banner-emoji svg { width: 22px; height: 22px; }
.chat-match-banner-info { flex: 1; min-width: 0; }
.chat-match-banner-title { font-size: 13px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-match-banner-sub { font-size: 11px; color: var(--color-muted); }

.chat-action-bar {
  margin: 0 16px 10px;
  padding: 12px 14px;
  background: #FEF3C7;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-closed-banner {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  background: var(--color-text);
  color: #fff;
  text-align: center;
  font-size: 12px;
  padding: 12px;
  z-index: 30;
}

.chat-thread { padding: 16px 16px 90px; display: flex; flex-direction: column; gap: 10px; }
.chat-bubble-row { display: flex; align-items: flex-end; gap: 8px; max-width: 82%; }
.chat-bubble-row.mine { align-self: flex-end; flex-direction: row-reverse; }
.chat-bubble-row.theirs { align-self: flex-start; }
.chat-bubble-avatar { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.chat-bubble { max-width: 100%; }
.chat-bubble .bubble-content {
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.45;
}
.chat-bubble.mine .bubble-content {
  background: var(--color-primary);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.chat-bubble.theirs .bubble-content {
  background: var(--color-card);
  color: var(--color-text);
  box-shadow: var(--shadow-card);
  border-bottom-left-radius: 4px;
}
.chat-bubble .bubble-time {
  font-size: 10px;
  color: var(--color-muted);
  margin-top: 3px;
  padding: 0 4px;
}
.chat-bubble.mine .bubble-time { text-align: right; }

.chat-composer {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  background: var(--color-card);
  border-top: 1px solid var(--color-border);
  padding: 10px 12px;
  display: flex;
  gap: 8px;
  align-items: center;
  z-index: 30;
}
.chat-composer input {
  flex: 1;
  border: 1.5px solid var(--color-border);
  border-radius: 24px;
  padding: 11px 16px;
  font-size: 14px;
  outline: none;
  background: var(--color-bg);
}
.chat-composer input:focus { border-color: var(--color-primary); }
.chat-composer button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
}

/* ==============================
   BUSCA DE ATLETAS
   ============================== */

.filter-panel {
  background: var(--color-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  margin: 0 16px 16px;
  padding: 14px 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.filter-panel select, .filter-panel input {
  flex: 1;
  min-width: 120px;
  padding: 10px 12px;
  border: 1.5px solid var(--color-border);
  border-radius: 10px;
  font-size: 13px;
  background: var(--color-bg);
  outline: none;
}
.filter-panel select:focus, .filter-panel input:focus { border-color: var(--color-primary); }

/* ==============================
   MINI MAPA (endereço da partida)
   ============================== */

.address-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 0 16px 8px;
  font-size: 13px;
  color: var(--color-text);
  line-height: 1.5;
}

/* ==============================
   STATUS PILLS
   ============================== */

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}
.status-pill.pending { background: #FEF3C7; color: #92400E; }
.status-pill.accepted { background: var(--color-accent-light); color: var(--color-secondary); }
.status-pill.rejected { background: #FEE2E2; color: var(--color-danger); }
.status-pill.withdrawn { background: #F3F4F6; color: var(--color-muted); }

/* ==============================
   DESKTOP NAVBAR (escondida no mobile; ver desktop.css)
   ============================== */
.desktop-nav { display: none; }

/* ==============================
   CARTEIRA — ícone flutuante de saldo
   ============================== */
.wallet-topbar {
  position: sticky;
  top: 0;
  z-index: 200;
  display: flex;
  justify-content: flex-end;
  background: var(--color-bg);
  padding: 8px 16px 0;
}
.wallet-float {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--color-card);
  border-radius: 24px;
  padding: 6px 12px 6px 8px;
  box-shadow: var(--shadow-card);
  text-decoration: none;
  color: var(--color-text);
  font-size: 12px;
  font-weight: 700;
}
.wallet-float .wallet-float-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 12px;
}

/* ==============================
   APP HEADER MOBILE (sino + carteira + avatar fixos)
   ============================== */
.app-header-mobile {
  position: sticky;
  top: 0;
  z-index: 200;
  margin-bottom: 12px;
}

/* ==============================
   MOBILE OFFCANVAS MENU
   ============================== */
.mobile-offcanvas {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: var(--color-bg);
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.25s ease;
}
.mobile-offcanvas.open { transform: translateX(0); }
.mobile-offcanvas-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 24px 20px 20px;
  border-bottom: 1px solid var(--color-border);
}
.mobile-offcanvas-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-accent-light);
}
.mobile-offcanvas-name {
  flex: 1;
  font-size: 17px;
  font-weight: 700;
  color: var(--color-text);
}
.mobile-offcanvas-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-card);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.mobile-offcanvas-links {
  display: flex;
  flex-direction: column;
  padding: 12px;
  gap: 4px;
}
.mobile-offcanvas-links a,
.mobile-offcanvas-links button {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
}
.mobile-offcanvas-links a:active,
.mobile-offcanvas-links button:active { background: var(--color-card); }
.mobile-offcanvas-links form { margin: 0; }
.mobile-offcanvas-links form button { color: var(--color-danger); }

/* ========================================
   MATERIAL COMPONENT LIBRARY (redesign BidiBet)
   Camada nova, aditiva — não remove classes antigas.
   Body ganha o novo fundo de superfície nas telas migradas
   via .md-page (aplicado no lugar de deixar .page puro).
   ======================================== */

.md-page {
  background: var(--md-surface);
  min-height: 100vh;
  padding-bottom: calc(var(--bottom-nav-height) + 24px);
}

/* ---- Hero header curvo (topo escuro) ---- */
.md-hero-header {
  background: linear-gradient(160deg, var(--md-navy-900) 0%, var(--md-navy-800) 100%);
  border-radius: 0 0 var(--md-radius-lg) var(--md-radius-lg);
  padding: max(18px, env(safe-area-inset-top)) 20px 28px;
  color: var(--md-text-inverse);
  position: relative;
  overflow: hidden;
}
.md-hero-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.md-hero-avatar-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  padding: 0;
  border: 2px solid rgba(255,255,255,0.25);
  overflow: hidden;
  background: rgba(255,255,255,0.08);
  cursor: pointer;
  flex-shrink: 0;
}
.md-hero-avatar-btn img { width: 100%; height: 100%; object-fit: cover; }
.md-hero-actions { display: flex; align-items: center; gap: 10px; }
.md-hero-action-btn {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--md-text-inverse);
  text-decoration: none;
}
.md-hero-greeting { margin-top: 18px; }
.md-hero-hello { font-size: 13px; color: var(--md-muted-on-dark); font-weight: 500; }
.md-hero-name { font-size: 22px; font-weight: 800; color: var(--md-text-inverse); margin-top: 2px; }
.md-hero-subtitle { font-size: 13px; color: var(--md-muted-on-dark); margin-top: 4px; }

.md-search-pill {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.92);
  border-radius: var(--md-radius-pill);
  padding: 12px 18px;
  box-shadow: var(--md-elevation-2);
}
.md-search-pill svg { color: var(--md-muted); flex-shrink: 0; }
.md-search-pill input {
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font);
  font-size: 14px;
  color: var(--md-text);
  width: 100%;
}
.md-search-pill input::placeholder { color: var(--md-muted); }

/* ---- Chips de filtro ---- */
.md-chips-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 16px 16px 4px;
  scrollbar-width: none;
}
.md-chips-row::-webkit-scrollbar { display: none; }
.md-chip {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: var(--md-radius-pill);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  background: var(--md-card);
  color: var(--md-text);
  border: 1.5px solid transparent;
  box-shadow: var(--md-elevation-1);
  transition: all 0.15s ease;
}
.md-chip.active {
  background: var(--md-primary);
  color: var(--md-text-inverse);
  box-shadow: var(--md-elevation-2);
}
.md-chip-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  background: var(--md-surface);
  flex-shrink: 0;
}
.md-chip.active .md-chip-icon { background: rgba(255,255,255,0.22); }
.md-chip-icon svg { width: 13px; height: 13px; color: var(--md-primary); }
.md-chip.active .md-chip-icon svg { color: #fff; }
.md-sport-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--md-surface);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--md-primary);
}
.md-sport-badge svg { width: 18px; height: 18px; }

/* ---- Cards elevados ---- */
.md-card {
  background: var(--md-card);
  border-radius: var(--md-radius-md);
  box-shadow: var(--md-elevation-1);
  overflow: hidden;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.md-card-body { padding: 16px; }
.md-section {
  padding: 22px 16px 8px;
}
.md-section-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--md-text);
}
.md-section-link {
  font-size: 12px;
  font-weight: 700;
  color: var(--md-primary);
  text-decoration: none;
}

/* ---- Botões Material ---- */
.md-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  border-radius: var(--md-radius-sm);
  font-size: 14px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-family: var(--font);
  transition: transform 0.1s ease, opacity 0.15s ease;
}
.md-btn:active { transform: scale(0.98); }
.md-btn-filled { background: var(--md-primary); color: #fff; box-shadow: var(--md-elevation-1); }
.md-btn-dark { background: var(--md-navy-900); color: #fff; }
.md-btn-accent { background: var(--md-accent-orange); color: #fff; box-shadow: var(--md-elevation-1); }
.md-btn-outlined { background: transparent; color: var(--md-primary); border: 1.5px solid var(--md-primary); }
.md-btn-block { width: 100%; }

/* ---- Bottom nav Material com FAB central ---- */
.md-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom));
  background: var(--md-card);
  box-shadow: 0 -4px 24px rgba(15,23,42,0.10);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 8px env(safe-area-inset-bottom);
  z-index: 500;
  border-radius: var(--md-radius-lg) var(--md-radius-lg) 0 0;
}
.md-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  text-decoration: none;
  color: var(--md-muted);
  font-size: 10px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--md-radius-pill);
  transition: all 0.15s ease;
}
.md-nav-item.active {
  color: var(--md-primary);
  background: rgba(62,123,250,0.10);
}
.md-nav-fab {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--md-accent-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 8px 20px rgba(242,98,46,0.4);
  margin-top: -30px;
  text-decoration: none;
  flex-shrink: 0;
}

/* ---- Campos de formulário Material ---- */
.md-field {
  padding: 12px 14px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--md-radius-sm);
  font-size: 13px;
  font-family: var(--font);
  background: var(--md-surface);
  color: var(--md-text);
  outline: none;
  transition: border-color 0.15s ease;
}
.md-field:focus { border-color: var(--md-primary); }
.md-field-row { display: flex; flex-direction: column; gap: 10px; }
.md-tab-row { display: flex; gap: 8px; margin-bottom: 14px; }

/* ---- Páginas de autenticação/institucionais (fundo navy) ---- */
.md-auth-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
  background: linear-gradient(160deg, var(--md-navy-900) 0%, var(--md-navy-800) 100%);
}
.md-auth-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  text-align: center;
}
.md-auth-logo-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: rgba(255,255,255,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}
.md-auth-app-name { font-size: 20px; font-weight: 800; color: #fff; }
.md-auth-tagline { font-size: 13px; color: var(--md-muted-on-dark); max-width: 260px; }
.md-auth-card {
  width: 100%;
  max-width: 400px;
  background: var(--md-card);
  border-radius: var(--md-radius-lg);
  box-shadow: var(--md-elevation-3);
  padding: 28px 24px;
}
.md-auth-card-title { font-size: 18px; font-weight: 800; color: var(--md-text); margin-bottom: 4px; }
.md-auth-card-subtitle { font-size: 13px; color: var(--md-muted); margin-bottom: 22px; }
.md-auth-footer-link {
  margin-top: 20px;
  font-size: 13px;
  color: var(--md-muted-on-dark);
  text-align: center;
}

/* ---- Tooltip (tap/click to reveal, mobile-friendly) ---- */
.md-tooltip-wrap { position: relative; display: inline-flex; }
.md-tooltip-trigger {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: none;
  background: var(--md-surface);
  color: var(--md-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
}
.md-tooltip-bubble {
  display: none;
  position: absolute;
  z-index: 30;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  background: var(--md-navy-900);
  color: #fff;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 500;
  padding: 10px 12px;
  border-radius: var(--md-radius-sm);
  box-shadow: var(--md-elevation-2);
}
.md-tooltip-bubble::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--md-navy-900);
}
.md-tooltip-wrap.open .md-tooltip-bubble { display: block; }

/* ---- KYC upload cards ---- */
.md-kyc-upload {
  border: 1.5px dashed var(--md-border, #E2E5F0);
  border-radius: var(--md-radius-md);
  padding: 16px;
  background: var(--md-card);
  position: relative;
  cursor: pointer;
  transition: border-color 0.15s ease;
  min-height: 76px;
  display: flex;
  align-items: center;
}
.md-kyc-upload.has-file { border-style: solid; border-color: var(--md-primary); }
.md-kyc-upload input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.md-kyc-upload-row { display: flex; align-items: center; gap: 12px; width: 100%; }
.md-kyc-upload-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--md-radius-sm);
  background: var(--md-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--md-primary);
  flex-shrink: 0;
  overflow: hidden;
}
.md-kyc-upload-icon img { width: 100%; height: 100%; object-fit: cover; }
.md-kyc-upload-label { font-size: 14px; font-weight: 700; color: var(--md-text); display: flex; align-items: center; gap: 6px; }
.md-kyc-upload-hint { font-size: 12px; color: var(--md-muted); margin-top: 2px; }
.md-kyc-upload-status { font-size: 12px; font-weight: 700; color: var(--md-primary); margin-left: auto; flex-shrink: 0; }
.md-kyc-status-card {
  border-radius: var(--md-radius-lg);
  padding: 28px 20px;
  text-align: center;
}
.md-kyc-status-icon { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; }
.md-auth-footer-link a { color: #fff; font-weight: 700; text-decoration: none; }

/* ---- Profile completion progress card ---- */
.md-progress-card {
  display: block;
  margin: 0 16px 14px;
  background: var(--md-card);
  border-radius: var(--md-radius-md);
  box-shadow: var(--md-elevation-1);
  padding: 14px 16px;
  text-decoration: none;
  color: var(--color-text);
}
.md-progress-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}
.md-progress-bar {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: var(--md-surface);
  overflow: hidden;
}
.md-progress-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-primary), var(--md-primary-light, #6496FF));
  transition: width 0.3s ease;
}
.md-progress-card-hint {
  font-size: 12px;
  color: var(--color-muted);
  margin-top: 8px;
  line-height: 1.5;
}

/* ---- Sliders ---- */
.md-slider-group { margin-bottom: 24px; }
.md-slider-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}
.md-slider-label-text { font-size: 13px; font-weight: 600; color: var(--color-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.md-slider-value { font-size: 18px; font-weight: 800; color: var(--color-primary); }
.md-slider {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: 999px;
  background: #DEE3F0;
  outline: none;
}
.md-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 2px 8px rgba(62,123,250,0.4);
  cursor: pointer;
  border: 3px solid #fff;
}
.md-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 2px 8px rgba(62,123,250,0.4);
  cursor: pointer;
  border: 3px solid #fff;
}
.md-slider-hint { font-size: 12px; color: var(--color-muted); margin-top: 8px; }

/* ---- Toggle switch (ex: pausar convites) ---- */
.md-toggle-switch {
  position: relative;
  width: 48px;
  height: 28px;
  border-radius: 999px;
  background: #DEE3F0;
  border: none;
  flex-shrink: 0;
  cursor: pointer;
  transition: background 0.2s ease;
}
.md-toggle-switch.active { background: var(--color-primary); }
.md-toggle-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.25);
  transition: transform 0.2s ease;
}
.md-toggle-switch.active .md-toggle-knob { transform: translateX(20px); }

/* ---- Nested sport panel (nivel + posições dentro do esporte) ---- */
.md-sport-panel {
  background: var(--md-card);
  border-radius: var(--md-radius-md);
  box-shadow: var(--md-elevation-1);
  padding: 16px;
  margin-top: 10px;
}
.md-sport-panel-title { font-size: 13px; font-weight: 700; color: var(--color-text); margin-bottom: 10px; }
.md-radio-row, .md-check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 14px;
  color: var(--color-text);
  cursor: pointer;
}
.md-radio-row:last-child, .md-check-row:last-child { border-bottom: none; }
.md-radio-row input, .md-check-row input { width: 18px; height: 18px; accent-color: var(--color-primary); }

summary { list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::marker { content: ''; }

/* ---- Bottom sheet (onboarding esportes) ---- */
.md-sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(15,23,42,0.5);
  display: none;
}
.md-sheet-backdrop.open { display: block; }
.md-bottom-sheet {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 100%);
  width: 100%;
  max-width: 430px;
  max-height: 82vh;
  overflow-y: auto;
  background: var(--md-card);
  border-radius: 24px 24px 0 0;
  z-index: 3001;
  padding: 20px 20px 24px;
  transition: transform 0.25s ease;
  box-shadow: var(--md-elevation-3);
}
.md-bottom-sheet.open { transform: translate(-50%, 0); }
.md-bottom-sheet-handle { width: 40px; height: 4px; border-radius: 999px; background: var(--color-border); margin: 0 auto 16px; }
.md-bottom-sheet-title { font-size: 17px; font-weight: 800; color: var(--color-text); margin-bottom: 4px; display: flex; align-items: center; gap: 8px; }
.md-bottom-sheet-subtitle { font-size: 13px; color: var(--color-muted); margin-bottom: 16px; }

/* ---- Password show/hide toggle (auto-injected via ui.js) ---- */
.ct-pwd-wrap { position: relative; }
.ct-pwd-wrap input { width: 100%; }
.ct-pwd-toggle {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: var(--color-muted);
  display: flex;
  align-items: center;
}
.ct-pwd-toggle:hover { color: var(--color-text); }

/* ---- Central de Notificações ---- */
.notif-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px 0;
  flex-wrap: wrap;
}
.notif-filter-select {
  appearance: none;
  -webkit-appearance: none;
  background: var(--md-card, #fff) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23667' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 10px center;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 8px 34px 8px 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--md-text, var(--color-text));
  cursor: pointer;
}
.notif-toolbar-action { margin-left: auto; }
.notif-link-btn {
  background: none;
  border: none;
  padding: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: underline;
  cursor: pointer;
}

.notif-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border-radius: var(--md-radius-md, 14px);
  background: var(--md-card, #fff);
  box-shadow: var(--md-elevation-1, 0 1px 3px rgba(0,0,0,0.08));
  margin-bottom: 8px;
}
.notif-item.is-unread { background: var(--color-accent-light); }
.notif-item.is-archived { opacity: .6; }
.notif-item-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--md-surface, #F5F6FA);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
  border: 2px solid transparent;
}
.notif-item-body { flex: 1; min-width: 0; }
.notif-item-link { text-decoration: none; color: inherit; display: block; }
.notif-item-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--md-text, var(--color-text));
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.notif-new-badge {
  font-size: 10px;
  font-weight: 700;
  color: var(--color-primary);
  background: var(--color-accent-light);
  border-radius: 999px;
  padding: 2px 8px;
}
.notif-item-text { font-size: 12px; color: var(--md-muted); margin-top: 2px; line-height: 1.4; }
.notif-item-time { font-size: 10px; color: var(--md-muted); margin-top: 4px; }
.notif-item-actions { display: flex; flex-direction: column; gap: 6px; flex-shrink: 0; }
.notif-icon-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.notif-icon-btn.read { background: var(--color-accent-light); color: var(--color-secondary); }
.notif-icon-btn.archive { background: var(--md-surface, #F5F6FA); color: var(--md-muted); }
