/* ==========================================================================
   HostBill 2019 — Redesign "Lavender Indigo"
   Custom CSS Override — loads AFTER app.min.css
   Version: 1.0
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Custom Properties (easy theming)
   -------------------------------------------------------------------------- */
:root {
  --hb-primary: #6366F1;
  --hb-primary-light: #818CF8;
  --hb-primary-lighter: #E0E7FF;
  --hb-primary-dark: #4F46E5;
  --hb-success: #34D399;
  --hb-success-light: #D1FAE5;
  --hb-danger: #F87171;
  --hb-danger-light: #FEE2E2;
  --hb-warning: #FBBF24;
  --hb-warning-light: #FEF3C7;
  --hb-info: #60A5FA;
  --hb-info-light: #DBEAFE;

  --hb-body-bg: #F8F7FC;
  --hb-card-bg: #FFFFFF;
  --hb-border-color: #E5E1F0;
  --hb-border-radius: 0.75rem;
  --hb-border-radius-lg: 1rem;
  --hb-border-radius-sm: 0.5rem;

  --hb-sidebar-bg: #F0EBF8;
  --hb-sidebar-item-color: #6B6B80;
  --hb-sidebar-active-bg: var(--hb-primary);
  --hb-sidebar-heading-color: #9B95B0;
  --hb-sidebar-hover-bg: #E8E0F0;

  --hb-navbar-bg: #FFFFFF;
  --hb-navbar-border: #E5E1F0;
  --hb-navbar-item-color: #8B8BA0;

  --hb-text-primary: #2D2B42;
  --hb-text-secondary: #6B6B80;
  --hb-text-muted: #9B95B0;

  --hb-shadow-sm: 0 1px 3px rgba(99, 102, 241, 0.06);
  --hb-shadow: 0 2px 12px rgba(99, 102, 241, 0.08);
  --hb-shadow-lg: 0 8px 30px rgba(99, 102, 241, 0.12);
  --hb-shadow-hover: 0 8px 25px rgba(99, 102, 241, 0.15);

  --hb-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --hb-transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --------------------------------------------------------------------------
   Google Fonts — Inter
   -------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* --------------------------------------------------------------------------
   Global / Body
   -------------------------------------------------------------------------- */
body.template_2019 {
  background-color: var(--hb-body-bg) !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  color: var(--hb-text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  font-weight: 600 !important;
  color: var(--hb-text-primary) !important;
}

h5,
.h5,
h6,
.h6 {
  color: var(--hb-text-secondary) !important;
}

a {
  color: var(--hb-primary);
  transition: var(--hb-transition-fast);
}

a:hover {
  color: var(--hb-primary-dark);
}

/* --------------------------------------------------------------------------
   Scrollbar styling
   -------------------------------------------------------------------------- */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: var(--hb-body-bg);
}

::-webkit-scrollbar-thumb {
  background: #C4BFD6;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #A8A2BC;
}

/* --------------------------------------------------------------------------
   Navbar (Top Bar)
   -------------------------------------------------------------------------- */
.navbar.fixed-top {
  background-color: var(--hb-navbar-bg) !important;
  box-shadow: var(--hb-shadow) !important;
  border-bottom: none !important;
}

.navbar .navbar-left {
  background-color: var(--hb-sidebar-bg) !important;
  border-right: 1px solid var(--hb-border-color);
}

.navbar .navbar-left .btn-left-navbar {
  color: var(--hb-sidebar-item-color) !important;
}

.navbar .navbar-left .btn-left-navbar:hover {
  color: var(--hb-primary) !important;
}

.navbar .navbar-body {
  border-bottom: none !important;
  background-color: var(--hb-navbar-bg) !important;
}

.navbar .navbar-body .navbar-search .input-group {
  background: var(--hb-navbar-bg) !important;
}

.navbar .navbar-body .navbar-search .input-group input,
.navbar .navbar-body .navbar-search .input-group input:focus,
.navbar .navbar-body .navbar-search .input-group input:hover,
.navbar .navbar-body .navbar-search .input-group input:active {
  background: var(--hb-navbar-bg) !important;
}

.navbar .navbar-body .navbar-search .input-group .input-icon-placeholder .input-group-text {
  background: var(--hb-navbar-bg) !important;
  color: var(--hb-navbar-item-color) !important;
}

.navbar .navbar-body .navbar-menu .nav-link {
  color: var(--hb-navbar-item-color) !important;
  background: var(--hb-navbar-bg) !important;
  border-left-color: var(--hb-border-color) !important;
  transition: var(--hb-transition-fast);
}

.navbar .navbar-body .navbar-menu .nav-link:hover:not(.active):not(.disabled) {
  color: var(--hb-primary) !important;
  opacity: 1 !important;
}

/* Navbar Order button */
.navbar-order .btn-success,
.navbar .navbar-order .btn-success {
  background: linear-gradient(135deg, var(--hb-success) 0%, #2CC89A 100%) !important;
  border: none !important;
  border-radius: 2em !important;
  font-weight: 500 !important;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 8px rgba(52, 211, 153, 0.3) !important;
  transition: var(--hb-transition) !important;
}

.navbar-order .btn-success:hover,
.navbar .navbar-order .btn-success:hover {
  box-shadow: 0 4px 15px rgba(52, 211, 153, 0.4) !important;
  transform: translateY(-1px);
}

/* Navbar balance text colors */
.navbar .text-danger {
  color: var(--hb-danger) !important;
}

.navbar .text-success {
  color: var(--hb-success) !important;
}

/* Navbar dropdown menu overlay styling */
.navbar .navbar-search-results,
.navbar .dropdown-order-items {
  background: var(--hb-card-bg) !important;
  border-radius: 0 0 var(--hb-border-radius) var(--hb-border-radius) !important;
  box-shadow: var(--hb-shadow-lg) !important;
  border: 1px solid var(--hb-border-color) !important;
}

.navbar .dropdown-order-items .navbar-dropdown-item:hover {
  background-color: var(--hb-primary-lighter) !important;
  color: var(--hb-primary-dark) !important;
}

/* --------------------------------------------------------------------------
   Sidebar
   -------------------------------------------------------------------------- */
.sidebar {
  background-color: var(--hb-sidebar-bg) !important;
  border-right: 1px solid var(--hb-border-color);
  box-shadow: none !important;
}

.sidebar .sidebar-wrap {
  background-color: var(--hb-sidebar-bg) !important;
}

.sidebar .sidebar-heading {
  color: var(--hb-sidebar-heading-color) !important;
  font-weight: 600 !important;
  letter-spacing: 0.8px;
  font-size: 0.7rem !important;
}

.sidebar .nav-item>.nav-link {
  color: var(--hb-sidebar-item-color) !important;
  border-radius: var(--hb-border-radius-sm) !important;
  transition: var(--hb-transition-fast) !important;
  font-weight: 400 !important;
}

.sidebar .nav-item>.nav-link>.material-icons {
  color: var(--hb-sidebar-item-color) !important;
  opacity: 0.7;
  transition: var(--hb-transition-fast);
}

.sidebar .nav-item>.nav-link:hover:not(.active) {
  background-color: var(--hb-sidebar-hover-bg) !important;
  color: var(--hb-primary) !important;
}

.sidebar .nav-item>.nav-link:hover:not(.active)>.material-icons {
  color: var(--hb-primary) !important;
  opacity: 1;
}

.sidebar .nav-item>.nav-link.active {
  background: linear-gradient(135deg, var(--hb-primary) 0%, var(--hb-primary-light) 100%) !important;
  color: #FFFFFF !important;
  box-shadow: 0 3px 10px rgba(99, 102, 241, 0.3) !important;
}

.sidebar .nav-item>.nav-link.active .material-icons {
  color: #FFFFFF !important;
  opacity: 1;
}

/* Sidebar sub-nav */
.sidebar .nav-item .nav-subnav {
  background-color: rgba(0, 0, 0, 0.03) !important;
  border-radius: 0 0 var(--hb-border-radius-sm) var(--hb-border-radius-sm) !important;
}

.sidebar .nav-item .nav-subnav .nav-item>.nav-link {
  background-color: transparent !important;
  color: var(--hb-sidebar-item-color) !important;
}

.sidebar .nav-item .nav-subnav .nav-item>.nav-link:hover:not(.active):not(.disabled) {
  background-color: var(--hb-sidebar-hover-bg) !important;
  color: var(--hb-primary) !important;
}

.sidebar .nav-item .nav-subnav .nav-item>.nav-link.active {
  background: var(--hb-primary) !important;
  color: #FFFFFF !important;
}

/* Sidebar dropdown collapsed state */
.sidebar .nav-item>.nav-link.nav-link-dropdown:not(.collapsed) {
  background-color: rgba(0, 0, 0, 0.04) !important;
  color: var(--hb-primary) !important;
}

.sidebar .nav-link.nav-link-add {
  color: var(--hb-sidebar-item-color) !important;
}

.sidebar .nav-link.nav-link-add:hover:not(.active):not(.disabled) {
  background-color: var(--hb-sidebar-hover-bg) !important;
}

/* Sidebar scrollbar */
.sidebar .ps__rail-y {
  background-color: transparent !important;
}

.sidebar .ps__thumb-y {
  background-color: #C4BFD6 !important;
}

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */
.card {
  background-color: var(--hb-card-bg) !important;
  border: 1px solid var(--hb-border-color) !important;
  border-radius: var(--hb-border-radius) !important;
  box-shadow: var(--hb-shadow-sm) !important;
  transition: var(--hb-transition) !important;
  overflow: hidden;
}

.card:hover {
  box-shadow: var(--hb-shadow) !important;
}

.card .card-header,
.card .wbox_header {
  background-color: rgba(99, 102, 241, 0.03) !important;
  border-bottom: 1px solid var(--hb-border-color) !important;
  font-weight: 500 !important;
}

.card .card-body,
.card .wbox_content {
  background-color: var(--hb-card-bg) !important;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  border-radius: var(--hb-border-radius-sm) !important;
  font-weight: 500 !important;
  letter-spacing: 0.3px;
  transition: var(--hb-transition) !important;
  font-family: 'Inter', sans-serif !important;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary,
.btn-primary:focus {
  background: linear-gradient(135deg, var(--hb-primary) 0%, var(--hb-primary-light) 100%) !important;
  border-color: var(--hb-primary) !important;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.25) !important;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--hb-primary-dark) 0%, var(--hb-primary) 100%) !important;
  border-color: var(--hb-primary-dark) !important;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.35) !important;
}

