/* =============================================
   SMM PANEL - PREMIUM GREEN THEME
   Primary: #00c97a  |  Dark: #00a362  |  BG: #f4f7f5
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --green:        #00c97a;
  --green-dark:   #00a362;
  --green-deeper: #007d4c;
  --green-light:  #e6faf2;
  --green-mid:    #b3f0d5;
  --sidebar-w:    240px;
  --sidebar-bg:   #0f1b14;
  --sidebar-hover:#1a2e20;
  --sidebar-active:#1f3826;
  --topbar-h:     62px;
  --white:        #ffffff;
  --bg:           #f2f5f3;
  --card-bg:      #ffffff;
  --border:       #e4ebe7;
  --text:         #1a2a22;
  --text-muted:   #6b8070;
  --text-light:   #9bb0a5;
  --radius:       12px;
  --radius-sm:    8px;
  --shadow:       0 2px 12px rgba(0,0,0,0.07);
  --shadow-md:    0 4px 24px rgba(0,0,0,0.10);
}

/* ========== RESET & BASE ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body, .body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.6;
  min-height: 100vh;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
ul { list-style: none; }

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--green-mid); border-radius: 10px; }

/* ========== LAYOUT WRAPPER ========== */
.wrapper { display: flex; min-height: 100vh; }

.wrapper-content {
  margin-left: var(--sidebar-w);
  flex: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: margin-left 0.3s ease;
}

.wrapper-content__body {
  flex: 1;
  padding: 24px;
}

/* ========== SIDEBAR ========== */
.component-sidebar_wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-w);
  height: 100vh;
  z-index: 100;
}

.sidebar-block__left,
.component-sidebar {
  width: var(--sidebar-w);
  height: 100vh;
  background: var(--sidebar-bg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Sidebar Logo */
.component-sidebar__menu-logo {
  padding: 22px 20px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  flex-shrink: 0;
}

.component-navbar-logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.component-navbar-logo img {
  max-height: 36px;
  max-width: 160px;
  object-fit: contain;
}

.component-navbar-logo strong {
  font-size: 20px;
  font-weight: 800;
  color: var(--green);
  letter-spacing: -0.5px;
  line-height: 1.2;
}

/* Sidebar Menu */
.component-sidebar__menu {
  flex: 1;
  overflow-y: auto;
  padding: 14px 0;
}

.component-sidebar__menu-item {
  margin: 2px 10px;
  border-radius: var(--radius-sm);
  transition: all 0.18s ease;
}

.component-sidebar__menu-item-link {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 14px;
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.62);
  border-radius: var(--radius-sm);
  transition: all 0.18s ease;
  position: relative;
}

.component-sidebar__menu-item-link:hover {
  background: var(--sidebar-hover);
  color: rgba(255,255,255,0.9);
}

.component-sidebar__menu-item-active .component-sidebar__menu-item-link,
.component-sidebar__menu-item-link.active {
  background: var(--green);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(0,201,122,0.30);
}

.sidebar-block__menu-item-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
  border-radius: 7px;
  background: rgba(255,255,255,0.07);
  transition: background 0.18s;
}

.component-sidebar__menu-item-active .sidebar-block__menu-item-icon {
  background: rgba(255,255,255,0.20);
}

/* Sidebar Badge */
.badge {
  margin-left: auto;
  background: var(--green);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 20px;
  line-height: 1.4;
}

.component-sidebar__menu-item-active .badge {
  background: rgba(255,255,255,0.25);
  color: #fff;
}

