/* Jeri Acontece — Músicos Design System */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --font-family: 'Inter', system-ui, -apple-system, sans-serif;
  /* Cor Primária Institucional: Padrão Laranja-Sol (Pôr do Sol de Jeri) */
  --color-ocean-50: #fffbeb;
  --color-ocean-100: #fef3c7;
  --color-ocean-200: #fde68a;
  --color-ocean-300: #fcd34d;
  --color-ocean-400: #fbbf24;
  --color-ocean-500: #f59e0b;
  --color-ocean-600: #ea580c;
  --color-ocean-700: #c2410c;

  /* Aliases explícitos da Paleta Solar / Duna do Pôr do Sol */
  --color-sunset-50: #fffbeb;
  --color-sunset-100: #fef3c7;
  --color-sunset-200: #fde68a;
  --color-sunset-300: #fcd34d;
  --color-sunset-400: #fbbf24;
  --color-sunset-500: #f59e0b;
  --color-sunset-600: #ea580c;
  --color-sunset-700: #c2410c;
  --color-sunset-800: #9a3412;
  --color-sunset-900: #7c2d12;

  /* Cor Secundária Institucional: Azul-Turquesa das Ondas ("Acontece") */
  --color-teal-50: #f0f9ff;
  --color-teal-500: #0ea5e9;
  --color-teal-600: #0284c7;
  --color-sand-50: #fffdfa;
  --color-sand-100: #f9f1e0;
  --color-gray-50: #f9fafb;
  --color-gray-100: #f3f4f6;
  --color-gray-200: #e5e7eb;
  --color-gray-300: #d1d5db;
  --color-gray-400: #9ca3af;
  --color-gray-500: #6b7280;
  --color-gray-600: #4b5563;
  --color-gray-700: #374151;
  --color-gray-800: #1f2937;
  --color-gray-900: #111827;
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

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

html,
body {
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: var(--font-family);
  background-color: #fffdf9;
  background-image:
    radial-gradient(ellipse at 50% 0%, rgba(254, 215, 170, 0.25) 0%, transparent 65%),
    linear-gradient(180deg, #fffdf9 0%, #fffaf2 55%, #f0f9ff 100%);
  background-attachment: fixed;
  color: var(--color-gray-800);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

/* Layout */
.container {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  width: 100%;
}

@media (min-width: 640px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Topbar Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 249, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid #fed7aa;
  box-shadow: 0 2px 12px rgba(234, 88, 12, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5.1rem;
  gap: 0.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  min-width: 0;
  height: 100%;
}

.brand-logo-img {
  height: calc(100% - 6px);
  max-height: 4.8rem;
  width: auto;
  max-width: 14rem;
  object-fit: contain;
  transition: transform 0.2s ease;
  display: block;
}

.brand:hover .brand-logo-img {
  transform: scale(1.02);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .header-inner {
    height: 4.25rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .brand-logo-img {
    height: calc(100% - 6px);
    max-height: 3.95rem;
    max-width: 10rem;
  }

  .header-actions {
    gap: 0.35rem;
  }

  .header-btn {
    padding: 0.35rem 0.6rem !important;
    font-size: 0.775rem !important;
  }

  .header-btn-musician {
    padding: 0.35rem 0.7rem !important;
    gap: 0.3rem !important;
  }
}

/* Hero Section — Padrão Laranja-Sol Radiante & Ondas Oceânicas Reais ao Pôr do Sol */
.hero {
  background:
    radial-gradient(circle at 50% 16%, rgba(254, 252, 232, 0.98) 0%, rgba(254, 240, 138, 0.90) 18%, rgba(251, 191, 36, 0.80) 36%, rgba(234, 88, 12, 0.74) 56%, rgba(120, 53, 15, 0.88) 78%, rgba(15, 23, 42, 0.98) 100%),
    linear-gradient(180deg, #9a3412 0%, #ea580c 38%, #0369a1 72%, #082f49 100%);
  color: white;
  padding: 4.5rem 1rem 0.5rem 1rem;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

/* Raios de Sol poente projetando luz sobre o mar */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 96rem;
  height: 65%;
  max-height: 420px;
  background:
    repeating-conic-gradient(from 0deg at 50% 20%, rgba(254, 249, 195, 0.28) 0deg 7deg, transparent 7deg 16deg);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 1) 45%, rgba(0, 0, 0, 0) 100%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 1) 45%, rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Ondas oceânicas reais na parte inferior do Hero com trilha e reflexo cintilante do sol */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: url('/public/images/bg_waves_sunset.svg') no-repeat bottom center / 100% 100%;
  pointer-events: none;
  z-index: 2;
  filter: drop-shadow(0 -4px 12px rgba(8, 47, 73, 0.35));
}

.hero-container {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 48rem;
  margin: 0 auto;
  width: 100%;
}

.hero-location-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 1.2rem;
  background: rgba(7, 89, 133, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 14px rgba(12, 74, 110, 0.25);
}

.hero-title {
  font-size: 2.35rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  color: #075985;
  text-shadow:
    0 2px 0 #ffffff,
    0 -1.5px 0 #ffffff,
    2px 0 0 #ffffff,
    -2px 0 0 #ffffff,
    1.5px 1.5px 0 #ffffff,
    -1.5px -1.5px 0 #ffffff,
    1.5px -1.5px 0 #ffffff,
    -1.5px 1.5px 0 #ffffff,
    0 6px 22px rgba(255, 255, 255, 0.92),
    0 10px 28px rgba(8, 47, 73, 0.35);
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 3.35rem;
  }
}

.hero-subtitle {
  font-size: 1.0625rem;
  color: #ffffff;
  max-width: 39rem;
  line-height: 1.6;
  margin-bottom: 2.25rem;
  font-weight: 600;
  text-shadow: 0 2px 10px rgba(8, 47, 73, 0.75), 0 1px 3px rgba(0, 0, 0, 0.55);
}

@media (min-width: 640px) {
  .hero-subtitle {
    font-size: 1.15rem;
  }
}

.hero-pix-card {
  background: #ffffff;
  border-radius: 1.5rem;
  padding: 1.5rem 2.5rem;
  box-shadow: 0 20px 35px -8px rgba(0, 0, 0, 0.22), 0 8px 16px -4px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  width: 100%;
  max-width: 29rem;
  margin-bottom: 5.5rem;
  border: 1px solid rgba(255, 255, 255, 0.9);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-pix-card:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 25px 45px -8px rgba(0, 0, 0, 0.28), 0 12px 20px -4px rgba(0, 0, 0, 0.15);
}

.hero-pix-card-header {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.hero-heart-icon {
  flex-shrink: 0;
}

.hero-pix-card-title {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--color-ocean-600);
  letter-spacing: -0.02em;
}

.hero-pix-card-subtitle {
  font-size: 0.875rem;
  color: #64748b;
  font-weight: 500;
  margin-top: 0.35rem;
}

.hero-stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  width: 100%;
  max-width: 28rem;
  margin-top: 1rem;
  margin-bottom: 0.15rem;
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
}

.hero-stat-value {
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.65);
}