.btn-success,
.btn-success:focus {
  background: linear-gradient(135deg, var(--hb-success) 0%, #2CC89A 100%) !important;
  border-color: var(--hb-success) !important;
  box-shadow: 0 2px 8px rgba(52, 211, 153, 0.25) !important;
}

.btn-success:hover {
  box-shadow: 0 4px 15px rgba(52, 211, 153, 0.35) !important;
}

.btn-danger,
.btn-danger:focus {
  background: linear-gradient(135deg, var(--hb-danger) 0%, #EF6060 100%) !important;
  border-color: var(--hb-danger) !important;
  box-shadow: 0 2px 8px rgba(248, 113, 113, 0.25) !important;
}

.btn-danger:hover {
  box-shadow: 0 4px 15px rgba(248, 113, 113, 0.35) !important;
}

.btn-warning,
.btn-warning:focus {
  background: linear-gradient(135deg, var(--hb-warning) 0%, #F0B020 100%) !important;
  border-color: var(--hb-warning) !important;
  box-shadow: 0 2px 8px rgba(251, 191, 36, 0.25) !important;
}

.btn-info,
.btn-info:focus {
  background: linear-gradient(135deg, var(--hb-info) 0%, #4B96F0 100%) !important;
  border-color: var(--hb-info) !important;
  box-shadow: 0 2px 8px rgba(96, 165, 250, 0.25) !important;
}

.btn-secondary {
  background: #9B95B0 !important;
  border-color: #9B95B0 !important;
}

.btn-secondary:hover {
  background: #8A84A0 !important;
  border-color: #8A84A0 !important;
}

.btn-outline-primary {
  color: var(--hb-primary) !important;
  border-color: var(--hb-primary) !important;
}

.btn-outline-primary:hover {
  background: var(--hb-primary) !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.25) !important;
}

.btn-rounded {
  border-radius: 2em !important;
}

/* --------------------------------------------------------------------------
   Forms / Inputs
   -------------------------------------------------------------------------- */
.form-control {
  border: 1.5px solid var(--hb-border-color) !important;
  border-radius: var(--hb-border-radius-sm) !important;
  background-color: var(--hb-card-bg) !important;
  transition: var(--hb-transition-fast) !important;
  font-family: 'Inter', sans-serif !important;
  color: var(--hb-text-primary) !important;
}

.form-control:hover {
  border-color: #C4BFD6 !important;
}

.form-control:focus {
  border-color: var(--hb-primary-light) !important;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1) !important;
  background-color: var(--hb-card-bg) !important;
}

.form-control:not([disabled]):not([readonly]):not(.is-invalid):not(.form-control-noborders):hover,
.form-control:not([disabled]):not([readonly]):not(.is-invalid):not(.form-control-noborders):focus,
.form-control:not([disabled]):not([readonly]):not(.is-invalid):not(.form-control-noborders):active {
  border: 1.5px solid var(--hb-primary-light) !important;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1) !important;
}

/* Checkboxes / Radios */
input[type=checkbox]:after,
input[type=checkbox]::after,
input[type=radio]:after,
input[type=radio]::after {
  border-color: var(--hb-border-color) !important;
  border-radius: 0.3em !important;
  transition: var(--hb-transition-fast);
}

input[type=checkbox]:checked:after,
input[type=checkbox]:checked::after,
input[type=radio]:checked:after,
input[type=radio]:checked::after {
  background: var(--hb-primary) !important;
  border-color: var(--hb-primary) !important;
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(99, 102, 241, 0.2);
}

input[type=radio]:after,
input[type=radio]::after {
  border-radius: 50% !important;
}

/* --------------------------------------------------------------------------
   Badges / Labels
   -------------------------------------------------------------------------- */
.badge,
.label {
  border-radius: 2em !important;
  font-weight: 500 !important;
  letter-spacing: 0.3px;
  padding: 5px 10px !important;
}

.badge-primary,
.label-primary {
  background-color: var(--hb-primary-lighter) !important;
  color: var(--hb-primary) !important;
}

.badge-pill.badge-primary {
  background-color: var(--hb-primary) !important;
  color: #FFFFFF !important;
}

.badge-success,
.label-success,
.badge-Active,
.badge-Accepted,
.badge-Paid,
.badge-Receiptpaid,
.badge-Opened,
.badge-Open,
.label-Active,
.label-Accepted,
.label-Paid,
.label-Receiptpaid,
.label-Opened,
.label-Open,
.badge-success.badge-styled,
.label-success.label-styled {
  background-color: var(--hb-success-light) !important;
  color: #059669 !important;
}

.badge-danger,
.label-danger,
.badge-Unpaid,
.badge-Chargeback,
.badge-Collections,
.badge-Receiptunpaid,
.badge-Terminated,
.label-Unpaid,
.label-Chargeback,
.label-Collections,
.label-Receiptunpaid,
.label-Terminated,
.badge-danger.badge-styled,
.label-danger.label-styled {
  background-color: var(--hb-danger-light) !important;
  color: #DC2626 !important;
}

.badge-warning,
.label-warning,
.badge-Suspended,
.badge-Answered,
.label-Suspended,
.label-Answered {
  background-color: var(--hb-warning-light) !important;
  color: #B45309 !important;
}

.badge-Pending,
.badge-Sent,
.badge-In-Progress,
.label-Pending,
.label-Sent,
.label-In-Progress,
.badge-primary.badge-styled,
.label-primary.label-styled {
  background-color: var(--hb-info-light) !important;
  color: #2563EB !important;
}

.badge-Client-Reply,
.label-Client-Reply {
  background-color: #EDE9FE !important;
  color: #7C3AED !important;
}

.badge-Canceled,
.badge-Draft,
.badge-Dead,
.badge-Cancelled,
.badge-Receiptcanceled,
.badge-Close,
.badge-Closed,
.badge-Creditnote,
.badge-Fraud,
.label-Canceled,
.label-Draft,
.label-Dead,
.label-Cancelled,
.label-Receiptcanceled,
.label-Close,
.label-Closed,
.label-Creditnote,
.label-Fraud,
.badge-secondary.badge-styled,
.label-secondary.label-styled {
  background-color: #F3F0F7 !important;
  color: #6B6B80 !important;
}

/* --------------------------------------------------------------------------
   Tables
   -------------------------------------------------------------------------- */
.table-responsive.table-borders {
  border: 1px solid var(--hb-border-color) !important;
  border-radius: var(--hb-border-radius) !important;
  overflow: hidden;
}

.table-responsive.table-radius {
  border-radius: var(--hb-border-radius) !important;
}

.table {
  border-radius: var(--hb-border-radius) !important;
}

.table thead tr {
  background: rgba(99, 102, 241, 0.03) !important;
}

.table thead th {
  color: var(--hb-text-secondary) !important;
  font-weight: 500 !important;
  border-bottom: 1px solid var(--hb-border-color) !important;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.table tr {
  border-bottom-color: var(--hb-border-color) !important;
  transition: var(--hb-transition-fast);
}

.table tbody tr:hover {
  background-color: rgba(99, 102, 241, 0.02) !important;
}

/* --------------------------------------------------------------------------
   Dropdown Menus
   -------------------------------------------------------------------------- */
.dropdown .dropdown-menu {
  background: var(--hb-card-bg) !important;
  border: 1px solid var(--hb-border-color) !important;
  border-radius: var(--hb-border-radius-sm) !important;
  box-shadow: var(--hb-shadow-lg) !important;
}

.dropdown .dropdown-item {
  transition: var(--hb-transition-fast);
  color: var(--hb-text-secondary) !important;
  border-radius: 4px;
  margin: 2px 6px;
  width: calc(100% - 12px);
}

.dropdown .dropdown-item:hover,
.dropdown .dropdown-item:focus {
  background-color: var(--hb-primary-lighter) !important;
  color: var(--hb-primary-dark) !important;
}

.dropdown .dropdown-divider {
  border-top-color: var(--hb-border-color) !important;
}

/* --------------------------------------------------------------------------
   Modals
   -------------------------------------------------------------------------- */
.modal .modal-content {
  border-radius: var(--hb-border-radius-lg) !important;
  border: none !important;
  box-shadow: var(--hb-shadow-lg) !important;
  background-color: var(--hb-card-bg) !important;
}

.modal .modal-header {
  border-bottom: 1px solid var(--hb-border-color) !important;
}

.modal .modal-footer {
  border-top: 1px solid var(--hb-border-color) !important;
}

.modal-backdrop {
  background-color: #2D2B42 !important;
}

/* --------------------------------------------------------------------------
   Alerts
   -------------------------------------------------------------------------- */
.alert {
  border-radius: var(--hb-border-radius-sm) !important;
  border: none !important;
  font-weight: 450;
}

.alert.alert-success {
  background-color: var(--hb-success-light) !important;
  color: #059669 !important;
}

.alert.alert-danger {
  background-color: var(--hb-danger-light) !important;
  color: #DC2626 !important;
}

.alert.alert-warning {
  background-color: var(--hb-warning-light) !important;
  color: #B45309 !important;
}

.alert.alert-info {
  background-color: var(--hb-info-light) !important;
  color: #2563EB !important;
}

/* --------------------------------------------------------------------------
   Login / Sign-in page
   -------------------------------------------------------------------------- */
.section-signin,
.section-passreminder {
  min-height: calc(100vh - 150px);
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.form-credentials {
  border: 1px solid var(--hb-border-color) !important;
  border-radius: var(--hb-border-radius-lg) !important;
  background-color: var(--hb-card-bg) !important;
  box-shadow: var(--hb-shadow-lg) !important;
  padding: 2rem !important;
}

.form-credentials .image {
  margin: 30px 0 !important;
}

/* --------------------------------------------------------------------------
   Breadcrumbs
   -------------------------------------------------------------------------- */
.breadcrumb {
  background: transparent !important;
  padding: 0.5rem 0 !important;
}

.breadcrumb li a {
  color: var(--hb-text-muted) !important;
}

.breadcrumb li a:hover {
  color: var(--hb-primary) !important;
}

/* --------------------------------------------------------------------------
   Section Headers
   -------------------------------------------------------------------------- */
.section-account-header h1 {
  font-weight: 600 !important;
  color: var(--hb-text-primary) !important;
}

/* --------------------------------------------------------------------------
   Root / Welcome Boxes
   -------------------------------------------------------------------------- */
.root-boxes .root-box {
  border: 1px solid var(--hb-border-color) !important;
  border-radius: var(--hb-border-radius) !important;
  background: var(--hb-card-bg) !important;
  box-shadow: var(--hb-shadow-sm) !important;
  transition: var(--hb-transition) !important;
}

.root-boxes .root-box:hover {
  border-color: var(--hb-primary-light) !important;
  box-shadow: var(--hb-shadow-hover) !important;
  transform: translateY(-4px);
}

.root-boxes .root-box .material-icons {
  color: var(--hb-primary) !important;
}

.root-boxes .root-box h4 {
  color: var(--hb-text-primary) !important;
}

/* --------------------------------------------------------------------------
   Dashboard Cards / Info Boxes
   -------------------------------------------------------------------------- */
.info-box .info-box-items {
  border: 1px solid var(--hb-border-color) !important;
  border-radius: var(--hb-border-radius) !important;
  box-shadow: var(--hb-shadow-sm);
  background-color: var(--hb-card-bg) !important;
}

.info-box .info-box-items .nav-pills .nav-link {
  background-color: transparent !important;
  color: var(--hb-text-secondary) !important;
  border-left: 3px solid transparent !important;
  transition: var(--hb-transition-fast) !important;
}

.info-box .info-box-items .nav-pills .nav-link.active {
  background-color: var(--hb-primary-lighter) !important;
  color: var(--hb-primary) !important;
  border-left: 3px solid var(--hb-primary) !important;
}

.info-box .info-box-items .nav-pills .nav-link:hover:not(.active) {
  background-color: rgba(99, 102, 241, 0.03) !important;
}

/* List Group */
.list-group .list-group-item {
  border-bottom: 1px solid var(--hb-border-color) !important;
  background-color: var(--hb-card-bg) !important;
  transition: var(--hb-transition-fast);
}

.list-group .list-group-item:hover {
  background-color: rgba(99, 102, 241, 0.02) !important;
}

/* --------------------------------------------------------------------------
   Pagination
   -------------------------------------------------------------------------- */
.pagination .page-link {
  color: var(--hb-text-secondary) !important;
  border-color: var(--hb-border-color) !important;
  border-radius: var(--hb-border-radius-sm) !important;
  margin: 0 3px;
  transition: var(--hb-transition-fast);
}

.pagination .page-item.active .page-link {
  background: var(--hb-primary) !important;
  border-color: var(--hb-primary) !important;
  color: #FFFFFF !important;
  box-shadow: 0 2px 5px rgba(99, 102, 241, 0.25);
}

.pagination .page-link:hover {
  background-color: var(--hb-primary-lighter) !important;
  color: var(--hb-primary) !important;
  border-color: var(--hb-primary-light) !important;
}

/* --------------------------------------------------------------------------
   Nav Tabs
   -------------------------------------------------------------------------- */
.nav-tabs-wrapper .nav-tabs li.nav-item.active a.nav-link {
  color: var(--hb-primary) !important;
  font-weight: 600 !important;
}

.nav-tabs-wrapper .nav-tabs .slider .indicator {
  background-color: var(--hb-primary) !important;
}

/* --------------------------------------------------------------------------
   PNotify Notifications
   -------------------------------------------------------------------------- */
.ui-pnotify .brighttheme.brighttheme-info {
  background-color: var(--hb-primary) !important;
  border-color: var(--hb-primary-light) !important;
  border-radius: var(--hb-border-radius-sm) !important;
}

.ui-pnotify .brighttheme.brighttheme-error {
  background-color: var(--hb-danger) !important;
  border-color: #EF6060 !important;
  border-radius: var(--hb-border-radius-sm) !important;
}

/* --------------------------------------------------------------------------
   Tooltips & Popovers
   -------------------------------------------------------------------------- */
.tooltip .tooltip-inner {
  background-color: var(--hb-primary) !important;
  border-radius: var(--hb-border-radius-sm) !important;
}

.popover {
  background-color: var(--hb-primary) !important;
  border-radius: var(--hb-border-radius-sm) !important;
  box-shadow: var(--hb-shadow-lg) !important;
}

/* --------------------------------------------------------------------------
   Preloader
   -------------------------------------------------------------------------- */
.pageloader-wrapper {
  background-color: var(--hb-body-bg) !important;
}

.pageloader-wrapper .pageloader-item .pageloader-layer:nth-of-type(2) {
  background: var(--hb-primary) !important;
}

.pageloader-wrapper .pageloader-item .pageloader-layer:nth-of-type(3) {
  background: rgba(52, 211, 153, 0.6) !important;
}

#preloader {
  background-color: var(--hb-body-bg) !important;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer-content .footer {
  border-top: 1px solid var(--hb-border-color);
}

.footer-content .footer .footer-box {
  color: var(--hb-text-muted) !important;
}

.footer-content .footer .nav-link.text-secondary {
  color: var(--hb-text-muted) !important;
}

.footer-content .footer .nav-link.text-secondary:hover {
  color: var(--hb-primary) !important;
}

/* --------------------------------------------------------------------------
   Sidebar Overlay (mobile)
   -------------------------------------------------------------------------- */
.sidebar-overlay {
  background-color: rgba(45, 43, 66, 0.5) !important;
  backdrop-filter: blur(4px);
}

/* --------------------------------------------------------------------------
   Text color overrides
   -------------------------------------------------------------------------- */
.text-primary {
  color: var(--hb-primary) !important;
}

.text-success {
  color: var(--hb-success) !important;
}

.text-danger {
  color: var(--hb-danger) !important;
}

.text-warning {
  color: var(--hb-warning) !important;
}

.text-info {
  color: var(--hb-info) !important;
}

.text-muted {
  color: var(--hb-text-muted) !important;
}

.text-secondary {
  color: var(--hb-text-secondary) !important;
}

.text-gray {
  color: var(--hb-text-muted) !important;
}

/* .icon-info-color */
.material-icons.icon-info-color {
  color: var(--hb-text-muted) !important;
}

/* Background utilities */
.bg-primary {
  background-color: var(--hb-primary) !important;
}

.bg-success {
  background-color: var(--hb-success) !important;
}

.bg-danger {
  background-color: var(--hb-danger) !important;
}

.bg-warning {
  background-color: var(--hb-warning) !important;
}

/* SVG fill for product cards */
.bg-primary-svg>path {
  fill: var(--hb-primary) !important;
}

/* --------------------------------------------------------------------------
   Bordered Section
   -------------------------------------------------------------------------- */
.bordered-section {
  border-color: var(--hb-border-color) !important;
  border-radius: var(--hb-border-radius) !important;
}

/* --------------------------------------------------------------------------
   Account / Service Details
   -------------------------------------------------------------------------- */
.section-account .service-details .service-details-line {
  border-bottom-color: var(--hb-border-color) !important;
}

.input-self-box {
  border: 1px solid var(--hb-border-color) !important;
  border-radius: var(--hb-border-radius-sm) !important;
  background-color: var(--hb-card-bg) !important;
}

/* --------------------------------------------------------------------------
   Comments / Tickets
   -------------------------------------------------------------------------- */
.comments .comment .comment-body {
  border: 1px solid var(--hb-border-color) !important;
  border-radius: var(--hb-border-radius) !important;
  background-color: var(--hb-card-bg) !important;
}

/* --------------------------------------------------------------------------
   Notifications dropdown
   -------------------------------------------------------------------------- */
.notifications-drop {
  border-radius: var(--hb-border-radius-sm) !important;
}

.notifications-drop .notifications-drop-title {
  border-bottom-color: var(--hb-border-color) !important;
}

.notifications-drop .notifications-drop-item .notifications-drop-item-icon {
  color: var(--hb-primary) !important;
}

/* --------------------------------------------------------------------------
   Security section
   -------------------------------------------------------------------------- */
.security-myip .security-myip-icon {
  background-color: var(--hb-primary-lighter) !important;
  color: var(--hb-primary) !important;
}

/* --------------------------------------------------------------------------
   Invoice page
   -------------------------------------------------------------------------- */
.invoice-header {
  border-bottom-color: var(--hb-border-color) !important;
}

/* --------------------------------------------------------------------------
   Slider / Range
   -------------------------------------------------------------------------- */
.slides,
.ui-slider {
  background: var(--hb-border-color) !important;
}

.slides .ui-slider-handle.ui-state-active,
.ui-slider .ui-slider-handle.ui-state-active {
  border-color: var(--hb-primary) !important;
  box-shadow: 0 3px 5px rgba(99, 102, 241, 0.2) !important;
}

/* --------------------------------------------------------------------------
   Selectize
   -------------------------------------------------------------------------- */
.selectize-control .selectize-input {
  border-color: var(--hb-border-color) !important;
  border-radius: var(--hb-border-radius-sm) !important;
}

.selectize-control .selectize-input.focus {
  border-color: var(--hb-primary-light) !important;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1) !important;
}

/* --------------------------------------------------------------------------
   Left navigation box (service pages)
   -------------------------------------------------------------------------- */
.leftnavigation-box .nav-item .nav-link.active {
  color: var(--hb-primary) !important;
}

.leftnavigation-box .nav-item:hover .nav-link {
  color: var(--hb-primary) !important;
}

/* --------------------------------------------------------------------------
   Accordion
   -------------------------------------------------------------------------- */
.accordion .card .card-body,
.accordion .card .wbox_content {
  background-color: rgba(99, 102, 241, 0.02) !important;
}

/* --------------------------------------------------------------------------
   Parsley Validation
   -------------------------------------------------------------------------- */
input.parsley-success,
select.parsley-success,
textarea.parsley-success {
  background-color: var(--hb-success-light) !important;
  border-color: var(--hb-success) !important;
}

input.parsley-error,
select.parsley-error,
textarea.parsley-error {
  background-color: var(--hb-danger-light) !important;
  border-color: var(--hb-danger) !important;
}

/* --------------------------------------------------------------------------
   Misc Improvements
   -------------------------------------------------------------------------- */

/* Smoother page content area */
body .body-content .section-main {
  background-color: transparent !important;
}

/* Custom card hover for accent cards */
.card.shadow {
  box-shadow: var(--hb-shadow) !important;
}

.card.shadow:hover {
  box-shadow: var(--hb-shadow-hover) !important;
  transform: translateY(-2px);
}

/* Main overlay */
body .main-overlay.active {
  background-color: rgba(45, 43, 66, 0.5) !important;
  backdrop-filter: blur(4px);
}

/* News tags */
.root-news .list-group-item .h3.text-primary {
  color: var(--hb-primary) !important;
}

/* Cart submit buttons */
.cart .cart-submit-btns .btn {
  border-radius: 2em !important;
  min-width: 150px;
}

/* Progress bars */
.progress-bar {
  background-color: var(--hb-primary) !important;
}

/* Facebox */
#facebox .content {
  border-radius: var(--hb-border-radius) !important;
}

/* --------------------------------------------------------------------------
   Dark mode badge in nav  
   -------------------------------------------------------------------------- */
.badge-pill.badge-primary {
  background-color: var(--hb-primary) !important;
}

/* ==========================================================================
   PHASE 2 — Structural Visual Improvements
   ========================================================================== */

/* --------------------------------------------------------------------------
   Dashboard Stat Cards
   -------------------------------------------------------------------------- */
.dashboard-stats .dashboard-stat-card {
  border-radius: var(--hb-border-radius) !important;
  box-shadow: var(--hb-shadow) !important;
  transition: var(--hb-transition) !important;
  overflow: hidden;
  border: none !important;
}

.dashboard-stats .dashboard-stat-card:hover {
  box-shadow: var(--hb-shadow-hover) !important;
  transform: translateY(-3px);
}

.dashboard-stat-card .stat-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--hb-border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dashboard-stat-card .stat-card-icon .material-icons {
  font-size: 26px;
  color: #FFFFFF !important;
}

.dashboard-stat-card .stat-card-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--hb-text-primary);
  line-height: 1.2;
}