/* Sidebar bottom user area */
.sidebar-user-bottom {
  padding: 14px 16px;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* ========== TOP NAVBAR (private) ========== */
.wrapper-navbar {
  display: flex;
  flex-direction: column;
}

.component_navbar,
.component_private_navbar {
  display: none; /* sidebar handles navigation on desktop */
}

/* Public navbar (login/signup pages) */
.component_navbar_sub,
.sidebar-block__top.component-navbar__navbar-public {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 99;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: var(--topbar-h);
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.navbar-expand-lg .navbar-collapse {
  display: flex !important;
  align-items: center;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

/* Public nav links */
.component-navbar-nav-link__navbar-public {
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 13.5px;
  color: var(--text-muted);
  transition: all 0.15s;
}

.component-navbar-nav-link__navbar-public:hover,
.component-navbar-nav-link-active__navbar-public {
  background: var(--green-light);
  color: var(--green-dark);
  font-weight: 600;
}

/* Private topbar (inside panel) */
.component_private_navbar .navbar,
.sidebar-block__top.component-navbar__navbar-private .navbar {
  height: var(--topbar-h);
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 90;
  padding: 0 24px;
}

/* ========== BALANCE DROPDOWN ========== */
.balance-dropdown-container { position: relative; }

.balance-dropdown__name {
  background: var(--green-light);
  color: var(--green-dark);
  font-weight: 700;
  font-size: 14px;
  padding: 8px 16px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.15s;
  border: 1.5px solid var(--green-mid);
}

.balance-dropdown__name:hover { background: var(--green-mid); }

.balance-dropdown__container {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  min-width: 200px;
  padding: 6px;
  z-index: 200;
}

.balance-dropdown__container .currencies-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 13px;
  color: var(--text);
  transition: background 0.12s;
}

.balance-dropdown__container .currencies-item:hover {
  background: var(--green-light);
  color: var(--green-dark);
}

/* ========== CARDS ========== */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.card-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
}

.card-body { padding: 20px; }

/* ========== STAT / TOTAL CARDS ========== */
.totals { padding: 0 0 8px; }

.totals-block__card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  height: 100%;
  transition: box-shadow 0.2s, transform 0.2s;
}

.totals-block__card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.totals-block__card-left { flex-shrink: 0; }

.totals-block__icon-preview {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-light);
}

.style-bg-primary-alpha-10 { background: var(--green-light) !important; }

.totals-block__icon {
  font-size: 24px;
  color: var(--green) !important;
}

.totals-block__card-right { flex: 1; min-width: 0; }

.totals-block__count-value {
  font-size: 22px !important;
  font-weight: 800 !important;
  color: var(--text) !important;
  line-height: 1.2;
  margin-bottom: 4px;
}

.totals-block__card-name p {
  font-size: 12.5px;
  color: var(--text-muted);
  font-weight: 500;
  margin: 0;
}

.style-text-primary { color: var(--green) !important; }

/* ========== FORMS ========== */
.form-group { margin-bottom: 16px; }

.control-label, label.control-label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  font-size: 13.5px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text);
  background: #f9fbfa;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  outline: none;
  transition: all 0.18s;
  -webkit-appearance: none;
}

.form-control:focus {
  border-color: var(--green);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(0,201,122,0.12);
}

.form-control[readonly] {
  background: var(--green-light);
  color: var(--green-dark);
  font-weight: 700;
  border-color: var(--green-mid);
}

select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2300a362' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  cursor: pointer;
}

textarea.form-control { min-height: 90px; resize: vertical; }

/* Select2 */
.select2-container { width: 100% !important; }

.select2-container--default .select2-selection--single {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  height: 42px;
  padding: 4px 6px;
  background: #f9fbfa;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.select2-container--default .select2-selection--single:focus,
.select2-container--default.select2-container--focus .select2-selection--single {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(0,201,122,0.12);
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 34px;
  color: var(--text);
  font-size: 13.5px;
  padding-left: 10px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 42px;
  right: 8px;
}

.select2-dropdown {
  border: 1.5px solid var(--green);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.select2-search--dropdown .select2-search__field {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  font-size: 13px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background: var(--green);
}

.select2-container--default .select2-results__option[aria-selected=true] {
  background: var(--green-light);
  color: var(--green-dark);
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Plus Jakarta Sans', sans-serif;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all 0.18s ease;
  text-decoration: none;
  line-height: 1.4;
}

.btn-big-primary,
.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,201,122,0.30);
}

.btn-big-primary:hover,
.btn-primary:hover {
  background: var(--green-dark);
  box-shadow: 0 6px 20px rgba(0,201,122,0.40);
  transform: translateY(-1px);
  color: #fff;
}

