/* VocalEngine — Bảng giá: thẻ gói + bảng so sánh theo giao diện appchat-cms (bang-gia-plans.php). */

/* Tabs Cá nhân / Doanh nghiệp: thanh tròn, nút đang chọn nền trắng. */
.vp .pricing-tabs.vp-seg { display: flex; width: max-content; max-width: 100%; margin: 0 auto 40px; padding: 4px; gap: 0; border: 0; border-radius: 999px; background: rgba(35, 31, 32, .05); }
.vp .pricing-tabs.vp-seg label { display: inline-flex; align-items: center; justify-content: center; min-width: 0; height: 40px; padding: 0 22px; border-radius: 999px; font-size: 15.4px; font-weight: 600 !important; color: rgba(35, 31, 32, .62); background: transparent; box-shadow: none; white-space: nowrap; transition: all 180ms ease-out; }

/* Lưới thẻ gói. */
.vp-plans { display: grid; gap: 20px; align-items: start; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 660px) { .vp-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) {
  .vp-plans.vp-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .vp-plans.vp-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .vp-plans.vp-cols-1 { grid-template-columns: minmax(0, 420px); justify-content: center; }
}

/* Thẻ gói. */
.vp-card { --t: #231f20; --b: rgba(35, 31, 32, .78); --m: rgba(35, 31, 32, .6); --dv: rgba(35, 31, 32, .1); --qbg: rgba(45, 197, 106, .12); --qc: #157a40;
  position: relative; display: flex; flex-direction: column; height: 100%; padding: 28px 26px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px rgba(35, 31, 32, .1); color: var(--b); text-align: left; }
