/* *****************************************************

    ** Custom Stylesheet **

    Any custom styling you want to apply should be
    defined here.

***************************************************** */

/* Custom CSS for Nexus Theme
 *
 * This file allows you to customize the theme colors and styles for the entire Nexus template.
 *
 * To customize colors:
 * - Replace the var() references with your own hex colors or other CSS values.
 * - For example, instead of --primary: #4b5563; use --primary: #your-color;
 * - You can also override any CSS properties here.
 */

:root {
  --white: #fff;

  /* Neutral shades */
  --neutral-50: #fbf9fa;
  --neutral-100: #f4f5f7;
  --neutral-200: #e4e4e7;
  --neutral-300: #d0d5dd;
  --neutral-400: #9ca3af;
  --neutral-500: #6b7280;
  --neutral-600: #4b5563;
  --neutral-700: #374151;
  --neutral-800: #1f2937;
  --neutral-900: #111827;
  --neutral-950: #030712;

  /* Neutral shades */
  /* define own pallet with brand colors */
  --primary-50: var(--neutral-50);
  --primary-100: var(--neutral-100);
  --primary-200: var(--neutral-200);
  --primary-300: var(--neutral-300);
  --primary-400: var(--neutral-400);
  --primary-500: var(--neutral-500);
  --primary-600: var(--neutral-600);
  --primary-700: var(--neutral-700);
  --primary-800: var(--neutral-800);
  --primary-900: var(--neutral-900);
  --primary-950: var(--neutral-900);

  /* Primary colors */
  /* Use shades from comments if `primary` colors use other colors, then neutral */
  --primary: var(--neutral-900); /* var(--primary-600) */
  --primary-lifted: var(--neutral-800); /* var(--primary-700) */
  --primary-accented: var(--neutral-700); /* var(--primary-800) */

  /* Secondary colors */
  --secondary: var(--neutral-500);
  --secondary-lifted: var(--neutral-600);
  --secondary-accented: var(--neutral-700);

  /* Success colors — Digitalku brand green */
  --success: #379683;
  --success-lifted: #2f8273;
  --success-accented: #31734d;

  /* Digitalku brand palette */
  --brand-navy: #05386b;
  --brand-navy-lifted: #052d56;
  --brand-navy-accented: #042442;
  --brand-green: #379683;
  --brand-green-accented: #31734d;

  /* Info colors */
  --info: #155dfc;
  --info-lifted: #1447e6;
  --info-accented: #193cb8;

  /* Notice colors */
  --notice: #7f22fe;
  --notice-lifted: #7008e7;
  --notice-accented: #5d0ec0;

  /* Warning colors */
  --warning: #f54a00;
  --warning-lifted: #ca3500;
  --warning-accented: #9f2d00;

  /* Error colors */
  --error: #e7000b;
  --error-lifted: #c10007;
  --error-accented: #9f0712;

  /* Grayscale colors */
  --grayscale: var(--neutral-900);
  --grayscale-lifted: var(--neutral-800);
  --grayscale-accented: var(--neutral-700);

  /* Neutral colors */
  --neutral: var(--neutral-500);
  --neutral-lifted: var(--neutral-600);
  --neutral-accented: var(--neutral-700);

  /* Text neutral colors */
  --text-inverted: var(--white);
  --text-muted: var(--neutral-400);
  --text-lifted: var(--neutral-500);
  --text-accented: var(--neutral-600);
  --text: var(--neutral-900);

  /* Border neutral colors */
  --border-muted: var(--neutral-200);
  --border: var(--neutral-300);
  --border-lifted: var(--neutral-400);
  --border-accented: var(--neutral-600);

  /* Background neutral colors */
  --bg: var(--white);
  --bg-muted: var(--neutral-50);
  --bg-lifted: var(--neutral-100);
  --bg-accented: var(--neutral-200);
  --bg-inverted: var(--neutral-900);

  /* Additional colors */
  --yellow-200: #fff085;
  --yellow-300: #ffdf20;
  --teal-300: #46edd5;
  --teal-400: #00d5be;
  --emerald-300: #5ee9b5;
  --pink-400: #fb64b6;

  /* Additional custom properties */
  /* Font sizes */
  --text-xs: 0.625rem;
  --text-sm: 0.75rem;
  --text-md: 0.875rem;
  --text-lg: 1rem;

  /* Spacing */
  --outline-sm: 1px;
  --outline-md: 2px;
  --outline-lg: 3px;

  /* Rounding */
  --rounding-sm: 0.25rem;
  --rounding-md: 0.5rem;
  --rounding-lg: 0.75rem;

  /* Other */
  --letter-spacing: 0em;
  --disabled-opacity: 25%;

  /* Brand rounding & elevation (modern look) */
  --rounding-md: 0.625rem;
  --rounding-lg: 1rem;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.03);

  --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.05);

  --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.07);
}

