.ksfb-form { max-width: 640px; margin: 0 auto; background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 24px; box-shadow: 0 8px 30px -18px rgba(15,23,42,.2); font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color:#0f172a; }
.ksfb-form .ksfb-field { margin-bottom: 14px; display:flex; flex-direction:column; gap:6px; }
.ksfb-form label { font-weight: 600; font-size: 14px; color:#1e3a8a; }
.ksfb-req { color:#dc2626; }
.ksfb-form input[type=text], .ksfb-form input[type=email], .ksfb-form input[type=number],
.ksfb-form input[type=url], .ksfb-form input[type=tel], .ksfb-form input[type=date],
.ksfb-form input[type=time], .ksfb-form input[type=file],
.ksfb-form textarea, .ksfb-form select {
	width:100%; padding: 10px 12px; border:1px solid #cbd5e1; border-radius:8px; font-size:14px; font-family:inherit; background:#fff; color:#0f172a;
}
.ksfb-form textarea { min-height: 110px; }
.ksfb-form select[multiple] { min-height: 120px; }
.ksfb-form input:focus, .ksfb-form textarea:focus, .ksfb-form select:focus {
	outline:none; border-color:#3b82f6; box-shadow: 0 0 0 3px rgba(59,130,246,.18);
}
.ksfb-choices { display:flex; flex-direction:column; gap:6px; }
.ksfb-choice { display:flex; align-items:center; gap:8px; font-weight: 400; color:#0f172a; }
.ksfb-sig { border:1px dashed #93c5fd; border-radius:10px; padding:10px; background:#f0f7ff; }
.ksfb-sig-canvas { display:block; width:100%; height:180px; background:#fff; border:1px solid #dbeafe; border-radius:6px; touch-action:none; }
.ksfb-sig-actions { margin-top:8px; text-align:right; }
.ksfb-sig-clear { background:#fff; border:1px solid #cbd5e1; padding:4px 10px; border-radius:6px; cursor:pointer; font-size:12px; }
.ksfb-actions { margin-top: 8px; display:flex; gap:10px; flex-wrap:wrap; }
.ksfb-btn {
	color:#fff; border:none; padding:11px 22px; border-radius:8px; font-weight:600; font-size:15px; font-family:inherit; cursor:pointer; line-height:1.2;
	box-shadow: 0 6px 16px -8px rgba(37,99,235,.5);
	transition: transform .1s ease, box-shadow .15s ease, filter .15s ease;
}
.ksfb-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 22px -10px rgba(37,99,235,.6); filter:brightness(1.05); }
.ksfb-btn:disabled { opacity:.7; cursor:not-allowed; transform:none; }
.ksfb-submit      { background: linear-gradient(135deg, #1d4ed8, #2563eb); }
.ksfb-btn-preview { background: linear-gradient(135deg, #0891b2, #06b6d4); box-shadow: 0 6px 16px -8px rgba(6,182,212,.55); }
.ksfb-btn-reset   { background: linear-gradient(135deg, #475569, #64748b); box-shadow: 0 6px 16px -8px rgba(71,85,105,.55); }
.ksfb-message { margin-top:12px; font-size:14px; }
.ksfb-message.is-success { color:#166534; background:#dcfce7; padding:10px 12px; border-radius:8px; }
.ksfb-message.is-error   { color:#991b1b; background:#fee2e2; padding:10px 12px; border-radius:8px; }
.ksfb-field.has-error input, .ksfb-field.has-error textarea, .ksfb-field.has-error select { border-color:#dc2626; }

/* Preview Modal */
.ksfb-preview-modal { position:fixed; inset:0; background:rgba(15,23,42,.55); z-index:99999; display:flex; align-items:center; justify-content:center; padding:16px; }
.ksfb-preview-modal[hidden] { display:none; }
.ksfb-preview-modal-inner { background:#fff; border-radius:14px; max-width:640px; width:100%; max-height:90vh; display:flex; flex-direction:column; box-shadow:0 30px 80px rgba(15,23,42,.35); }
.ksfb-preview-modal-head { display:flex; justify-content:space-between; align-items:center; padding:16px 20px; border-bottom:1px solid #e2e8f0; }
.ksfb-preview-modal-head h3 { margin:0; color:#1e3a8a; font-size:17px; }
.ksfb-preview-close { background:transparent; border:none; font-size:26px; line-height:1; cursor:pointer; color:#64748b; }
.ksfb-preview-body { padding:16px 20px; overflow:auto; }
.ksfb-preview-table { width:100%; border-collapse:collapse; font-size:14px; }
.ksfb-preview-table th, .ksfb-preview-table td { text-align:left; padding:10px 12px; border-bottom:1px solid #e2e8f0; vertical-align:top; }
.ksfb-preview-table th { width:36%; background:#f0f7ff; color:#1e3a8a; font-weight:600; }
.ksfb-preview-foot { display:flex; justify-content:flex-end; gap:8px; padding:14px 20px; border-top:1px solid #e2e8f0; background:#f8fafc; border-radius:0 0 14px 14px; }

/* Daterange (Kalender Booking) — range picker */
.ksfb-daterange { position:relative; }
.ksfb-daterange-display { display:flex; align-items:stretch; gap:8px; }
.ksfb-daterange-trigger {
	flex:1; display:flex; flex-direction:column; align-items:flex-start; gap:2px;
	padding:9px 12px; background:#fff; border:1px solid #cbd5e1; border-radius:8px;
	cursor:pointer; text-align:left; font-family:inherit; transition:border-color .15s, box-shadow .15s;
}
.ksfb-daterange-trigger:hover { border-color:#93c5fd; }
.ksfb-daterange-trigger.is-active { border-color:#2563eb; box-shadow:0 0 0 3px rgba(59,130,246,.18); }
.ksfb-daterange-trigger .ksfb-daterange-sub { font-size:11px; font-weight:600; color:#475569; text-transform:uppercase; letter-spacing:.04em; }
.ksfb-daterange-trigger .ksfb-daterange-value { font-size:14px; color:#94a3b8; font-weight:500; }
.ksfb-daterange-trigger .ksfb-daterange-value.is-filled { color:#0f172a; }
.ksfb-daterange-arrow { align-self:center; color:#64748b; font-size:16px; }
.ksfb-daterange-info { margin-top:8px; font-size:12px; color:#1e3a8a; background:#eff6ff; border:1px dashed #93c5fd; border-radius:8px; padding:6px 10px; display:none; }
.ksfb-daterange-info.is-active { display:block; }
.ksfb-daterange-info.is-error { color:#b91c1c; background:#fef2f2; border-color:#fecaca; }

.ksfb-daterange-popover {
	position:absolute; z-index:9999; top:calc(100% + 8px); left:0; right:0;
	background:#fff; border:1px solid #e2e8f0; border-radius:12px; padding:12px;
	box-shadow:0 20px 50px -20px rgba(15,23,42,.35);
}
.ksfb-daterange-popover[hidden] { display:none; }
.ksfb-dr-nav { display:flex; justify-content:space-between; align-items:center; margin-bottom:8px; }
.ksfb-dr-nav button { background:transparent; border:1px solid #e2e8f0; width:32px; height:32px; border-radius:8px; cursor:pointer; font-size:18px; color:#1e3a8a; }
.ksfb-dr-nav button:hover:not(:disabled) { background:#eff6ff; border-color:#93c5fd; }
.ksfb-dr-nav button:disabled { opacity:.35; cursor:not-allowed; }
.ksfb-dr-title { font-weight:600; font-size:13px; color:#1e3a8a; }
.ksfb-dr-months { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.ksfb-dr-month { min-width:0; }
.ksfb-dr-mhead { text-align:center; font-weight:600; font-size:13px; color:#0f172a; margin-bottom:6px; }
.ksfb-dr-dow { display:grid; grid-template-columns:repeat(7, 1fr); gap:2px; margin-bottom:4px; }
.ksfb-dr-dow span { text-align:center; font-size:11px; color:#64748b; font-weight:600; padding:4px 0; }
.ksfb-dr-grid { display:grid; grid-template-columns:repeat(7, 1fr); gap:2px; }
.ksfb-dr-cell {
	background:transparent; border:none; padding:0; height:34px; font-size:13px; color:#0f172a;
	border-radius:8px; cursor:pointer; font-family:inherit; position:relative; transition:background .1s, color .1s;
}
.ksfb-dr-cell.is-empty { visibility:hidden; cursor:default; }
.ksfb-dr-cell:hover:not(.is-disabled):not(.is-empty):not(.is-selected) { background:#eff6ff; }
.ksfb-dr-cell.is-disabled { color:#cbd5e1; cursor:not-allowed; text-decoration:line-through; }
.ksfb-dr-cell.is-in-range { background:#dbeafe; border-radius:0; color:#1e3a8a; }
.ksfb-dr-cell.is-selected { background:#2563eb; color:#fff; font-weight:600; }
.ksfb-dr-cell.is-start { border-radius:8px 0 0 8px; }
.ksfb-dr-cell.is-end { border-radius:0 8px 8px 0; }
.ksfb-dr-cell.is-start.is-end { border-radius:8px; }
.ksfb-dr-cell.is-hover-end { background:#93c5fd; color:#fff; border-radius:0 8px 8px 0; }
.ksfb-dr-foot { display:flex; justify-content:space-between; gap:8px; margin-top:10px; padding-top:10px; border-top:1px solid #f1f5f9; }
.ksfb-dr-foot button { background:#fff; border:1px solid #cbd5e1; padding:6px 14px; border-radius:8px; font-size:13px; font-family:inherit; cursor:pointer; color:#0f172a; }
.ksfb-dr-foot .ksfb-dr-done { background:linear-gradient(135deg,#1d4ed8,#2563eb); color:#fff; border-color:transparent; font-weight:600; }
@media (max-width: 520px) {
	.ksfb-dr-months { grid-template-columns:1fr; }
}

.ksfb-file-hint { display:block; margin-top:4px; color:#64748b; font-size:12px; }

/* Order Items — Kalkulator Order */
.ksfb-order-items { border:1px solid #dbeafe; background:#f8fbff; border-radius:10px; padding:12px; }
.ksfb-order-rows { display:flex; flex-direction:column; gap:8px; margin-bottom:8px; }
.ksfb-order-row { display:grid; grid-template-columns: 1.6fr 70px 110px 130px 30px; gap:6px; align-items:center; background:#fff; border:1px solid #e2e8f0; border-radius:8px; padding:8px; }
.ksfb-order-cell { display:flex; flex-direction:column; gap:4px; }
.ksfb-order-cell input, .ksfb-order-cell select { padding:8px 10px !important; border:1px solid #cbd5e1; border-radius:6px; font-size:13px; width:100%; }
.ksfb-order-cell-product { display:flex; flex-direction:column; gap:4px; }
.ksfb-order-cell-sub { text-align:right; font-weight:600; color:#1e3a8a; font-size:13px; }
.ksfb-order-remove { background:#fee2e2; color:#b91c1c; border:1px solid #fecaca; width:28px; height:28px; border-radius:6px; cursor:pointer; font-size:16px; line-height:1; padding:0; }
.ksfb-order-remove:hover { background:#dc2626; color:#fff; border-color:#dc2626; }
.ksfb-order-add { background:#eff6ff; color:#1d4ed8; border:1px dashed #93c5fd; padding:8px 14px; border-radius:8px; cursor:pointer; font-size:13px; font-weight:600; }
.ksfb-order-add:hover { background:#dbeafe; }
.ksfb-order-summary { margin-top:10px; border-top:1px dashed #cbd5e1; padding-top:10px; display:flex; flex-direction:column; gap:4px; font-size:14px; }
.ksfb-order-sumline { display:flex; justify-content:space-between; color:#334155; }
.ksfb-order-sumline.is-total { font-size:17px; font-weight:800; color:#1e3a8a; border-top:2px solid #1e3a8a; padding-top:8px; margin-top:4px; }
@media (max-width:640px){ .ksfb-order-row { grid-template-columns: 1fr 1fr; } .ksfb-order-cell-sub { grid-column:1/-1; text-align:left; } }

/* Conditional logic — hidden fields */
.ksfb-form .ksfb-field.ksfb-hidden { display: none !important; }

/* Multi-step */
.ksfb-steps-bar { margin-bottom:18px; padding:14px 16px; background:linear-gradient(135deg,#eff6ff,#dbeafe); border:1px solid #bfdbfe; border-radius:10px; }
.ksfb-steps-progress { height:8px; background:#e2e8f0; border-radius:99px; overflow:hidden; }
.ksfb-steps-progress-fill { height:100%; background:linear-gradient(90deg,#2563eb,#1d4ed8); border-radius:99px; transition:width .3s ease; width:0; }
.ksfb-steps-meta { display:flex; justify-content:space-between; align-items:center; margin-top:8px; font-size:13px; color:#1e3a8a; font-weight:600; }
.ksfb-steps-count { background:#2563eb; color:#fff; padding:3px 10px; border-radius:99px; font-size:12px; }
.ksfb-btn-next, .ksfb-btn-prev { background: linear-gradient(135deg,#1d4ed8,#2563eb); }
.ksfb-btn-prev { background: linear-gradient(135deg,#475569,#64748b); }

/* Coupon field */
.ksfb-coupon { }
.ksfb-coupon-row { display:flex; gap:8px; }
.ksfb-coupon-row input[type=text] { flex:1; text-transform:uppercase; }
.ksfb-coupon-apply { background:linear-gradient(135deg,#f59e0b,#d97706); color:#fff; border:none; padding:0 18px; border-radius:8px; font-weight:600; cursor:pointer; font-size:14px; }
.ksfb-coupon-apply:hover { filter:brightness(1.05); }
.ksfb-coupon-apply:disabled { opacity:.6; cursor:not-allowed; }
.ksfb-coupon-info { margin-top:6px; font-size:13px; color:#64748b; min-height:1em; }
.ksfb-coupon-info.is-success { color:#065f46; }
.ksfb-coupon-info.is-error { color:#991b1b; }


/* ===== Landing Hero (v1.0.5) ===== */
.ksfb-form .ksfb-landing{background:#fff;border:1px solid #e5e7eb;border-radius:14px;overflow:hidden;margin:0 0 24px;box-shadow:0 6px 20px rgba(15,23,42,.06)}
.ksfb-landing-media{background:#eef2ff;display:block;position:relative}
.ksfb-landing-media img{display:block;width:100%;height:auto;max-height:520px;object-fit:cover}
.ksfb-carousel{position:relative;overflow:hidden}
.ksfb-carousel-track{position:relative;width:100%;min-height:220px}
.ksfb-carousel-slide{position:absolute;inset:0;opacity:0;transition:opacity .45s ease;pointer-events:none}
.ksfb-carousel-slide.is-active{opacity:1;pointer-events:auto;position:relative}
.ksfb-carousel-nav{position:absolute;top:50%;transform:translateY(-50%);background:rgba(15,23,42,.55);color:#fff;border:0;width:38px;height:38px;border-radius:999px;font-size:22px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .2s;z-index:2}
.ksfb-carousel-nav:hover{background:rgba(15,23,42,.8)}
.ksfb-carousel-prev{left:12px}
.ksfb-carousel-next{right:12px}
.ksfb-carousel-dots{position:absolute;bottom:12px;left:0;right:0;display:flex;justify-content:center;gap:6px;z-index:2}
.ksfb-carousel-dot{width:9px;height:9px;padding:0;border-radius:999px;border:0;background:rgba(255,255,255,.55);cursor:pointer;transition:background .2s,transform .2s}
.ksfb-carousel-dot.is-active{background:#fff;transform:scale(1.25)}
.ksfb-landing-body{padding:22px 24px 26px}
.ksfb-landing-title{font-size:26px;line-height:1.25;margin:0 0 10px;color:#0f172a;font-weight:700}
.ksfb-landing-price{display:flex;align-items:baseline;gap:12px;margin:0 0 14px;flex-wrap:wrap}
.ksfb-price-orig{color:#94a3b8;text-decoration:line-through;font-size:16px}
.ksfb-price-sale{color:#16a34a;font-size:24px;font-weight:800}
.ksfb-landing-desc{color:#334155;font-size:15px;line-height:1.65;margin:0 0 18px}
.ksfb-landing-desc p{margin:0 0 10px}
.ksfb-landing-section{margin:0 0 16px}
.ksfb-landing-section h3{font-size:17px;margin:0 0 8px;color:#1e3a8a;font-weight:700}
.ksfb-landing-list{list-style:none;padding:0;margin:0}
.ksfb-landing-list li{display:flex;gap:8px;align-items:flex-start;padding:4px 0;color:#334155;font-size:14.5px;line-height:1.5}
.ksfb-landing-list .ksfb-li-ico{flex:0 0 auto;line-height:1.4}
.ksfb-landing-cta{display:inline-flex;align-items:center;gap:8px;background:linear-gradient(135deg,#2563eb,#1d4ed8);color:#fff;border:0;padding:14px 24px;border-radius:10px;font-weight:700;font-size:16px;cursor:pointer;box-shadow:0 6px 16px rgba(37,99,235,.35);margin-top:6px}
.ksfb-landing-cta:hover{filter:brightness(1.05)}
@media (max-width:640px){.ksfb-landing-title{font-size:22px}.ksfb-price-sale{font-size:20px}.ksfb-landing-body{padding:18px}}

/* ================= Tracking page (v1.0.6) ================= */
.ksfb-tracking{max-width:720px;margin:24px auto;padding:0 16px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;color:#0f172a}
.ksfb-tracking-title{font-size:26px;font-weight:700;color:#1e3a8a;margin:0 0 16px;text-align:center}
.ksfb-tracking-form{background:#fff;border:1px solid #dbeafe;border-radius:14px;padding:20px;box-shadow:0 10px 30px rgba(30,64,175,.06)}
.ksfb-tracking-label{display:block;font-size:13px;color:#475569;margin-bottom:8px;font-weight:600}
.ksfb-tracking-row{display:flex;gap:8px;flex-wrap:wrap}
.ksfb-tracking-row input{flex:1;min-width:220px;padding:12px 14px;border:1px solid #cbd5e1;border-radius:8px;font-size:15px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.5px}
.ksfb-tracking-row input:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px rgba(37,99,235,.15)}
.ksfb-btn-track{background:linear-gradient(135deg,#1e40af,#2563eb);color:#fff;border:0;padding:12px 22px;border-radius:8px;font-weight:600;font-size:14px;cursor:pointer;letter-spacing:.3px}
.ksfb-btn-track:hover{filter:brightness(1.08)}
.ksfb-tracking-hint{font-size:12px;color:#64748b;margin:10px 0 0}
.ksfb-tracking-error{margin-top:16px;background:#fef2f2;color:#991b1b;border:1px solid #fecaca;border-radius:10px;padding:12px 14px;font-size:14px}
.ksfb-tracking-card{margin-top:20px;background:#fff;border:1px solid #dbeafe;border-radius:14px;padding:24px;box-shadow:0 10px 30px rgba(30,64,175,.06)}
.ksfb-tracking-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap;border-bottom:1px solid #eef2ff;padding-bottom:14px;margin-bottom:18px}
.ksfb-tracking-form-name{font-size:18px;font-weight:700;color:#1e3a8a}
.ksfb-tracking-code-line{font-size:13px;color:#475569;margin-top:4px}
.ksfb-tracking-code-line code{background:#0c37d6 !important;color:#e2e8f0;padding:3px 8px;border-radius:5px;font-size:12px;letter-spacing:.5px}
.ksfb-tracking-date{font-size:12px;color:#94a3b8;margin-top:4px}
.ksfb-tracking-status{display:inline-block;padding:6px 12px;border-radius:99px;font-size:12px;font-weight:600;letter-spacing:.3px;text-transform:uppercase}
.ksfb-tracking-status.ksfb-status-new{background:#dbeafe;color:#1e40af}
.ksfb-tracking-status.ksfb-status-in_progress{background:#fef3c7;color:#92400e}
.ksfb-tracking-status.ksfb-status-approved{background:#dcfce7;color:#166534}
.ksfb-tracking-status.ksfb-status-rejected{background:#fee2e2;color:#991b1b}
.ksfb-tracking-timeline{list-style:none;padding:0;margin:0 0 20px;position:relative}
.ksfb-tracking-timeline::before{content:"";position:absolute;left:11px;top:8px;bottom:8px;width:2px;background:#e2e8f0}
.ksfb-tracking-timeline li{position:relative;padding:0 0 20px 36px;min-height:32px}
.ksfb-tracking-timeline li:last-child{padding-bottom:0}
.ksfb-tracking-timeline li .dot{position:absolute;left:4px;top:4px;width:16px;height:16px;border-radius:50%;background:#e2e8f0;border:3px solid #fff;box-shadow:0 0 0 2px #e2e8f0}
.ksfb-tracking-timeline li.is-done .dot{background:#22c55e;box-shadow:0 0 0 2px #22c55e}
.ksfb-tracking-timeline li.is-rejected .dot{background:#ef4444;box-shadow:0 0 0 2px #ef4444}
.ksfb-tracking-timeline li strong{display:block;font-size:14px;color:#0f172a;font-weight:600}
.ksfb-tracking-timeline li em{display:block;font-style:normal;font-size:12px;color:#64748b;margin-top:2px}
.ksfb-tracking-timeline li.is-done strong{color:#166534}
.ksfb-tracking-timeline li.is-rejected strong{color:#991b1b}
.ksfb-tracking-digital{background:linear-gradient(135deg,#eff6ff,#f0fdf4);border:1px solid #bfdbfe;border-radius:12px;padding:18px;margin:20px 0}
.ksfb-tracking-digital h3{margin:0 0 8px;color:#1e3a8a;font-size:16px}
.ksfb-tracking-digital p{margin:0 0 12px;font-size:14px;color:#334155}
.ksfb-btn-download{display:inline-block;background:linear-gradient(135deg,#16a34a,#22c55e);color:#fff;text-decoration:none;padding:12px 22px;border-radius:8px;font-weight:600;font-size:15px;box-shadow:0 6px 20px rgba(22,163,74,.25)}
.ksfb-btn-download:hover{filter:brightness(1.08);color:#fff}

/* ============ 1.0.7 Payment (tracking page) ============ */
.ksfb-tracking-payment{margin-top:18px;padding:16px 18px;background:#fffbeb;border:1px solid #fde68a;border-radius:12px}
.ksfb-tracking-payment h3{margin:0 0 8px;color:#92400e;font-size:16px}
.ksfb-tracking-payment h4{margin:14px 0 8px;color:#0f172a;font-size:14px}
.ksfb-tracking-success{background:#dcfce7;color:#166534;padding:8px 12px;border-radius:8px;margin:8px 0;font-size:14px}
.ksfb-pay-total{display:flex;flex-wrap:wrap;align-items:baseline;gap:10px;background:#fff;padding:12px 14px;border-radius:8px;border:1px dashed #f59e0b;margin:8px 0}
.ksfb-pay-total span{color:#78350f;font-size:13px}
.ksfb-pay-total strong{font-size:22px;color:#92400e}
.ksfb-pay-total em{color:#a16207;font-style:normal;font-size:12px}
.ksfb-pay-banks{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:8px;margin:10px 0}
.ksfb-pay-bank{display:flex;gap:10px;align-items:center;background:#fff;padding:10px 12px;border-radius:8px;border:1px solid #fde68a}
.ksfb-pay-bank img{height:28px;max-width:56px;object-fit:contain}
.ksfb-pay-bank strong{display:block;color:#1e3a8a}
.ksfb-pay-bank code{display:block;background:#0c37d6 !important;color:#e2e8f0;padding:2px 6px;border-radius:4px;font-size:12px;margin:2px 0}
.ksfb-pay-bank em{font-style:normal;color:#475569;font-size:12px}
.ksfb-pay-instructions{background:#fff;padding:10px 12px;border-radius:8px;border:1px solid #fde68a;color:#78350f;font-size:13px;margin:8px 0}
.ksfb-pay-proof-view{background:#fff;padding:10px;border-radius:8px;border:1px solid #cbd5e1;margin:10px 0}
.ksfb-pay-proof-view img{width:100%;max-width:100%;height:auto;display:block;margin-top:6px;border-radius:6px}
.ksfb-pay-upload{background:#fff;padding:14px;border-radius:10px;border:1px solid #e2e8f0;margin-top:10px}
.ksfb-pay-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:10px}
.ksfb-pay-row label{display:flex;flex-direction:column;gap:4px;font-size:13px;color:#334155;font-weight:600}
.ksfb-pay-row input,.ksfb-pay-row select{width:100%;box-sizing:border-box;padding:9px 10px;border:1px solid #cbd5e1;border-radius:6px;font-size:16px;font-weight:400}
.ksfb-pay-upload button{margin-top:4px}
@media(max-width:640px){.ksfb-pay-row{grid-template-columns:1fr}}
.ksfb-bank-picker{display:flex;flex-direction:column;gap:6px;padding:10px 12px;background:#f8fafc;border-radius:8px;border:1px solid #e2e8f0}
.ksfb-status-awaiting_payment{background:#fef3c7;color:#92400e}
.ksfb-status-awaiting_verification{background:#dbeafe;color:#1e40af}

/* 1.0.7 revisi — Bank picker pada halaman form + Lightbox */
.ksfb-field-payment-banks{margin:14px 0;padding:14px 16px;background:#fffbeb;border:1px solid #fde68a;border-radius:10px}
.ksfb-field-payment-banks > .ksfb-label{display:flex;align-items:center;gap:6px;color:#92400e;font-weight:600;margin-bottom:8px}
.ksfb-form-banks{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:8px}
.ksfb-form-bank{display:flex;align-items:center;gap:10px;padding:10px 12px;background:#fff;border:1px solid #e5e7eb;border-radius:10px;cursor:pointer;transition:all .12s ease}
.ksfb-form-bank:hover{border-color:#93c5fd;background:#eff6ff}
.ksfb-form-bank input[type=radio]{margin:0;accent-color:#1e3a8a}
.ksfb-form-bank input[type=radio]:checked + .ksfb-form-bank-body{color:#1e3a8a}
.ksfb-form-bank:has(input[type=radio]:checked){border-color:#1e3a8a;background:#eff6ff;box-shadow:0 0 0 1px #1e3a8a inset}
.ksfb-form-bank-body{display:flex;gap:10px;align-items:center;flex:1}
.ksfb-form-bank-body img{height:28px;width:auto;object-fit:contain}
.ksfb-form-bank-body i.bi{font-size:24px;color:#1e3a8a}
.ksfb-form-bank-body strong{display:block;color:#0f172a;font-size:13px}
.ksfb-form-bank-body code{display:block;background:#f1f5f9;color:#0f172a;padding:2px 6px;border-radius:4px;font-size:12px;margin:2px 0}
.ksfb-form-bank-body em{font-style:normal;color:#64748b;font-size:11px}
.ksfb-form-pay-instructions{margin-top:10px;padding:10px 12px;background:#fff;border-left:3px solid #f59e0b;border-radius:6px;color:#78350f;font-size:13px}
.ksfb-form-pay-instructions p{margin:0 0 6px}
.ksfb-form-pay-instructions p:last-child{margin-bottom:0}

.ksfb-pay-proof-view a{cursor:zoom-in}

/* Lightbox */
.ksfb-lightbox{position:fixed;inset:0;background:rgba(2,6,23,.88);display:flex;align-items:center;justify-content:center;z-index:100060;padding:24px;flex-direction:column;gap:12px}
.ksfb-lightbox[hidden]{display:none}
.ksfb-lightbox-title{color:#e2e8f0;font-size:14px}
.ksfb-lightbox img{max-width:min(94vw,1200px);max-height:82vh;border-radius:8px;box-shadow:0 20px 60px rgba(0,0,0,.5);background:#fff}
.ksfb-lightbox-actions{display:flex;gap:8px}
.ksfb-lightbox-actions a,.ksfb-lightbox-actions button{background:#1e3a8a;color:#fff;border:none;padding:8px 14px;border-radius:8px;cursor:pointer;text-decoration:none;font-size:13px;display:inline-flex;align-items:center;gap:6px;font-family:inherit}
.ksfb-lightbox-actions button.ksfb-lightbox-close{background:#dc2626}

/* 1.0.7 revisi — Mobile fit untuk halaman tracking */
.ksfb-tracking,.ksfb-tracking *{box-sizing:border-box}
.ksfb-tracking{max-width:100%;overflow-x:hidden}
.ksfb-tracking-card,.ksfb-tracking-form,.ksfb-tracking-payment{max-width:100%}
.ksfb-tracking-code-line{word-break:break-all;overflow-wrap:anywhere}
.ksfb-tracking-code-line code{display:inline-block;max-width:100%;white-space:normal;word-break:break-all;overflow-wrap:anywhere}
.ksfb-pay-bank{flex-wrap:wrap;min-width:0}
.ksfb-pay-bank > *{min-width:0}
.ksfb-pay-bank code{max-width:100%;white-space:normal;word-break:break-all;overflow-wrap:anywhere;box-sizing:border-box}
.ksfb-pay-total{max-width:100%}
.ksfb-pay-total strong{word-break:break-word}
@media(max-width:640px){
	.ksfb-tracking{padding:0 12px;margin:16px auto}
	.ksfb-tracking-card,.ksfb-tracking-form,.ksfb-tracking-payment{padding:16px 14px}
	.ksfb-pay-banks{grid-template-columns:1fr}
	.ksfb-pay-bank{padding:10px}
	.ksfb-pay-bank code{font-size:13px;padding:4px 8px;letter-spacing:.5px;text-align:center;width:100%}
	.ksfb-pay-total strong{font-size:20px}
	.ksfb-tracking-title{font-size:22px}
}

/* ============ 1.0.8 — Shipping / Ongkos Kirim ============ */
.ksfb-field-shipping-address{margin:14px 0;padding:14px 16px;background:#f0f9ff;border:1px solid #bae6fd;border-radius:10px}
.ksfb-field-shipping-address > .ksfb-label{display:flex;align-items:center;gap:6px;color:#0369a1;font-weight:600;margin-bottom:10px}
.ksfb-ship-box{display:flex;flex-direction:column;gap:10px}
.ksfb-ship-box .ksfb-pay-row{margin-bottom:0}
.ksfb-ship-area-wrap{position:relative}
.ksfb-ship-suggest{position:absolute;left:0;right:0;top:100%;z-index:20;background:#fff;border:1px solid #cbd5e1;border-radius:8px;box-shadow:0 10px 30px rgba(2,6,23,.12);max-height:240px;overflow:auto;margin-top:4px}
.ksfb-ship-item{padding:10px 12px;cursor:pointer;font-size:13px;color:#0f172a;border-bottom:1px solid #f1f5f9}
.ksfb-ship-item:last-child{border-bottom:none}
.ksfb-ship-item:hover{background:#e0f2fe;color:#0369a1}
.ksfb-ship-empty{color:#94a3b8;cursor:default}
.ksfb-ship-empty:hover{background:transparent;color:#94a3b8}
.ksfb-ship-hint{color:#64748b;font-size:12px;font-weight:400}
.ksfb-ship-courier{background:#fff}

/* 1.0.8 revisi — Section Pengiriman di halaman tracking */
.ksfb-tracking-shipping{margin:20px 0;padding:16px 18px;background:#f0f9ff;border:1px solid #bae6fd;border-radius:12px}
.ksfb-tracking-shipping h3{margin:0 0 12px;font-size:16px;color:#0369a1;display:flex;align-items:center;gap:6px}
.ksfb-tracking-shipping-grid{display:grid;grid-template-columns:1fr;gap:10px}
.ksfb-tracking-shipping-row{display:grid;grid-template-columns:140px 1fr;gap:12px;align-items:start;padding:8px 10px;background:#fff;border:1px solid #e0f2fe;border-radius:8px;font-size:14px;color:#0f172a}
.ksfb-tracking-shipping-row strong{color:#0369a1;font-weight:600;font-size:13px}
@media (max-width:520px){.ksfb-tracking-shipping-row{grid-template-columns:1fr;gap:2px}.ksfb-tracking-shipping-row strong{font-size:12px}}
.ksfb-image-field{margin:0 0 18px}
.ksfb-image-media{position:relative;border-radius:12px;overflow:hidden;background:#eef2ff}
.ksfb-image-media img{display:block;width:100%;height:auto;max-height:520px;object-fit:cover}
.ksfb-image-field .ksfb-carousel-track{min-height:200px}

/* 1.0.9 — HTML text, Separator, Button field */
.ksfb-html { margin: 0 0 12px; }
.ksfb-html-h1 { font-size: 2rem; font-weight: 700; line-height: 1.2; }
.ksfb-html-h2 { font-size: 1.5rem; font-weight: 700; line-height: 1.25; }
.ksfb-html-h3 { font-size: 1.2rem; font-weight: 600; line-height: 1.3; }
.ksfb-html-p  { font-size: 1rem; line-height: 1.6; color: #334155; }
.ksfb-separator { display:block; width:100%; }
.ksfb-button-wrap { margin: 6px 0; }
.ksfb-button { display:inline-flex; align-items:center; justify-content:center; gap:6px; padding:10px 18px; border-radius:8px; border:none; font-weight:600; font-size:14px; cursor:pointer; text-decoration:none; transition:filter .15s ease, transform .1s ease; }
.ksfb-button:hover { filter: brightness(0.92); }
.ksfb-button:active { transform: translateY(1px); }