.dashboard-stat-card .stat-card-label {
  font-size: 0.8rem;
  color: var(--hb-text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Stat card icon gradients */
.stat-card-services .stat-card-icon {
  background: linear-gradient(135deg, var(--hb-primary) 0%, var(--hb-primary-light) 100%);
}

.stat-card-invoices .stat-card-icon {
  background: linear-gradient(135deg, var(--hb-danger) 0%, #FB9A9A 100%);
}

.stat-card-tickets .stat-card-icon {
  background: linear-gradient(135deg, var(--hb-warning) 0%, #FCD34D 100%);
}

.stat-card-balance .stat-card-icon {
  background: linear-gradient(135deg, var(--hb-success) 0%, #6EE7B7 100%);
}

/* --------------------------------------------------------------------------
   Improved Info Box (Tickets / Invoices cards on dashboard)
   -------------------------------------------------------------------------- */
.info-box.info-box-table {
  margin-top: 30px !important;
}

.info-box.info-box-table h3 {
  font-size: 1.2rem;
  font-weight: 600;
}

.info-box.info-box-table .btn-view-all {
  border-radius: 2em !important;
  font-size: 0.8rem !important;
  padding: 6px 16px !important;
}

.info-box.info-box-table .info-box-items {
  border-radius: var(--hb-border-radius) !important;
  overflow: hidden;
}

.info-box.info-box-table .table tbody td {
  padding: 12px 20px;
}

.info-box.info-box-table .table tr:hover {
  background-color: rgba(99, 102, 241, 0.02) !important;
}

/* --------------------------------------------------------------------------
   Step Progress Bar (Cart Wizard)
   -------------------------------------------------------------------------- */
.step-progress-bar {
  border-radius: var(--hb-border-radius-lg) !important;
  background: var(--hb-card-bg) !important;
  border: 1px solid var(--hb-border-color) !important;
  padding: 0 !important;
  overflow: hidden;
}

.step-progress-bar .step-item {
  text-decoration: none !important;
}

.step-progress-bar .step-box {
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.3px;
  transition: var(--hb-transition) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  position: relative;
}

.step-progress-bar .step-box.active {
  background-color: rgba(99, 102, 241, 0.06) !important;
  border-bottom: 3px solid var(--hb-primary) !important;
}

.step-progress-bar .step-box.success {
  background-color: rgba(52, 211, 153, 0.04) !important;
  border-bottom: 3px solid var(--hb-success) !important;
  cursor: pointer;
}

.step-progress-bar .step-box.success:hover {
  background-color: rgba(52, 211, 153, 0.08) !important;
}

/* Step number circles */
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-right: 4px;
}

.step-box.text-muted .step-number {
  background-color: rgba(155, 149, 176, 0.15);
  color: var(--hb-text-muted);
}

.step-box.active .step-number {
  background: linear-gradient(135deg, var(--hb-primary), var(--hb-primary-light));
  color: #FFFFFF;
  box-shadow: 0 2px 6px rgba(99, 102, 241, 0.3);
}

.step-box.success .step-number {
  background: linear-gradient(135deg, var(--hb-success), #6EE7B7);
  color: #FFFFFF;
  box-shadow: 0 2px 6px rgba(52, 211, 153, 0.3);
}

.step-box.success .step-number .material-icons {
  font-size: 16px !important;
  color: #FFFFFF !important;
}

.step-label {
  font-size: 0.85rem;
}

/* Step box arrow refinement */
.step-progress-bar .step-box.step-box-arrow:after {
  border-color: var(--hb-border-color) !important;
  background: var(--hb-card-bg) !important;
  z-index: 1;
}

.step-progress-bar .step-box.active.step-box-arrow:after {
  background: rgba(99, 102, 241, 0.06) !important;
}

.step-progress-bar .step-box.success.step-box-arrow:after {
  background: rgba(52, 211, 153, 0.04) !important;
}

/* --------------------------------------------------------------------------
   Product Cards (Cart page)
   -------------------------------------------------------------------------- */
.product-card {
  border-radius: var(--hb-border-radius-lg) !important;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.product-card:hover {
  box-shadow: 0 12px 35px rgba(99, 102, 241, 0.18) !important;
  transform: translateY(-6px);
}

.product-card .product-card-wave {
  border-radius: var(--hb-border-radius-lg) var(--hb-border-radius-lg) 0 0 !important;
}

.product-card .product-card-header {
  position: relative;
  z-index: 2;
}

.product-card .product-card-header .card-title {
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.3px;
}

.product-card .product-card-header .card-price {
  font-weight: 700 !important;
}

.product-card .product-card-features {
  padding-top: 0.5rem !important;
}

.product-card .feature-row {
  padding: 4px 0;
  border-bottom: 1px solid rgba(99, 102, 241, 0.06);
  transition: var(--hb-transition-fast);
}

.product-card .feature-row:last-child {
  border-bottom: none;
}

.product-card .feature-row:hover {
  background-color: rgba(99, 102, 241, 0.03);
  border-radius: 6px;
}

.product-card .product-card-action {
  padding-top: 1rem !important;
  padding-bottom: 1.5rem !important;
}

.product-card .product-card-action .btn {
  padding: 10px 24px !important;
  font-size: 0.95rem !important;
  letter-spacing: 0.5px;
}

.product-card .product-card-action .btn:hover {
  transform: translateY(-2px);
}

/* SVG wave gradient */
.bg-primary-svg>path {
  fill: url(#wave-gradient) !important;
  fill: var(--hb-primary) !important;
}

.bg-gradient-primary {
  background: linear-gradient(135deg, var(--hb-primary), var(--hb-primary-light)) !important;
}

/* --------------------------------------------------------------------------
   Order Summary Card (Cart sidebar)
   -------------------------------------------------------------------------- */
.order-summary-box {
  border-radius: var(--hb-border-radius) !important;
  border: 1px solid var(--hb-border-color) !important;
  position: sticky;
  top: 80px;
}

.order-summary-box .card-body {
  padding: 1.5rem !important;
}

/* --------------------------------------------------------------------------
   Services Page — Filter Panel
   -------------------------------------------------------------------------- */
.filters-box {
  background: var(--hb-card-bg) !important;
  border: 1px solid var(--hb-border-color) !important;
  border-radius: var(--hb-border-radius) !important;
  box-shadow: var(--hb-shadow-sm);
}

.filters-box label {
  font-weight: 500;
  color: var(--hb-text-secondary);
}

.filters-box .form-check-label {
  font-size: 0.9rem;
}

/* Services table improvements */
.services-table td a .text-dark {
  font-weight: 600 !important;
}

/* Sort icon styling */
.sort-icon {
  opacity: 0.5;
  vertical-align: middle;
}

th a:hover .sort-icon {
  opacity: 1;
  color: var(--hb-primary) !important;
}

/* --------------------------------------------------------------------------
   Cart Domain Search Section
   -------------------------------------------------------------------------- */
.orderpage-domain .bg-gradient-primary {
  background: linear-gradient(135deg, var(--hb-primary), #818CF8, #A78BFA) !important;
  border-radius: var(--hb-border-radius) var(--hb-border-radius) 0 0;
}

.orderpage-domain .domain-search textarea.form-control,
.orderpage-domain .domain-search input.form-control {
  border-radius: var(--hb-border-radius-sm) !important;
  border: 2px solid rgba(255, 255, 255, 0.3) !important;
  background: rgba(255, 255, 255, 0.15) !important;
  color: #FFFFFF !important;
  backdrop-filter: blur(4px);
}

.orderpage-domain .domain-search textarea.form-control::placeholder,
.orderpage-domain .domain-search input.form-control::placeholder {
  color: rgba(255, 255, 255, 0.7) !important;
}

.orderpage-domain .domain-search textarea.form-control:focus,
.orderpage-domain .domain-search input.form-control:focus {
  border-color: rgba(255, 255, 255, 0.6) !important;
  background: rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.15) !important;
}

/* Domain option toggle */
.orderpage-domain .domain-option .btn-outline-light {
  border-radius: 2em !important;
  font-weight: 500 !important;
  padding: 8px 20px !important;
  border-width: 2px !important;
  transition: var(--hb-transition-fast) !important;
}

.orderpage-domain .domain-option .btn-outline-light.active,
.orderpage-domain .domain-option .btn-outline-light:active {
  background: rgba(255, 255, 255, 0.9) !important;
  color: var(--hb-primary) !important;
  border-color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 600 !important;
}

/* Domain search results */
.domain-search-results .result-row {
  border-bottom: 1px solid var(--hb-border-color) !important;
  transition: var(--hb-transition-fast);
  padding: 12px 0 !important;
}

.domain-search-results .result-row:hover {
  background-color: rgba(99, 102, 241, 0.02);
}

.domain-search-results .result-row .result-hostname {
  font-weight: 500;
}

.domain-search-results .result-row .result-tld {
  color: var(--hb-primary);
  font-weight: 600;
}

.domain-search-results .result-row .result-price .price-amount {
  font-weight: 700;
  font-size: 1rem;
}

/* --------------------------------------------------------------------------
   Cart Summary Card
   -------------------------------------------------------------------------- */
.cart-summary {
  border-radius: var(--hb-border-radius) !important;
}

.cart-summary .btn-primary {
  border-radius: 2em !important;
  padding: 12px 24px !important;
  font-weight: 600 !important;
}

/* --------------------------------------------------------------------------
   Widget Cards on Dashboard
   -------------------------------------------------------------------------- */
.section-dashboard .wbox_header {
  background: transparent !important;
  border-bottom: 1px solid var(--hb-border-color) !important;
  padding: 1rem 1.25rem;
}

.section-dashboard .wbox_content {
  padding: 1rem 1.25rem;
}

/* --------------------------------------------------------------------------
   Responsive refinements for new components
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .dashboard-stats .dashboard-stat-card .card-body {
    padding: 0.75rem !important;
  }

  .dashboard-stat-card .stat-card-icon {
    width: 40px;
    height: 40px;
  }

  .dashboard-stat-card .stat-card-icon .material-icons {
    font-size: 20px;
  }

  .dashboard-stat-card .stat-card-value {
    font-size: 1.2rem;
  }

  .dashboard-stat-card .stat-card-label {
    font-size: 0.7rem;
  }

  .step-progress-bar .step-box {
    font-size: 0.75rem;
    padding: 12px 4px !important;
  }

  .step-label {
    font-size: 0.7rem;
  }

  .step-number {
    width: 22px;
    height: 22px;
    font-size: 0.65rem;
  }

  .product-card {
    margin-bottom: 1.5rem !important;
  }

  .product-card:hover {
    transform: translateY(-3px);
  }
}

@media (max-width: 576px) {
  .step-label {
    display: none;
  }

  .step-number {
    margin-right: 0;
  }

  .step-progress-bar .step-box .material-icons {
    display: none !important;
  }
}

/* ==========================================================================
   Post-review Fixes & Enhancements
   ========================================================================== */

/* --------------------------------------------------------------------------
   Hide Search Bar
   -------------------------------------------------------------------------- */
.navbar .navbar-body .navbar-search {
  display: none !important;
}

.navbar .navbar-body .navbar-menu {
  width: 100%;
  justify-content: flex-end;
}

/* --------------------------------------------------------------------------
   Enhanced Product Cards — More Visible Changes
   -------------------------------------------------------------------------- */
.orderpage-cart_2019wizard .card.product-card,
.orderpage .card.h-100 {
  border-radius: 16px !important;
  border: none !important;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.1) !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.orderpage-cart_2019wizard .card.product-card:hover,
.orderpage .card.h-100:hover {
  box-shadow: 0 16px 40px rgba(99, 102, 241, 0.22) !important;
  transform: translateY(-8px) !important;
}

/* Product card header — larger */
.orderpage-cart_2019wizard .card .card-top,
.orderpage .card.h-100 .card-top {
  padding: 1.5rem 1.5rem 1rem !important;
}

.orderpage-cart_2019wizard .card .pricing-card-title,
.orderpage .card.h-100 .pricing-card-title {
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.orderpage-cart_2019wizard .card .card-price,
.orderpage .card.h-100 .card-price {
  font-weight: 800 !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

/* Product card features */
.orderpage-cart_2019wizard .card .card-body .row.mx-1,
.orderpage .card.h-100 .card-body .row.mx-1 {
  padding: 6px 4px !important;
  margin: 0 !important;
  border-bottom: 1px solid rgba(99, 102, 241, 0.06) !important;
  transition: all 0.2s ease !important;
  border-radius: 6px;
}

.orderpage-cart_2019wizard .card .card-body .row.mx-1:last-child,
.orderpage .card.h-100 .card-body .row.mx-1:last-child {
  border-bottom: none !important;
}

.orderpage-cart_2019wizard .card .card-body .row.mx-1:hover,
.orderpage .card.h-100 .card-body .row.mx-1:hover {
  background-color: rgba(99, 102, 241, 0.04) !important;
}

/* Product card action — separator line and bigger button */
.orderpage-cart_2019wizard .card .card-body.product-card-action,
.orderpage .card.h-100 .card-body:last-child {
  padding: 1rem 1.5rem 1.8rem !important;
  border-top: 1px solid rgba(99, 102, 241, 0.08) !important;
}

.orderpage-cart_2019wizard .card .btn-rounded,
.orderpage .card.h-100 .btn-rounded {
  padding: 12px 28px !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  border-radius: 2em !important;
  letter-spacing: 0.5px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.orderpage-cart_2019wizard .card .btn-rounded:hover,
.orderpage .card.h-100 .btn-rounded:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.3) !important;
  background: linear-gradient(135deg, var(--hb-primary), var(--hb-primary-light)) !important;
  color: #FFFFFF !important;
  border-color: var(--hb-primary) !important;
}

/* Wave container */
.orderpage-cart_2019wizard .card>div:first-of-type,
.orderpage .card.h-100>div:first-of-type {
  border-radius: 16px 16px 0 0 !important;
}

/* Ribbon enhancement */
.orderpage-cart_2019wizard .ribbon span {
  background: linear-gradient(135deg, var(--hb-success), #2CC89A) !important;
  box-shadow: 0 5px 15px rgba(52, 211, 153, 0.3) !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
  font-size: 14px !important;
}

/* Section header on order page */
.orderpage-cart_2019wizard .section-account-header h1 {
  font-size: 1.75rem !important;
  font-weight: 700 !important;
}

.orderpage-cart_2019wizard .section-account-header h4 {
  font-size: 1rem !important;
  color: var(--hb-text-muted) !important;
  font-weight: 400 !important;
}

/* Texts config section below cards */
.orderpage-cart_2019wizard #texts-config {
  margin-top: 60px;
}

.orderpage-cart_2019wizard #texts-config h2 {
  font-size: 1.3rem !important;
  font-weight: 600 !important;
}

.orderpage-cart_2019wizard #texts-config p {
  color: var(--hb-text-secondary);
  line-height: 1.7;
}

/* ==========================================================================
   Welcome Page (root.tpl) Improvements
   ========================================================================== */

/* --------------------------------------------------------------------------
   Root Boxes — Place Order, Client Area, Support
   -------------------------------------------------------------------------- */
.root-boxes {
  max-width: 900px;
  margin: 0 auto !important;
}

.root-boxes .root-box {
  padding: 2.5rem 2rem !important;
  border-radius: var(--hb-border-radius-lg) !important;
  background: var(--hb-card-bg) !important;
  border: 1px solid var(--hb-border-color) !important;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.06) !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  text-decoration: none !important;
  text-align: center;
}

.root-boxes .root-box:hover {
  border-color: var(--hb-primary-light) !important;
  box-shadow: 0 12px 35px rgba(99, 102, 241, 0.15) !important;
  transform: translateY(-6px) !important;
}

.root-boxes .root-box i.material-icons {
  width: 70px;
  height: 70px;
  line-height: 70px !important;
  text-align: center;
  border-radius: 50%;
  margin: 0 auto 1.5rem !important;
  font-size: 32px !important;
  color: #FFFFFF !important;
  background: linear-gradient(135deg, var(--hb-primary), var(--hb-primary-light)) !important;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
  transition: all 0.3s ease;
  display: block !important;
}

.root-boxes .root-box:hover i.material-icons {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.root-boxes .root-box h4 {
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  color: var(--hb-text-primary) !important;
  margin-bottom: 0.5rem;
}

.root-boxes .root-box span {
  font-size: 0.88rem;
  color: var(--hb-text-muted);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   News Section on Welcome Page
   -------------------------------------------------------------------------- */
.root-news .btn-view-all {
  border-radius: 2em !important;
  font-size: 0.8rem !important;
  padding: 6px 16px !important;
}

.root-news .card {
  border-radius: var(--hb-border-radius) !important;
  border: 1px solid var(--hb-border-color) !important;
  overflow: hidden;
}

.root-news .list-group-item {
  padding: 1.25rem 1.5rem !important;
  border-bottom: 1px solid var(--hb-border-color) !important;
  transition: var(--hb-transition-fast);
}

.root-news .list-group-item:hover {
  background-color: rgba(99, 102, 241, 0.02) !important;
}

.root-news .list-group-item .h3 {
  font-size: 1.05rem !important;
  font-weight: 600 !important;
}

.root-news .list-group-item .icon-info-color {
  color: var(--hb-primary) !important;
  opacity: 0.6;
}

.root-news .badge.badge-primary {
  border-radius: 2em !important;
  padding: 5px 12px !important;
  font-weight: 500 !important;
  font-size: 0.75rem !important;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Navbar Order Button — Direct Link Style
   -------------------------------------------------------------------------- */
.navbar-order-link {
  border-radius: 2em !important;
  padding: 8px 24px !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  letter-spacing: 0.3px;
  box-shadow: 0 3px 10px rgba(52, 211, 153, 0.3) !important;
  transition: all 0.3s ease !important;
  text-decoration: none !important;
}

.navbar-order-link:hover {
  box-shadow: 0 5px 15px rgba(52, 211, 153, 0.4) !important;
  transform: translateY(-1px);
  color: #FFFFFF !important;
}

/* Hide the old dropdown menu */
.navbar .navbar-order,
.dropdown-order-items {
  display: none !important;
}

/* ==========================================================================
   ANIMATED VDS.GURU LOGO — Navbar
   ========================================================================== */
.animated-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 42px;
}

/* ── Server Icon Box ── */
.al-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, #6366F1 0%, #4F46E5 100%);
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 5px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.al-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

/* ── Server Unit Row ── */
.al-srv {
  width: 100%;
  height: 7px;
  background: rgba(255, 255, 255, 0.13);
  border: 0.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  display: flex;
  align-items: center;
  padding: 0 2px;
  gap: 2px;
}

/* LED indicators */
.al-led {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  flex-shrink: 0;
}

.al-led-g {
  background: #4ADE80;
  box-shadow: 0 0 3px #4ADE80;
}

.al-led-b {
  background: #60A5FA;
  box-shadow: 0 0 3px #60A5FA;
}

/* Activity bar */
.al-bar {
  height: 3px;
  flex: 1;
  background: rgba(255, 255, 255, 0.10);
  border-radius: 1px;
}

/* Mini dots */
.al-dots {
  display: flex;
  gap: 1px;
}

.al-dot {
  width: 1.5px;
  height: 1.5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

.al-dot:first-child {
  background: rgba(255, 255, 255, 0.55);
}

/* ── LED Blink Animations ── */
@keyframes alBlink1 {

  0%,
  45% {
    opacity: 1;
  }

  50%,
  95% {
    opacity: 0.15;
  }

  100% {
    opacity: 1;
  }
}

@keyframes alBlink2 {

  0%,
  100% {
    opacity: 1;
  }

  30%,
  35% {
    opacity: 0.15;
  }

  65%,
  70% {
    opacity: 0.15;
  }
}

@keyframes alBlink3 {

  0%,
  20%,
  22%,
  100% {
    opacity: 1;
  }

  21% {
    opacity: 0.1;
  }

  60%,
  64% {
    opacity: 0.15;
  }

  62% {
    opacity: 1;
  }
}

.al-b1 {
  animation: alBlink1 2.1s ease-in-out infinite;
}

.al-b2 {
  animation: alBlink2 1.7s ease-in-out infinite 0.4s;
}

.al-b3 {
  animation: alBlink3 2.6s ease-in-out infinite 0.9s;
}

/* Activity bar pulse */
@keyframes alBarPulse {

  0%,
  100% {
    opacity: 0.10;
  }

  50% {
    opacity: 0.25;
  }
}

.al-srv:nth-child(1) .al-bar {
  animation: alBarPulse 1.8s ease-in-out infinite;
}

.al-srv:nth-child(2) .al-bar {
  animation: alBarPulse 2.3s ease-in-out infinite 0.6s;
}

.al-srv:nth-child(3) .al-bar {
  animation: alBarPulse 1.5s ease-in-out infinite 1.1s;
}

/* ── Text ── */
.al-text {
  display: flex;
  align-items: baseline;
  line-height: 1;
}

.al-vds {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #FFFFFF 0%, #E0E7FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.al-guru {
  font-size: 22px;
  font-weight: 300;
  letter-spacing: -0.5px;
  color: rgba(255, 255, 255, 0.7);
}

/* ── Icon entrance animation ── */
.al-icon {
  animation: alIconIn 0.5s cubic-bezier(.22, 1, .36, 1) both;
}

@keyframes alIconIn {
  from {
    opacity: 0;
    transform: scale(0.85) translateY(4px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* ── VDS text slide-in ── */
.al-vds {
  animation: alVdsIn 0.5s cubic-bezier(.22, 1, .36, 1) 0.2s both;
}

@keyframes alVdsIn {
  from {
    opacity: 0;
    transform: translateX(-8px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ── .GURU text fade-in ── */
.al-guru {
  animation: alGuruIn 0.6s ease 0.5s both;
}

@keyframes alGuruIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 0.7;
  }
}

/* ── Responsive: hide text on very small screens ── */
@media (max-width: 480px) {
  .al-text {
    display: none;
  }

  .animated-logo {
    gap: 0;
  }
}

/* ==========================================================================
   Navbar Logo — Size Fix for SVG with large viewBox
   ========================================================================== */
.navbar-brand {
  padding: 0 !important;
  margin-right: 0.5rem !important;
  overflow: hidden;
}

.navbar-brand img,
.navbar-brand svg {
  height: 140px !important;
  max-height: 140px !important;
  width: auto !important;
  margin: -50px -20px -50px 0 !important;
  object-fit: contain;
}

/* ==========================================================================
   Mobile Fixes (≤ 768px)
   ========================================================================== */
@media (max-width: 768px) {

  /* Prevent horizontal scroll */
  html,
  body {
    overflow-x: hidden !important;
  }

  /* Smaller logo on mobile */
  .navbar-brand img,
  .navbar-brand svg {
    height: 100px !important;
    max-height: 100px !important;
    margin: -30px -10px -30px 0 !important;
  }

  /* Hide the desktop search/language bar on mobile */
  .navbar-body {
    display: none !important;
  }

  /* Footer links — wrap on mobile */
  footer .text-center,
  footer .d-flex,
  footer nav,
  .footer-links {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 8px !important;
  }

  footer a {
    font-size: 13px !important;
    white-space: nowrap;
  }

  /* News date badges — don't push to edge */
  .badge {
    font-size: 11px !important;
  }

  /* Content containers — prevent overflow */
  .container,
  .container-fluid,
  .row {
    max-width: 100% !important;
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {

  /* Even smaller logo on tiny screens */
  .navbar-brand img,
  .navbar-brand svg {
    height: 80px !important;
    max-height: 80px !important;
    margin: -22px -5px -22px 0 !important;
  }
}

/* ==========================================================================
   LOGIN & SIGNUP PAGES — Premium Split Layout
   ========================================================================== */

/* ── Signup page: works within dashboard layout ── */
.section-signup {
  padding: 0 !important;
  margin: -20px -15px !important;
  display: block !important;
  width: auto !important;
}

/* Signup wrapper — MUST stack vertically */
.auth-signup-wrapper {
  display: block !important;
  max-width: 900px;
  margin: 0 auto;
}

/* Signup header banner */
.auth-signup-header {
  background: linear-gradient(135deg, #1E1B4B 0%, #312E81 40%, #4338CA 100%);
  border-radius: 20px 20px 0 0;
  padding: 36px 40px;
  position: relative;
  overflow: hidden;
}

.auth-signup-header::before {
  content: '';
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
  top: -80px;
  right: -60px;
}

.auth-signup-header::after {
  content: '';
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.1) 0%, transparent 70%);
  bottom: -50px;
  left: -40px;
}

.auth-signup-header-content {
  display: flex;
  align-items: center;
  gap: 24px;
  position: relative;
  z-index: 2;
}

.auth-signup-header-text {
  flex-shrink: 0;
}

.auth-brand-text-sm {
  font-size: 32px !important;
  margin-bottom: 4px !important;
}

.auth-server-icon-sm {
  width: 70px !important;
  height: 70px !important;
  border-radius: 18px !important;
  padding: 12px !important;
  gap: 5px !important;
  margin: 0 !important;
  flex-shrink: 0;
}

.auth-server-icon-sm .auth-srv {
  height: 14px;
  padding: 0 6px;
  gap: 5px;
}

.auth-server-icon-sm .auth-led {
  width: 6px;
  height: 6px;
}

.auth-server-icon-sm .auth-bar {
  height: 4px;
}

.auth-features-row {
  display: flex !important;
  flex-direction: row !important;
  gap: 24px !important;
  margin-top: 0 !important;
  margin-left: auto;
}

.auth-features-row .auth-feature {
  font-size: 13px;
  margin-bottom: 0;
}

/* Signup form card */
.section-signup .auth-form-card {
  border-radius: 0 0 20px 20px;
  margin-left: 0;
  margin-right: 0;
  max-width: 100%;
}

/* Fix form fields within signup */
.section-signup .auth-form-card .form-label-group,
.section-signup .auth-form-card .form-group,
.section-signup .auth-form-card [class*="form-group_"] {
  margin-bottom: 16px !important;
}

.section-signup .auth-form-card .form-control {
  border: 1.5px solid #E5E7EB !important;
  border-radius: 12px !important;
  padding: 12px 14px !important;
  font-size: 14px !important;
  color: #1F2937 !important;
  background: #FAFBFC !important;
  transition: all 0.25s ease !important;
  height: auto !important;
  min-height: 46px;
}

.section-signup .auth-form-card .form-control:focus {
  border-color: #6366F1 !important;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12) !important;
  background: #FFFFFF !important;
}

.section-signup .auth-form-card select.form-control {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%239CA3AF'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  background-size: 12px !important;
  padding-right: 36px !important;
}

.section-signup .auth-form-card .btn-primary {
  background: linear-gradient(135deg, #6366F1 0%, #4F46E5 100%) !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 14px 32px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35) !important;
  transition: all 0.3s ease !important;
}

.section-signup .auth-form-card .btn-primary:hover {
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5) !important;
  transform: translateY(-1px);
}

/* Fix floating labels on dropdowns — move label up when value is selected */
.section-signup .auth-form-card .form-label-group select.form-control+.form-label-placeholder,
.section-signup .auth-form-card .form-label-group select.form-control:not([value=""])+.form-label-placeholder {
  top: 0;
  font-size: 11px !important;
  transform: translateY(-50%);
  background: #FAFBFC;
  padding: 0 4px;
  z-index: 1;
}

/* Hide labels for pre-filled selects (State, Country, Account type) */
.section-signup .auth-form-card select.form-control option:not([disabled]):checked~.form-label-placeholder {
  opacity: 0.6;
}

/* Phone input: accommodate country flag */
.section-signup .auth-form-card .iti {
  width: 100%;
}

.section-signup .auth-form-card .iti input.form-control {
  padding-left: 52px !important;
}

/* Signup form row spacing */
.section-signup .auth-form-card .row {
  margin: 0 -8px;
}

.section-signup .auth-form-card .col-12,
.section-signup .auth-form-card .col-md-6 {
  padding: 0 8px;
}

/* Ensure header is full-width block */
.auth-signup-header {
  display: block !important;
  width: 100% !important;
}

/* Ensure form card is full-width block */
.section-signup .auth-form-card {
  display: block !important;
  width: 100% !important;
}

/* ==========================================================================
   FLOATING LABELS — move label above field on focus / when has value
   ========================================================================== */

/* Smooth transition on labels */
.section-signup .form-label-group .form-label-placeholder {
  transition: all 0.2s ease !important;
  pointer-events: none;
}

/* When input is focused OR has content → float label above */
.section-signup .form-label-group input.form-control:focus~.form-label-placeholder,
.section-signup .form-label-group input.form-control:not(:placeholder-shown)~.form-label-placeholder,
.section-signup .form-label-group select.form-control:focus~.form-label-placeholder,
.section-signup .form-label-group select.form-control:not([value=""])~.form-label-placeholder {
  top: 0 !important;
  transform: translateY(-50%) !important;
  font-size: 11px !important;
  padding: 0 6px !important;
  padding-left: 6px !important;
  left: 34px !important;
  background: #FFFFFF !important;
  color: #6366F1 !important;
  opacity: 1 !important;
}

/* For selects that always have a value selected (State, Country, Account Type) */
.section-signup .form-label-group select.form-control+.form-label-placeholder {
  top: 0 !important;
  transform: translateY(-50%) !important;
  font-size: 11px !important;
  padding: 0 6px !important;
  padding-left: 6px !important;
  left: 10px !important;
  background: #FAFBFC !important;
  color: #6B7280 !important;
}

/* ==========================================================================
   SIGNUP FORM FIELD ICONS — using correct HostBill class names
   ========================================================================== */

/* All field wrappers are position:relative already via .position-relative class */

/* Shared icon ::before positioning on wrapper divs */
.section-signup [class*="form-group_"].form-label-group::before {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  z-index: 3;
  pointer-events: none;
  opacity: 0.45;
}

/* Add left padding to ALL inputs inside form-label-group wrappers */
.section-signup [class*="form-group_"].form-label-group .form-control {
  padding-left: 40px !important;
}

/* Shift floating labels for icon-equipped fields */
.section-signup [class*="form-group_"].form-label-group .form-label-placeholder {
  padding-left: 40px !important;
}

/* 👤 First Name / Last Name — User icon */
.section-signup .form-group_firstname.form-label-group::before,
.section-signup .form-group_lastname.form-label-group::before {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%236366F1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E");
}

/* ✉️ Email — Mail icon */
.section-signup .form-group_email.form-label-group::before {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%236366F1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'/%3E%3Cpolyline points='22,6 12,13 2,6'/%3E%3C/svg%3E");
}

/* 🔒 Password — Lock icon */
.section-signup .form-group_password.form-label-group::before,
.section-signup .form-group_password2.form-label-group::before {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%236366F1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2' ry='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E");
}

/* ✈️ Telegram — Paper plane icon (actual class: form-group_skypetelegramviber) */
.section-signup .form-group_skypetelegramviber.form-label-group::before {
  content: '' !important;
  display: inline-block;
  width: 18px;
  height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%236366F1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='22' y1='2' x2='11' y2='13'/%3E%3Cpolygon points='22 2 15 22 11 13 2 9 22 2'/%3E%3C/svg%3E");
  background-size: 18px 18px;
  background-repeat: no-repeat;
}

/* 🏢 Organization — Building icon (actual class: form-group_companyname) */
.section-signup .form-group_companyname.form-label-group::before {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%236366F1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='2' width='16' height='20' rx='2' ry='2'/%3E%3Cline x1='9' y1='6' x2='9' y2='6.01'/%3E%3Cline x1='15' y1='6' x2='15' y2='6.01'/%3E%3Cline x1='9' y1='10' x2='9' y2='10.01'/%3E%3Cline x1='15' y1='10' x2='15' y2='10.01'/%3E%3Cline x1='9' y1='14' x2='9' y2='14.01'/%3E%3Cline x1='15' y1='14' x2='15' y2='14.01'/%3E%3Cline x1='9' y1='18' x2='15' y2='18'/%3E%3C/svg%3E");
}

/* 📍 Address — Map pin icon */
.section-signup .form-group_address1.form-label-group::before {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%236366F1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
}

/* 🏙️ City — Map pin icon */
.section-signup .form-group_city.form-label-group::before {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%236366F1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
}

/* 📮 Postal Code — Hash icon */
.section-signup .form-group_postcode.form-label-group::before {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%236366F1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='4' y1='9' x2='20' y2='9'/%3E%3Cline x1='4' y1='15' x2='20' y2='15'/%3E%3Cline x1='10' y1='3' x2='8' y2='21'/%3E%3Cline x1='16' y1='3' x2='14' y2='21'/%3E%3C/svg%3E");
}

/* 🏷️ Account Type — Tag icon */
.section-signup .form-group_type.form-label-group::before {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%236366F1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.59 13.41l-7.17 7.17a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z'/%3E%3Cline x1='7' y1='7' x2='7.01' y2='7'/%3E%3C/svg%3E");
}

/* ==========================================================================
   FIX: Account Type dropdown label overlap
   ========================================================================== */
.section-signup .form-group_type.form-label-group .form-label-placeholder {
  top: 0 !important;
  font-size: 11px !important;
  transform: translateY(-50%) !important;
  background: #FAFBFC !important;
  padding: 0 6px !important;
  padding-left: 0 !important;
  left: 36px !important;
  z-index: 1;
}

/* Fix Country dropdown label */
.section-signup .form-group_country.form-label-group .form-label-placeholder {
  top: 0 !important;
  font-size: 11px !important;
  transform: translateY(-50%) !important;
  background: #FAFBFC !important;
  padding: 0 6px !important;
  z-index: 1;
}

/* ==========================================================================
   FIX: Phone number input — iti flag overlap
   ========================================================================== */

/* Phone field wrapper uses .form-group not .form-label-group */
/* The intl-tel-input JS wraps the input in .iti container */

/* Make .iti fill the full width */
.section-signup .form-group_phonenumber .iti,
.form-group_phonenumber .iti,
.form-group_phonenumber .iti.iti--allow-dropdown {
  width: 100% !important;
  display: block !important;
}

/* The actual phone input — needs large padding to clear flag + dial code */
.section-signup .form-group_phonenumber .iti input,
.section-signup .form-group_phonenumber .iti input.form-control,
.section-signup .form-group_phonenumber .iti input[type="tel"],
.form-group_phonenumber .iti input.form-control,
.form-group_phonenumber input.form-control {
  padding-left: 96px !important;
  width: 100% !important;
  border: 1.5px solid #E5E7EB !important;
  border-radius: 12px !important;
  font-size: 14px !important;
  color: #1F2937 !important;
  background: #FAFBFC !important;
  height: auto !important;
  min-height: 46px !important;
  box-sizing: border-box !important;
}

.section-signup .form-group_phonenumber .iti input:focus,
.form-group_phonenumber .iti input.form-control:focus {
  border-color: #6366F1 !important;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12) !important;
  background: #FFFFFF !important;
}

/* Style the flag container to fit within the rounded input */
.section-signup .form-group_phonenumber .iti__flag-container,
.form-group_phonenumber .iti__flag-container {
  border-radius: 12px 0 0 12px !important;
}

.section-signup .form-group_phonenumber .iti__selected-flag,
.form-group_phonenumber .iti__selected-flag {
  padding: 0 8px 0 14px !important;
  border-radius: 12px 0 0 12px !important;
  background: transparent !important;
}

/* ── Login page: standalone split layout (no sidebar present) ── */
.section-signin,
.section-passreminder {
  min-height: 100vh;
  padding: 0 !important;
  margin: 0 !important;
  background: #F8F7FC;
}

/* ── Split Layout Container ── */
.auth-split-layout {
  display: flex;
  min-height: 100vh;
  width: 100%;
}

/* ── LEFT: Branding Panel ── */
.auth-brand-panel {
  width: 42%;
  min-height: 100vh;
  background:
    /* Scattered dots */
    radial-gradient(circle at 20% 15%, rgba(52, 211, 153, 0.25) 0%, transparent 3%),
    radial-gradient(circle at 75% 25%, rgba(129, 140, 248, 0.2) 0%, transparent 2%),
    radial-gradient(circle at 35% 80%, rgba(52, 211, 153, 0.15) 0%, transparent 2.5%),
    radial-gradient(circle at 85% 70%, rgba(129, 140, 248, 0.18) 0%, transparent 2%),
    radial-gradient(circle at 10% 50%, rgba(52, 211, 153, 0.12) 0%, transparent 3%),
    radial-gradient(circle at 65% 90%, rgba(255, 255, 255, 0.06) 0%, transparent 4%),
    /* Main gradient */
    linear-gradient(135deg, #1E1B4B 0%, #312E81 40%, #4338CA 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

/* Decorative background elements - large circles */
.auth-brand-panel::before {
  content: '';
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.06);
  top: -100px;
  right: -100px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
}

.auth-brand-panel::after {
  content: '';
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.04);
  bottom: -80px;
  left: -80px;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.12) 0%, transparent 70%);
}

.auth-brand-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

/* Extra floating shapes via box-shadow */
.auth-brand-content::before {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  border: 1.5px solid rgba(52, 211, 153, 0.4);
  top: -60px;
  right: -40px;
  border-radius: 2px;
  transform: rotate(45deg);
  animation: authFloat 6s ease-in-out infinite;
}

.auth-brand-content::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  background: rgba(129, 140, 248, 0.3);
  border-radius: 50%;
  bottom: -40px;
  left: -30px;
  animation: authFloat 4s ease-in-out infinite 1s;
}

@keyframes authFloat {

  0%,
  100% {
    transform: translateY(0) rotate(45deg);
    opacity: 0.5;
  }

  50% {
    transform: translateY(-12px) rotate(45deg);
    opacity: 1;
  }
}

/* ── Server Icon ── */
.auth-server-icon {
  width: 120px;
  height: 120px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.07);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px;
  margin: 0 auto 32px;
  backdrop-filter: blur(10px);
}

.auth-srv {
  width: 100%;
  height: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  display: flex;
  align-items: center;
  padding: 0 8px;
  gap: 8px;
}

.auth-led {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.auth-led-g {
  background: #4ADE80;
  box-shadow: 0 0 6px #4ADE80;
  animation: authBlink 2.1s ease-in-out infinite;
}

.auth-led-b {
  background: #60A5FA;
  box-shadow: 0 0 6px #60A5FA;
  animation: authBlink 1.7s ease-in-out infinite 0.4s;
}

@keyframes authBlink {

  0%,
  45% {
    opacity: 1;
  }

  50%,
  95% {
    opacity: 0.2;
  }

  100% {
    opacity: 1;
  }
}

.auth-bar {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  animation: authBarPulse 2s ease-in-out infinite;
}

@keyframes authBarPulse {

  0%,
  100% {
    opacity: 0.3;
  }

  50% {
    opacity: 0.7;
  }
}

.auth-srv:nth-child(2) .auth-bar {
  animation-delay: 0.6s;
}

.auth-srv:nth-child(3) .auth-bar {
  animation-delay: 1.2s;
}

/* Brand text */
.auth-brand-text {
  font-size: 48px;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 12px;
}

.auth-brand-text span {
  font-weight: 300;
  color: rgba(255, 255, 255, 0.6);
}

.auth-brand-tagline {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 6px;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
}

/* Feature list (signup only) */
.auth-features {
  margin-top: 48px;
  text-align: left;
  display: inline-block;
}

.auth-feature {
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.auth-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.15);
  color: #34D399;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

/* ── RIGHT: Form Panel ── */
.auth-form-panel {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: linear-gradient(135deg, #F8F7FC 0%, #EEF2FF 50%, #E0E7FF 100%);
  overflow-y: auto;
}

.auth-form-card {
  background: #FFFFFF;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(30, 27, 75, 0.1), 0 4px 20px rgba(99, 102, 241, 0.06);
  padding: 48px 42px;
  width: 100%;
  max-width: 440px;
  border: 1px solid rgba(99, 102, 241, 0.06);
}

.auth-form-card-wide {
  max-width: 560px;
}

/* ── Headings ── */
.auth-title {
  font-size: 28px !important;
  font-weight: 700 !important;
  color: #1E1B4B;
  margin-bottom: 8px !important;
  letter-spacing: -0.5px;
}

.auth-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #6366F1, #818CF8);
  border-radius: 2px;
  margin-top: 12px;
}

.auth-subtitle {
  color: #6B7280;
  font-size: 14px;
  margin-bottom: 24px;
}

/* ── Form inputs ── */
.auth-form-card .form-control,
.auth-form-card select.form-control {
  border: 1.5px solid #E5E7EB !important;
  border-radius: 12px !important;
  padding: 14px 16px !important;
  font-size: 15px !important;
  color: #1F2937 !important;
  background: #FAFBFC !important;
  transition: all 0.25s ease !important;
  height: auto !important;
}

.auth-form-card .form-control:focus {
  border-color: #6366F1 !important;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12) !important;
  background: #FFFFFF !important;
  outline: none !important;
}

.auth-form-card .form-control::placeholder {
  color: #9CA3AF !important;
}

.auth-form-card .form-label-group {
  margin-bottom: 16px !important;
}

.auth-form-card .form-label-placeholder {
  color: #9CA3AF !important;
  font-size: 14px !important;
}

/* Select dropdowns */
.auth-form-card select.form-control {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%239CA3AF'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  background-size: 12px !important;
  padding-right: 36px !important;
}

/* ── Buttons ── */
.auth-form-card .btn-primary {
  background: linear-gradient(135deg, #6366F1 0%, #4F46E5 100%) !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 14px 32px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  letter-spacing: 0.3px;
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35) !important;
  transition: all 0.3s ease !important;
}

.auth-form-card .btn-primary:hover {
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5) !important;
  transform: translateY(-1px);
}

/* ── Links ── */
.auth-form-card a,
a.auth-link {
  color: #6366F1 !important;
  text-decoration: none !important;
  font-weight: 500;
  transition: color 0.2s ease;
}

.auth-form-card a:hover,
a.auth-link:hover {
  color: #4F46E5 !important;
  text-decoration: underline !important;
}

.auth-bottom-link {
  text-align: center;
  color: #6B7280;
  font-size: 14px;
  margin-top: 16px;
}

/* ── Captcha area ── */
.auth-form-card .form-group,
.auth-form-card .form-groups {
  background: #F9FAFB;
  border-radius: 12px;
  padding: 16px !important;
  margin: 16px 0 !important;
  border: 1px solid #F3F4F6;
}

/* ── Signup form row spacing ── */
.auth-form-card .row {
  margin: 0 -8px;
}

.auth-form-card .col-12,
.auth-form-card .col-md-6 {
  padding: 0 8px;
}

/* ── Login modal overlay enhancement ── */
.modal-content {
  border-radius: 20px !important;
  border: none !important;
  box-shadow: 0 25px 80px rgba(30, 27, 75, 0.25) !important;
  overflow: hidden;
}

.modal-header {
  background: linear-gradient(135deg, #6366F1 0%, #4F46E5 100%) !important;
  border-bottom: none !important;
  padding: 24px 28px !important;
}

.modal-header .modal-title,
.modal-header h5 {
  color: #FFFFFF !important;
  font-weight: 700 !important;
  font-size: 20px !important;
}

.modal-header .close,
.modal-header .btn-close {
  color: #FFFFFF !important;
  opacity: 0.8;
  text-shadow: none !important;
}

.modal-body {
  padding: 28px !important;
}

.modal-body .form-control {
  border: 1.5px solid #E5E7EB !important;
  border-radius: 12px !important;
  padding: 14px 16px !important;
  font-size: 15px !important;
  background: #FAFBFC !important;
  transition: all 0.25s ease !important;
  height: auto !important;
}

.modal-body .form-control:focus {
  border-color: #6366F1 !important;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12) !important;
  background: #FFFFFF !important;
}

.modal-body .btn-primary {
  background: linear-gradient(135deg, #6366F1 0%, #4F46E5 100%) !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 14px 32px !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35) !important;
}

.modal-body a {
  color: #6366F1 !important;
}

/* ── Responsive: Mobile (≤ 768px) ── */
@media (max-width: 768px) {
  .auth-split-layout {
    flex-direction: column;
  }

  .auth-brand-panel {
    width: 100%;
    min-height: auto;
    padding: 40px 20px;
  }

  .auth-server-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    padding: 14px;
    gap: 5px;
    margin-bottom: 20px;
  }

  .auth-srv {
    height: 14px;
    padding: 0 6px;
    gap: 5px;
  }

  .auth-led {
    width: 6px;
    height: 6px;
  }

  .auth-bar {
    height: 4px;
  }

  .auth-brand-text {
    font-size: 32px;
    margin-bottom: 8px;
  }

  .auth-brand-tagline {
    font-size: 11px;
    letter-spacing: 4px;
  }

  .auth-features {
    margin-top: 24px;
  }

  .auth-feature {
    font-size: 13px;
    margin-bottom: 10px;
  }

  .auth-form-panel {
    padding: 24px 16px;
  }

  .auth-form-card {
    padding: 32px 24px;
    border-radius: 16px;
    max-width: 100%;
  }

  .auth-title {
    font-size: 22px !important;
  }
}

/* ── Responsive: Tablet (769px – 1024px) ── */
@media (min-width: 769px) and (max-width: 1024px) {
  .auth-brand-panel {
    width: 35%;
  }

  .auth-form-card {
    padding: 36px 28px;
    max-width: 420px;
  }

  .auth-form-card-wide {
    max-width: 480px;
  }

  .auth-brand-text {
    font-size: 36px;
  }

  .auth-server-icon {
    width: 90px;
    height: 90px;
  }
}