/* ============================================================
   DIGITALKU BRAND + MODERNIZATION LAYER
   Built on the WHMCS 9 Nexus (Bootstrap 4) base.
   Brand: navy #05386b + green #379683, Inter typography.
   ============================================================ */

html {
  font-size: 15px;
}

body {
  font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #43605e;
  background-color: var(--bg-muted);
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 800;
  font-style: "bold";
  color: #05386b;
  /* text-transform: uppercase; */
}

a {
  color: var(--brand-navy);
}
a:hover,
a:focus {
  color: var(--brand-navy-lifted);
}

/* ============================================================
   NAVBAR — flat white sticky bar (matches domain-transfer.php)
   ============================================================ */
/* Sticks header + breadcrumb together as one unit, so the breadcrumb
   stays glued directly under the header instead of guessing its height */
.djh-sticky-chrome {
  /* position: sticky; */
  position: relative;
  top: 0;
  z-index: 1040; /* keep navbar dropdowns above the breadcrumb & page content */
}
header.header {
  background-color: #fff;
  border-bottom: 1px solid var(--border-muted);
}
/* Topbar — thin utility strip (notifications / logged-in-as switcher),
   restyled to fit the flat white header instead of the old dark-gray strip */
header.header .topbar {
  background-color: var(--neutral-50);
  border-bottom: 1px solid var(--border-muted);
  color: var(--neutral-600);
}
header.header .topbar .btn {
  color: var(--neutral-600);
}
header.header .topbar .btn:hover {
  color: var(--brand-green-accented);
}
header.header .topbar .active-client .input-group-text {
  color: var(--neutral-500);
}
header.header .topbar .active-client .btn {
  color: var(--neutral-700);
}
header.header .topbar .active-client .btn.btn-active-client span {
  border-bottom: 1px dashed var(--neutral-400);
}
header.header .topbar .active-client .btn.btn-active-client:hover span {
  border-bottom-color: var(--brand-green-accented);
  color: var(--brand-green-accented);
}

.brand-navbar-region {
  /* padding: 8px 0; */
}
.brand-navbar-pill {
  position: relative;
  background-color: transparent;
  border-radius: 0;
  box-shadow: none;
  padding: 4px 16px;
  min-height: 54px;
  flex-wrap: nowrap;
}
@media (max-width: 1199.98px) {
  .brand-navbar-pill {
    flex-wrap: wrap;
  }
}

/* Logo — smaller, with breathing room from the menu */
.brand-navbar-pill .navbar-brand {
  padding: 0;
  margin: 0 0px 0 6px;
}
.brand-navbar-pill .logo-img {
  max-height: 22px;
  width: auto;
}

/* ---- Desktop (xl+): logo left · menu truly centered · actions right ----
   The menu is absolutely centered so it keeps its natural width and never
   wraps — that stops WHMCS's JS from pushing items (e.g. Affiliates) into
   the "More" dropdown. */
@media (min-width: 1200px) {
  .brand-navbar-pill .navbar-brand {
    flex: 0 0 auto;
  }
  .brand-navbar-pill .toolbar {
    margin-left: auto !important;
    justify-content: flex-end;
    gap: 4px;
  }
  .brand-navbar-pill #mainNavbar {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    flex: 0 0 auto;
    padding: 0;
  }
  .brand-navbar-pill #nav {
    margin: 0 !important;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 4px;
  }
}

/* The "More" overflow dropdown is disabled for this navbar (all primary
   items are no-collapse), so never show its empty shell. */
.brand-navbar-pill .collapsable-dropdown {
  display: none !important;
}

