/* Bejox premium polish — putih bersih + aksen biru elegan */
:root { --brand:#365CF5; --ink:#1A2142; --muted:#8A94AD; --line:#EEF1F7; }
html, body { overflow-x: clip; }
body { background:#F4F7FE; color:var(--ink); }
.main-wrapper .section { padding-bottom:48px; }
.title-wrapper .title h2 { font-weight:700; letter-spacing:-.01em; }
.title-wrapper .title p { color:var(--muted); }
.card-style { border:1px solid var(--line); border-radius:14px; box-shadow:0 2px 14px rgba(26,33,66,.06); }
.icon-card { border:1px solid var(--line); border-radius:14px; box-shadow:0 2px 14px rgba(26,33,66,.06); }
.icon-card .content p { color:var(--muted); font-size:.72rem; text-transform:uppercase; letter-spacing:.06em; font-weight:600; }
.icon-card .content h3 { font-size:1.55rem; font-weight:700; }
.icon-card .icon { border-radius:12px; }
.table thead th { background:#F8FAFF; border-bottom:1px solid var(--line); }
.table thead th h6 { font-size:.7rem; text-transform:uppercase; letter-spacing:.06em; color:var(--muted); margin:0; }
.table tbody tr:nth-child(even) { background:#FAFBFE; }
.table tbody tr:hover { background:#EFF4FF; }
.table td, .table th { vertical-align:middle; }
.main-btn { border-radius:9px; transition:all .18s ease-in-out; }
.badge { font-weight:600; letter-spacing:.02em; }
.input-style-1 input, .input-style-1 select, .select-style-1 select { border-radius:9px; }
.input-style-1 label, .select-style-1 label { font-size:.75rem; color:var(--muted); font-weight:600; text-transform:uppercase; letter-spacing:.04em; }
/* label section sidebar ala panel profesional */
.sidebar-nav ul .nav-label { list-style:none; padding:18px 25px 8px; margin:0; }
.sidebar-nav ul .nav-label span { font-size:.68rem; font-weight:700; text-transform:uppercase; letter-spacing:.12em; color:var(--muted); }
.sidebar-nav ul .nav-label:first-child { padding-top:0; }
/* login */
.signin-section .form-wrapper { border-radius:16px; }
@media (max-width:575.98px) {
  .header { padding:14px 0; }
  .title-wrapper .title h2 { font-size:1.35rem; }
  .icon-card .content h3 { font-size:1.3rem; }
  .card-style { padding:20px; }
  .main-btn.w-100 { width:100%; }
}

/* Samakan box select (Platform/Layanan) dengan input (Target/Jumlah) */
.input-style-1 select {
  width: 100%;
  background-color: rgba(239, 239, 239, 0.5);
  border: 1px solid #e5e5e5;
  border-radius: 9px;
  padding: 16px;
  padding-right: 40px;
  color: #5d657b;
  font-size: 14px;
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235d657b' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  transition: all 0.3s;
}
.input-style-1 select:focus { border-color: #365CF5; background-color: #fff; outline: none; }

/* Tombol menu hamburger polos — putih, border tipis abu-abu, tanpa biru */
.menu-toggle-plain {
  width: 42px; height: 42px;
  background: #fff;
  border: 1px solid #E2E7F0;
  border-radius: 10px;
  color: #1A2142;
  font-size: 1.15rem;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.menu-toggle-plain:hover { background: #F4F7FE; border-color: #CBD5E6; }
.menu-toggle-plain:focus { outline: none; box-shadow: 0 0 0 3px rgba(26,33,66,.08); }

/* Tombol avatar bulat di header + dropdown profil */
.avatar-btn {
  width: 42px; height: 42px; border-radius: 50%;
  background: #fff;
  color: #5B6478; border: 1.5px solid #D8DEE9; cursor: pointer;
  font-size: 1.35rem;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .15s ease, border-color .15s ease;
}
.avatar-btn:hover { background: #EAF0FD; border-color: #CBD5E6; }
.avatar-btn:focus { outline: none; box-shadow: 0 0 0 3px rgba(26,33,66,.08); }
.header-right .dropdown-menu { border:1px solid var(--line); border-radius:12px; min-width:200px; padding:8px; }
.header-right .dropdown-header { font-weight:700; color:var(--ink); font-size:.95rem; }
.header-right .dropdown-item { border-radius:8px; padding:9px 12px; font-size:.9rem; }
.header-right .dropdown-item:hover { background:#EFF4FF; }
.header-right .dropdown-item.text-danger:hover { background:#FDECEC; }

/* Chat bubble tiket bantuan */
.chat-box { max-height: 420px; overflow-y: auto; padding: 12px; background: #F8FAFF; border-radius: 12px; border: 1px solid #E8EEF9; }
.chat-row { display: flex; margin-bottom: 12px; }
.chat-right { justify-content: flex-end; }
.chat-left { justify-content: flex-start; }
.chat-bubble { max-width: 80%; padding: 10px 14px; border-radius: 14px; font-size: .9rem; line-height: 1.5; word-break: break-word; }
.chat-mine { background: #365CF5; color: #fff; border-bottom-right-radius: 4px; }
.chat-admin { background: #fff; color: #1A2142; border: 1px solid #E2E7F0; border-bottom-left-radius: 4px; }
.chat-who { font-size: .72rem; font-weight: 700; color: #365CF5; margin-bottom: 4px; }
.chat-time { font-size: .7rem; opacity: .7; margin-top: 6px; text-align: right; }
.chat-admin .chat-time { text-align: left; }

/* Avatar besar di halaman profile */
.profile-avatar {
  width: 88px; height: 88px; border-radius: 50%;
  background: #F4F7FE; border: 2px solid #E2E7F0;
  display: flex; align-items: center; justify-content: center;
  color: #5B6478; font-size: 2.5rem;
}

/* Box keterangan layanan di form order */
.service-desc-box {
  border: 1px dashed #C9D4F5;
  background: #F4F7FE;
  border-radius: 12px;
  padding: 14px 16px;
  margin-top: -6px;
  margin-bottom: 18px;
}
.service-desc-box .svc-name { font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.service-desc-box .svc-meta { font-size: .82rem; color: var(--muted); }
.service-desc-box .svc-meta .badge { margin-right: 4px; }
.service-desc-box .svc-empty { color: var(--muted); font-size: .88rem; margin: 0; }

/* Modal pengumuman — tampil sekali setelah login */
#announceModal .modal-content { border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 8px 30px rgba(26,33,66,.12); }
#announceModal .modal-header { border-bottom: 1px solid var(--line); padding: 16px 20px; }
#announceModal .modal-title { font-weight: 700; color: var(--ink); font-size: 1.05rem; }
#announceModal .modal-title .lni { color: var(--brand); }
#announceModal .modal-body { padding: 20px; color: var(--ink); font-size: .92rem; }
#announceModal .modal-body .text-medium { color: #5d657b; }
#announceModal .modal-footer { border-top: 1px solid var(--line); padding: 14px 20px; }
@media (max-width:575.98px) {
  #announceModal .modal-dialog { margin: .75rem; }
}

/* Fix tabel di HP: jangan padatkan kolom, biarkan scroll horizontal */
.table-responsive .table {
  min-width: 560px;
}
.table-responsive .table th,
.table-responsive .table td {
  white-space: nowrap;
}

/* Logo Bejox di sidebar */
.navbar-logo img {
  max-height: 40px;
  width: auto;
}

/* Brand text logo simpel */
.brand-text {
  font-size: 1.25rem;
  font-weight: 800;
  color: #1A2142;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.navbar-logo .brand-text {
  font-size: 1.15rem;
}
a:hover .brand-text { color: #365CF5; }
