/* =========================================================
   pomchai.com — style.css (แบบ B: หัวเว็บสีน้ำเงินเข้ม)
   ใช้คู่กับ Bootstrap 5 — ไฟล์นี้แต่งเพิ่มเฉพาะส่วนที่ Bootstrap ไม่มี
   สีหลักแก้ได้ที่ :root ด้านล่าง
   --c = สีประจำของแต่ละโปรแกรม (ใส่ใน style="--c:#..." ของการ์ด)
   ========================================================= */
:root {
  --pc-primary: #0d6efd;
  --pc-navy: #0b1d3a;
  --pc-navy-2: #13305e;
  --pc-sky: #85b7eb;
  --pc-bg: #f4f7fc;
  --pc-border: #e4eaf3;
  --pc-sale: #e03131;
  --c: #0d6efd;
  --bs-body-font-family: "Sarabun", system-ui, sans-serif;
}
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { background: var(--pc-bg); color: #1f2937; font-size: 1.02rem; }
h1, h2, h3, h4, h5, h6, .navbar-brand, .btn, .nav-link, .badge, .cd b { font-family: "Prompt", sans-serif; }
a { text-decoration: none; }
.min-w-0 { min-width: 0; }
.btn-primary { --bs-btn-bg: #0d6efd; --bs-btn-hover-bg: #0b5ed7; }

/* ---------- Navbar ---------- */
.navbar { background: rgba(255,255,255,.92); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--pc-border); }
.navbar-brand { font-weight: 600; color: var(--pc-navy) !important; }
.brand-logo { width: 38px; height: 38px; border-radius: 10px; display: inline-grid; place-items: center; background: linear-gradient(135deg, #0d6efd, #4f9bff); color: #fff; font-size: 1.15rem; }
.navbar .nav-link { font-weight: 500; color: #334155; }
.navbar .nav-link:hover { color: var(--pc-primary); }
.btn-facebook { background: #1877f2; color: #fff; } .btn-facebook:hover { background: #0f63d1; color: #fff; }

/* ---------- Hero ---------- */
.hero {
  color: #fff; padding: 4.5rem 0 5rem; position: relative; overflow: hidden;
  background:
    radial-gradient(600px 400px at 85% 20%, rgba(55,138,221,.35), transparent 70%),
    radial-gradient(500px 300px at 0% 100%, rgba(13,110,253,.25), transparent 70%),
    var(--pc-navy);
}
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px); background-size: 22px 22px; pointer-events: none; }
.hero .container { position: relative; }
.hero-pill { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .5rem; background: var(--pc-navy-2); border: 1px solid #2e5aa8; padding: .35rem .5rem .35rem .4rem; border-radius: 50rem; font-size: .9rem; margin-bottom: 1.4rem; }
.hero-pill .hp-label { background: #378add; padding: .1rem .7rem; border-radius: 50rem; font: 500 .8rem "Prompt", sans-serif; }
.hero-title { font-weight: 600; font-size: clamp(1.9rem, 3.6vw, 2.75rem); line-height: 1.25; margin-bottom: 1rem; text-wrap: balance; }
.hero-title span { color: var(--pc-sky); }
.hero-lead { color: #c5d8f2; font-size: 1.12rem; max-width: 540px; margin-bottom: 1.6rem; }
.hero-lead b { color: #fff; }
.btn-ghost { border: 1px solid rgba(255,255,255,.4); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.6); }
.hero-stats { display: flex; gap: 2.25rem; flex-wrap: wrap; }
.hero-stats strong { display: block; font: 600 1.5rem/1.2 "Prompt", sans-serif; }
.hero-stats small { color: #9fb6d6; }
.hero-visual { position: relative; padding: 0 1.5rem 2rem 0; }
.hero-shot { height: 360px; transform: perspective(1400px) rotateY(-8deg) rotateX(3deg); transform-origin: left center; }
.hero-shot .win { transform: none; height: 100%; border-radius: 14px; box-shadow: 0 30px 70px rgba(0,0,0,.45); }
.hero-shot .win-img { height: calc(100% - 30px); }
.hero-price { position: absolute; right: 0; bottom: 0; width: 220px; background: #fff; color: #1f2937; border-radius: 16px; padding: 1rem 1.1rem; box-shadow: 0 20px 40px rgba(0,0,0,.3); }
.hero-price small { color: #64748b; display: block; font-size: .8rem; }
.hero-price strong { font: 600 1.6rem "Prompt", sans-serif; color: var(--pc-primary); }
.hero-price s { color: #94a3b8; }
.hero-badge { position: absolute; left: -.5rem; bottom: 2.5rem; background: #fff; color: #0f6e56; border-radius: 50rem; padding: .45rem 1rem; font: 500 .85rem "Prompt", sans-serif; box-shadow: 0 12px 30px rgba(0,0,0,.25); }

/* ---------- Trust bar ---------- */
.trust { background: #fff; border-bottom: 1px solid var(--pc-border); padding: 1.25rem 0; }
.trust .col-6 { display: flex; gap: .8rem; align-items: center; justify-content: center; }
@media (min-width: 768px) { .trust .col-6 { justify-content: flex-start; } }
.trust i { width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; background: #eef4ff; color: var(--pc-primary); font-size: 1.25rem; }
.trust b { display: block; font: 600 .95rem "Prompt", sans-serif; color: var(--pc-navy); }
.trust small { color: #64748b; font-size: .8rem; }

/* ---------- Section ---------- */
.section { padding: 5rem 0; }
.section-alt { background: #fff; border-top: 1px solid var(--pc-border); border-bottom: 1px solid var(--pc-border); }
.sec-head { text-align: center; max-width: 640px; margin: 0 auto 2.75rem; }
.eyebrow { display: inline-block; font: 500 .85rem "Prompt", sans-serif; color: var(--pc-primary); background: #eef4ff; padding: .2rem .8rem; border-radius: 50rem; margin-bottom: .75rem; }
.section-title { font-weight: 600; color: var(--pc-navy); }
.sec-head p { color: #64748b; margin: .5rem 0 0; }

/* ---------- การ์ดโปรแกรม ---------- */
.pcard { background: #fff; border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--pc-border); box-shadow: 0 10px 30px rgba(15,23,42,.06); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.pcard:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--c) 35%, #fff); box-shadow: 0 22px 44px color-mix(in srgb, var(--c) 22%, transparent); }
.pcard-media { display: block; position: relative; padding: 1.4rem 1.4rem 0; height: 190px; overflow: hidden; background: radial-gradient(circle at 15% 15%, rgba(255,255,255,.35) 0, transparent 40%), linear-gradient(140deg, var(--c), color-mix(in srgb, var(--c) 55%, #fff)); }
.flag { position: absolute; top: 14px; right: 14px; z-index: 2; font: 600 .75rem "Prompt", sans-serif; padding: .25rem .7rem; border-radius: 50rem; background: #fff; box-shadow: 0 4px 10px rgba(0,0,0,.12); }
.flag.new { color: var(--pc-sale); } .flag.upd { color: #0b7285; }
.flag.static { position: static; display: inline-block; }
.win { background: #fff; border-radius: 12px 12px 0 0; height: 100%; box-shadow: 0 -2px 24px rgba(0,0,0,.18); transform: translateY(8px); transition: transform .3s ease; overflow: hidden; }
.pcard:hover .win { transform: translateY(0); }
.win-bar { display: flex; align-items: center; gap: 5px; padding: 8px 10px; border-bottom: 1px solid #eef1f6; background: #fff; }
.win-bar span { width: 8px; height: 8px; border-radius: 50%; background: #ff5f57; }
.win-bar span:nth-child(2) { background: #febc2e; } .win-bar span:nth-child(3) { background: #28c840; }
.win-bar em { font: normal .66rem/1 Consolas, monospace; color: #94a3b8; margin-left: 8px; background: #f3f6fa; padding: 3px 8px; border-radius: 50rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win-img { height: calc(100% - 30px); overflow: hidden; }
.win-img img { width: 100%; height: 100%; object-fit: cover; object-position: top left; display: block; transition: transform .5s ease; }
.pcard:hover .win-img img { transform: scale(1.04); }
.pcard-body { padding: 1.25rem 1.4rem 1rem; display: flex; flex-direction: column; flex: 1; }
.pcard-head { display: flex; gap: .85rem; align-items: center; margin-top: -2.6rem; position: relative; z-index: 2; margin-bottom: .9rem; }
.pcard-head > div { padding-top: 2.4rem; }
.pcard-ic { width: 56px; height: 56px; flex-shrink: 0; border-radius: 16px; display: grid; place-items: center; font-size: 1.5rem; color: #fff; background: linear-gradient(140deg, var(--c), color-mix(in srgb, var(--c) 70%, #000)); border: 4px solid #fff; box-shadow: 0 8px 18px color-mix(in srgb, var(--c) 35%, transparent); }
.pcard-title { font-size: 1.08rem; font-weight: 600; color: var(--pc-navy); margin: 0 0 .15rem; line-height: 1.35; }
.pcard-title a { color: inherit; } .pcard-title a:hover { color: var(--c); }
.pcard-meta { font-size: .8rem; color: #64748b; }
.pcard-meta .ver { font-family: "Prompt", sans-serif; font-weight: 600; color: var(--c); }
.pcard-text { color: #475569; font-size: .95rem; margin-bottom: .9rem; flex: 1; }
.pcard-tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: 1rem; }
.pcard-tags span { font: 500 .72rem "Prompt", sans-serif; padding: .22rem .6rem; border-radius: 50rem; color: color-mix(in srgb, var(--c) 80%, #000); background: color-mix(in srgb, var(--c) 9%, #fff); }
.pcard-actions { display: grid; grid-template-columns: 1fr 1.25fr; gap: .6rem; }
.pcard-actions .btn { border-radius: 12px; padding: .6rem; font-weight: 500; }
.btn-demo { color: var(--c); background: color-mix(in srgb, var(--c) 9%, #fff); border: 0; }
.btn-demo:hover { color: #fff; background: var(--c); }
.btn-dl { color: #fff; background: var(--c); border: 0; box-shadow: 0 6px 14px color-mix(in srgb, var(--c) 35%, transparent); }
.btn-dl:hover { color: #fff; background: color-mix(in srgb, var(--c) 82%, #000); }
.pcard-foot { display: flex; justify-content: space-between; margin-top: .85rem; font-size: .83rem; color: #64748b; }
.pcard-foot a { color: #64748b; } .pcard-foot a:hover { color: var(--c); }

/* ---------- แพ็กเกจราคา ---------- */
.plan { position: relative; height: 100%; background: #fff; border: 1px solid var(--pc-border); border-radius: 20px; padding: 2rem 1.75rem; display: flex; flex-direction: column; }
.plan.best { background: var(--pc-navy); color: #fff; border: 0; box-shadow: 0 24px 50px rgba(11,29,58,.3); transform: translateY(-10px); }
.plan-tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--pc-sale); color: #fff; font: 600 .8rem "Prompt", sans-serif; padding: .25rem 1rem; border-radius: 50rem; }
.plan-name { font: 600 1.15rem "Prompt", sans-serif; }
.plan-price { font: 600 2.3rem/1.2 "Prompt", sans-serif; margin: .5rem 0; color: var(--pc-primary); }
.plan.best .plan-price { color: #fff; }
.plan-price small { font-size: .9rem; font-weight: 400; color: #64748b; }
.plan.best .plan-price small { color: #9fb6d6; }
.plan-desc { color: #64748b; font-size: .95rem; }
.plan.best .plan-desc { color: #b5c9e6; }
.plan ul { list-style: none; padding: 0; margin: .5rem 0 1.5rem; display: grid; gap: .6rem; flex: 1; align-content: start; }
.plan li i { color: #0ca678; margin-right: .4rem; font-size: 1.1rem; }
.plan.best li i { color: #63e6be; }

/* ---------- ขั้นตอน / FAQ / ติดต่อ ---------- */
.step { text-align: center; }
.step .ic { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 1rem; background: var(--pc-navy); color: #fff; font: 600 1.3rem "Prompt", sans-serif; box-shadow: 0 0 0 6px #e3ecfa; }
.step p { color: #64748b; font-size: .95rem; margin: 0; }
.faq .accordion-item { border: 1px solid var(--pc-border); border-radius: 14px !important; margin-bottom: .75rem; overflow: hidden; }
.faq .accordion-button { font-family: "Prompt", sans-serif; font-weight: 500; color: var(--pc-navy); }
.faq .accordion-button:not(.collapsed) { background: #f3f8fe; color: var(--pc-primary); box-shadow: none; }
.faq .accordion-body { color: #475569; }
.contact-band { background: radial-gradient(400px 200px at 90% 0%, rgba(55,138,221,.4), transparent 70%), var(--pc-navy); color: #fff; border-radius: 24px; padding: 2.75rem; }

/* ---------- หน้ารายละเอียด ---------- */
.d-hero { color: #fff; padding: 2rem 0 0; overflow: hidden; position: relative;
  background: radial-gradient(600px 400px at 85% 10%, color-mix(in srgb, var(--c) 45%, transparent), transparent 70%), var(--pc-navy); }
.d-hero .breadcrumb a { color: #b5c9e6; }
.d-hero .breadcrumb-item.active, .d-hero .breadcrumb-item + .breadcrumb-item::before { color: #7f95b8; }
.pcard-ic.big { width: 72px; height: 72px; font-size: 2rem; border-radius: 20px; border-color: rgba(255,255,255,.15); }
.d-title { font-weight: 600; font-size: clamp(1.8rem, 3.5vw, 2.6rem); line-height: 1.25; margin-bottom: .75rem; }
.d-lead { font-size: 1.12rem; color: #c5d8f2; }
.d-tags span { background: rgba(255,255,255,.12); color: #fff; }
.d-facts { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-size: .92rem; color: #9fb6d6; padding-bottom: 2rem; }
.d-shot { height: 340px; align-self: end; }
.d-shot .win { transform: none; height: 100%; }
.shot-btn { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.panel { background: #fff; border: 1px solid var(--pc-border); border-radius: 18px; padding: 1.75rem; }
.panel-title { font-size: 1.15rem; font-weight: 600; color: var(--pc-navy); margin-bottom: 1rem; }
.panel-title i { color: var(--c); margin-right: .35rem; }
.d-features { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: .75rem; }
.d-features li { display: flex; gap: .7rem; align-items: flex-start; background: #f8fafc; border-radius: 12px; padding: .75rem .9rem; }
.d-features i { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: .9rem; color: #fff; background: var(--c); margin-top: 1px; }
.shot-thumb { position: relative; display: block; width: 100%; padding: 0; border: 1px solid var(--pc-border); border-radius: 12px; overflow: hidden; background: #fff; cursor: zoom-in; }
.shot-thumb img { width: 100%; aspect-ratio: 16 / 9.5; object-fit: cover; object-position: top left; display: block; transition: transform .4s ease; }
.shot-thumb span { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 1.6rem; background: color-mix(in srgb, var(--c) 45%, transparent); opacity: 0; transition: .25s; }
.shot-thumb:hover img { transform: scale(1.04); }
.shot-thumb:hover span, .shot-thumb:focus-visible span { opacity: 1; }
figcaption { font-size: .85rem; color: #64748b; text-align: center; margin-top: .5rem; }
.lb-cap { text-align: center; color: #fff; font-size: .9rem; padding: .6rem; background: rgba(0,0,0,.55); }
.install-steps { counter-reset: s; list-style: none; padding: 0; }
.install-steps li { counter-increment: s; position: relative; padding-left: 2.5rem; margin-bottom: .9rem; }
.install-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--c); color: #fff; display: grid; place-items: center; font: .85rem "Prompt", sans-serif; }
.timeline { list-style: none; padding-left: 1rem; border-left: 2px solid var(--pc-border); margin: 0; }
.timeline li { position: relative; margin-bottom: 1rem; }
.timeline li::before { content: ""; position: absolute; left: -1.4rem; top: .4rem; width: 11px; height: 11px; border-radius: 50%; background: var(--c); }
.timeline small { color: #64748b; }
.d-side { position: sticky; top: 88px; }
.d-side .table th, .d-side .table td { padding: .45rem 0; }
.demo-cred { background: #f8fafc; border: 1px dashed #cbd5e1; border-radius: 12px; padding: .7rem 1rem; }
.demo-cred code { color: var(--c); }

/* กล่องซื้อ */
.buy-box { border: 2px solid var(--pc-primary); box-shadow: 0 18px 40px rgba(13,110,253,.12); }
.pkg-list { display: grid; gap: .6rem; margin-bottom: 1rem; }
.pkg { display: flex; align-items: center; gap: .75rem; border: 1.5px solid var(--pc-border); border-radius: 14px; padding: .75rem .9rem; cursor: pointer; transition: .15s; }
.pkg:hover { border-color: #9ec5fe; }
.pkg:has(input:checked) { border-color: var(--pc-primary); background: #f3f8fe; }
.pkg input { accent-color: var(--pc-primary); width: 18px; height: 18px; flex-shrink: 0; }
.pkg-body { flex: 1; min-width: 0; }
.pkg-name { display: block; font: 600 .98rem "Prompt", sans-serif; color: var(--pc-navy); }
.pkg-name em { font-style: normal; font-size: .7rem; background: var(--pc-sale); color: #fff; padding: .05rem .45rem; border-radius: 5px; margin-left: .25rem; vertical-align: 2px; }
.pkg-desc { display: block; font-size: .8rem; color: #64748b; }
.pkg-price { text-align: right; }
.pkg-price b { display: block; font: 600 1.05rem "Prompt", sans-serif; color: var(--pc-primary); }
.pkg-price s { font-size: .78rem; color: #94a3b8; }
.buy-trust { list-style: none; padding: 0; margin: 1rem 0 .75rem; display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-size: .82rem; color: #475569; }
.buy-trust i { color: #0ca678; }

/* ---------- ตะกร้า / ชำระเงิน ---------- */
.modal-content { border: 0; border-radius: 20px; }
.pp-head { display: inline-block; background: #0b3d7a; color: #fff; font: 600 .95rem "Prompt", sans-serif; padding: .35rem 1.2rem; border-radius: 10px 10px 0 0; }
.qr-box { width: 232px; height: 232px; margin: 0 auto; border: 2px solid #0b3d7a; border-radius: 14px; display: grid; place-items: center; background: #fff; padding: 14px; }
.qr-box img, .qr-box canvas { max-width: 100%; }
.qr-empty { color: #64748b; font-size: .85rem; line-height: 1.5; }
.pp-amount { margin-top: .75rem; font-size: 1rem; color: #475569; }
.pp-amount b { font: 600 1.6rem "Prompt", sans-serif; color: var(--pc-primary); margin-left: .25rem; }
.slip-preview img { margin-top: .5rem; max-height: 140px; border-radius: 8px; border: 1px solid var(--pc-border); }

/* หน้าชำระเงิน: สรุปยอด */
.sum > div { display: flex; justify-content: space-between; padding: .2rem 0; }
.sum .total { font: 600 1.25rem "Prompt", sans-serif; color: var(--pc-navy); border-top: 1px solid var(--pc-border); margin-top: .5rem; padding-top: .6rem; }
.qr-box img { width: 100%; height: 100%; object-fit: contain; }
.btn.disabled { pointer-events: none; opacity: .5; }
.pcard-ic.big { display: grid; }

/* ---------- Footer ---------- */
footer { background: var(--pc-navy); color: #9fb6d6; }
footer h6 { color: #fff; font-family: "Prompt", sans-serif; font-weight: 600; margin-bottom: 1rem; }
footer a { color: #c5d8f2; } footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); }
#toTop { position: fixed; right: 20px; bottom: 20px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--pc-primary); color: #fff; box-shadow: 0 6px 18px rgba(13,110,253,.35); opacity: 0; pointer-events: none; transition: .25s; z-index: 1030; }
#toTop.show { opacity: 1; pointer-events: auto; }

@media (max-width: 991.98px) {
  .hero-shot { transform: none; height: 280px; }
  .hero-visual { padding: 0 0 4.5rem; }
  .hero-price { right: 1rem; }
  .plan.best { transform: none; }
  .d-shot { height: 260px; }
  .d-side { position: static; }
}
@media (max-width: 767.98px) {
  .hero { padding: 3rem 0 3.5rem; }
  .hero-badge { display: none; }
  .section { padding: 3.5rem 0; }
  .panel { padding: 1.25rem; }
  .contact-band { padding: 1.75rem; }
}
@media (prefers-reduced-motion: reduce) { .pcard, .win, .win-img img, .shot-thumb img { transition: none; } html { scroll-behavior: auto; } }

/* =========================================================
   ระบบบัญชีผู้ใช้
   ========================================================= */
/* เมนูผู้ใช้บน navbar */
.btn-user { display: flex; align-items: center; gap: .5rem; background: #f3f6fb; border: 1px solid var(--pc-border); border-radius: 50rem; padding: .25rem .8rem .25rem .3rem; font-size: .92rem; }
.u-av, .acc-avatar { display: inline-grid; place-items: center; border-radius: 50%; background: var(--pc-primary); color: #fff; font-family: "Prompt", sans-serif; font-weight: 600; }
.u-av { width: 28px; height: 28px; font-size: .85rem; }
.dropdown-item i { width: 1.2rem; color: #64748b; }

/* หน้าสมัคร / เข้าสู่ระบบ */
.auth-wrap { padding: 3.5rem 0 4rem; }
.auth-card { display: grid; grid-template-columns: 1fr 1.1fr; max-width: 980px; margin: 0 auto; background: #fff; border-radius: 24px; overflow: hidden; border: 1px solid var(--pc-border); box-shadow: 0 24px 60px rgba(11,29,58,.1); }
.auth-side { color: #fff; padding: 2.75rem; background: radial-gradient(400px 300px at 100% 0%, rgba(55,138,221,.45), transparent 70%), var(--pc-navy); display: flex; flex-direction: column; }
.auth-side h2 { font-weight: 600; font-size: 1.6rem; line-height: 1.35; margin: .75rem 0 1.5rem; }
.auth-side ul { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .8rem; color: #c5d8f2; }
.auth-side li i { color: #63e6be; margin-right: .5rem; }
.eyebrow-dark { align-self: flex-start; font: 500 .8rem "Prompt", sans-serif; background: #13305e; border: 1px solid #2e5aa8; padding: .2rem .8rem; border-radius: 50rem; }
.auth-note { margin-top: auto; font-size: .88rem; color: #9fb6d6; border-top: 1px solid rgba(255,255,255,.12); padding-top: 1rem; }
.auth-form { padding: 2.75rem; }
.auth-form h1 { font-weight: 600; color: var(--pc-navy); }
.pw-meter { height: 5px; border-radius: 50rem; background: #eef2f7; margin-top: .4rem; overflow: hidden; }
.pw-meter i { display: block; height: 100%; width: 0; border-radius: 50rem; transition: .25s; }
@media (max-width: 767.98px) {
  .auth-card { grid-template-columns: 1fr; }
  .auth-side { padding: 1.75rem; } .auth-side ul { margin-bottom: 0; } .auth-note { display: none; }
  .auth-form { padding: 1.75rem; order: -1; }   /* มือถือ: ฟอร์มขึ้นก่อน */
}

/* หน้าบัญชีของฉัน */
.acc-head { background: radial-gradient(500px 300px at 90% 0%, rgba(55,138,221,.35), transparent 70%), var(--pc-navy); color: #fff; padding: 2rem 0 0; }
.acc-avatar { width: 56px; height: 56px; font-size: 1.5rem; }
.acc-sub { color: #9fb6d6; font-size: .9rem; }
.acc-tabs .nav-link { color: #b5c9e6; border-radius: 12px 12px 0 0; padding: .7rem 1.1rem; font-weight: 500; }
.acc-tabs .nav-link:hover { color: #fff; }
.acc-tabs .nav-link.active { background: var(--pc-bg); color: var(--pc-navy); }
.app-card { background: #fff; border: 1px solid var(--pc-border); border-radius: 18px; padding: 1.25rem; height: 100%; display: flex; flex-direction: column; gap: 1rem; transition: .2s; }
.app-card:hover { border-color: color-mix(in srgb, var(--c) 40%, #fff); box-shadow: 0 14px 30px color-mix(in srgb, var(--c) 15%, transparent); }
.app-top { display: flex; gap: .8rem; align-items: center; }
.app-top .pcard-ic, .add-app .pcard-ic { width: 46px; height: 46px; font-size: 1.25rem; border-width: 0; border-radius: 14px; }
.use-bar { height: 8px; border-radius: 50rem; background: #eef2f7; overflow: hidden; }
.use-bar i { display: block; height: 100%; border-radius: 50rem; background: var(--c, var(--pc-primary)); }
.use-bar.warn i { background: #f59f00; } .use-bar.full i { background: var(--pc-sale); }
.add-app { display: flex; align-items: center; gap: .8rem; background: #fff; border: 1px solid var(--pc-border); border-radius: 16px; padding: .8rem 1rem; height: 100%; }
.upgrade-banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; background: linear-gradient(135deg, #e8590c, #f76707); color: #fff; border-radius: 18px; padding: 1.1rem 1.4rem; }
.danger-zone { border-color: #f5c2c7; }

/* การ์ด / หน้ารายละเอียด: ใช้ออนไลน์ฟรี */

/* =========================================================
   ราคา Pro รายเดือน / รายปี
   ========================================================= */
.period-toggle { display: inline-flex; gap: 2px; padding: 4px; border-radius: 50rem; background: #e9eef6; }
.period-toggle button { border: 0; background: transparent; border-radius: 50rem; padding: .4rem 1.2rem; font: 500 .92rem "Prompt", sans-serif; color: #475569; }
.period-toggle button.active { background: var(--pc-primary); color: #fff; box-shadow: 0 4px 10px rgba(13,110,253,.25); }
.period-toggle.sm button { padding: .25rem .9rem; font-size: .82rem; }
.save-chip { display: inline-block; margin-left: .5rem; font-size: .8rem; background: #e6f8f1; color: #087f5b; padding: .2rem .7rem; border-radius: 50rem; }
.price-table th { font-family: "Prompt", sans-serif; font-weight: 500; color: #64748b; font-size: .85rem; background: #f8fafc; padding: .8rem 1rem; }
.price-table td { padding: .75rem 1rem; vertical-align: middle; }
.pt-ic { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; margin-right: .5rem; color: #fff; background: var(--c); font-size: .95rem; }
.price-table b { font: 600 1.05rem "Prompt", sans-serif; color: var(--pc-primary); }
.compare-mini { font-size: .85rem; }
.compare-mini th { font-family: "Prompt", sans-serif; font-weight: 500; color: #64748b; }
.compare-mini td:not(:first-child), .compare-mini th:not(:first-child) { text-align: center; white-space: nowrap; }
.compare-mini .pro { background: #f3f8fe; color: var(--pc-primary); }
.compare-mini .yes { color: #0ca678; } .compare-mini .no { color: #cbd5e1; }
.pro-price { background: #f3f8fe; border-radius: 14px; padding: 1rem; text-align: center; }
.pro-price .pp-amount b { font: 600 1.7rem "Prompt", sans-serif; color: var(--pc-primary); }
.pro-price .pp-amount small { color: #64748b; }
.plan-state { background: #f1f5f9; color: #475569; border-radius: 10px; padding: .5rem .8rem; font-size: .88rem; margin-bottom: .8rem; }
.plan-state.pro { background: #eeedfe; color: #3c3489; }
.plan-chip { font: 500 .68rem "Prompt", sans-serif; padding: .1rem .5rem; border-radius: 5px; background: #eef2f7; color: #475569; vertical-align: 2px; }
.plan-chip.pro { background: #eeedfe; color: #3c3489; }
.use-bar.pro i { background: #7f77dd; }
.near-full { margin-top: .6rem; background: #fff4e6; color: #854f0b; border-radius: 10px; padding: .45rem .7rem; font-size: .82rem; }
.pending-chip { background: #fff9db; color: #8a6d00; border-radius: 10px; padding: .4rem .7rem; font-size: .82rem; }