/* ---- Mobile / tablet (< xl): hamburger menu ---- */
@media (max-width: 1199.98px) {
  .brand-navbar-pill #mainNavbar {
    flex-basis: 100%;
    width: 100%;
    order: 5;
    margin-top: 8px;
    border-top: 1px solid var(--border-muted);
    padding-top: 8px;
  }
  .brand-navbar-pill #nav {
    width: 100%;
    flex-direction: column;
  }
  .brand-navbar-pill #nav > li {
    width: 100%;
  }
  .brand-navbar-pill #nav > li > a {
    display: block;
    width: 100%;
  }
  /* dropdown submenus render inline within the mobile menu */
  .brand-navbar-pill #nav .dropdown-menu {
    position: static;
    float: none;
    box-shadow: none;
    border: 0;
    margin: 2px 0 4px 12px;
    padding: 0;
  }
  /* keep the account toggle compact so the top row never overflows */
  .brand-navbar-pill .toolbar > li.dropdown > a {
    max-width: 46vw;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* Menu links — underline-on-active/hover, matching domain-transfer.php */
header.header .brand-navbar-pill #nav > li > a {
  display: inline-block;
  color: var(--neutral-700) !important;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.2;
  padding: 8px 2px !important;
  margin: 0 12px;
  border-radius: 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  text-decoration: none !important;
  background-color: transparent !important;
  transition:
    color 0.15s ease,
    border-color 0.15s ease;
}
header.header .brand-navbar-pill #nav > li > a:hover,
header.header .brand-navbar-pill #nav > li > a:focus,
header.header .brand-navbar-pill #nav > li.active > a,
header.header .brand-navbar-pill #nav > li.open > a,
header.header .brand-navbar-pill #nav > li > a.active {
  color: var(--brand-green-accented) !important;
  background-color: transparent !important;
  border-bottom-color: var(--brand-green) !important;
}

/* Account / profile menu (now in the right toolbar) */
header.header .brand-navbar-pill .toolbar > li.dropdown > a {
  display: inline-flex;
  align-items: center;
  color: var(--neutral-700) !important;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 14px !important;
  border-radius: 8px;
  white-space: nowrap;
  text-decoration: none !important;
  background-color: transparent !important;
  transition:
    color 0.15s ease,
    background-color 0.15s ease;
}
header.header .brand-navbar-pill .toolbar > li.dropdown > a:hover,
header.header .brand-navbar-pill .toolbar > li.dropdown.open > a {
  color: var(--brand-green-accented) !important;
  background-color: var(--neutral-100) !important;
}

/* Account toggle ("Halo, ...!") — solid button */
header.header .brand-navbar-pill #Secondary_Navbar-Account > a {
  color: #fff !important;
  background-color: #2a7368 !important;
  border-radius: 8px;
}
header.header .brand-navbar-pill #Secondary_Navbar-Account > a:hover,
header.header .brand-navbar-pill #Secondary_Navbar-Account.open > a {
  color: #fff !important;
  background-color: var(--brand-navy-accented) !important;
}

/* Dropdown carets + menus */
.brand-navbar-pill .dropdown-toggle::after {
  margin-left: 0.4em;
  vertical-align: middle;
  border-top-color: currentColor;
}
.brand-navbar-pill .dropdown-menu {
  border: 1px solid var(--border-muted);
  border-radius: var(--rounding-md);
  box-shadow: var(--shadow-md);
  margin-top: 8px;
  padding: 6px;
  z-index: 1045;
}
/* .brand-navbar-pill .dropdown-menu a {
    color: var(--neutral-800) !important;
    border-radius: 8px;
    padding: 8px 12px !important;
} */
/* .brand-navbar-pill .dropdown-menu a:hover {
    color: var(--brand-navy) !important;
    background-color: var(--neutral-100);
} */
header.header .logo-img {
  max-height: 36px;
  padding-left: 15px;
}

/* HP */
@media (max-width: 768px) {
  header.header .logo-img {
    max-height: 30px;
    padding-left: 10px;
  }
}

.client-portal-item {
  padding-right: 15px;
}

@media (max-width: 768px) {
  .client-portal-item {
    padding-right: 0 !important;
  }
}

