/* Wrapper */
.bfr-wrap { max-width: 1200px; margin: 0 auto; padding: 10px 16px; }
.bfr-fullscreen { width: 100vw; max-width: 100vw !important; margin-left: 50%; transform: translateX(-50%); padding: 0 4vw; }
.elementor .bfr-fullscreen { width: 100vw; max-width: 100vw !important; margin-left: 50%; transform: translateX(-50%); }

/* Tables */
.ranking-table { width: 100%; border-collapse: collapse; margin-bottom: 30px; box-shadow: 0 4px 8px rgba(0,0,0,0.08); overflow-x: auto; }
.ranking-table th, .ranking-table td { border: 1px solid #e5e7eb; padding: 12px 10px; text-align: center; color: #111 !important; background: #fff; }
.ranking-table th { background-color: #fff !important; font-weight: 700; }
.ranking-table tr:hover { background-color: #f9fafb; }
.badge { padding: 6px 12px; border-radius: 999px; font-weight: 700; color: #fff; display: inline-block; }
.badge-top1 { background-color: #16a34a; }
.badge-top2 { background-color: #0891b2; }
.badge-top3 { background-color: #f59e0b; }

/* Charts */
.bfr-chart { width: 100%; height: 70vh; min-height: 420px; margin-top: 16px; border-radius: 10px; border: 2px solid #e5e7eb; padding: 8px; box-sizing: border-box; }
.bfr-fullscreen .bfr-chart { height: 75vh; }
.bfr-chart canvas { width: 100% !important; height: 100% !important; display: block; }

/* Headings */
h2, h3 { text-align: center; color: #111; margin: 28px 0 8px; }

/* Votes */
.no-vote { color: #6b7280; font-style: italic; }

/* Debug */
.bfr-debug { background: #111827; color: #d1d5db; padding: 8px; overflow:auto; font-size: 12px; }