.hero-stat-label {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
  margin-top: 0.25rem;
  white-space: nowrap;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.7);
  text-transform: capitalize;
}

.hero-stat-divider {
  width: 1px;
  height: 2.25rem;
  background: rgba(255, 255, 255, 0.35);
}

/* Banner Promocional com Amarelo Solar Intenso e Alto Contraste */
.promo-banner {
  background: linear-gradient(90deg, #fab907 0%, #fde047 50%, #fef08a 100%);
  border-bottom: 1.5px solid #f74b08;
  padding: 0.85rem 1rem;
  box-shadow: 0 2px 8px rgba(180, 83, 9, 0.08);
}

.promo-banner--ocean {
  background: linear-gradient(90deg, #e0f2fe 0%, #bae6fd 50%, #e0f2fe 100%);
  border-bottom: 1.5px solid #0284c7;
}

.promo-banner--ocean .promo-banner-text {
  color: #0c4a6e;
}

.promo-banner--emerald {
  background: linear-gradient(90deg, #d1fae5 0%, #a7f3d0 50%, #d1fae5 100%);
  border-bottom: 1.5px solid #059669;
}

.promo-banner--emerald .promo-banner-text {
  color: #064e3b;
}

.promo-banner--alert {
  background: linear-gradient(90deg, #fee2e2 0%, #fecaca 50%, #fee2e2 100%);
  border-bottom: 1.5px solid #dc2626;
}

.promo-banner--alert .promo-banner-text {
  color: #7f1d1d;
}

.promo-banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.promo-banner-icon {
  font-size: 1.15rem;
  flex-shrink: 0;
}

.promo-banner-text {
  font-size: 1rem;
  color: #713f12;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-align: center;
  line-height: 1.4;
}

@media (min-width: 640px) {
  .promo-banner-text {
    font-size: 1.0625rem;
  }
}

.hero-musician-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: var(--radius-full);
  color: #ffffff;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.hero-musician-btn:hover {
  background: rgba(255, 255, 255, 0.28);
  border-color: rgba(255, 255, 255, 0.55);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  color: #ffffff;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hero-pulse {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.3);
  animation: pulse 2s infinite;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: var(--radius-xl);
  transition: all 0.2s ease;
}

.btn-primary {
  background: #ffffff;
  color: var(--color-ocean-700);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: var(--color-ocean-50);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
}

.btn-ocean {
  background: linear-gradient(135deg, var(--color-sunset-500) 0%, var(--color-sunset-600) 60%, var(--color-sunset-700) 100%);
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(234, 88, 12, 0.25);
}

.btn-ocean:hover {
  background: linear-gradient(135deg, var(--color-sunset-400) 0%, var(--color-sunset-500) 55%, var(--color-sunset-600) 100%);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(234, 88, 12, 0.38);
}

.btn-outline {
  border: 1px solid var(--color-gray-200);
  color: var(--color-gray-700);
  background: white;
}

.btn-outline:hover {
  background: var(--color-gray-50);
  border-color: var(--color-gray-300);
}

/* Filters & Search */
.filters-bar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 0;
}

@media (min-width: 768px) {
  .filters-bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.search-input-wrapper {
  position: relative;
  flex: 1;
  max-width: 28rem;
}

.search-input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-xl);
  font-size: 0.9375rem;
  background: white;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.search-input:focus {
  border-color: var(--color-ocean-500);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

.search-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-gray-400);
  pointer-events: none;
}

.style-chips {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
}

.style-chips::-webkit-scrollbar {
  display: none;
}

.chip {
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  background: white;
  border: 1px solid var(--color-gray-200);
  color: var(--color-gray-600);
  transition: all 0.2s;
}

.chip:hover {
  border-color: var(--color-ocean-300);
  color: var(--color-ocean-600);
}

.chip.active {
  background: var(--color-ocean-600);
  border-color: var(--color-ocean-600);
  color: #ffffff;
  font-weight: 600;
}

.chip.active:hover {
  background: var(--color-ocean-500);
  border-color: var(--color-ocean-500);
  color: #ffffff;
}

/* Musicians Grid */
.musicians-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1.5rem;
  margin-bottom: 4rem;
}

