/* ISMA LAUNDRY - tema putih + aksen aqua */
:root {
  --aqua: #0ea5b7;
  --aqua-dark: #0b7f8e;
  --aqua-soft: #e6f7f9;
  --ink: #1e293b;
  --muted: #64748b;
  --line: #e9eef3;
  --bg: #f6f9fb;
  --radius: 14px;
  --shadow: 0 4px 18px rgba(15, 40, 60, .06);
  --sidebar-w: 248px;
  --bs-primary: #0ea5b7;
  --bs-primary-rgb: 14, 165, 183;
  --bs-link-color: #0b7f8e;
  --bs-link-color-rgb: 11, 127, 142;
}
body { background: var(--bg); color: var(--ink); font-family: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif; font-size: .94rem; }
a { color: var(--aqua-dark); }
.btn-primary { --bs-btn-bg: var(--aqua); --bs-btn-border-color: var(--aqua); --bs-btn-hover-bg: var(--aqua-dark); --bs-btn-hover-border-color: var(--aqua-dark); --bs-btn-active-bg: var(--aqua-dark); --bs-btn-disabled-bg: var(--aqua); --bs-btn-disabled-border-color: var(--aqua); }
.btn-outline-primary { --bs-btn-color: var(--aqua-dark); --bs-btn-border-color: var(--aqua); --bs-btn-hover-bg: var(--aqua); --bs-btn-hover-border-color: var(--aqua); --bs-btn-active-bg: var(--aqua-dark); }
.text-aqua { color: var(--aqua-dark) !important; }
.bg-aqua-soft { background: var(--aqua-soft) !important; }
.form-control:focus, .form-select:focus { border-color: var(--aqua); box-shadow: 0 0 0 .2rem rgba(14, 165, 183, .15); }
.nav-pills .nav-link.active { background: var(--aqua); }
.nav-pills .nav-link { color: var(--ink); }