.btn-big-primary:active,
.btn-primary:active { transform: translateY(0); }

.btn-block { width: 100%; padding: 13px 20px; font-size: 15px; }

.btn-secondary {
  background: var(--green-light);
  color: var(--green-dark);
  border: 1.5px solid var(--green-mid);
}

.btn-secondary:hover { background: var(--green-mid); }

.btn-danger { background: #ff4757; color: #fff; }
.btn-danger:hover { background: #e03545; }

.btn-outline-secondary {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text-muted);
}

.btn-outline-secondary:hover { border-color: var(--green); color: var(--green); background: var(--green-light); }

/* ========== ALERTS ========== */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  margin-bottom: 16px;
  border: 1px solid transparent;
  position: relative;
}

.alert-success {
  background: var(--green-light);
  border-color: var(--green-mid);
  color: var(--green-deeper);
}

.alert-danger {
  background: #fff2f3;
  border-color: #ffc5c9;
  color: #c0392b;
}

.alert-warning {
  background: #fffbeb;
  border-color: #fde68a;
  color: #92400e;
}

.alert-info {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
}

.alert .close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
  color: inherit;
  opacity: 0.6;
}

.alert .close:hover { opacity: 1; }

/* ========== TABLES ========== */
.table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 13.5px;
}

.table th {
  background: #f7faf8;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  padding: 12px 16px;
  border-bottom: 1.5px solid var(--border);
}

.table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  vertical-align: middle;
}

.table tbody tr:last-child td { border-bottom: none; }

.table tbody tr:hover td { background: #fafcfb; }

.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ========== BADGES & STATUS ========== */
.badge-success { background: var(--green-light); color: var(--green-dark); font-weight: 600; font-size: 11px; padding: 3px 10px; border-radius: 20px; }
.badge-warning { background: #fffbeb; color: #92400e; font-weight: 600; font-size: 11px; padding: 3px 10px; border-radius: 20px; }
.badge-danger  { background: #fff2f3; color: #c0392b; font-weight: 600; font-size: 11px; padding: 3px 10px; border-radius: 20px; }
.badge-info    { background: #eff6ff; color: #1d4ed8; font-weight: 600; font-size: 11px; padding: 3px 10px; border-radius: 20px; }
.badge-secondary { background: #f3f4f6; color: #6b7280; font-weight: 600; font-size: 11px; padding: 3px 10px; border-radius: 20px; }

/* ========== NAVBAR BURGER ========== */
.navbar-toggler {
  background: none;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 6px;
}

.navbar-burger { display: flex; flex-direction: column; gap: 4px; width: 18px; }
.navbar-burger-line { height: 2px; background: var(--text); border-radius: 2px; display: block; transition: all 0.2s; }

/* ========== DROPDOWN ========== */
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  min-width: 180px;
  padding: 6px;
  z-index: 200;
}

.dropdown-menu.show { display: block; }

.dropdown-item {
  display: block;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--text);
  cursor: pointer;
  transition: background 0.12s;
}

.dropdown-item:hover { background: var(--green-light); color: var(--green-dark); }

/* ========== WELL (order form container) ========== */
.well {
  padding: 20px;
}

/* ========== NEW ORDER PAGE ========== */
.new_order-block { padding-bottom: 20px; }

.new_order-block .card { box-shadow: var(--shadow); }

/* News card */
.headsir {
  padding: 14px 20px;
  background: var(--green) !important;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  border-radius: var(--radius) var(--radius) 0 0;
}

.ssw {
  max-height: 420px;
  overflow-y: auto;
  padding: 16px 18px;
}

.news-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.news-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.news-date {
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  background: var(--green);
  padding: 3px 10px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 6px;
}

#service_description.news-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
  background: var(--green-light);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  padding: 10px 14px;
  margin: 0;
}

#service_description.news-content {
  font-size: 13px;
  color: var(--text-muted);
  background: #f9fbfa;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  padding: 10px 14px;
  margin: 0;
}

/* Search dropdown */
.search-dropdown {
  position: relative;
  margin-bottom: 4px;
}

.search-dropdown .input-wrapper input {
  padding-left: 38px;
  background: #f9fbfa;
}

.search-dropdown button {
  color: var(--green);
  left: 12px !important;
}

/* Service info boxes */
#service_description,
#service_avg_time {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--green-light);
  border: 1px solid var(--green-mid);
  color: var(--text);
  font-size: 13px;
  margin-top: 4px;
}