@media (min-width: 640px) {
  .musicians-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .musicians-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .musicians-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Card */
.musician-card {
  background: white;
  border-radius: var(--radius-2xl);
  border: 1px solid var(--color-gray-200);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.musician-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-ocean-200);
}

.card-photo-wrapper {
  position: relative;
  aspect-ratio: 4 / 3;
  width: 100%;
  background: linear-gradient(135deg, var(--color-ocean-100), var(--color-sand-100));
  overflow: hidden;
}

.card-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.musician-card:hover .card-photo {
  transform: scale(1.05);
}

.card-avatar-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-ocean-400);
}

.card-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-gray-700);
}

.card-content {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-header-info {
  margin-bottom: 0.5rem;
}

.musician-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-gray-900);
  line-height: 1.3;
}

.musician-style {
  font-size: 0.8125rem;
  color: var(--color-ocean-600);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 0.15rem;
}

.musician-bio {
  font-size: 0.875rem;
  color: var(--color-gray-600);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 1rem;
}

.card-footer {
  margin-top: auto;
  display: flex;
  gap: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--color-gray-100);
}

/* Modals & Backdrop */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-card {
  background: white;
  border-radius: var(--radius-2xl);
  max-width: 28rem;
  width: 100%;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  animation: slideUp 0.25s ease-out;
}

/* Footer */
.footer {
  background: white;
  border-top: 1px solid var(--color-gray-200);
  padding: 3rem 0 2rem 0;
  margin-top: auto;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

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

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.05);
  }
}

/* Compact Pix Selection Cards (/apoiar) — 1 card por linha estendido */
.pix-compact-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  margin-bottom: 3rem;
}

.pix-select-card {
  background: #ffffff;
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-xl);
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.pix-select-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.12);
  border-color: var(--color-ocean-300);
}

.pix-photo-compact {
  position: relative;
  width: 3.5rem;
  height: 3.5rem;
  min-width: 3.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-ocean-100), var(--color-teal-50));
  display: flex;
  align-items: center;
  justify-content: center;
}

.pix-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pix-thumb-fallback {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-ocean-600);
}

.pix-dot-badge {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #22c55e;
  border: 1.5px solid #ffffff;
}

.pix-info-compact {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.pix-row-main {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  overflow: hidden;
}

.pix-artist-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-gray-900);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.25;
}

