/* =============================================================================
   PBT VOICE — bảng "🔊 Giọng đọc", nút Dừng đọc nổi, thông báo. Tiền tố .vc-, không in.
   ============================================================================= */
.vc-panel {
    margin-top: 8px;
    font-size: 13px;
    color: #e2e8f0;
}

.vc-panel>summary {
    cursor: pointer;
    font-weight: 700;
    list-style: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    padding: 4px 12px;
    border: 1.5px solid #475569;
    border-radius: 8px;
    background: #1e293b;
}

.vc-panel[open]>summary {
    border-color: #38bdf8;
}

.vc-box {
    margin-top: 8px;
    padding: 10px 12px;
    border: 1px solid #334155;
    border-radius: 10px;
    background: #0f172a;
}

.vc-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.vc-rate,
.vc-try {
    min-height: 34px;
    padding: 4px 10px;
    border: 1.5px solid #475569;
    border-radius: 8px;
    background: #1e293b;
    color: #f1f5f9;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.vc-rate.is-on {
    background: #0284c7;
    border-color: #38bdf8;
}

.vc-list {
    list-style: none;
    margin: 0 0 6px;
    padding: 0;
}

.vc-list li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
}

.vc-list li span {
    color: #94a3b8;
    flex: 1 1 auto;
}

.vc-help summary {
    cursor: pointer;
    color: #7dd3fc;
}

.vc-help p {
    margin: 6px 0 0;
    line-height: 1.5;
    color: #cbd5e1;
}

/* Nút "Dừng đọc" nổi ở góc khi đang đọc (đặt trên thanh đáy điện thoại) */
.vc-stop {
    position: fixed;
    right: 16px;
    bottom: 100px;
    z-index: 2500;
    min-height: 48px;
    padding: 8px 18px;
    border: none;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font: inherit;
    font-size: 15px;
    font-weight: 800;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.vc-toast {
    position: fixed;
    left: 50%;
    bottom: 160px;
    transform: translateX(-50%);
    z-index: 2600;
    max-width: min(92vw, 520px);
    padding: 10px 16px;
    border-radius: 12px;
    background: #1e293b;
    color: #fff;
    font-size: 14px;
    line-height: 1.45;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.vc-stop[hidden],
.vc-toast[hidden] {
    display: none;
}

/* Trang QR (nền sáng) */
.qr-voice .vc-box {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a;
}

.qr-voice .vc-rate,
.qr-voice .vc-try {
    background: #fff;
    color: #0f172a;
    border-color: #cbd5e1;
}

.qr-voice .vc-rate.is-on {
    background: #2563eb;
    color: #fff;
}

.qr-voice .vc-list li span,
.qr-voice .vc-help p {
    color: #475569;
}

.qr-voice .vc-help summary {
    color: #2563eb;
}

@media print {

    .vc-panel,
    .vc-stop,
    .vc-toast {
        display: none !important;
    }
}

