/* =====================================================================
   DEVICES-FIXER — "DF Blue" light theme (white + blue)
   Loaded LAST from templates/default/header.tpl. One file for the whole
   client side: header, menus, cards, forms, tables, modals, footer.
   ===================================================================== */

:root {
  --df-blue: #1e6fff;
  --df-blue-dark: #0b4fd6;
  --df-cyan: #00b4ff;
  --df-soft: #e8f0ff;
  --df-bg: #f4f7fc;
  --df-card: #ffffff;
  --df-line: #e3e8f0;
  --df-ink: #0f172a;
  --df-mut: #64748b;
  --df-ok: #16a34a;
  --df-bad: #dc2626;
  --df-radius: 12px;
  --df-shadow: 0 1px 3px rgba(15,23,42,.06);
  --df-grad: linear-gradient(90deg, #1e6fff 0%, #00b4ff 100%);
}

/* ---------- base ---------- */
html body.df-blue {
  background: var(--df-bg) !important;
  color: var(--df-ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
body.df-blue .bg-white,
body.df-blue .bg-gray,
body.df-blue .body-container,
body.df-blue .page-container { background: var(--df-bg) !important; }

body.df-blue a { color: var(--df-blue); }
body.df-blue a:hover { color: var(--df-blue-dark); }
body.df-blue h1, body.df-blue h2, body.df-blue h3, body.df-blue h4, body.df-blue h5, body.df-blue h6,
body.df-blue .h1, body.df-blue .h2, body.df-blue .h3, body.df-blue .h4, body.df-blue .h5, body.df-blue .h6,
body.df-blue h3.title { color: var(--df-ink); }
body.df-blue .text-muted { color: var(--df-mut) !important; opacity: 1; }
body.df-blue .text-primary { color: var(--df-blue) !important; }
body.df-blue .bg-light { background: var(--df-soft) !important; }

/* ---------- header ---------- */
body.df-blue header {
  position: sticky; top: 0; z-index: 1030;
  background: #fff !important;
  box-shadow: 0 1px 0 var(--df-line), 0 6px 20px rgba(15,23,42,.05);
}
body.df-blue .header-top {
  background: var(--df-bg) !important;
  border-bottom: 1px solid var(--df-line) !important;
  font-size: 13px;
}
body.df-blue .header-top .nav-link,
body.df-blue .header-top .text-muted { color: var(--df-mut) !important; }
body.df-blue .header-middle { background: #fff !important; }
body.df-blue .header-bottom,
body.df-blue .page-index header.navbar-shrink { background: var(--df-grad) !important; }
body.df-blue .navbar-brand { color: var(--df-ink) !important; font-weight: 800; }
body.df-blue .navbar-brand img { max-height: 52px; width: auto; }

body.df-blue .navbar-expand-lg .navbar-nav .nav-link,
body.df-blue .navbar-mastermenu .nav-link {
  color: var(--df-ink) !important;
  font-weight: 600;
  border-radius: 8px;
}
body.df-blue .navbar-expand-lg .navbar-nav .nav-link:hover,
body.df-blue .navbar-mastermenu .nav-link:hover {
  color: var(--df-blue) !important;
  background: var(--df-soft) !important;
}
body.df-blue .navbar-expand-lg .navbar-nav .nav-item .nav-link:not(.bg-secondary)::before { background: var(--df-blue) !important; }
body.df-blue .header-bottom:not(.header-middle) .nav-link,
body.df-blue .header-bottom:not(.header-middle) a { color: #fff !important; }
/* main bar (logo + menu) always white, even when DHRU adds .header-bottom to it */
body.df-blue .header-middle.header-bottom { background: #fff !important; }
body.df-blue .navbar-toggler { color: var(--df-ink) !important; }
body.df-blue .user-balance.text-success { color: var(--df-ok) !important; }
body.df-blue .user-balance.text-danger { color: var(--df-bad) !important; }

/* dropdowns */
body.df-blue .dropdown-menu {
  background: #fff !important;
  border: 1px solid var(--df-line) !important;
  border-radius: var(--df-radius) !important;
  box-shadow: var(--df-shadow) !important;
  padding: 6px;
}
body.df-blue .dropdown-item { color: var(--df-ink) !important; border-radius: 8px; }
body.df-blue .dropdown-item:hover,
body.df-blue .dropdown-item:focus,
body.df-blue .dropdown-item.active { background: var(--df-soft) !important; color: var(--df-blue) !important; }

/* ---------- breadcrumb + page title ---------- */
body.df-blue .breadcrumb { background: transparent !important; padding: 14px 0 0; color: var(--df-mut); }
body.df-blue .breadcrumb a { color: var(--df-mut) !important; }
body.df-blue .page-title {
  color: var(--df-ink) !important;
  font-weight: 800 !important;
  letter-spacing: -.01em;
  text-transform: none;
  font-size: 1.75rem !important;
}

/* ---------- buttons ---------- */
body.df-blue .btn { border-radius: 10px; font-weight: 600; }
body.df-blue .btn-primary,
body.df-blue button.btn.btn-primary,
body.df-blue .wizard .actions li a,
body.df-blue .btn-addtocart.btn-primary {
  background: var(--df-blue) !important;
  border-color: var(--df-blue) !important;
  color: #fff !important;
}
body.df-blue .btn-primary:hover,
body.df-blue button.btn.btn-primary:hover { background: var(--df-blue-dark) !important; border-color: var(--df-blue-dark) !important; }
body.df-blue .btn-outline-primary { color: var(--df-blue) !important; border-color: var(--df-blue) !important; background: transparent !important; }
body.df-blue .btn-outline-primary:hover { background: var(--df-blue) !important; color: #fff !important; }
body.df-blue .btn-secondary,
body.df-blue .bg-secondary { background: var(--df-cyan) !important; border-color: var(--df-cyan) !important; color: #fff !important; }
body.df-blue .btn-success { background: var(--df-ok) !important; border-color: var(--df-ok) !important; }
body.df-blue .btn-light { background: #fff !important; border: 1px solid var(--df-line) !important; color: var(--df-ink) !important; }
body.df-blue .bg-primary,
body.df-blue .badge-primary { background: var(--df-blue) !important; color: #fff !important; }
body.df-blue .cartminiview .badge-success { background: var(--df-cyan) !important; }

/* ---------- cards / products ---------- */
body.df-blue .card,
body.df-blue .client-area .card,
body.df-blue .card-reseller,
body.df-blue .card-product-features {
  background: var(--df-card) !important;
  border: 1px solid var(--df-line) !important;
  border-radius: var(--df-radius) !important;
  box-shadow: var(--df-shadow);
  color: var(--df-ink);
}
body.df-blue .card-header {
  background: #fff !important;
  border-bottom: 1px solid var(--df-line) !important;
  font-weight: 700;
}
body.df-blue .card-product:hover { border-color: var(--df-blue) !important; }
body.df-blue .card-product:hover .service-name { color: var(--df-blue) !important; }
body.df-blue .card-othercredit,
body.df-blue .card-search,
body.df-blue .sidebar .cart { background: var(--df-soft) !important; border-radius: var(--df-radius); }
body.df-blue .modal .card { box-shadow: none; }

/* group titles / tabs */
body.df-blue h3.title,
body.df-blue .tpl-index ul.nav-pills.flex-nowrap,
body.df-blue .homepage-group-tabs {
  background: #fff !important;
  border: 1px solid var(--df-line) !important;
  border-radius: var(--df-radius) !important;
}
body.df-blue h3.title span,
body.df-blue .price-details table td.double-border { border-color: var(--df-blue) !important; }
body.df-blue .nav-pills .nav-link { color: var(--df-ink) !important; border-radius: 8px; }
body.df-blue .nav-pills .nav-link.active,
body.df-blue .nav-pills .show > .nav-link,
body.df-blue ul.nav-pills.flex-nowrap .nav-link.active {
  background: var(--df-blue) !important;
  color: #fff !important;
  border-color: var(--df-blue) !important;
}
body.df-blue .nav-tabs .nav-link.active { color: var(--df-blue) !important; border-bottom: 2px solid var(--df-blue) !important; }

/* ---------- forms ---------- */
body.df-blue .form-control,
body.df-blue .custom-select,
body.df-blue .chosen-container-single .chosen-single,
body.df-blue .big-chosen .chosen-container-single .chosen-single,
body.df-blue .chosen-container .chosen-drop {
  background: #fff !important;
  border: 1px solid var(--df-line) !important;
  border-radius: 10px !important;
  color: var(--df-ink) !important;
  box-shadow: none !important;
}
body.df-blue .form-control:focus,
body.df-blue .custom-select:focus,
body.df-blue .chosen-container-active .chosen-single {
  border-color: var(--df-blue) !important;
  box-shadow: 0 0 0 .2rem rgba(30,111,255,.15) !important;
}
body.df-blue .chosen-container .chosen-results li.highlighted { background: var(--df-blue) !important; color: #fff !important; }
body.df-blue .input-group-text { background: var(--df-soft) !important; border-color: var(--df-line) !important; color: var(--df-blue); }
body.df-blue .custom-checkbox .custom-control-input:checked ~ .custom-control-label::before,
body.df-blue .custom-radio .custom-control-input:checked ~ .custom-control-label::before {
  background: var(--df-blue) !important; border-color: var(--df-blue) !important;
}
body.df-blue label { color: var(--df-ink); font-weight: 600; }

/* ---------- tables ---------- */
body.df-blue .table { background: #fff !important; color: var(--df-ink); }
body.df-blue .table thead th {
  background: var(--df-soft) !important;
  color: var(--df-blue-dark) !important;
  border-bottom: 1px solid var(--df-line) !important;
  font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .02em;
}
body.df-blue .table td, body.df-blue .table th { border-color: var(--df-line) !important; }
body.df-blue .table-striped tbody tr:nth-of-type(odd) { background: #f8faff !important; }
body.df-blue .table-hover tbody tr:hover { background: var(--df-soft) !important; }
body.df-blue .page-link { color: var(--df-blue) !important; border-color: var(--df-line) !important; }
body.df-blue .page-item.active .page-link { background: var(--df-blue) !important; border-color: var(--df-blue) !important; color: #fff !important; }

/* ---------- order wizard steps ---------- */
body.df-blue .steps ul li.first a,
body.df-blue .steps ul li.checked a,
body.df-blue .steps ul li.current a { background: var(--df-blue) !important; color: #fff !important; }
body.df-blue .steps ul li.disabled a { background: var(--df-soft) !important; color: var(--df-mut) !important; }

/* ---------- alerts ---------- */
body.df-blue .alert { border-radius: var(--df-radius); border: 1px solid transparent; }
body.df-blue .alert-info { background: var(--df-soft); color: var(--df-blue-dark); border-color: #c9dbff; }

/* ---------- modals ---------- */
body.df-blue .modal-content {
  background: #fff !important;
  color: var(--df-ink) !important;
  border: 0 !important;
  border-radius: 16px !important;
  box-shadow: 0 24px 60px rgba(15,23,42,.25) !important;
  overflow: hidden;
}
body.df-blue .modal-header,
body.df-blue .modal-menu .modal-header {
  background: var(--df-grad) !important;
  color: #fff !important;
  border: 0 !important;
}
body.df-blue .modal-header .modal-title,
body.df-blue .modal-header h4,
body.df-blue .modal-header h5,
body.df-blue .modal-header .close { color: #fff !important; opacity: 1; text-shadow: none; }
body.df-blue .modal-body { color: var(--df-ink) !important; }
body.df-blue .modal .navbar-brand { color: var(--df-ink) !important; }

/* ---------- footer ---------- */
body.df-blue .footer-top {
  background: #fff !important;
  border-top: 1px solid var(--df-line);
  color: var(--df-mut);
}
body.df-blue .footer-top a { color: var(--df-mut) !important; }
body.df-blue .footer-top a:hover { color: var(--df-blue) !important; }
body.df-blue .footer-top .link-heading { color: var(--df-ink) !important; font-weight: 700; }
body.df-blue .footer-top .link-heading:after { background: var(--df-blue) !important; }
body.df-blue .footer-bottom {
  background: var(--df-ink) !important;
  color: #cbd5e1 !important;
}
body.df-blue .footer-bottom a { color: #fff !important; }

/* ---------- Home page custom HTML (.dfx block saved in admin) : orange -> blue ---------- */
body.df-blue .dfx {
  --o: #1e6fff;
  --o2: #00b4ff;
  --bg: #f4f7fc;
  --line: #e3e8f0;
}

/* ---------- misc ---------- */
body.df-blue .themedefault { background-image: var(--df-grad) !important; }
body.df-blue .hot { background: var(--df-cyan) !important; }
body.df-blue ::selection { background: rgba(30,111,255,.18); }
body.df-blue .min-height { padding-bottom: 2.5rem; }

/* ---------- LIGHT & SIMPLE: no animations, no heavy effects ---------- */
body.df-blue .wow { visibility: visible !important; animation: none !important; }
body.df-blue *, body.df-blue *::before, body.df-blue *::after { animation-duration: 0s !important; transition-duration: 0s !important; }
body.df-blue .page-pre-loader .lds-roller div { animation-duration: 1.2s !important; }

/* ---------- works on every screen ---------- */
html, body.df-blue { max-width: 100%; overflow-x: hidden; }
body.df-blue img, body.df-blue video, body.df-blue iframe { max-width: 100%; height: auto; }
body.df-blue .table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* tablet + phone */
@media (max-width: 991.98px) {
  body.df-blue header { position: relative; }           /* header no longer eats the screen */
  body.df-blue .header-middle .container { display: flex; align-items: center; }
  body.df-blue .navbar-brand img { max-height: 40px; }
  body.df-blue .navbar-toggler {
    font-size: 22px; padding: 6px 12px; border: 1px solid var(--df-line) !important; border-radius: 10px;
  }
  body.df-blue .page-title { font-size: 1.3rem !important; margin-bottom: .5rem; }
  body.df-blue .badge { display: inline-block; width: auto; }
  body.df-blue .card-body { text-align: left; }
  body.df-blue .modal-menu .modal-dialog { margin: 0; max-width: 100%; min-height: 100%; }
  body.df-blue .modal-menu .nav-link { padding: 12px 16px; font-size: 16px; color: var(--df-ink) !important; border-bottom: 1px solid var(--df-line); }
}

/* phone */
@media (max-width: 767.98px) {
  body.df-blue .container, body.df-blue .container-fluid { padding-left: 12px; padding-right: 12px; }
  body.df-blue .row { margin-left: -6px; margin-right: -6px; }
  body.df-blue .row > [class*="col"] { padding-left: 6px; padding-right: 6px; }
  /* 16px inputs = iPhone does not zoom when you tap a field */
  body.df-blue .form-control, body.df-blue .custom-select, body.df-blue select, body.df-blue input, body.df-blue textarea,
  body.df-blue .chosen-container-single .chosen-single { font-size: 16px !important; }
  body.df-blue .form-control, body.df-blue .btn { min-height: 44px; }
  /* wide tables scroll sideways instead of breaking the page */
  body.df-blue .min-height table.table { display: block; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; white-space: nowrap; }
  body.df-blue .modal-dialog { margin: 8px; }
  body.df-blue .modal-body { padding: 16px !important; }
  body.df-blue .placeorder-details { border-left: 0 !important; border-top: 1px solid var(--df-line); padding-top: 12px; }
  body.df-blue .breadcrumb { font-size: 13px; padding-top: 10px; }
  body.df-blue .footer-top { text-align: center; }
}

/* ---------- floating WhatsApp / Telegram ---------- */
.df-float { position: fixed; right: 16px; bottom: 16px; z-index: 1040; display: flex; flex-direction: column; gap: 10px; }
.df-float-btn { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #fff !important; font-size: 26px; box-shadow: 0 4px 14px rgba(15,23,42,.2); text-decoration: none !important; }
.df-wa { background: #25d366; }
.df-tg { background: #229ed9; }
@media (max-width: 767.98px) { .df-float-btn { width: 46px; height: 46px; font-size: 22px; } }

/* ---------- empty cart bar under header: hide instead of showing a blue strip ---------- */
body.df-blue header > .header-bottom:not(.header-middle) { background: transparent !important; }
body.df-blue header > .header-bottom:not(.header-middle):not(:has(a, input, button)) { display: none !important; }
/* admin-only theme editor gear: smaller on phones so it does not cover forms */
@media (max-width: 767.98px) { body.df-blue .theme-settings-icon { transform: scale(.6); transform-origin: right center; opacity: .8; } }

/* ---------- DHRU cookie notice bar: hidden (it covered the screen on phones) ---------- */
#COOKIELAW, #COOKIESETT { display: none !important; }
