/* MBT Plugin - Frontend & Admin Styles */

.mbt-theme-attach { width: 100%; }

.mbt-wrap { max-width: 960px; margin: 20px auto; padding: 0 15px; font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: #1e1e1e; }
.mbt-wrap h2 { font-size: 24px; margin-bottom: 10px; }
.mbt-wrap h3 { font-size: 18px; margin: 0 0 8px; }

/* ---------- Auth Pages (Register/Login) ---------- */
.mbt-auth-page-wrap { max-width: 1000px; margin: 40px auto; }

.mbt-auth-page {
	display: flex; border-radius: 22px; overflow: hidden;
	box-shadow: 0 24px 64px rgba(20,20,43,.14); min-height: 560px;
}
@media (max-width: 780px) {
	.mbt-auth-page { flex-direction: column; }
}

.mbt-auth-brand {
	flex: 1 1 42%; background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
	color: #fff; padding: 48px 40px; display: flex; align-items: center;
}
.mbt-auth-brand-inner { max-width: 320px; }
.mbt-auth-logo {
	width: 56px; height: 56px; border-radius: 14px; background: rgba(255,255,255,.16);
	display: flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 800;
	margin-bottom: 24px;
}
.mbt-auth-brand-title { font-size: 27px; font-weight: 800; margin: 0 0 10px; line-height: 1.25; }
.mbt-auth-brand-tagline { font-size: 14.5px; opacity: .92; line-height: 1.6; margin: 0 0 30px; }
.mbt-auth-brand-features { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.mbt-auth-brand-features li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; opacity: .95; }
.mbt-auth-feature-icon { font-size: 18px; }

.mbt-auth-card {
	flex: 1 1 58%; background: #fff; padding: 48px 44px;
	display: flex; flex-direction: column; justify-content: center;
}
.mbt-auth-card-title { font-size: 24px; margin: 0 0 6px; }
.mbt-auth-card-subtitle { font-size: 13.5px; color: #666; margin: 0 0 26px; }
.mbt-auth-switch { text-align: center; margin-top: 18px; font-size: 13.5px; color: #555; }
.mbt-auth-switch a { color: #2563eb; font-weight: 600; text-decoration: none; }
.mbt-auth-switch a:hover { text-decoration: underline; }

.mbt-auth-card .mbt-form input[type=text],
.mbt-auth-card .mbt-form input[type=email],
.mbt-auth-card .mbt-form input[type=password] {
	padding: 12px 14px; border-radius: 8px; border: 1.5px solid #e2e2e2; transition: all .15s ease;
}
.mbt-auth-card .mbt-form input:focus {
	outline: none; border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}
.mbt-auth-card .mbt-form label { color: #333; }

.mbt-form label { display:block; font-weight: 600; margin-bottom: 4px; font-size: 14px; }
.mbt-form input[type=text], .mbt-form input[type=email], .mbt-form input[type=password],
.mbt-form input[type=number], .mbt-form input[type=url], .mbt-form input[type=date],
.mbt-form select {
	width: 100%; padding: 10px 12px; border: 1px solid #d5d5d5; border-radius: 6px; font-size: 14px; box-sizing: border-box;
}
.mbt-form p { margin-bottom: 14px; }
.mbt-inline-form { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.mbt-inline-form input { width: auto; flex: 1; min-width: 150px; }

.mbt-btn {
	display: inline-block; padding: 10px 20px; border-radius: 6px; background: #f0f0f1; color: #1e1e1e;
	text-decoration: none; border: none; cursor: pointer; font-size: 14px; font-weight: 600;
}
.mbt-btn-primary { background: #2563eb; color: #fff; }
.mbt-btn-primary:hover { background: #1d4ed8; color: #fff; }
.mbt-btn-small { padding: 6px 12px; font-size: 12px; }

.mbt-alert { padding: 12px 16px; border-radius: 6px; margin-bottom: 16px; font-size: 14px; }
.mbt-alert-error { background: #fdecea; color: #b3261e; border: 1px solid #f5c2c0; }
.mbt-alert-success { background: #e8f7ee; color: #1c7c3f; border: 1px solid #b9e6c8; }
.mbt-alert-info { background: #eaf2fe; color: #1a4fa0; border: 1px solid #c4dafc; }
.mbt-alert ul { margin: 0; padding-left: 18px; }

.mbt-dashboard-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }

.mbt-stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 16px; margin-bottom: 24px; }
.mbt-stat-card { background: #fff; border: 1px solid #e2e2e2; border-radius: 10px; padding: 18px; }
.mbt-stat-label { display:block; font-size: 13px; color: #666; margin-bottom: 6px; }
.mbt-stat-value { font-size: 22px; font-weight: 700; }

.mbt-section { background: #fff; border: 1px solid #e2e2e2; border-radius: 10px; padding: 20px; margin-bottom: 20px; }

.mbt-affiliate-link-box { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.mbt-affiliate-link-box input { flex: 1; min-width: 220px; padding: 10px; border: 1px dashed #aaa; border-radius: 6px; background: #fafafa; }
.mbt-copy-hint { font-size: 13px; color: #555; }

.mbt-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.mbt-table th, .mbt-table td { text-align: left; padding: 10px; border-bottom: 1px solid #eee; }

.mbt-status { padding: 3px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.mbt-status-pending { background: #fff4e5; color: #a35700; }
.mbt-status-paid { background: #e8f7ee; color: #1c7c3f; }
.mbt-status-cancelled { background: #fdecea; color: #b3261e; }

.mbt-view-code-btn { background: #f0f0f1; }
.mbt-view-code-btn:hover { background: #e5e5e8; }

/* ---------- Banner Promosi Affiliate ---------- */
.mbt-banner-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px,1fr)); gap: 18px; margin-top: 16px; }
.mbt-banner-card { background: #fafbfc; border: 1px solid #e2e2e2; border-radius: 10px; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.mbt-banner-preview { background: #fff; border: 1px solid #eee; border-radius: 6px; overflow: hidden; display: flex; align-items: center; justify-content: center; min-height: 120px; }
.mbt-banner-preview img { width: 100%; height: auto; display: block; }
.mbt-banner-noimage { color: #999; font-size: 12px; padding: 30px 0; }
.mbt-banner-title { font-size: 13px; font-weight: 600; color: #222; }
.mbt-banner-code-textarea {
	width: 100%; font-family: monospace; font-size: 11px; color: #444; background: #fff;
	border: 1px solid #ddd; border-radius: 6px; padding: 8px; resize: vertical; box-sizing: border-box;
}
.mbt-banner-locked .mbt-banner-preview img { filter: blur(3px) grayscale(60%); opacity: .6; }
.mbt-banner-preview { position: relative; }
.mbt-banner-lock-overlay {
	position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
	font-size: 30px; background: rgba(255,255,255,.15);
}
.mbt-banner-locked .mbt-banner-title { color: #888; }

/* ---------- Welcome / Landing Page ---------- */
.mbt-welcome-wrap { font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }

.mbt-welcome-hero {
	background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
	color: #fff; padding: 72px 24px; text-align: center;
}
.mbt-welcome-hero-inner { max-width: 680px; margin: 0 auto; }
.mbt-welcome-title { font-size: 34px; font-weight: 800; margin: 0 0 16px; line-height: 1.25; }
.mbt-welcome-tagline { font-size: 16px; opacity: .92; line-height: 1.7; margin: 0 0 32px; }
.mbt-welcome-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.mbt-btn-hero-primary {
	background: #fff; color: #2563eb; font-weight: 700; padding: 13px 28px; border-radius: 10px;
	font-size: 15px; box-shadow: 0 8px 20px rgba(0,0,0,.15);
}
.mbt-btn-hero-primary:hover { background: #f3f4f6; color: #1d4ed8; }
.mbt-btn-hero-outline {
	background: transparent; color: #fff; font-weight: 700; padding: 13px 28px; border-radius: 10px;
	font-size: 15px; border: 2px solid rgba(255,255,255,.6);
}
.mbt-btn-hero-outline:hover { background: rgba(255,255,255,.12); color: #fff; }

.mbt-welcome-features {
	max-width: 1000px; margin: -36px auto 0; padding: 0 24px 20px;
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative;
}
@media (max-width: 780px) {
	.mbt-welcome-features { grid-template-columns: 1fr; margin-top: 24px; }
}
.mbt-welcome-feature-card {
	background: #fff; border-radius: 14px; padding: 26px 22px; text-align: center;
	box-shadow: 0 10px 30px rgba(20,20,43,.08);
}
.mbt-welcome-feature-icon { font-size: 34px; margin-bottom: 12px; }
.mbt-welcome-feature-card h3 { font-size: 16px; margin: 0 0 8px; }
.mbt-welcome-feature-card p { font-size: 13.5px; color: #666; line-height: 1.6; margin: 0; }

.mbt-welcome-footer-cta {
	max-width: 640px; margin: 50px auto 60px; text-align: center; padding: 0 24px;
}
.mbt-welcome-footer-cta p { font-size: 16px; color: #333; margin: 0 0 16px; font-weight: 600; }
.mbt-welcome-footer-cta .mbt-btn-hero-primary { background: #2563eb; color: #fff; }
.mbt-welcome-footer-cta .mbt-btn-hero-primary:hover { background: #1d4ed8; }

.mbt-welcome-contact { background: #f6f7f9; padding: 30px 24px; margin-top: 20px; text-align: center; border-top: 1px solid #eee; }
.mbt-welcome-contact-inner { max-width: 600px; margin: 0 auto; }
.mbt-welcome-contact-brand { font-size: 15px; font-weight: 700; color: #222; margin-bottom: 8px; }
.mbt-welcome-contact-line { font-size: 13.5px; color: #555; margin: 4px 0; }
.mbt-welcome-contact-line a { color: #2563eb; text-decoration: none; }
.mbt-welcome-contact-line a:hover { text-decoration: underline; }

/* ---------- Topbar (header ringkas di semua halaman MBT) ---------- */
.mbt-topbar { background: #fff; border-bottom: 1px solid #ececef; padding: 14px 24px; }
.mbt-topbar-inner {
	max-width: 1100px; margin: 0 auto; display: flex; align-items: center;
	justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.mbt-topbar-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.mbt-topbar-logo {
	width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0;
	background: linear-gradient(135deg, #2563eb, #7c3aed); color: #fff;
	display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px;
}
.mbt-topbar-name { font-weight: 800; font-size: 15px; color: #1e1e1e; }
.mbt-topbar-nav { display: flex; align-items: center; gap: 20px; }
.mbt-topbar-nav a { font-size: 13.5px; font-weight: 600; color: #444; text-decoration: none; }
.mbt-topbar-nav a:hover { color: #2563eb; }
.mbt-topbar-cta { background: #2563eb; color: #fff !important; padding: 8px 16px; border-radius: 8px; }
.mbt-topbar-cta:hover { background: #1d4ed8; }

/* ---------- App Footer (footer kustom, dipakai di semua halaman MBT) ---------- */
.mbt-app-footer { background: #111827; color: #d1d5db; padding: 36px 24px; margin-top: 40px; text-align: center; }
.mbt-app-footer-inner { max-width: 600px; margin: 0 auto; }
.mbt-app-footer-brand { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.mbt-app-footer-line { font-size: 13.5px; margin: 4px 0; }
.mbt-app-footer-line a { color: #93c5fd; text-decoration: none; }
.mbt-app-footer-line a:hover { text-decoration: underline; }
.mbt-app-footer-copyright { font-size: 12px; color: #6b7280; margin-top: 14px; }

/* Sembunyikan header dan footer bawaan tema di semua halaman MBT, diganti topbar & footer kustom plugin. */
body.mbt-app-page header,
body.mbt-app-page .site-header,
body.mbt-app-page #masthead,
body.mbt-app-page .elementor-location-header,
body.mbt-app-page footer,
body.mbt-app-page .site-footer,
body.mbt-app-page #colophon,
body.mbt-app-page .footer-widgets,
body.mbt-app-page .elementor-location-footer {
	display: none !important;
}
/* Topbar & footer kustom plugin (elemen div, bukan tag header/footer, jadi tidak ikut tersembunyi di atas). */
body.mbt-app-page .mbt-topbar,
body.mbt-app-page .mbt-app-footer {
	display: block !important;
}

/* ---------- Notify Widget (Social Proof) ---------- */
.mbt-notify-widget { position: fixed; bottom: 20px; z-index: 99999; max-width: 300px; pointer-events: none; }
.mbt-notify-left { left: 20px; }
.mbt-notify-right { right: 20px; }

.mbt-notify-card {
	background: #fff; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.18); padding: 14px 34px 14px 14px;
	display: flex; gap: 10px; align-items: flex-start; position: relative;
	opacity: 0; transform: translateY(16px); transition: opacity .3s ease, transform .3s ease; pointer-events: auto;
}
.mbt-notify-widget.mbt-notify-show .mbt-notify-card { opacity: 1; transform: translateY(0); }

.mbt-notify-icon { font-size: 22px; line-height: 1; flex-shrink: 0; }
.mbt-notify-text { font-size: 12.5px; color: #333; line-height: 1.5; }
.mbt-notify-time { color: #999; font-size: 11px; }
.mbt-notify-close {
	position: absolute; top: 6px; right: 8px; background: none; border: none; cursor: pointer;
	font-size: 16px; line-height: 1; color: #aaa; padding: 2px;
}
.mbt-notify-close:hover { color: #666; }

.mbt-product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px,1fr)); gap: 18px; }
.mbt-product-card { background: #fff; border: 1px solid #e2e2e2; border-radius: 10px; padding: 16px; position: relative; }
.mbt-product-thumb img { width: 100%; border-radius: 6px; margin-bottom: 10px; }
.mbt-badge { display: inline-block; background: #eef2ff; color: #3730a3; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 20px; margin-bottom: 8px; }
.mbt-card-rating { margin-bottom: 8px; }
.mbt-product-excerpt { font-size: 13px; color: #555; margin-bottom: 10px; }
.mbt-price { font-size: 18px; font-weight: 700; color: #111; margin-bottom: 10px; }

.mbt-card-actions { display: flex; gap: 8px; }
.mbt-card-actions .mbt-btn { flex: 1; text-align: center; padding: 10px 12px; font-size: 13px; }

/* ---------- Modal Detail Produk ---------- */
.mbt-modal-overlay {
	position: fixed; inset: 0; background: rgba(15,15,20,.55); z-index: 9999;
	align-items: center; justify-content: center; padding: 20px;
}
.mbt-modal-box {
	background: #fff; border-radius: 16px; max-width: 640px; width: 100%; max-height: 88vh;
	overflow-y: auto; padding: 28px; position: relative; box-shadow: 0 20px 60px rgba(0,0,0,.25);
}
.mbt-modal-close {
	position: absolute; top: 14px; right: 16px; background: #f2f2f4; border: none; border-radius: 50%;
	width: 32px; height: 32px; font-size: 20px; line-height: 1; cursor: pointer; color: #555;
}
.mbt-modal-close:hover { background: #e5e5e8; }
.mbt-modal-thumb img { width: 100%; border-radius: 10px; margin-bottom: 14px; }
.mbt-modal-title { font-size: 22px; margin: 4px 0 8px; }
.mbt-modal-desc { color: #3a3a3a; line-height: 1.7; font-size: 14.5px; margin: 14px 0; }
.mbt-modal-desc p { margin: 0 0 12px; }
.mbt-modal-footer { border-top: 1px solid #eee; padding-top: 16px; margin-top: 10px; }

.mbt-checkout-box { background: #fff; border: 1px solid #e2e2e2; border-radius: 10px; padding: 24px; max-width: 480px; }
.mbt-note { font-size: 12px; color: #777; margin-top: 10px; }

/* ---------- Checkout Redesign ---------- */
.mbt-checkout-wrap { max-width: 1100px; }

.mbt-checkout-page { display: grid; grid-template-columns: 1.3fr 1fr; gap: 26px; align-items: start; }
@media (max-width: 860px) {
	.mbt-checkout-page { grid-template-columns: 1fr; }
}

.mbt-checkout-product {
	background: #fff; border: 1px solid #e9e9ec; border-radius: 16px; overflow: hidden;
	box-shadow: 0 6px 24px rgba(20,20,43,.05);
}
.mbt-checkout-product-image { position: relative; background: #f4f6fb; }
.mbt-checkout-product-image img { width: 100%; max-height: 380px; object-fit: cover; display: block; }
.mbt-checkout-noimage {
	height: 220px; display: flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg,#eef2ff,#f5f3ff);
}
.mbt-checkout-noimage .dashicons { font-size: 60px; width: 60px; height: 60px; color: #a5b4fc; }

.mbt-badge-floating { position: absolute; top: 14px; left: 14px; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.12); }

.mbt-checkout-product-body { padding: 26px; }
.mbt-checkout-title { font-size: 24px; margin: 0 0 6px; line-height: 1.3; }
.mbt-sku { color: #999; font-size: 12px; margin: 0 0 14px; }

.mbt-trust-badges { display: flex; gap: 10px; flex-wrap: wrap; margin: 14px 0 22px; }
.mbt-trust-badges span {
	background: #f6f7f9; border: 1px solid #ececef; border-radius: 20px; padding: 6px 12px;
	font-size: 12px; color: #555; font-weight: 600;
}

.mbt-section-title { font-size: 15px; text-transform: uppercase; letter-spacing: .04em; color: #888; margin: 0 0 10px; }
.mbt-checkout-desc { color: #3a3a3a; line-height: 1.75; font-size: 14.5px; }
.mbt-checkout-desc p { margin: 0 0 12px; }

.mbt-checkout-summary {
	background: #fff; border: 1px solid #e9e9ec; border-radius: 16px; padding: 26px;
	box-shadow: 0 6px 24px rgba(20,20,43,.05); position: sticky; top: 24px;
}
.mbt-summary-product-name { font-size: 16px; color: #555; margin: 10px 0 4px; font-weight: 600; }
.mbt-price-tag { font-size: 30px; font-weight: 800; color: #111; margin-bottom: 6px; }
.mbt-price-original { font-size: 17px; font-weight: 600; color: #999; text-decoration: line-through; margin-right: 10px; }
.mbt-price-discounted { color: #16a34a; }
.mbt-coupon-feedback { font-size: 12.5px; font-weight: 600; margin-bottom: 16px; }
.mbt-coupon-feedback.mbt-coupon-valid { color: #16a34a; }
.mbt-coupon-feedback.mbt-coupon-invalid { color: #dc2626; }
.mbt-coupon-feedback.mbt-coupon-checking { color: #888; }

.mbt-payment-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.mbt-pill {
	border: 1.5px solid #e0e0e6; border-radius: 10px; padding: 10px 14px; cursor: pointer;
	font-size: 13px; font-weight: 600; color: #555; transition: all .15s ease; user-select: none;
}
.mbt-pill:hover { border-color: #b9c8fb; }
.mbt-pill-active { border-color: #2563eb; background: #eff4ff; color: #1d4ed8; }

.mbt-qris-image { max-width: 220px; margin: 10px auto 0; border: 1px solid #ddd; border-radius: 10px; display: block; }

.mbt-file-drop {
	display: flex; align-items: center; justify-content: center; text-align: center;
	border: 2px dashed #cdd7fb; border-radius: 12px; padding: 20px 14px; cursor: pointer;
	font-size: 13px; color: #666; background: #f9faff; transition: all .15s ease;
}
.mbt-file-drop:hover { border-color: #2563eb; background: #f0f4ff; color: #2563eb; }

.mbt-btn-block { width: 100%; text-align: center; padding: 13px 20px; font-size: 15px; margin-top: 6px; }
.mbt-checkout-footnote { text-align: center; margin-top: 14px; }

.mbt-divider { display: flex; align-items: center; text-align: center; color: #999; font-size: 12px; margin: 18px 0 !important; }
.mbt-divider::before, .mbt-divider::after { content: ''; flex: 1; border-bottom: 1px solid #eee; }
.mbt-divider span { padding: 0 10px; }

.mbt-pay-instruction { background: #fff; border: 1px solid #e2e2e2; border-radius: 12px; padding: 22px; margin-bottom: 20px; text-align: center; }
.mbt-pay-instruction h3 { margin-top: 0; }
.mbt-pay-instruction img { max-width: 220px; border: 1px solid #ddd; border-radius: 10px; margin: 10px auto; display: block; }
.mbt-va-box { background: #f6f8ff; border: 1px dashed #c7d2fe; border-radius: 10px; padding: 16px; display: inline-block; margin: 10px 0; }
.mbt-va-number { font-size: 22px; font-weight: 800; letter-spacing: 1px; color: #1d4ed8; }

/* ---------- Widget Produk Terlaris ---------- */
.mbt-widget-terlaris { font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
.mbt-widget-terlaris-title { font-size: 15px; margin: 0 0 12px; font-weight: 700; color: #1e1e1e; }

.mbt-terlaris-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.mbt-terlaris-item { display: flex; gap: 10px; align-items: flex-start; }

.mbt-terlaris-thumb {
	flex-shrink: 0; width: 56px; height: 56px; border-radius: 8px; overflow: hidden;
	display: flex; align-items: center; justify-content: center; background: #f4f6fb;
}
.mbt-terlaris-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mbt-terlaris-thumb-fallback { color: #a5b4fc; font-size: 22px; width: 22px; height: 22px; }

.mbt-terlaris-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mbt-terlaris-name {
	font-size: 13px; font-weight: 600; color: #1e1e1e; text-decoration: none; line-height: 1.35;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.mbt-terlaris-name:hover { color: #2563eb; }
.mbt-terlaris-price { font-size: 13px; font-weight: 700; color: #111; }
.mbt-terlaris-badge { font-size: 11px; color: #a35700; font-weight: 600; }
.mbt-terlaris-badge-new { color: #1c7c3f; }

.mbt-stars { color: #f59e0b; font-size: 15px; letter-spacing: 1px; }
.mbt-stars-small { font-size: 13px; }
.mbt-stars-meta { font-size: 12px; color: #777; }

/* Star rating input (radio-based, andal untuk klik & sentuh) */
.mbt-star-rating-input { display: flex; flex-direction: row-reverse; justify-content: center; gap: 4px; margin-bottom: 14px; }
.mbt-star-rating-input input { position: absolute; opacity: 0; width: 0; height: 0; }
.mbt-star-rating-input label { font-size: 38px; line-height: 1; color: #ccc; cursor: pointer; transition: color .1s; }
.mbt-star-rating-input input:checked ~ label,
.mbt-star-rating-input label:hover,
.mbt-star-rating-input label:hover ~ label { color: #f59e0b; }

/* ---------- FAQ Accordion ---------- */
.mbt-faq-title { font-size: 19px; font-weight: 800; margin: 26px 0 14px; }
.mbt-faq-accordion { display: flex; flex-direction: column; gap: 10px; }
.mbt-faq-item { }
.mbt-faq-question {
	width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 14px;
	background: #eef1f8; border: none; border-radius: 14px; padding: 16px 20px;
	font-weight: 700; font-size: 14.5px; color: #1e2340; cursor: pointer; text-align: left;
	transition: background .15s;
}
.mbt-faq-question:hover { background: #e2e6f3; }
.mbt-faq-item.mbt-faq-open .mbt-faq-question { background: #fbdede; color: #7a1f1f; }
.mbt-faq-icon { font-size: 18px; flex-shrink: 0; transition: transform .2s ease; }
.mbt-faq-item.mbt-faq-open .mbt-faq-icon { transform: rotate(180deg); }
.mbt-faq-answer { padding: 14px 20px 2px; font-size: 13.5px; color: #444; line-height: 1.7; }
.mbt-faq-answer p { margin: 0 0 10px; }

/* ---------- Reviews List (ulasan pembeli yang disetujui admin) ---------- */
.mbt-reviews-title { font-size: 19px; font-weight: 800; margin: 26px 0 14px; }
.mbt-reviews-list { display: flex; flex-direction: column; gap: 14px; }
.mbt-review-item { background: #f9fafb; border: 1px solid #eee; border-radius: 10px; padding: 14px 16px; }
.mbt-review-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.mbt-review-name { font-weight: 700; font-size: 13.5px; color: #1e1e1e; }
.mbt-review-text { font-size: 13px; color: #444; line-height: 1.6; margin: 0 0 6px; }
.mbt-review-date { font-size: 11.5px; color: #999; }

/* Admin */
.mbt-admin-wrap .mbt-admin-stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: 14px; margin: 20px 0; }
.mbt-admin-card { background: #fff; border: 1px solid #ccd0d4; border-radius: 8px; padding: 16px; text-align: center; }
.mbt-admin-card h3 { font-size: 24px; margin: 0 0 4px; }
.mbt-admin-card p { margin: 0; color: #555; font-size: 13px; }
.mbt-admin-form { background: #fff; padding: 16px; border: 1px solid #ccd0d4; border-radius: 8px; max-width: 640px; margin-bottom: 24px; }

.mbt-tab-nav { margin-bottom: 0; }
.mbt-tab-panel { background: #fff; border: 1px solid #ccd0d4; border-top: none; padding: 20px; }
.mbt-email-block { border: 1px solid #e2e2e2; border-radius: 8px; padding: 16px 20px; margin-bottom: 18px; background: #fafbfc; }
.mbt-email-block h3 { margin-top: 0; font-size: 14px; }
.mbt-email-block h3 label { display: flex; align-items: center; gap: 8px; font-weight: 600; }

.mbt-chart-card { background: #fff; border: 1px solid #ccd0d4; border-radius: 10px; padding: 20px; margin: 20px 0; }

/* ---------- Log Update (readme.txt) ---------- */
.mbt-readme-box {
	background: #fff; border: 1px solid #ccd0d4; border-radius: 8px; padding: 24px 28px;
	max-width: 780px; max-height: 640px; overflow-y: auto;
}
.mbt-readme-title { font-size: 20px; margin: 0 0 6px; }
.mbt-readme-section { font-size: 16px; margin: 26px 0 10px; padding-top: 16px; border-top: 1px solid #eee; color: #1e1e1e; }
.mbt-readme-section:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.mbt-readme-version {
	font-size: 13px; font-weight: 700; color: #2563eb; background: #eff4ff;
	display: inline-block; padding: 4px 12px; border-radius: 20px; margin: 18px 0 8px;
}
.mbt-readme-list { margin: 0 0 4px; padding-left: 20px; }
.mbt-readme-list li { font-size: 13px; color: #444; line-height: 1.6; margin-bottom: 6px; }
.mbt-readme-box p { font-size: 13px; color: #555; line-height: 1.6; margin: 0 0 8px; }
.mbt-chart-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 10px; }
.mbt-chart-header h2 { margin: 0; font-size: 16px; }
.mbt-chart-legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; color: #444; }
.mbt-legend-item { display: flex; align-items: center; gap: 6px; }
.mbt-legend-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
#mbt-funnel-chart { width: 100%; display: block; }