.pix-style-badge {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--color-ocean-700);
  background: var(--color-ocean-50);
  border: 1px solid var(--color-ocean-200);
  padding: 0.1rem 0.45rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.pix-row-sub {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.775rem;
}

.pix-instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: #db2777;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-decoration: none;
}

.pix-instagram-link:hover {
  text-decoration: underline;
}

.pix-profile-link {
  color: var(--color-gray-500);
  font-weight: 500;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-size: 0.775rem;
  transition: color 0.15s;
}

.pix-profile-link:hover {
  color: var(--color-ocean-600);
  text-decoration: underline;
}

.pix-action-compact {
  flex-shrink: 0;
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

.pix-btn-compact {
  padding: 0.5rem 0.85rem !important;
  font-size: 0.8125rem !important;
  font-weight: 700 !important;
  border-radius: var(--radius-lg) !important;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* ==========================================================================
   Dashboard Table - Scroll Horizontal Fixo no Bottom da Tela
   ========================================================================== */

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

/* O container da tabela não exibe a barra no rodapé da listagem */
.dashboard-table-scroll {
  overflow-x: auto;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE/Edge */
}

.dashboard-table-scroll::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari, Opera */
}

/* Scrollbar horizontal fixo persistente no bottom da tela (viewport) */
.sticky-horizontal-scrollbar {
  position: sticky;
  bottom: 0;
  left: 0;
  right: 0;
  overflow-x: auto;
  overflow-y: hidden;
  z-index: 25;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--color-gray-200);
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.05);
  height: 14px;
  scrollbar-width: thin;
  scrollbar-color: var(--color-ocean-400) var(--color-gray-100);
}

.sticky-horizontal-scrollbar::-webkit-scrollbar {
  height: 10px;
}

.sticky-horizontal-scrollbar::-webkit-scrollbar-track {
  background: var(--color-gray-100);
  border-radius: var(--radius-full);
}

.sticky-horizontal-scrollbar::-webkit-scrollbar-thumb {
  background: var(--color-ocean-400);
  border-radius: var(--radius-full);
}

.sticky-horizontal-scrollbar::-webkit-scrollbar-thumb:hover {
  background: var(--color-ocean-600);
}

/* ==========================================================================
   Exportação e Impressão de Extrato Contábil (PDF)
   ========================================================================== */