.vp-card.is-featured { --t: #fff; --b: rgba(255, 255, 255, .82); --m: rgba(255, 255, 255, .6); --dv: rgba(255, 255, 255, .14); --qbg: rgba(45, 197, 106, .18); --qc: #7ee2a4;
  background: #231f20; box-shadow: 0 24px 60px -30px rgba(35, 31, 32, .6); }
.vp-badge { position: absolute; top: -11px; left: 26px; padding: 4px 12px; border-radius: 999px; background: #2dc56a; font-size: 12.1px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; line-height: 1.4; }
.vp-name { margin: 0; font-size: 20.9px; font-weight: 700; letter-spacing: -.02em; line-height: 1.3; color: var(--t); }
.vp-desc { margin: 8px 0 0; min-height: 44px; font-size: 14.9px; line-height: 1.6; color: var(--m); }
.vp-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; margin-top: 18px; }
.vp-amount { font-size: 37.4px; font-weight: 700; letter-spacing: -.035em; line-height: 1.15; color: var(--t); font-variant-numeric: tabular-nums; }
.vp-per { font-size: 14.9px; font-weight: 600; color: var(--m); }
.vp-term { margin: 6px 0 0; min-height: 19px; font-size: 13.8px; color: var(--m); }
.vp-limits { display: flex; flex-direction: column; gap: 9px; margin: 18px 0 0; padding: 0; list-style: none; }
.vp-limits li { display: flex; align-items: center; gap: 10px; font-size: 15.4px; line-height: 1.4; color: var(--b); }
.vp-limits b { font-weight: 700; color: var(--t); }
.vp-ico { display: grid; place-items: center; flex-shrink: 0; width: 26px; height: 26px; border-radius: 8px; background: var(--qbg); color: var(--qc); }
.vp-ico .icon { width: 15px; height: 15px; stroke-width: 2; }
.vp-btn { display: flex; align-items: center; justify-content: center; height: 46px; margin-top: 22px; border-radius: 999px; font-size: 16px; font-weight: 600; color: #231f20; background: transparent; box-shadow: inset 0 0 0 1px rgba(35, 31, 32, .16); transition: background 150ms ease-out, filter 150ms ease-out; }
.vp-btn:hover { background: rgba(35, 31, 32, .04); color: #231f20; }
.vp-card.is-featured .vp-btn { color: #fff; background: #2dc56a; box-shadow: none; }
.vp-card.is-featured .vp-btn:hover { filter: brightness(.97); color: #fff; }

.vp-check { width: 15px; height: 15px; flex-shrink: 0; stroke: #2dc56a; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.vp-feat { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--dv); }
.vp-feat-title { font-size: 12.7px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--m); }
.vp-feat ul { display: flex; flex-direction: column; gap: 11px; margin: 14px 0 0; padding: 0; list-style: none; }
.vp-feat li { display: flex; gap: 10px; font-size: 15.4px; line-height: 1.55; color: var(--b); }
.vp-feat li .vp-check { margin-top: 4px; }

.vp-phone { margin-top: 20px; padding: 12px 14px; border-radius: 12px; background: rgba(45, 197, 106, .06); box-shadow: inset 0 0 0 1px rgba(45, 197, 106, .22); }
.vp-card.is-featured .vp-phone { background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.vp-phone-head { display: flex; align-items: center; gap: 8px; font-size: 14.3px; font-weight: 700; color: var(--t); }
.vp-phone-ico { width: 15px; height: 15px; flex-shrink: 0; stroke: #2dc56a; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vp-phone-meta { margin-left: auto; font-weight: 600; color: var(--m); white-space: nowrap; }
.vp-phone ul { display: flex; flex-direction: column; gap: 4px; margin: 8px 0 0; padding-left: 23px; }
.vp-phone li { list-style: disc; font-size: 13.8px; line-height: 1.5; color: var(--m); }

.vp-note { margin: 24px 0 0; font-size: 14.3px; color: rgba(35, 31, 32, .55); }

/* Bảng so sánh. */
.vp-compare { margin-top: 88px; }
.vp-compare-head { max-width: 680px; }
.vp-compare-head .eyebrow { margin-bottom: 0; }
.vp-compare-head h3 { margin: 12px 0 0; font-size: clamp(28.6px, 1.6vw + 19.8px, 39.6px); font-weight: 700; letter-spacing: -.03em; line-height: 1.2; color: #231f20; }
.vp-compare-head p { margin: 14px 0 0; font-size: 17.6px; line-height: 1.7; color: rgba(35, 31, 32, .68); }
.vp-table-wrap { margin-top: 36px; overflow-x: auto; background: #fff; }
.vp-table { width: 100%; min-width: calc(180px + var(--vp-n) * 120px); border-collapse: collapse; text-align: left; background: #fff; }
.vp-table th, .vp-table td { min-width: 0; padding: 15px 16px; border: 0; border-bottom: 1px solid rgba(35, 31, 32, .07); font-size: 15.4px; vertical-align: middle; }
.vp-table thead th { padding: 14px 16px; border-bottom-color: rgba(35, 31, 32, .12); font-size: 15.4px; font-weight: 700; color: #231f20; background: transparent; }
.vp-table thead th.vp-sticky { width: 34%; font-size: 13.2px; letter-spacing: .1em; text-transform: uppercase; color: rgba(35, 31, 32, .55); }
.vp-table tbody th { font-weight: 600; color: #231f20; background: #fff; }
.vp-table tbody th span { display: block; }
.vp-table tbody th small { display: block; margin-top: 3px; font-size: 13.8px; font-weight: 500; color: rgba(35, 31, 32, .55); }
.vp-table td { color: rgba(35, 31, 32, .78); }
.vp-table tbody tr:nth-child(even) th { background: #fafaf9; }
.vp-table tbody tr:nth-child(even) td { background: rgba(35, 31, 32, .02); }
.vp-table .is-hl { background: rgba(45, 197, 106, .06); }
.vp-table tbody tr:nth-child(even) td.is-hl { background: rgba(45, 197, 106, .09); }
.vp-table thead th.is-hl { background: rgba(45, 197, 106, .07); }
.vp-table .vp-check { width: 17px; height: 17px; vertical-align: middle; }
.vp-dash { display: inline-block; width: 14px; height: 2px; border-radius: 2px; background: rgba(35, 31, 32, .22); vertical-align: middle; }
.vp-sticky { position: sticky; left: 0; z-index: 1; min-width: 180px !important; box-shadow: 6px 0 10px -8px rgba(35, 31, 32, .35); }
@media (min-width: 640px) { .vp-table { min-width: calc(200px + var(--vp-n) * 150px); } .vp-sticky { min-width: 220px !important; } }
@media (min-width: 1000px) { .vp-sticky { box-shadow: none; } }
@media (max-width: 640px) { .vp-compare { margin-top: 64px; } .vp-card { padding: 26px 22px; } }

/* ── Dự toán: "Tự tính chi phí trước khi đăng ký" (bố cục appchat-cms, bp3-est) ── */
#credits.ve-est { border-top: 1px solid rgba(35, 31, 32, .08); }
.ve-est-heading { max-width: 720px; }
.ve-est-heading .eyebrow { margin-bottom: 0; }
.ve-est-heading h2 { margin: 12px 0 0; font-size: clamp(28.6px, 1.6vw + 19.8px, 39.6px); font-weight: 700; letter-spacing: -.03em; line-height: 1.2; color: #231f20; }
.ve-est-heading p { margin: 14px 0 0; font-size: 17.6px; line-height: 1.7; color: rgba(35, 31, 32, .68); }
.ve-est-grid { display: grid; gap: 24px; align-items: start; grid-template-columns: minmax(0, 1fr); margin-top: 36px; }
@media (min-width: 1000px) { .ve-est-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); } .ve-est-sum { position: sticky; top: 96px; } }
.ve-est-steps { display: flex; flex-direction: column; gap: 20px; min-width: 0; }

.ve-est-card { display: block; padding: clamp(16px, 3vw, 22px); border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px rgba(35, 31, 32, .1); }
.ve-est-card h3 { margin: 0; font-size: 17.6px; font-weight: 700; letter-spacing: -.01em; line-height: 1.4; color: #231f20; }
.ve-est-card h3 small { font-size: 14.9px; font-weight: 500; color: rgba(35, 31, 32, .6); }
.ve-est-num { color: #1a7d41; }

.ve-est-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.ve-chip { height: 38px; padding: 0 16px; border: 0; border-radius: 999px; font-size: 14.9px; font-weight: 600; white-space: nowrap; color: #231f20; background: #fff; box-shadow: inset 0 0 0 1px rgba(35, 31, 32, .16); transition: all 150ms ease-out; }
.ve-chip[aria-pressed="true"] { color: #fff; background: #231f20; box-shadow: none; }

.ve-est-plans { display: grid; gap: 10px; margin-top: 12px; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); }
.ve-est-plans[hidden] { display: none; }
.ve-est-plan { padding: 12px 14px; border: 0; border-radius: 14px; text-align: left; background: #fff; box-shadow: inset 0 0 0 1px rgba(35, 31, 32, .14); transition: all 150ms ease-out; }
.ve-est-plan b { display: block; font-size: 15.4px; font-weight: 700; color: #231f20; }
.ve-est-plan span { display: block; margin-top: 2px; font-size: 14.3px; color: rgba(35, 31, 32, .66); }
.ve-est-plan[aria-pressed="true"] { background: rgba(45, 197, 106, .1); box-shadow: inset 0 0 0 2px #2dc56a; }

.ve-est-term { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 16px; }
.ve-est-term > span:first-child { font-size: 14.9px; font-weight: 600; color: rgba(35, 31, 32, .66); }
.ve-seg { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(35, 31, 32, .05); }
.ve-seg button { height: 34px; padding: 0 16px; border: 0; border-radius: 999px; font-size: 14.9px; font-weight: 600; white-space: nowrap; color: rgba(35, 31, 32, .62); background: transparent; transition: all 150ms ease-out; }
.ve-seg button[aria-pressed="true"] { color: #231f20; background: #fff; box-shadow: 0 1px 3px rgba(35, 31, 32, .16); }

.ve-est-addons { display: flex; flex-direction: column; margin: 10px 0 0; padding: 0; list-style: none; }
.ve-est-addon { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 10px 14px; align-items: center; padding: 14px 0; border-top: 1px solid rgba(35, 31, 32, .07); }
.ve-est-addon .ve-stepper { grid-column: 2; }
@media (min-width: 560px) { .ve-est-addon { grid-template-columns: 40px minmax(0, 1fr) auto; } .ve-est-addon .ve-stepper { grid-column: auto; } }
.ve-est-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(45, 197, 106, .12); color: #157a40; }
.ve-est-ico .icon { width: 18px; height: 18px; stroke-width: 2; }
.ve-est-addon-text b { display: block; font-size: 15.4px; font-weight: 700; color: #231f20; }
.ve-est-addon-text p { margin: 0; font-size: 13.8px; line-height: 1.5; color: rgba(35, 31, 32, .62); }
.ve-stepper { display: inline-flex; align-items: center; gap: 8px; }
.ve-stepper button { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 12px; font-size: 18px; font-weight: 700; line-height: 1; color: #231f20; background: #fff; box-shadow: inset 0 0 0 1px rgba(35, 31, 32, .16); }
.ve-stepper .ve-inc { color: #fff; background: #2dc56a; box-shadow: none; }
.ve-stepper button:disabled { opacity: .4; cursor: not-allowed; }
.ve-stepper output { min-width: 26px; text-align: center; font-size: 16.5px; font-weight: 700; color: #231f20; }

.ve-est-label { display: block; margin-top: 14px; font-size: 14.3px; font-weight: 600; color: rgba(35, 31, 32, .7); }
.ve-est-money { display: flex; align-items: center; margin-top: 6px; padding: 0 14px; border-radius: 12px; box-shadow: inset 0 0 0 1.5px rgba(35, 31, 32, .14); }
.ve-est-money input { flex: 1; min-width: 0; padding: 12px 0; border: 0; outline: none; background: transparent; font-size: 20px; font-weight: 700; color: #231f20; }
.ve-est-money:focus-within { box-shadow: inset 0 0 0 2px #2dc56a; }
.ve-est-money span { font-weight: 700; color: rgba(35, 31, 32, .55); }
.ve-est-card .ve-est-chips:not(:first-child) { margin-top: 10px; }
.ve-est-note { margin: 10px 0 0; font-size: 14.3px; color: rgba(35, 31, 32, .66); }
.ve-est-fine { margin: 8px 0 0; font-size: 13.2px; line-height: 1.55; color: rgba(35, 31, 32, .5); }

.ve-est-call > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; list-style: none; cursor: pointer; }
.ve-est-call > summary::-webkit-details-marker { display: none; }
.ve-est-call > summary::after { content: "+"; flex-shrink: 0; font-size: 22px; font-weight: 500; line-height: 1; color: #1a7d41; }
.ve-est-call[open] > summary::after { content: "\2212"; }
.ve-est-call select, .ve-est-call input { display: block; width: 100%; margin-top: 6px; padding: 11px 14px; border: 0; border-radius: 12px; font-size: 15.4px; font-weight: 500; color: #231f20; background: #fff; box-shadow: inset 0 0 0 1.5px rgba(35, 31, 32, .14); }
.ve-est-fields { display: grid; gap: 0 14px; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); }

/* Khung tổng: nền xanh đậm như appchat. */
.ve-est-sum { padding: clamp(20px, 3vw, 26px); border-radius: 22px; color: #fff; background: linear-gradient(135deg, #06250f, #14532d); scroll-margin-top: 90px; }
.ve-est-sum-title { font-size: 13.2px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #7ee2a4; }
.ve-est-lines { display: flex; flex-direction: column; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.ve-est-lines li, .ve-est-row { display: flex; justify-content: space-between; gap: 12px; font-size: 14.9px; color: rgba(255, 255, 255, .75); }
.ve-est-lines span { min-width: 0; overflow-wrap: anywhere; }
.ve-est-lines b, .ve-est-row b { font-weight: 600; color: #fff; white-space: nowrap; }
.ve-est-month { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .16); font-size: 14.9px; color: rgba(255, 255, 255, .75); }
.ve-est-month b { font-size: 22px; font-weight: 700; color: #fff; white-space: nowrap; }
.ve-est-row { margin-top: 8px; }
.ve-est-grand { margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .1); }
.ve-est-grand > div { font-size: 13.8px; color: rgba(255, 255, 255, .75); }
.ve-est-grand strong { display: block; margin-top: 2px; font-size: 32px; font-weight: 700; letter-spacing: -.03em; line-height: 1.25; color: #7ee2a4; }
.ve-est-grand small { display: block; font-size: 13.2px; color: rgba(255, 255, 255, .6); }
.ve-est-gets-title { margin-top: 18px; font-size: 13.2px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.ve-est-gets { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; margin: 10px 0 0; padding: 0; list-style: none; }
.ve-est-gets li { font-size: 14.3px; line-height: 1.4; color: rgba(255, 255, 255, .75); }
.ve-est-gets b { display: block; font-size: 17.6px; color: #fff; }
.ve-est-usage { margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .16); }
.ve-est-usage summary { cursor: pointer; font-size: 14.3px; font-weight: 600; color: rgba(255, 255, 255, .85); }
.ve-est-usage dl { margin: 10px 0 0; }
.ve-est-usage dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 14.3px; }
.ve-est-usage dt { color: rgba(255, 255, 255, .7); }
.ve-est-usage dd { margin: 0; font-weight: 600; color: #fff; text-align: right; }
.ve-est-usage p { margin: 8px 0 0; font-size: 13.2px; line-height: 1.5; color: rgba(255, 255, 255, .55); }
.ve-est-register { display: flex; align-items: center; justify-content: center; width: 100%; height: 48px; margin-top: 22px; border: 0; border-radius: 999px; font-size: 16px; font-weight: 600; color: #fff; background: #2dc56a; transition: filter 150ms ease-out; }
.ve-est-register:hover { filter: brightness(.97); }
.ve-est-reset { width: 100%; height: 40px; margin-top: 10px; border: 0; font-size: 14.3px; font-weight: 600; color: rgba(255, 255, 255, .7); background: transparent; }
.ve-est-reset:hover { color: #fff; }

/* Bảng cước gọi & đơn giá. */
.ve-est-rates { margin-top: 24px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px rgba(35, 31, 32, .1); }
.ve-est-rates > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; list-style: none; cursor: pointer; font-size: 16.5px; font-weight: 700; color: #231f20; }
.ve-est-rates > summary::-webkit-details-marker { display: none; }
.ve-est-rates > summary::after { content: "+"; font-size: 22px; font-weight: 500; line-height: 1; color: #1a7d41; }
.ve-est-rates[open] > summary::after { content: "\2212"; }
.ve-est-rates-body { padding: 0 22px 22px; }
.ve-est-rates-body h3 { margin: 0 0 12px; font-size: 15.4px; font-weight: 700; color: rgba(35, 31, 32, .7); }
.ve-est-rates-wrap { overflow-x: auto; }
.ve-est-rates table { width: 100%; min-width: 520px; border-collapse: collapse; background: #fff; font-size: 15.4px; }
.ve-est-rates th, .ve-est-rates td { min-width: 0; padding: 13px 16px; border: 0; border-bottom: 1px solid rgba(35, 31, 32, .07); text-align: left; }
.ve-est-rates th { font-size: 13.2px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(35, 31, 32, .55); background: transparent; }
.ve-est-rates td { color: rgba(35, 31, 32, .78); }
.ve-est-rates td:first-child { font-weight: 600; color: #231f20; }
.ve-est-rates tbody tr:nth-child(even) td { background: #fafaf9; }
