/* Partner / ร่วมลงทุน (th/inc/partner.php) ; prefix lbpt- ; ฟอร์มใช้ promote.css (.lbp-*)
   2026-11-29 v2 : ธีมล่าสุดแบบหน้า /th/mcp/ (pages.css lbmg-) : หัวหน้า 2 คอลัมน์ + การ์ดภาพรวม , หัวข้อกลาง + คำอธิบาย , ไอคอนสีอ่อนหลายสี , แถบร่วมลงทุนสีธีม */
.lbpt-hero-in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; gap: 40px; }
.lbpt-hero h1 { font-size: clamp(32px, 3.6vw, 48px); }
.lbpt-badge { display: inline-flex; align-items: center; gap: 7px; margin: 0 0 10px !important; padding: 5px 12px; border-radius: 999px; background: #efeffe; color: #4b4bd6; font-size: 13px; font-weight: 700; }
.lbpt-badge.is-light { background: rgba(255, 255, 255, .16); color: #fff; }
.lbpt-ticks { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 18px 0 0 !important; padding: 0 !important; list-style: none; }
.lbpt-ticks li { display: flex; align-items: center; gap: 7px; margin: 0; color: #455c66; font-size: 15px; font-weight: 500; }
.lbpt-ticks .fa { color: #0f8a5f; }
.lbpt-glance { padding: 22px; border: 1px solid #e3e6f0; border-radius: 22px; background: rgba(255, 255, 255, .9); box-shadow: 0 24px 48px -30px rgba(30, 32, 80, .35); }
.lbpt-glance-t { margin: 0 0 14px !important; color: #6b7a86; font-size: 13px; font-weight: 700; letter-spacing: .03em; }
.lbpt-kpi { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.lbpt-kpi li { display: grid; align-content: start; gap: 2px; margin: 0; padding: 16px; border-radius: 16px; background: #f7f7ff; }
.lbpt-kpi b { color: #4f46e5; font-size: 34px; font-weight: 700; line-height: 1.1; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.lbpt-kpi span { color: #14252b; font-size: 15px; font-weight: 700; }
.lbpt-kpi small { color: #6b7a86; font-size: 12.5px; line-height: 1.5; }
.lbpt-kpi li.is-hero { grid-column: 1 / -1; padding: 20px; background: linear-gradient(135deg, #5b5bf0, #4338ca); box-shadow: 0 18px 36px -22px rgba(67, 56, 202, .8); }
.lbpt-kpi li.is-hero b { color: #fff; font-size: 48px; }
.lbpt-kpi li.is-hero span { color: #fff; font-size: 16px; }
.lbpt-kpi li.is-hero small { color: rgba(255, 255, 255, .82); font-size: 13px; }
.lbpt-kpi li:last-child:nth-child(even) { grid-column: 1 / -1; }	/* จำนวนช่องคี่หลังช่องใหญ่ : ช่องสุดท้ายเต็มแถว */

.lbpt-body { padding-top: 8px; }
.lbpt-head { max-width: 720px; margin: 0 auto 26px; text-align: center; }
.lbpt-head h2 { margin: 0 0 6px !important; color: #14252b; font-size: clamp(24px, 2.4vw, 30px) !important; }
.lbpt-head p { margin: 0 !important; color: #6b7a86; font-size: 16px; }

/* ไอคอนสีอ่อน (เหมือน lbmg-ico) */
.lbpt-ico { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 52px; height: 52px; border-radius: 16px; font-size: 22px; }
.lbpt-ico.is-a { background: #eef0ff; color: #4f46e5; } .lbpt-ico.is-b { background: #e6f8f3; color: #0f8a5f; } .lbpt-ico.is-c { background: #fff4e5; color: #c2410c; }
.lbpt-ico.is-d { background: #e8f2ff; color: #1d5fd1; } .lbpt-ico.is-e { background: #fdeef6; color: #c0267a; } .lbpt-ico.is-f { background: #eef7e6; color: #3f7d16; }

/* รูปแบบความร่วมมือ : แบบกล่อง "10+ ปี" (management.css .lbm-trust-stat) พื้นภาพ + สีไล่โทนเฉพาะกล่อง ; ข้อความชิดล่าง */
.lbpt-types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.lbpt-type { --lbpt-tint: rgba(79, 70, 229, .9), rgba(0, 121, 204, .82); position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; min-height: 280px; padding: 26px; border-radius: 22px; overflow: hidden; isolation: isolate; color: #fff !important; text-decoration: none !important;
	background: linear-gradient(160deg, var(--lbpt-tint)), var(--lbpt-img) center / cover no-repeat; box-shadow: 0 18px 36px -24px rgba(16, 24, 64, .55); transition: transform .18s, box-shadow .18s; }
.lbpt-type::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(260px 180px at 100% 0%, rgba(255, 255, 255, .18), transparent 70%); }
.lbpt-type:hover { transform: translateY(-3px); box-shadow: 0 26px 44px -24px rgba(16, 24, 64, .6); }
.lbpt-type.is-a { --lbpt-tint: rgba(79, 70, 229, .9) 0%, rgba(0, 121, 204, .82) 100%; }
.lbpt-type.is-b { --lbpt-tint: rgba(30, 64, 175, .9) 0%, rgba(14, 116, 144, .82) 100%; }
.lbpt-type.is-c { --lbpt-tint: rgba(13, 110, 86, .9) 0%, rgba(8, 145, 178, .8) 100%; }
.lbpt-type.is-d { --lbpt-tint: rgba(55, 48, 163, .92) 0%, rgba(124, 58, 237, .82) 100%; }
.lbpt-type.is-e { --lbpt-tint: rgba(190, 24, 93, .88) 0%, rgba(234, 88, 12, .8) 100%; }
.lbpt-type.is-f { --lbpt-tint: rgba(21, 94, 117, .9) 0%, rgba(22, 163, 74, .78) 100%; }
.lbpt-type-kicker { align-self: flex-start; margin-bottom: auto; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .35); font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.lbpt-type b { margin-top: 18px; color: #fff; font-size: 24px; font-weight: 700; line-height: 1.3; font-family: "Prompt", "IBM Plex Sans Thai Looped", sans-serif; text-shadow: 0 2px 12px rgba(16, 24, 64, .25); }
.lbpt-type small { color: rgba(255, 255, 255, .94); font-size: 15px; line-height: 1.6; }
.lbpt-type-go { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; color: #fff; font-size: 14.5px; font-weight: 600; transition: gap .15s; }
.lbpt-type:hover .lbpt-type-go { gap: 10px; }

/* สิ่งที่ได้รับ */
.lbpt-gain { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.lbpt-gain > div { padding: 22px; border: 1px solid #e3e6f0; border-radius: 20px; background: #fff; text-align: center; }
.lbpt-gain b { display: block; margin: 12px 0 6px; color: #14252b; font-size: 17px; }
.lbpt-gain p { margin: 0 !important; color: #455c66; font-size: 15px; line-height: 1.65; }

/* ร่วมลงทุน : แถบสีธีม */
.lbpt-invest { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px; align-items: center; padding: 36px 40px; border-radius: 26px; color: #fff;
	background: radial-gradient(420px 260px at 100% 0%, rgba(255, 255, 255, .16), transparent 70%), linear-gradient(135deg, #5b5bf0, #4338ca); box-shadow: 0 28px 56px -32px rgba(67, 56, 202, .7); }
.lbpt-invest h2 { margin: 0 0 10px !important; color: #fff !important; font-size: clamp(24px, 2.4vw, 30px) !important; }
.lbpt-invest-txt p:not(.lbpt-badge) { margin: 0 0 20px !important; color: rgba(255, 255, 255, .88); font-size: 16px; line-height: 1.75; }
.lbd .lbpt-invest .lbd-btn.lbpt-btn-light { background: #fff; border-color: #fff; color: #3f3ab8 !important; box-shadow: 0 10px 24px -14px rgba(16, 24, 64, .5); }
.lbd .lbpt-invest .lbd-btn.lbpt-btn-light:hover { background: #f1f0ff; border-color: #f1f0ff; }
.lbpt-invest-list { display: grid; gap: 12px; margin: 0 !important; padding: 22px !important; border-radius: 18px; background: rgba(255, 255, 255, .12); list-style: none; }
.lbpt-invest-list li { display: flex; align-items: flex-start; gap: 10px; margin: 0; color: #fff; font-size: 15.5px; line-height: 1.6; }
.lbpt-invest-list .fa { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: #fff; color: #4338ca; font-size: 11px; }
.lbpt-invest .lbpt-disc { grid-column: 1 / -1; margin: 6px 0 0 !important; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .2); color: rgba(255, 255, 255, .72) !important; font-size: 12.5px; line-height: 1.6 !important; text-align: center; text-wrap: balance; }	/* หมายเหตุอยู่ในแถบ เต็มความกว้าง กึ่งกลาง (สมมาตร) */

/* ขั้นตอน : การ์ดเรียงต่อกัน มีเส้นเชื่อม */
.lbpt-steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0 0 48px !important; padding: 0 !important; list-style: none; }
.lbpt-steps li { position: relative; display: flex; align-items: flex-start; gap: 14px; margin: 0; padding: 22px; border: 1px solid #e3e6f0; border-radius: 20px; background: #fff; }
.lbpt-steps li:not(:last-child)::after { content: ""; position: absolute; top: 40px; right: -19px; width: 20px; height: 2px; background: #c7cbff; }
.lbpt-steps span { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: #6161ff; color: #fff; font-weight: 700; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.lbpt-steps b { display: block; margin: 5px 0 4px; color: #14252b; font-size: 17px; }
.lbpt-steps small { color: #455c66; font-size: 15px; line-height: 1.6; }

/* ติดต่อ + ฟอร์ม */
.lbpt-contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 28px; padding: 28px; border-radius: 24px; background: #fff; border: 1px solid #e3e6f0; box-shadow: 0 20px 44px -30px rgba(23, 50, 65, .4); scroll-margin-top: 96px; }
.lbpt-contact-side { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: 18px; background: linear-gradient(160deg, #f3f2ff, #fff 70%); border: 1px solid #e4e2ff; align-self: start; }
.lbpt-contact-side p { margin: 0 !important; color: #455c66; line-height: 1.7; }
.lbpt-contact-side .lbpt-list { margin-top: 10px; padding-top: 16px; border-top: 1px dashed #dcdaff; }
.lbpt-mail { display: flex; align-items: center; gap: 8px; }
.lbpt-mail .fa { color: #4f46e5; }
.lbpt-mail a { color: #4f46e5 !important; font-weight: 600; }
.lbpt-pick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.lbpt-pick label { margin: 0; cursor: pointer; }
.lbpt-pick input { position: absolute; opacity: 0; pointer-events: none; }
.lbpt-pick span { display: flex; align-items: center; gap: 8px; height: 100%; padding: 10px 12px; border: 1.5px solid #e2e8f0; border-radius: 12px; color: #14252b; font-size: 14px; font-weight: 600; }
.lbpt-pick span .fa { width: 18px; color: #64748b; text-align: center; }
.lbpt-pick input:checked + span { border-color: #4f46e5; background: #eef0ff; color: #3f3ab8; }
.lbpt-pick input:checked + span .fa { color: #4f46e5; }
.lbpt-pick input:focus-visible + span { outline: 2px solid #4f46e5; outline-offset: 2px; }
.lbpt-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lbpt-done { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 36px 20px; text-align: center; }
.lbpt-done-ico { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: #0f8a5f; color: #fff; font-size: 24px; }
.lbpt-done b { font-size: 20px; color: #14252b; }
.lbpt-done p { margin: 0; color: #55677a; }
.lbpt-list { display: grid; gap: 12px; margin: 4px 0 0; padding: 0; list-style: none; }
.lbpt-list li { display: flex; gap: 12px; align-items: flex-start; }
.lbpt-list li > .fa { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 34px; height: 34px; border-radius: 10px; background: #eef0ff; color: #4f46e5; }
.lbpt-list li span { display: flex; flex-direction: column; color: #14252b; }
.lbpt-list li small { color: #64748b; font-size: 13.5px; }
.lbpt-contact h2 { margin: 2px 0 0 !important; color: #14252b; font-size: clamp(22px, 2.2vw, 28px); }
.lbpt-kicker { margin: 0 !important; color: #4f46e5; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
@media (max-width: 1000px) { .lbpt-gain { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
	.lbpt-hero-in, .lbpt-contact, .lbpt-invest { grid-template-columns: minmax(0, 1fr); }
	.lbpt-types { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lbpt-steps { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	.lbpt-steps li:not(:last-child)::after { top: auto; right: auto; bottom: -13px; left: 39px; width: 2px; height: 14px; }
	.lbpt-invest { padding: 28px 24px; }
}
@media (max-width: 600px) {
	.lbpt-types, .lbpt-pick, .lbpt-gain { grid-template-columns: minmax(0, 1fr); }
	.lbpt-type { min-height: 230px; padding: 22px; } .lbpt-type b { font-size: 22px; }
	.lbpt-gain > div { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; text-align: left; }
	.lbpt-gain > div .lbpt-ico { grid-row: span 2; width: 46px; height: 46px; font-size: 19px; }
	.lbpt-gain b { margin: 2px 0 0; }
	.lbpt-kpi b { font-size: 28px; }
	.lbpt-contact { padding: 18px; }
}
.lbd.lbpt .lbp-field input[type="email"], .lbd.lbpt .lbp-field textarea { box-sizing: border-box; width: 100%; margin: 0; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--lbd-line, #dfe6ec); background: #fff; font: inherit; font-size: 16px; color: var(--lbd-ink, #14252b); box-shadow: none; }
.lbd.lbpt .lbp-field input[type="email"] { height: 50px; }
.lbd.lbpt .lbp-field textarea { height: 140px; padding: 12px 14px; line-height: 1.6; resize: vertical; }
.lbd.lbpt .lbp-field input[type="email"]:focus, .lbd.lbpt .lbp-field textarea:focus { outline: 0; border-color: var(--lbd-accent, #6161ff); box-shadow: 0 0 0 4px rgba(97, 97, 255, .15); }
.lbpt .lbp-row { align-items: end; }

/* หน้ารายงานประกาศ (th/inc/report.php) ; ใช้ .lbpt-pick / .lbpt-hp / .lbpt-done ด้านบน ; .lbrp อยู่ชั้นเดียวกับ .lbd จึงกำหนดช่องกรอกเอง */
.lbrp .lbd-hero { padding-bottom: 28px; }
.lbrp-card { max-width: 760px; margin: 0 auto; padding: 28px; border-radius: 24px; background: #fff; border: 1px solid #e3e9ee; box-shadow: 0 20px 44px rgba(15, 23, 42, .06); }
.lbrp-item { display: flex; align-items: center; gap: 14px; margin: 0 0 22px; padding: 12px; border-radius: 16px; border: 1px solid var(--lbd-line, #e3e8ee); background: #f8f9fc; color: inherit; text-decoration: none; }
.lbrp-item:hover { border-color: var(--lbd-accent, #6161ff); }
.lbrp-thumb { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 64px; height: 64px; border-radius: 12px; overflow: hidden; background: #eef0ff; color: var(--lbd-accent-dark, #4f46e5); font-size: 22px; }
.lbrp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.lbrp-meta { display: grid; gap: 2px; min-width: 0; }
.lbrp-meta small { color: var(--lbd-muted, #7a8794); font-size: 12.5px; }
.lbrp-meta b { color: var(--lbd-ink, #17212b); font-size: 15.5px; line-height: 1.4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lbrp-go { margin-left: auto; color: var(--lbd-muted, #7a8794); }
.lbrp-h { margin: 0 0 14px !important; color: var(--lbd-ink, #17212b); font-size: 18px; }
.lbrp .lbp-form { display: grid; gap: 18px; }
.lbrp .lbp-form fieldset { margin: 0; padding: 0; border: 0; }
.lbrp .lbp-form legend, .lbrp .lbp-label { display: block; margin-bottom: 8px; color: var(--lbd-ink, #17212b); font-size: 14.5px; font-weight: 700; }
.lbrp .lbp-label small { display: block; margin-top: 2px; color: var(--lbd-muted, #7a8794); font-weight: 400; font-size: 13px; }
.lbrp .lbp-field input[type="email"], .lbrp .lbp-field textarea { box-sizing: border-box; display: block; width: 100%; margin: 0; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--lbd-line, #e3e8ee); background: #fff; color: var(--lbd-ink, #17212b); font: inherit; font-size: 15px; }
.lbrp .lbp-field input[type="email"] { height: 48px; }
.lbrp .lbp-field textarea { height: 120px; padding: 12px 14px; line-height: 1.6; resize: vertical; }
.lbrp .lbp-field input[type="email"]:focus, .lbrp .lbp-field textarea:focus { outline: 0; border-color: var(--lbd-accent, #6161ff); box-shadow: 0 0 0 4px rgba(97, 97, 255, .15); }
.lbrp .lbpt-pick span { min-height: 48px; }
.lbrp .lbp-submit { width: 100%; height: 50px; justify-content: center; border-radius: 14px; }
.lbrp-after { display: grid; gap: 8px; margin: 20px 0 0 !important; padding: 16px 0 0; border-top: 1px solid #eef1f5; list-style: none; color: var(--lbd-muted, #7a8794); font-size: 13px; }
.lbrp-after .fa { width: 18px; color: var(--lbd-accent, #6161ff); }
.lbrp .lbpt-done .lbd-btn { margin-top: 10px; }
@media (max-width: 560px) { .lbrp-card { padding: 18px 16px; border-radius: 18px; } .lbrp-meta b { white-space: normal; } }