@media print {

  .no-print,
  header,
  footer,
  nav,
  button:not(.print-keep),
  .modal-backdrop {
    display: none !important;
  }

  body {
    background: white !important;
    color: #111827 !important;
    font-size: 11pt !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  @page {
    size: A4 portrait;
    margin: 1.2cm;
  }

  .printable-document {
    width: 100% !important;
    max-width: 100% !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  table {
    page-break-inside: auto;
  }

  tr {
    page-break-inside: avoid;
    page-break-after: auto;
  }
}

/* Notificações em Tempo Real (Live Toast) */
@keyframes slideInRight {
  from {
    transform: translateX(110%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.live-toast-container {
  pointer-events: none;
}

.live-toast-card {
  pointer-events: auto;
  animation: slideInRight 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ==========================================================================
   Modo Offline & Indicadores de Conectividade
   ========================================================================== */
@keyframes slideDownBanner {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes pulseDot {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(217, 119, 6, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(217, 119, 6, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(217, 119, 6, 0);
  }
}

.offline-banner {
  position: sticky;
  top: 4.25rem;
  z-index: 45;
  padding: 0.65rem 1rem;
  font-size: 0.84rem;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  animation: slideDownBanner 0.3s ease-out forwards;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.offline-banner-alert {
  background: linear-gradient(90deg, #fffbeb, #fef3c7);
  border-bottom: 1px solid #fde68a;
  color: #92400e;
}

.offline-banner-online {
  background: linear-gradient(90deg, #ecfdf5, #d1fae5);
  border-bottom: 1px solid #a7f3d0;
  color: #065f46;
}

.offline-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d97706;
  display: inline-block;
  animation: pulseDot 2s infinite;
  flex-shrink: 0;
}

.offline-pix-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  background: rgba(220, 38, 38, 0.12);
  color: #b91c1c;
  border: 1px solid rgba(220, 38, 38, 0.25);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.12rem 0.4rem;
  border-radius: var(--radius-full);
  margin-left: 0.4rem;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  vertical-align: middle;
}

body.is-offline .pix-support-btn,
body.is-offline .song-request-btn {
  border-color: rgba(217, 119, 6, 0.4) !important;
  transition: all 0.2s ease;
}

body.is-offline .pix-support-btn:hover,
body.is-offline .song-request-btn:hover {
  filter: brightness(0.96);
}

/* ==========================================================================
   Design System: Formulários, Inputs & Painel Administrativo
   ========================================================================== */
.admin-settings-card {
  background: white;
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-2xl);
  padding: 2.25rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.admin-settings-card:hover {
  border-color: var(--color-ocean-200);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.06);
}

.admin-card-header {
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--color-gray-100);
}

.admin-card-icon-badge {
  width: 3rem;
  height: 3rem;
  min-width: 3rem;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.admin-card-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-gray-900);
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.admin-card-subtitle {
  font-size: 0.9rem;
  color: var(--color-gray-500);
  margin-top: 0.25rem;
  line-height: 1.45;
}

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

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

.form-label {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-gray-700);
  letter-spacing: 0.01em;
}

.required-asterisk {
  color: #ef4444;
  font-weight: 800;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  font-family: inherit;
  color: var(--color-gray-900);
  background-color: #ffffff;
  border: 1px solid var(--color-gray-300);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-ocean-500);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2);
}

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

textarea.form-control {
  resize: vertical;
  min-height: 5rem;
  line-height: 1.5;
}

.form-hint {
  font-size: 0.775rem;
  color: var(--color-gray-500);
  line-height: 1.35;
}

.form-error {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #b91c1c;
  margin-top: 0.2rem;
}

.admin-actions-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.25rem 1.75rem;
  background: white;
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-sm);
}

@media (max-width: 640px) {
  .admin-settings-card {
    padding: 1.5rem 1.25rem;
  }

  .admin-card-header {
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
  }

  .admin-actions-bar {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
}

/* ==========================================================================
   Dashboard Tabs Bar - Rolagem Horizontal Suave e Responsiva no Mobile
   ========================================================================== */
.dashboard-tabs-container {
  display: flex;
  gap: 0.5rem;
  border-bottom: 1px solid var(--color-gray-200);
  padding-bottom: 0.25rem;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  white-space: nowrap;
  max-width: 100%;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

.dashboard-tabs-container::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.dashboard-tabs-container.tabs-dark {
  border-bottom-color: #334155;
}

.dashboard-tab-item {
  flex-shrink: 0;
  white-space: nowrap;
}

/* Sub-abas de listagens administrativas / moderação */
.dashboard-subtabs-container {
  display: flex;
  gap: 0.75rem;
  border-bottom: 1px solid var(--color-gray-200);
  padding-bottom: 1rem;
  margin-bottom: 1.75rem;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  white-space: nowrap;
  max-width: 100%;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.dashboard-subtabs-container::-webkit-scrollbar {
  display: none;
}

.dashboard-subtabs-container button {
  flex-shrink: 0;
  white-space: nowrap;
}

/* ==========================================================================
   Filtros Financeiros Responsivos (Admin Financial Control)
   ========================================================================== */
.financial-filter-grid {
  display: flex;
  gap: 1rem;
  align-items: flex-end;
  flex-wrap: wrap;
  padding: 1.25rem 1.5rem;
  background: var(--color-gray-50);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-gray-200);
  margin-bottom: 2rem;
}

.financial-filter-item {
  flex: 1;
  min-width: 170px;
}

@media (max-width: 640px) {
  .financial-filter-grid {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 0.875rem;
  }

  .financial-filter-item {
    width: 100% !important;
    min-width: 0 !important;
    flex: 1 1 100% !important;
  }

  .financial-filter-item select,
  .financial-filter-item button {
    width: 100% !important;
  }
}

/* ==========================================================================
   Cards de Músicos & Ações Responsivas em Telas Menores
   ========================================================================== */
.musician-card-actions {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  width: 100%;
}

@media (max-width: 480px) {
  .musician-card-actions {
    flex-direction: column;
    gap: 0.5rem;
  }

  .musician-card-actions .btn {
    width: 100% !important;
    min-width: 0 !important;
    flex: 1 1 100% !important;
    justify-content: center;
    padding: 0.75rem 0.5rem !important;
    font-size: 0.875rem !important;
  }
}

@media (max-width: 640px) {
  .pix-select-card {
    flex-wrap: wrap;
    padding: 0.85rem;
  }

  .pix-action-compact {
    width: 100%;
    margin-top: 0.5rem;
    display: flex;
    gap: 0.5rem;
  }

  .pix-action-compact button {
    flex: 1;
    justify-content: center;
    padding: 0.65rem 0.5rem !important;
    font-size: 0.8125rem !important;
  }
}