/* Layout */
.sidebar { position: fixed; top: 0; left: 0; bottom: 0; width: var(--sidebar-w); background: #fff; border-right: 1px solid var(--line); z-index: 1040; display: flex; flex-direction: column; transition: transform .25s; }
.sidebar .brand { display: flex; align-items: center; gap: .6rem; padding: 1.1rem 1.25rem; font-weight: 700; letter-spacing: .5px; color: var(--ink); text-decoration: none; }
.sidebar .brand img, .brand-icon { width: 36px; height: 36px; border-radius: 10px; object-fit: cover; }
.brand-icon { background: linear-gradient(135deg, var(--aqua), #38bdf8); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.sidebar .menu { padding: .5rem .75rem; overflow-y: auto; flex: 1; }
.sidebar .menu-label { font-size: .7rem; text-transform: uppercase; color: var(--muted); padding: .9rem .75rem .35rem; letter-spacing: .6px; }
.sidebar .menu a { display: flex; align-items: center; gap: .7rem; padding: .6rem .8rem; border-radius: 10px; color: #334155; text-decoration: none; margin-bottom: 2px; }
.sidebar .menu a i { font-size: 1.05rem; color: var(--muted); }
.sidebar .menu a:hover { background: var(--aqua-soft); }
.sidebar .menu a.active { background: var(--aqua); color: #fff; box-shadow: 0 4px 12px rgba(14, 165, 183, .3); }
.sidebar .menu a.active i { color: #fff; }
.main { margin-left: var(--sidebar-w); min-height: 100vh; }
.topbar { background: #fff; border-bottom: 1px solid var(--line); padding: .7rem 1.25rem; position: sticky; top: 0; z-index: 1030; }
.content { padding: 1.25rem; }
.sidebar-backdrop { display: none; }
@media (max-width: 991.98px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.show { transform: none; }
  .sidebar-backdrop.show { display: block; position: fixed; inset: 0; background: rgba(15, 23, 42, .35); z-index: 1035; }
  .main { margin-left: 0; }
}

/* Komponen */
.card { border: 0; border-radius: var(--radius); box-shadow: var(--shadow); }
.card-header { background: #fff; border-bottom: 1px solid var(--line); border-radius: var(--radius) var(--radius) 0 0 !important; font-weight: 600; padding: .85rem 1.1rem; }
.page-title { font-weight: 700; font-size: 1.3rem; margin: 0; }
.stat { display: flex; gap: .9rem; align-items: center; padding: 1rem 1.1rem; }
.stat .ico { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; background: var(--aqua-soft); color: var(--aqua-dark); }
.stat .lbl { color: var(--muted); font-size: .8rem; }
.stat .val { font-weight: 700; font-size: 1.15rem; line-height: 1.3; }
.table { --bs-table-bg: transparent; }
.table > thead th { font-size: .75rem; text-transform: uppercase; color: var(--muted); font-weight: 600; letter-spacing: .4px; border-bottom-width: 1px; white-space: nowrap; }
.table td { vertical-align: middle; }
.table-hover tbody tr { cursor: default; }
.row-link { cursor: pointer; }
.badge { font-weight: 600; }
.text-bg-info { color: #fff !important; background-color: #38bdf8 !important; }
.batal { opacity: .55; text-decoration: line-through; }
.search-big { border-radius: 12px; padding: .7rem 1rem; font-size: 1rem; }
.empty { text-align: center; color: var(--muted); padding: 2rem 1rem; }
.timeline { list-style: none; padding-left: 1rem; border-left: 2px solid var(--line); margin: 0; }
.timeline li { position: relative; padding: 0 0 1rem .9rem; }
.timeline li::before { content: ""; position: absolute; left: -1.45rem; top: .3rem; width: 12px; height: 12px; border-radius: 50%; background: var(--aqua); border: 2px solid #fff; box-shadow: 0 0 0 2px var(--aqua); }
.line-item { background: #f8fbfc; border: 1px solid var(--line); border-radius: 12px; padding: .75rem; }
#reader { width: 100%; }

/* Login */
.auth-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 1rem; background: linear-gradient(160deg, #e6f7f9 0%, #fff 55%); }
.auth-card { width: 100%; max-width: 400px; }

/* Halaman publik */
.pub-nav { background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.hero { background: linear-gradient(135deg, #e6f7f9 0%, #fff 60%); padding: 5rem 0 4rem; }
.hero h1 { font-weight: 800; font-size: clamp(2rem, 5vw, 3.2rem); }
.hero-img { border-radius: 24px; box-shadow: var(--shadow); max-height: 360px; object-fit: cover; width: 100%; }
.hero-blob { aspect-ratio: 1; max-width: 340px; margin: auto; border-radius: 40% 60% 55% 45%; background: linear-gradient(135deg, var(--aqua), #38bdf8); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 7rem; box-shadow: 0 20px 50px rgba(14, 165, 183, .3); }
.section { padding: 4rem 0; }
.section-title { font-weight: 800; margin-bottom: .5rem; }
.svc-card, .paket-card { height: 100%; padding: 1.5rem; }
.paket-card .harga { font-size: 1.6rem; font-weight: 800; color: var(--aqua-dark); }
.wa-float { position: fixed; right: 18px; bottom: 18px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.7rem; box-shadow: 0 6px 18px rgba(0, 0, 0, .2); z-index: 1000; text-decoration: none; }
.wa-float:hover { color: #fff; transform: scale(1.05); }
.track-steps { display: flex; justify-content: space-between; position: relative; margin: 1.5rem 0; }
.track-steps::before { content: ""; position: absolute; top: 18px; left: 8%; right: 8%; height: 3px; background: var(--line); }
.track-steps .st { text-align: center; flex: 1; position: relative; font-size: .78rem; color: var(--muted); }
.track-steps .dot { width: 38px; height: 38px; border-radius: 50%; background: #fff; border: 3px solid var(--line); margin: 0 auto .4rem; display: flex; align-items: center; justify-content: center; }
.track-steps .st.done .dot { background: var(--aqua); border-color: var(--aqua); color: #fff; }
.track-steps .st.done { color: var(--ink); font-weight: 600; }