/* Cart button */
.brand-navbar-pill .toolbar {
  gap: 4px;
}
.brand-navbar-pill .cart-btn {
  color: var(--neutral-700) !important;
  font-size: 16px;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  position: relative;
  padding: 8px 10px;
}
.brand-navbar-pill .cart-btn:hover {
  color: var(--brand-green-accented) !important;
}
.brand-navbar-pill .cart-btn .badge {
  background-color: #c70505;
  color: #fff;
  font-size: 11px;
  position: absolute;
  top: -2px;
  right: -4px;
}

/* Green "Client Portal" CTA — flat rect button, matches domain-transfer.php */
.brand-navbar-pill .btn-portal {
  background-color: var(--brand-green-accented);
  color: #fff !important;
  font-weight: 700;
  font-size: 13px;
  border-radius: 8px;
  padding: 9px 18px;
  border: 0;
  white-space: nowrap;
  box-shadow: none;
  transition:
    background-color 0.15s ease,
    transform 0.05s ease;
}
.brand-navbar-pill .btn-portal:hover,
.brand-navbar-pill .btn-portal:focus {
  background-color: var(--brand-navy-accented);
  color: #fff;
}
.brand-navbar-pill .btn-portal:active {
  transform: translateY(1px);
}

/* Mobile hamburger */
.brand-navbar-pill .navbar-toggler {
  color: var(--neutral-800);
  font-size: 18px;
  border: 0;
}
/* HP */
@media (max-width: 768px) {
  .brand-navbar-pill .btn-portal {
    font-size: 12px;
    padding: 5px 12px;
  }

  .brand-navbar-pill .navbar-toggler {
    font-size: 12px;
  }
}

/* ============================================================
   BREADCRUMB — gradient background (matches domain-transfer.php's .djh-hero)
   ============================================================ */
.master-breadcrumb {
  background: #05386b;
}
.master-breadcrumb .breadcrumb {
  background-color: transparent;
  margin: 0;
  padding: 9px 0;
  font-size: 0.9rem;
}
.master-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.5);
}
.master-breadcrumb .breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
}
.master-breadcrumb .breadcrumb a:hover {
  color: #fff;
}
.master-breadcrumb .breadcrumb .breadcrumb-item.active {
  color: #fff;
  font-weight: 600;
}

/* ---------- Buttons ---------- */
.btn {
  border-radius: var(--rounding-md);
  font-weight: 600;
  transition:
    transform 0.05s ease,
    box-shadow 0.15s ease,
    background-color 0.15s ease;
}
.btn:active {
  transform: translateY(1px);
}
.btn-primary {
  background: var(--brand-navy);
  border-color: var(--brand-navy);
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background: var(--brand-navy-lifted);
  border-color: var(--brand-navy-lifted);
}
.btn-success {
  background: var(--brand-green);
  border-color: var(--brand-green);
}
.btn-success:hover,
.btn-success:focus,
.btn-success:active {
  background: var(--brand-green-accented);
  border-color: var(--brand-green-accented);
}

/* ---------- Cards / panels (modern elevation) ---------- */
.card,
.panel {
  border: 0px solid #dcf1ee;
  border-radius: var(--rounding-lg);
  box-shadow: 0 10px 26px -14px rgba(55, 150, 131, 0.3);
  border-color: #b3ddd0;
  transition:
    box-shadow 0.18s ease,
    transform 0.18s ease;
}
.card:hover {
  box-shadow: var(--shadow-md);
}
.card .card-header,
.panel .panel-heading {
  background-color: var(--bg);
  border-bottom: 1px solid #b3ddd0;
  font-weight: 700;
}

/* ---------- Bootstrap 3 -> 4 compat shim ----------
   Legacy Jayahost pages (konfirmasi, srsx/*, form/*) still use
   Bootstrap-3 markup that BS4 dropped. These rules keep them
   looking like modern cards instead of unstyled blocks. */
.panel {
  background-color: var(--bg);
}
.panel-heading {
  padding: 0.85rem 1.15rem;
  background-color: var(--bg);
  border-bottom: 1px solid var(--border-muted);
  border-top-left-radius: var(--rounding-lg);
  border-top-right-radius: var(--rounding-lg);
}
.panel-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}
.panel-body {
  padding: 1.15rem;
}
.panel-footer {
  padding: 0.85rem 1.15rem;
  background-color: var(--bg-muted);
  border-top: 1px solid var(--border-muted);
  border-bottom-left-radius: var(--rounding-lg);
  border-bottom-right-radius: var(--rounding-lg);
}
.panel-default > .panel-heading {
  color: var(--text);
}
.pull-right {
  float: right !important;
}
.pull-left {
  float: left !important;
}

