/* Global MedanPedia compatibility patch */
body { font-family: "Work Sans", sans-serif; }
.public-navbar { transition: .25s; z-index: 1030; }
.public-navbar .navbar-brand img { max-height: 42px; object-fit: contain; }
.public-navbar .brand-text { margin-left: .5rem; }
.auth-body { background: #f1f3f7; }
.page-simple { min-height: 70vh; }
.card { border: 0; box-shadow: 0 0.125rem 0.5rem rgba(20,27,43,.04); border-radius: .9rem; }
.card-header { background: #fff; border-bottom: 1px solid #eff0f2; border-top-left-radius: .9rem!important; border-top-right-radius: .9rem!important; }
.card-title { font-size: 1rem; font-weight: 600; }
.table > :not(caption) > * > * { vertical-align: middle; }
.table-responsive { border-radius: .75rem; }
.btn-rounded, .rounded-4 { border-radius: .85rem!important; }
.form-control, .form-select { border-radius: .75rem; }
textarea.form-control { min-height: 115px; }
.service-card .service-img { width: 42px; height: 42px; object-fit: contain; }
.service-card .service-name { min-height: 42px; }
.avatar { height: 48px; width: 48px; }
.avatar-title { align-items: center; display:flex; height:100%; justify-content:center; width:100%; color:#fff; }
.admin-tabs a.btn-primary { color:#fff; }
.admin-tabs a.btn-light { color: #545965; }
.admin-tabs a.btn-light:hover { color: var(--bs-primary); }
.otp-row { display:flex; gap:.5rem; }
.otp-row .btn { white-space:nowrap; }
.ticket-thread { max-height: 560px; overflow:auto; }
.ticket-bubble { border-radius: 1rem; padding: 1rem; margin-bottom: .75rem; }
.ticket-bubble.user { background:#f5f6f8; }
.ticket-bubble.admin { background:rgba(var(--bs-primary-rgb),.1); border:1px solid rgba(var(--bs-primary-rgb),.18); }
pre.api-box { white-space:pre-wrap; background:#141b2b; color:#e9eef7; padding:1rem; border-radius:.75rem; }
@media(max-width:575.98px){ .otp-row{display:block}.otp-row .btn{width:100%;margin-top:.5rem}.page-content{padding-left:.75rem;padding-right:.75rem}.card-body{padding:1rem}.table{font-size:.8rem}.public-navbar .brand-text{display:none} }
body[data-sidebar=dark], body[data-sidebar=dark] .vertical-menu, body[data-sidebar=dark][data-sidebar-size=sm] .vertical-menu #sidebar-menu>ul>li:hover>a { background-color: var(--bs-primary); border-color: var(--bs-primary); }
body[data-sidebar=dark] .navbar-brand-box, body[data-sidebar=dark] .vertical-menu::before { background-color: var(--bs-primary); }
body[data-sidebar=dark] #sidebar-menu ul li a, body[data-sidebar=dark] #sidebar-menu ul li ul.sub-menu li a { color: rgba(255,255,255,.78); }
body[data-sidebar=dark] #sidebar-menu ul li a:hover, body[data-sidebar=dark] #sidebar-menu ul li.mm-active>a { color:#fff!important; }
body[data-sidebar=dark] #sidebar-menu ul li a:hover .nav-icon, body[data-sidebar=dark] #sidebar-menu ul li.mm-active>a .nav-icon { fill:#fff!important; }
body[data-sidebar=dark] .menu-title { color:#fff; opacity:1; }
.hamburger-icon span { background-color:#fff; }
.topnav-hamburger-custom .hamburger-icon span { background-color:#141b2b; }
#sidebar-menu ul li.mm-active>a::before { background-color:#fff; }
.btn-primary { background-color: var(--bs-primary); border-color: var(--bs-primary); }
.btn-primary:hover,.btn-check:focus+.btn-primary,.btn-primary:focus,.btn-primary:disabled { background-color: var(--bs-primary-hover); border-color: var(--bs-primary-hover); }
.text-primary { color: var(--bs-primary)!important; }
.bg-primary { background-color: var(--bs-primary)!important; }
.border-primary { border-color: var(--bs-primary)!important; }
.badge.processing { background: var(--bs-primary); color:#fff; }
.badge.success { background:#63ad6f; color:#fff; }
.badge.error { background:#f56e6e; color:#fff; }
.badge.partial { background:#f9c256; color:#141b2b; }
.landing-body .header { min-height: 520px; overflow: hidden; }
.feature-icon { width: 58px; height: 58px; border-radius: 18px; display:flex; align-items:center; justify-content:center; background:rgba(var(--bs-primary-rgb),.12); color:var(--bs-primary); font-size:26px; flex:0 0 auto; }
@media(max-width:991.98px){
  body.sidebar-enable .vertical-menu { display:block!important; z-index:1008; }
  body.sidebar-enable::before { content:""; position:fixed; inset:0; background:rgba(20,27,43,.35); z-index:1003; }
  .vertical-menu { z-index:1008; }
  #page-topbar { z-index:1007; }
}

/* Step 9 API Documentation */
.api-doc-sticky{position:sticky;top:95px;z-index:5}.api-doc-nav .list-group-item{border:0;border-radius:.65rem;margin-bottom:.25rem;color:#545965}.api-doc-nav .list-group-item:hover{background:rgba(var(--bs-primary-rgb),.08);color:var(--bs-primary)}.api-doc-section{scroll-margin-top:100px}.api-doc-code{background:#101828;color:#e5e7eb;border-radius:14px;padding:16px;white-space:pre-wrap;word-break:break-word;font-size:12.5px;line-height:1.55;margin:0 0 1rem 0}.api-doc-code code{color:inherit;font-size:inherit}.api-doc-chip{background:rgba(var(--bs-primary-rgb),.10);color:var(--bs-primary);border:1px solid rgba(var(--bs-primary-rgb),.25);border-radius:12px;padding:.55rem .75rem;font-family:monospace;font-weight:700}.api-doc-info-box{border:1px solid #eff0f2;border-radius:14px;padding:14px 16px;background:#fff}.api-doc-table th{white-space:nowrap}.api-doc-table td{vertical-align:top}@media(max-width:991.98px){.api-doc-sticky{position:relative;top:auto}}


/* Step 10 API settings */
.api-doc-chip{display:inline-flex;align-items:center;min-height:38px;padding:.45rem .75rem;border-radius:.75rem;background:rgba(var(--bs-primary-rgb),.09);color:var(--bs-primary);font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-weight:700;word-break:break-all}.api-doc-code{background:#111827;color:#e5e7eb;border-radius:14px;padding:14px;white-space:pre-wrap;word-break:break-word}.api-doc-code code{color:inherit}.api-doc-info-box{border:1px solid #eff0f2;border-radius:14px;padding:14px;background:#fff}.api-doc-sticky{position:sticky;top:90px}.api-doc-nav .list-group-item{border:0;padding:.45rem 0;color:#545965}.api-doc-section{scroll-margin-top:100px}.service-text-clamp{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}



/* Step 16: Ticket chat kanan-kiri */
.ticket-thread{display:flex;flex-direction:column;gap:.75rem;max-height:620px;overflow:auto;padding:.75rem;background:#f8f9fb;border-radius:18px;border:1px solid #eff0f2}.ticket-bubble{position:relative;width:fit-content;max-width:78%;padding:.85rem 1rem;border-radius:18px;margin:0;box-shadow:0 6px 18px rgba(20,27,43,.04);line-height:1.55}.ticket-bubble.user{align-self:flex-end;background:linear-gradient(135deg,var(--bs-primary),var(--bs-primary-hover));color:#fff;border-bottom-right-radius:6px}.ticket-bubble.user .text-muted,.ticket-bubble.user a{color:#fff!important}.ticket-bubble.admin{align-self:flex-start;background:#fff;border:1px solid rgba(var(--bs-primary-rgb),.16);color:#3f4452;border-bottom-left-radius:6px}.ticket-bubble .fw-semibold{font-size:.78rem;opacity:.9}.ticket-thread:empty:before{content:'Belum ada percakapan';color:#8495ab;text-align:center;padding:2rem}.upgrade-icon{width:58px;height:58px;border-radius:18px;display:flex;align-items:center;justify-content:center;background:rgba(var(--bs-primary-rgb),.12);color:var(--bs-primary);font-size:30px}.upgrade-card{transition:.2s}.upgrade-card:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(20,27,43,.08)}.upgrade-disabled{opacity:.78}

/* Step 16: Landing clean lp-* - tidak bergantung app.min.css */
.landing-body{background:#fff;color:#334155;font-family:"Work Sans",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;overflow-x:hidden}.lp-navbar{background:rgba(15,23,42,.18);backdrop-filter:blur(16px);transition:.25s}.lp-navbar .nav-link{color:rgba(255,255,255,.86)!important;font-weight:600}.lp-navbar .nav-link:hover{color:#fff!important}.lp-logo{max-width:170px;object-fit:contain}.lp-brand-text{color:#fff}.lp-hero{position:relative;min-height:760px;padding:140px 0 110px;background:radial-gradient(circle at top left,rgba(255,255,255,.28),transparent 28%),linear-gradient(135deg,#111827 0%,var(--bs-primary) 58%,#24c6dc 100%);color:#fff;overflow:hidden}.lp-hero:after{content:"";position:absolute;left:-5%;right:-5%;bottom:-70px;height:150px;background:#fff;border-radius:50% 50% 0 0/45% 45% 0 0}.lp-blob{position:absolute;border-radius:50%;filter:blur(8px);opacity:.25;background:#fff}.lp-blob-1{width:340px;height:340px;right:8%;top:18%}.lp-blob-2{width:220px;height:220px;left:6%;bottom:18%}.min-vh-75{min-height:620px}.lp-badge{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.28);background:rgba(255,255,255,.13);padding:.55rem .9rem;border-radius:999px;font-weight:700}.lp-title{font-size:clamp(2.2rem,5vw,4.9rem);line-height:1.02;font-weight:800;letter-spacing:-.055em}.lp-subtitle{font-size:1.08rem;line-height:1.75;color:rgba(255,255,255,.86);max-width:640px}.lp-contact-mini a{color:#fff;text-decoration:none;font-weight:700}.lp-hero-card{position:relative;z-index:2;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.26);box-shadow:0 24px 80px rgba(15,23,42,.28);border-radius:34px;padding:34px;backdrop-filter:blur(12px)}.lp-hero-img{max-height:430px;object-fit:contain;filter:drop-shadow(0 25px 40px rgba(15,23,42,.25))}.lp-floating-card{position:absolute;display:flex;align-items:center;gap:.5rem;background:#fff;color:#0f172a;border-radius:18px;padding:.75rem 1rem;box-shadow:0 16px 35px rgba(15,23,42,.18);font-weight:800}.lp-floating-card i{font-size:22px;color:var(--bs-primary)}.lp-float-1{left:-18px;top:20%}.lp-float-2{right:-18px;bottom:18%}.lp-section{padding:90px 0}.lp-soft{background:linear-gradient(180deg,#f8fbff 0%,#eef4ff 100%)}.lp-section-label{display:inline-flex;color:var(--bs-primary);background:rgba(var(--bs-primary-rgb),.1);border:1px solid rgba(var(--bs-primary-rgb),.17);border-radius:999px;padding:.4rem .75rem;font-weight:800;margin-bottom:.85rem}.lp-section-title{font-size:clamp(1.8rem,3vw,3rem);font-weight:800;line-height:1.12;color:#0f172a;letter-spacing:-.035em}.lp-text{font-size:1rem;color:#64748b;line-height:1.8}.lp-stats{position:relative;z-index:5;margin-top:-84px;padding-bottom:34px}.lp-stat-card{background:#fff;border:1px solid #e8eef7;border-radius:26px;padding:28px;text-align:center;box-shadow:0 20px 55px rgba(15,23,42,.11)}.lp-stat-card i{font-size:34px;color:var(--bs-primary);display:block;margin-bottom:8px}.lp-stat-card strong{display:block;font-size:2rem;color:#0f172a}.lp-stat-card span{color:#64748b;font-weight:700}.lp-image-frame{background:#fff;border-radius:32px;padding:20px;border:1px solid #e8eef7;box-shadow:0 18px 45px rgba(15,23,42,.08)}.lp-image-frame img{max-height:360px;object-fit:contain}.lp-feature-card,.lp-testimonial{background:#fff;border:1px solid #e8eef7;border-radius:28px;padding:28px;box-shadow:0 14px 38px rgba(15,23,42,.05);transition:.22s}.lp-feature-card:hover,.lp-testimonial:hover{transform:translateY(-5px);box-shadow:0 24px 55px rgba(15,23,42,.1)}.lp-feature-icon{width:64px;height:64px;border-radius:22px;background:linear-gradient(135deg,rgba(var(--bs-primary-rgb),.16),rgba(var(--bs-primary-rgb),.05));display:flex;align-items:center;justify-content:center;color:var(--bs-primary);font-size:32px;margin-bottom:18px}.lp-feature-card h3{font-size:1.22rem;color:#0f172a;font-weight:800}.lp-feature-card p,.lp-testimonial p{color:#64748b;line-height:1.7;margin-bottom:0}.lp-avatar{width:42px;height:42px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:rgba(var(--bs-primary-rgb),.12);color:var(--bs-primary)}.lp-testimonial span{display:block;color:#94a3b8;font-size:.85rem}.lp-accordion .accordion-item{border:0;border-radius:18px!important;margin-bottom:12px;overflow:hidden;box-shadow:0 10px 28px rgba(15,23,42,.05)}.lp-accordion .accordion-button{font-weight:800;color:#0f172a}.lp-accordion .accordion-button:not(.collapsed){color:var(--bs-primary);background:rgba(var(--bs-primary-rgb),.08)}.lp-payments{display:flex;flex-wrap:wrap;gap:12px;justify-content:center}.lp-payment-chip{background:#fff;border:1px solid #e8eef7;border-radius:999px;padding:.85rem 1.15rem;font-weight:800;color:#334155;box-shadow:0 10px 24px rgba(15,23,42,.04)}.lp-cta{padding:70px 0;background:#fff}.lp-cta-box{display:flex;align-items:center;justify-content:space-between;gap:20px;background:linear-gradient(135deg,var(--bs-primary),#111827);color:#fff;border-radius:34px;padding:38px;box-shadow:0 22px 60px rgba(var(--bs-primary-rgb),.22)}.lp-cta-box h2{font-weight:800;margin-bottom:.4rem}.lp-cta-box p{margin:0;color:rgba(255,255,255,.82)}.lp-footer{padding:28px 0;background:#0f172a;color:#cbd5e1}.lp-footer a{color:#fff;text-decoration:none;font-weight:700}@media(max-width:991.98px){.lp-hero{min-height:auto;padding:120px 0 90px}.min-vh-75{min-height:auto}.lp-floating-card{position:static;margin:.75rem auto 0;justify-content:center;max-width:230px}.lp-stats{margin-top:0;padding-top:40px}.lp-cta-box{display:block;text-align:center}.lp-cta-box .btn{margin-top:18px}.lp-section{padding:65px 0}.lp-title{font-size:2.45rem}}@media(max-width:575.98px){.lp-hero-card{padding:18px;border-radius:24px}.lp-stat-card{padding:22px}.lp-feature-card,.lp-testimonial{padding:22px}.lp-cta-box{padding:26px;border-radius:24px}.lp-navbar{background:rgba(15,23,42,.9)}}

/* Perbaikan Tabel di Layar Mobile (Bisa di-scroll ke samping) */
.table-responsive .table {
    white-space: nowrap;
}
.table-responsive .table td.service-text-clamp {
    white-space: normal; /* Biarkan nama layanan tetap turun ke bawah agar rapi */
    min-width: 250px;
}