/* Dripfeed */
.hidden { display: none !important; }

/* ========== FAQ / ACCORDION ========== */
.faq-block__card { margin-bottom: 8px; }

.faq-block__card .card {
  border-radius: var(--radius) !important;
  border: 1.5px solid var(--border) !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.faq-block__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  cursor: pointer;
  transition: background 0.15s;
  border-radius: var(--radius);
}

.faq-block__header:hover { background: var(--green-light); }

.faq-block__header-title h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin: 0;
}

.faq-block__icon {
  width: 22px;
  height: 22px;
  position: relative;
  flex-shrink: 0;
}

.faq-block__icon::before,
.faq-block__icon::after {
  content: '';
  position: absolute;
  background: var(--green);
  border-radius: 2px;
  transition: all 0.25s ease;
}

.faq-block__icon::before { width: 12px; height: 2px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.faq-block__icon::after  { width: 2px; height: 12px; top: 50%; left: 50%; transform: translate(-50%, -50%); }

.faq-block__header[aria-expanded="true"] .faq-block__icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }

.faq-block__body { padding: 0 18px; }
.faq-block__body-description { padding: 12px 0 16px; font-size: 13.5px; color: var(--text-muted); }

/* ========== LOGIN PAGE ========== */
.block-signin__content {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  padding: 20px 0 0;
}

.block-signin__card {
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.10);
  border: 1px solid var(--border);
  padding: 32px 36px;
  margin: 0 auto;
}

.block-signin__title h1,
.block-signin__title h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.3;
}

.block-signin-text__block-text-description {
  font-size: 15px;
  color: var(--text-muted);
  margin-top: 8px;
}

.block-signin__remember {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.block-signin__link {
  color: var(--green);
  font-weight: 600;
}

.block-signin__link:hover { text-decoration: underline; }

/* ========== PAGE HERO (login wave) ========== */
#block_105 { overflow: hidden; }

.mop { display: block; margin-bottom: -4px; }

/* ========== DIVIDERS ========== */
.divider-top, .divider-bottom { display: none; }

/* ========== TOTALS ROW ========== */
#block_93 { margin-bottom: 24px; }

#block_93 .container-fluid { padding: 0; }

/* ========== CONTAINER ========== */
.container-fluid { padding-left: 0; padding-right: 0; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ========== GRID ========== */
.row { display: flex; flex-wrap: wrap; margin: -8px; }
.row > [class*='col'] { padding: 8px; }

.col { flex: 1; }
.col-lg-3 { flex: 0 0 25%; max-width: 25%; }
.col-lg-4 { flex: 0 0 33.333%; max-width: 33.333%; }
.col-lg-5 { flex: 0 0 41.666%; max-width: 41.666%; }
.col-lg-6 { flex: 0 0 50%; max-width: 50%; }
.col-lg-7 { flex: 0 0 58.333%; max-width: 58.333%; }
.col-lg-8 { flex: 0 0 66.666%; max-width: 66.666%; }
.col-lg-9 { flex: 0 0 75%; max-width: 75%; }
.col-lg-12 { flex: 0 0 100%; max-width: 100%; }
.col-md-6 { flex: 0 0 50%; max-width: 50%; }
.col-sm-12 { flex: 0 0 100%; max-width: 100%; }
.col-12 { flex: 0 0 100%; max-width: 100%; }

.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 16px; }
.mt-4 { margin-top: 24px; }
.mb-3 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 24px; }
.mb-lg-0 { margin-bottom: 0; }
.h-100 { height: 100%; }
.d-flex { display: flex; }
.align-items-stretch { align-items: stretch; }
.align-items-center { align-items: center; }
.justify-content-center { justify-content: center; }
.justify-content-between { justify-content: space-between; }