/* ---------- Forms ---------- */
.form-control {
  border-radius: var(--rounding-md);
  border-color: var(--border);
}
.form-control:focus {
  border-color: var(--brand-navy);
  box-shadow: 0 0 0 3px rgba(5, 56, 107, 0.12);
}

/* ============================================================
   TABLES — card wrapper + on-brand header/hover/pagination
   (was plain Bootstrap defaults: gray borders, #333 header,
   flat gray hover, Bootstrap-blue pagination)
   ============================================================ */
.table-container {
  background-color: #fff;
  /* border: 1px solid var(--border-muted); */
  border-radius: var(--rounding-lg);

  box-shadow: 0 10px 26px -14px rgba(55, 150, 131, 0.3);
  border-color: #b3ddd0;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  padding: 8px 16px;
}

table.table-list,
.dataTables_wrapper table.table-list {
  border: 1px solid var(--border-muted);
  border-radius: var(--rounding-md);
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
}

table.table-list thead th,
.dataTables_wrapper table.table-list thead th,
body .dataTables_wrapper table.table-list thead th {
  background-color: var(--neutral-50);
  border: 0;
  border-bottom: 1px solid var(--border-muted) !important;
  color: var(--brand-navy);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 12px 0px;
}
.dataTables_wrapper table.table-list thead th.sorting_asc,
.dataTables_wrapper table.table-list thead th.sorting_desc {
  background-color: var(--neutral-100);
}

table.table-list tbody td,
.table-list > tbody > tr > td {
  border-top: 1px solid var(--border-muted);
  background-color: #fff;
  color: var(--neutral-800);
}
/* border-collapse:separate keeps each cell's own border, so the header's
   bottom border and the first row's top border would stack into 2px */
table.table-list thead + tbody > tr:first-child > td,
.table-list > tbody > tr:first-child > td {
  border-top: 0;
}
table.table-list tbody tr:hover td,
.table-list > tbody > tr:hover > td {
  background-color: rgba(55, 150, 131, 0.06) !important;
}

.table th,
.table td {
  border-top: 1px solid var(--border-muted);
}
.table thead th {
  border-bottom: 2px solid var(--border-muted);
  color: var(--brand-navy);
}
.table-striped tbody tr:nth-of-type(odd) {
  background-color: var(--neutral-50);
}
.table-bordered,
.table-bordered th,
.table-bordered td {
  border-color: var(--border-muted);
}

/* DataTables search box */
.dataTables_wrapper .dataTables_filter label .form-control {
  border-radius: var(--rounding-md);
  border: 1px solid var(--border-muted);
}

/* Pagination — brand teal instead of default Bootstrap blue */
.page-link {
  color: var(--brand-green-accented);
}
.page-link:hover {
  color: var(--brand-navy);
  background-color: var(--neutral-100);
  border-color: var(--border-muted);
}
.page-item.active .page-link {
  background-color: var(--brand-green-accented);
  border-color: var(--brand-green-accented);
  color: #fff;
}
.pagination > .active > a,
.pagination > .active > a:focus,
.pagination > .active > a:hover,
.pagination > .active > span,
.pagination > .active > span:focus,
.pagination > .active > span:hover {
  background-color: var(--brand-green-accented) !important;
  border-color: var(--brand-green-accented) !important;
}

/* ---------- Breadcrumb / page header ---------- */
.header-lined > h1,
.page-header h1 {
  color: var(--brand-navy);
}

/* ---------- Footer — same layout/colors as domain-transfer.php's
   .djh-pagefooter (3-col grid), social media & select language dipertahankan ---------- */
#footer,
.footer {
  background-color: #05386b;
  color: #b9d1cf;
  /* margin-top: 56px; */
  padding: 0;
}
#footer .container,
.footer .container {
  padding: 44px 20px 24px;
}
#footer a,
.footer a {
  color: #b9d1cf;
  text-decoration: none;
}
#footer a:hover,
.footer a:hover {
  color: #45b09b;
}

