body { font-family:'Inter',sans-serif; margin:0; background:#f5f5f5; color:#333; }
.container { max-width:1200px; margin:auto; padding:20px; }

/* GRID */
.grid { display:flex; flex-wrap:wrap; gap:20px; margin-top:20px; }
.program-list { flex:2; }
.top-songs { flex:1; }

/* LIVE SHOW TOP - maior */
.live-show-card {
  display:flex;
  align-items:center;
  justify-content:space-between;
  background:linear-gradient(90deg,#1e3a8a,#2563eb);
  color:#fff;
  padding:20px;
  border-radius:14px;
  margin-bottom:25px;
  flex-wrap:wrap;
  min-height:100px;
}
.live-show-card .host-avatar { width:80px; height:80px; border-radius:50%; border:3px solid rgba(255,255,255,0.3); object-fit:cover; margin-right:20px; }
.live-info { flex:1; min-width:250px; margin-right:20px; }
.live-info .badge { background:rgba(255,255,255,0.25); color:#fff; padding:4px 8px; border-radius:9999px; font-size:0.85rem; font-weight:bold; display:inline-block; margin-bottom:6px; }
.show-title { font-size:1.4rem; font-weight:600; margin:2px 0; }
.show-host { font-size:1rem; opacity:0.85; margin:2px 0; }
.show-description { font-size:0.9rem; opacity:0.75; margin:2px 0; }
.show-time { font-size:1rem; font-weight:bold; white-space:nowrap; }

/* CARD */
.card { background:#fff; border-radius:12px; box-shadow:0 4px 12px rgba(0,0,0,0.08); overflow:hidden; margin-bottom:20px; }
.card-header { padding:14px 18px; font-weight:bold; font-size:1.1rem; border-bottom:1px solid #eee; }
.card-content { padding:14px 18px; }

/* PROGRAM ITEM */
.program-item { display:flex; justify-content:space-between; align-items:center; padding:14px; border-radius:12px; transition:0.3s; margin-bottom:8px; }
.program-item:hover { background:#f0f0f0; }
.program-item.live { border-left:4px solid #1d4ed8; background:rgba(29,78,216,0.1); }
.program-info { display:flex; align-items:center; gap:14px; }
.start-time { font-weight:bold; color:#1d4ed8; min-width:55px; font-size:0.95rem; }
.info-text h4 { margin:0; font-weight:600; font-size:1rem; }
.info-text p { margin:0; font-size:0.85rem; opacity:0.7; }

/* BADGES */
.badge { padding:4px 8px; border-radius:9999px; font-weight:bold; font-size:0.75rem; text-align:center; }
.badge-live { background:#e11d48; color:#fff; }
.badge-upcoming { background:#f3f4f6; color:#374151; }
.badge-finished { background:#f3f4f6; color:#6b7280; }

/* SONG ITEM */
.song-item { display:flex; align-items:center; gap:12px; padding:12px; border-radius:12px; transition:0.3s; }
.song-item:hover { background:#f0f0f0; }
.song-position { width:32px; height:32px; border-radius:50%; background:#1d4ed8; color:#fff; display:flex; align-items:center; justify-content:center; font-weight:bold; font-size:0.85rem; }
.song-info { flex:1; min-width:0; }
.song-info h5 { margin:0; font-weight:600; font-size:0.95rem; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.song-info p { margin:0; font-size:0.85rem; opacity:0.7; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.song-trend { font-size:0.85rem; }

/* NO PROGRAM */
.no-program { text-align:center; opacity:0.6; padding:16px 0; }

/* RESPONSIVO */
@media(max-width:768px) {
  .grid { flex-direction:column; }
  .live-show-card { flex-direction:column; align-items:flex-start; min-height:auto; }
  .show-time { margin-top:8px; }
}
/* ================= GLOBAL ================= */
body {
    font-family: 'Inter', sans-serif;
    background: #f9fafb;
    margin: 0;
    padding: 0;
    color: #374151;
}

/* ================= POLLS ================= */
.poll-section {
    padding: 60px 16px;
}

.poll-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: flex-start; /* padrão */
    max-width: 1200px;
    margin: 40px auto 0 auto; /* espaço superior e centralização */
}

/* ================= POLL CARD ================= */
.poll-card {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid #e0e7ff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;

    width: calc(50% - 12px);
    min-width: 280px;
    flex: 1 1 300px;
}

.poll-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: #2563eb;
    margin: 0;
}

.poll-description {
    font-size: 13px;
    color: #6b7280;
    margin-top: 4px;
}

.poll-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.poll-option {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.option-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.option-info input[type="checkbox"] {
    pointer-events: none;
}

.radio-circle {
    width: 14px;
    height: 14px;
    border: 2px solid #2563eb;
    border-radius: 50%;
}

.option-info span {
    font-weight: 500;
    font-size: 14px;
}

.option-votes {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #6b7280;
}

.progress-bar {
    background: #e5e7eb;
    border-radius: 6px;
    height: 6px;
    width: 100%;
    overflow: hidden;
}

.progress-bar .progress {
    background: #2563eb;
    height: 100%;
    border-radius: 6px;
    transition: width 0.3s ease;
}

.poll-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    flex-wrap: wrap;
    gap: 8px;
}

.poll-stats span {
    font-size: 12px;
    color: #6b7280;
    margin-right: 12px;
}

.vote-btn {
    background: #2563eb;
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s;
}

.vote-btn:hover {
    background: #1d4ed8;
}

.voted-msg {
    font-size: 13px;
    font-weight: 600;
    color: #10b981;
}

/* ================= CENTRALIZA SE TIVER APENAS UM ================= */
.poll-wrapper:only-child,
.poll-wrapper > .poll-card:only-child {
    justify-content: center; /* centraliza o wrapper */
}

.poll-wrapper > .poll-card:only-child {
    width: 60%; /* aumenta tamanho do card único */
    margin: 0 auto;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
    .poll-card {
        width: calc(50% - 12px);
    }
}

@media (max-width: 768px) {
    .poll-wrapper {
        justify-content: center;
    }

    .poll-card {
        width: 100%;
        padding: 16px;
    }

    .poll-header h3 {
        font-size: 16px;
    }

    .option-info span {
        font-size: 13px;
    }

    .vote-btn {
        width: 100%;
    }
}