/* ========== PAGINATION ========== */
.pagination {
  display: flex;
  gap: 4px;
  list-style: none;
  align-items: center;
}

.page-link {
  padding: 7px 13px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  border: 1.5px solid var(--border);
  background: var(--white);
  transition: all 0.15s;
  cursor: pointer;
}

.page-link:hover,
.page-item.active .page-link {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

/* ========== CUSTOM CHECKBOX / RADIO ========== */
.custom-control { display: flex; align-items: center; gap: 8px; cursor: pointer; }

.custom-control-input {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
  cursor: pointer;
}

.custom-control-label {
  font-size: 13.5px;
  color: var(--text);
  cursor: pointer;
}

/* ========== GOOGLE LOGIN BUTTON ========== */
.login-with-google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 11px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  font-family: 'Plus Jakarta Sans', sans-serif;
  cursor: pointer;
  transition: all 0.18s;
}

.login-with-google-btn:hover {
  border-color: var(--green);
  background: var(--green-light);
}

/* ========== TIPPY TOOLTIPS ========== */
.tippy-box {
  background: var(--sidebar-bg);
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* ========== WHATSAPP BUTTON ========== */
.whatsapp-button {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
}

.whatsapp-button a {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25D366;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(37,211,102,0.40);
  transition: transform 0.2s, box-shadow 0.2s;
}

.whatsapp-button a:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(37,211,102,0.50);
}

.whatsapp-button i { color: #fff; font-size: 26px; }

/* ========== LANGUAGE DROPDOWN ========== */
.navbar-languages { position: relative; }

.navbar-dropdown__name {
  padding: 7px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s;
}

.navbar-dropdown__name:hover {
  border-color: var(--green);
  color: var(--green);
}

.navbar-dropdown__container {
  min-width: 140px;
  right: 0;
}

.navbar-dropdown__link {
  display: block;
  padding: 8px 12px;
  font-size: 13px;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: background 0.12s;
}

.navbar-dropdown__link:hover {
  background: var(--green-light);
  color: var(--green-dark);
}

/* ========== RATINGS ========== */
.ratings { display: flex; align-items: center; justify-content: center; gap: 8px; }
.fa-star { color: #f59e0b; }

/* ========== SVG WAVE ========== */
svg.mop { display: block; }

/* ========== COLLAPSE ========== */
.collapse:not(.show) { display: none; }

/* ========== RESPONSIVE ========== */
@media (max-width: 991px) {
  .wrapper-content {
    margin-left: 0;
  }

  .component-sidebar_wrapper {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 300;
  }

  .component-sidebar_wrapper.open {
    transform: translateX(0);
  }

  .sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 299;
  }

  .sidebar-overlay.open { display: block; }

  .col-lg-3, .col-lg-4, .col-lg-5,
  .col-lg-6, .col-lg-7, .col-lg-8 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .col-md-6 { flex: 0 0 50%; max-width: 50%; }
  .mb-lg-0 { margin-bottom: 16px; }

  .block-signin__card { padding: 24px 18px; }

  .wrapper-content__body { padding: 16px; }

  .topbar-mobile {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 90;
  }
}

@media (max-width: 576px) {
  .col-md-6, .col-sm-12 { flex: 0 0 100%; max-width: 100%; }
  .stats-row-grid { grid-template-columns: 1fr 1fr; }
}

/* ========== UTILITY ========== */
.text-center { text-align: center; }
.text-right  { text-align: right; }
.fw-bold     { font-weight: 700; }
.text-muted  { color: var(--text-muted); }
.text-success { color: var(--green); }
.text-danger  { color: #e74c3c; }
.small        { font-size: 12px; }
.mr-1 { margin-right: 4px; }
.mr-2 { margin-right: 8px; }
.ml-auto { margin-left: auto; }

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.card, .totals-block__card {
  animation: fadeInUp 0.35s ease both;
}

/* ========== DATEPICKER OVERRIDE ========== */
.datepicker table tr td.active,
.datepicker table tr td.active:hover {
  background: var(--green) !important;
  border-color: var(--green) !important;
}

.datepicker table tr td.today { border-color: var(--green); }