.djh-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 24px;
}
@media (max-width: 767.98px) {
  .djh-footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
.djh-footer-brand {
  color: #fff;
  font-weight: 800;
  font-size: 17px;
  margin-bottom: 8px;
}
.djh-footer-col p {
  font-size: 13px;
  line-height: 1.6;
  opacity: 0.8;
  margin: 0 0 14px;
}
.djh-footer-title {
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.djh-footer-col a {
  display: block;
  font-size: 13px;
  margin-bottom: 8px;
}

/* social media icons — circular badges */
.djh-footer-social {
  margin: 0;
  padding: 0;
}
#footer .btn-icon,
.footer .btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  border-color: transparent;
  color: rgba(255, 255, 255, 0.85) !important;
  transition:
    background-color 0.15s ease,
    color 0.15s ease;
}
#footer .btn-icon:hover,
.footer .btn-icon:hover {
  background-color: var(--brand-green);
  color: #fff !important;
}

/* select language / currency switcher — pill outline button */
#footer .btn-outline-light,
.footer .btn-outline-light {
  border-color: rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12px;
}
#footer .btn-outline-light:hover,
.footer .btn-outline-light:hover {
  background-color: var(--brand-green);
  border-color: var(--brand-green);
  color: #fff;
}

#footer .copyright,
.footer .copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 24px;
  padding-top: 16px;
  font-size: 12px;
  opacity: 0.7;
  text-align: center;
}

/* ---------- Homepage / login surfaces ---------- */
.btn-spotlight,
.spotlight {
  border-radius: var(--rounding-lg);
}
.announcement-single,
.home-tile {
  border-radius: var(--rounding-lg);
  box-shadow: var(--shadow-sm);
}

/* ---------- Outline buttons (brand navy) ---------- */
.btn-outline-primary {
  color: var(--brand-navy);
  border-color: var(--brand-navy);
}
.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
  background-color: var(--brand-navy);
  border-color: var(--brand-navy);
  color: #fff;
}

/* ---------- Client area dashboard tiles (modernized) ---------- */
.tiles .row {
  gap: 16px 0;
}
.tiles .tile {
  background-color: var(--bg);
  border: 1px solid var(--border-muted);
  border-right: 1px solid var(--border-muted);
  border-radius: var(--rounding-lg);
  box-shadow: var(--shadow-sm);
  margin: 0 8px;
  overflow: hidden;
}
.tiles .tile:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.tiles .tile .title {
  color: var(--text-lifted);
  font-weight: 600;
}
.tiles .tile .highlight {
  height: 4px;
  border-radius: 999px;
}

/* ---------- Homepage pricing / action cards ---------- */
.card-columns.home .card,
.action-icon-btns .card-accent-teal,
.action-icon-btns [class*="card-accent"] {
  border-radius: var(--rounding-lg);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}
.card-columns.home .card:hover,
.action-icon-btns a:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* ---------- Login card lift ---------- */
.login-form .card {
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-muted);
}

/* ---------- Misc carry-over from legacy brand ---------- */
.invoice-container .invoice-header img {
  max-width: 50%;
}
.tab-content > .tab-pane.fade {
  opacity: 1;
}

/* Section header inside dropdown (e.g. "New Order" label in Services menu) */
.dropdown-menu li.nav-section-header a.dropdown-item,
.dropdown-menu li.nav-section-header a.dropdown-item:hover,
.dropdown-menu li.nav-section-header a.dropdown-item:focus {
  color: #9aa5b4;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  pointer-events: none;
  cursor: default;
  background: transparent !important;
  padding-top: 6px !important;
  padding-bottom: 2px !important;
}
/* Parent dropdown */
.navbar .dropdown {
  position: relative;
}

/* Menu dropdown */
.navbar .dropdown-menu {
  position: absolute !important;
  top: 100%;
  right: auto;
  left: 0;
  z-index: 9999; /* atau 99 jika cukup */
  margin-top: 0.25rem;
}

/* Saat tampil */
.navbar .dropdown-menu.show {
  display: block;
}

.navbar-main {
  box-shadow: none;
  border-bottom: 1px solid #e5e5e5;
}

.navbar-nav .nav-link,
.navbar-nav > li > a {
  font-weight: 500;
}

.dropdown-menu {
  border-radius: 6px;
  border: 1px solid #ddd;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.dropdown-item {
  padding: 0.3rem 0.5rem;
}

.dropdown-item:hover {
  background: #f8f9fa;
}

.nav-section-header {
  font-weight: 600;
  color: #6c757d;
  pointer-events: none;
}

/* ============================================================
   ALERTS — global redesign of Bootstrap's flat alert box, used
   site-wide via templates/digitalku-2026/includes/alert.tpl
   (success/error/warning/info). Rounded card, left accent bar,
   circular icon badge, subtle fade-in. Pure CSS (icon via ::before
   using the Font Awesome glyphs already loaded in head.tpl) so
   alert.tpl itself and every {include alert.tpl} call site across
   the theme are untouched.
   ============================================================ */
.alert {
  position: relative;
  border: 1px solid transparent;
  border-left-width: 4px;
  border-radius: 14px;
  padding: 14px 18px 14px 54px;
  box-shadow: 0 8px 20px -14px rgba(3, 25, 51, 0.25);
  animation: djhAlertIn 0.25s ease both;
}
@keyframes djhAlertIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.alert::before {
  font-family: "Font Awesome 6 Pro", "Font Awesome 6 Free";
  font-weight: 900;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  font-size: 14px;
  line-height: 1;
  position: absolute;
  left: 14px;
  top: 14px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.alert h2,
.alert h3,
.alert h4 {
  color: inherit;
  margin: 0 0 6px;
  font-size: 16px;
}
.alert ul {
  margin: 6px 0 0;
  padding-left: 18px;
}
.alert strong {
  color: inherit;
}
.alert a:not(.btn) {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
}
.alert .btn-xs.btn-default {
  border: 1px solid rgba(3, 25, 51, 0.15);
  border-radius: 8px;
  font-weight: 700;
  background-color: rgba(255, 255, 255, 0.6);
}

.alert-success {
  background-color: #e3faf3;
  border-color: #b8f0e4;
  color: #0d8f74;
}
.alert-success::before {
  content: "\f058"; /* fa-check-circle */
  background-color: #b8f0e4;
  color: #0d8f74;
}

.alert-danger {
  background-color: #fdeceb;
  border-color: #f5c6c0;
  color: #d5352a;
}
.alert-danger::before {
  content: "\f071"; /* fa-exclamation-triangle */
  background-color: #f5c6c0;
  color: #d5352a;
}

.alert-warning {
  background-color: #fff4e0;
  border-color: #fadfae;
  color: #b3760a;
}
.alert-warning::before {
  content: "\f071";
  background-color: #fadfae;
  color: #b3760a;
}

.alert-info {
  background-color: #e8f4fd;
  border-color: #bfe0f7;
  color: #0f5fa8;
}
.alert-info::before {
  content: "\f05a"; /* fa-info-circle */
  background-color: #bfe0f7;
  color: #0f5fa8;
}

/* Home panel "Recent Support Tickets" — roomier rows (was Bootstrap's 0.75rem) */
#ticketsPanel .list-group-item {
  padding-top: 8px;
  padding-bottom: 8px;
}

/* ============================================================
   SUPPORT TICKET — each reply framed as its own bordered box
   (was: flat full-width divider between replies)
   ============================================================ */
.view-ticket .card-body + .card-body {
  padding: 16px 16px 0;
  border-bottom: 0;
}
.view-ticket .card-body:last-child {
  padding-bottom: 16px;
}

.view-ticket .ticket-reply {
  background-color: #fff;
  border: 1px solid var(--border-muted);
  border-radius: var(--rounding-md);
  overflow: hidden;
}
.view-ticket .ticket-reply .posted-by {
  background-color: var(--neutral-50);
  border-bottom: 1px solid var(--border-muted);
}
.view-ticket .ticket-reply .attachments {
  border-top: 1px solid var(--border-muted);
}
.view-ticket .ticket-reply .message,
.view-ticket .ticket-reply .message p,
.view-ticket .ticket-reply .message li,
.view-ticket .ticket-reply .message span,
.view-ticket .ticket-reply .message div {
  color: #000;
}

.view-ticket .ticket-reply.staff {
  border-color: rgba(55, 150, 131, 0.35);
}
.view-ticket .ticket-reply.staff .posted-by {
  background-color: rgba(55, 150, 131, 0.07);
  border-bottom-color: rgba(55, 150, 131, 0.35);
}
