/* ============================================================
   VELZON THEME - Admin Dashboard CSS
   Inspired by Velzon Bootstrap 5 Admin Template
   ============================================================ */

:root {
  --vz-primary: #405189;
  --vz-secondary: #3577f1;
  --vz-success: #0ab39c;
  --vz-info: #299cdb;
  --vz-warning: #f7b84b;
  --vz-danger: #f06548;
  --vz-light: #f3f6f9;
  --vz-dark: #212529;
  --vz-body-bg: #f3f3f9;
  --vz-body-color: #495057;
  --vz-heading-color: #495057;
  --vz-border-color: #e9ebec;
  --vz-card-bg: #fff;
  --vz-card-border-color: #e9ebec;
  --vz-card-shadow: 0 1px 2px rgba(56, 65, 74, 0.15);
  --vz-sidebar-bg: #405189;
  --vz-sidebar-width: 250px;
  --vz-sidebar-collapsed-width: 70px;
  --vz-sidebar-menu-color: rgba(255, 255, 255, 0.6);
  --vz-sidebar-menu-active-color: #fff;
  --vz-header-height: 70px;
  --vz-header-bg: #fff;
  --vz-font-sans: 'Poppins', sans-serif;
  --vz-topbar-search-bg: #f3f3f9;
}

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

body {
  font-family: var(--vz-font-sans);
  background-color: var(--vz-body-bg);
  color: var(--vz-body-color);
  font-size: 13px;
  line-height: 1.5;
  overflow-x: hidden;
}

a { text-decoration: none; color: var(--vz-primary); transition: color 0.15s ease; }
a:hover { color: var(--vz-secondary); }

h1, h2, h3, h4, h5, h6 { color: var(--vz-heading-color); margin-top: 0; }

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

/* ================= SIDEBAR ================= */
.app-menu {
  width: var(--vz-sidebar-width);
  background: var(--vz-sidebar-bg);
  min-height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1050;
  transition: all 0.15s ease;
  display: flex;
  flex-direction: column;
}

.navbar-brand-box {
  padding: 16px 20px;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.logo-text {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.5px;
}

.logo-icon {
  display: inline-flex;
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.2);
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  margin-right: 8px;
  vertical-align: middle;
}

/* Sidebar Navigation */
.sidebar-nav { padding: 10px 0; flex: 1; overflow-y: auto; }

.menu-title {
  padding: 8px 20px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 10px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  margin: 2px 12px;
  border-radius: 4px;
  color: var(--vz-sidebar-menu-color);
  font-size: 13px;
  font-weight: 400;
  transition: all 0.15s ease;
  cursor: pointer;
}

.nav-link i { font-size: 18px; width: 22px; text-align: center; }

.nav-link:hover {
  color: var(--vz-sidebar-menu-active-color);
  background: rgba(255,255,255,0.08);
}

.nav-link.active {
  color: var(--vz-sidebar-menu-active-color);
  background: rgba(255,255,255,0.12);
  font-weight: 500;
}

.nav-link .badge {
  margin-left: auto;
  background: var(--vz-success);
  color: #fff;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: 600;
}

/* ================= MAIN CONTENT ================= */
.main-content {
  margin-left: var(--vz-sidebar-width);
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  transition: margin-left 0.15s ease;
}

/* ================= TOPBAR / HEADER ================= */
.topbar {
  background: var(--vz-header-bg);
  height: var(--vz-header-height);
  display: flex;
  align-items: center;
  padding: 0 24px;
  border-bottom: 1px solid var(--vz-border-color);
  position: sticky;
  top: 0;
  z-index: 1040;
  box-shadow: 0 1px 2px rgba(56, 65, 74, 0.15);
}

.topbar-hamburger {
  background: none;
  border: none;
  font-size: 22px;
  color: #495057;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 4px;
  margin-right: 12px;
}
.topbar-hamburger:hover { background: var(--vz-topbar-search-bg); }

.topbar-search {
  position: relative;
  flex: 0 0 320px;
}
.topbar-search input {
  width: 100%;
  padding: 8px 14px 8px 36px;
  border: 1px solid var(--vz-border-color);
  border-radius: 4px;
  background: var(--vz-topbar-search-bg);
  font-size: 13px;
  color: var(--vz-body-color);
  outline: none;
  transition: all 0.15s ease;
}
.topbar-search input:focus {
  border-color: var(--vz-primary);
  box-shadow: 0 0 0 2px rgba(64, 81, 137, 0.1);
  background: #fff;
}
.topbar-search i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #878a99;
  font-size: 14px;
}

.topbar-spacer { flex: 1; }

.topbar-right { display: flex; align-items: center; gap: 4px; }

.topbar-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: none;
  color: #495057;
  font-size: 20px;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  transition: all 0.15s ease;
}
.topbar-btn:hover { background: var(--vz-topbar-search-bg); color: var(--vz-primary); }

.topbar-btn .badge-dot {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 8px;
  height: 8px;
  background: var(--vz-danger);
  border-radius: 50%;
  border: 2px solid #fff;
}

.topbar-user {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
  margin-left: 8px;
}
.topbar-user:hover { background: var(--vz-topbar-search-bg); }

.topbar-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--vz-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 13px;
}

.topbar-user-info { line-height: 1.2; }
.topbar-user-name { font-size: 13px; font-weight: 600; color: #495057; }
.topbar-user-role { font-size: 11px; color: #878a99; }

/* ================= PAGE CONTENT ================= */
.page-content { padding: 24px; flex: 1; }

/* Breadcrumb */
.page-title-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.page-title-box h4 {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  color: #495057;
}
.breadcrumb {
  display: flex;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 12px;
}
.breadcrumb li { color: #878a99; }
.breadcrumb li a { color: #495057; }
.breadcrumb li + li::before { content: "/"; margin-right: 4px; color: #878a99; }

/* ================= CARDS ================= */
.card {
  background: var(--vz-card-bg);
  border: 1px solid var(--vz-card-border-color);
  border-radius: 6px;
  box-shadow: var(--vz-card-shadow);
  margin-bottom: 20px;
}
.card-header {
  padding: 14px 16px;
  background: transparent;
  border-bottom: 1px solid var(--vz-border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.card-header h5 { margin: 0; font-size: 14px; font-weight: 600; display: flex; align-items: center; }
.card-body { padding: 16px; }
.card-footer {
  padding: 12px 16px;
  background: transparent;
  border-top: 1px solid var(--vz-border-color);
}

/* ================= BUTTONS ================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: var(--vz-font-sans);
  line-height: 1.5;
}
.btn i { font-size: 14px; }

.btn-primary { background: var(--vz-primary); color: #fff; border-color: var(--vz-primary); }
.btn-primary:hover { background: #364574; border-color: #364574; }

.btn-secondary { background: var(--vz-secondary); color: #fff; border-color: var(--vz-secondary); }
.btn-secondary:hover { background: #2a63d4; border-color: #2a63d4; }

.btn-success { background: var(--vz-success); color: #fff; border-color: var(--vz-success); }
.btn-success:hover { background: #099885; border-color: #099885; }

.btn-info { background: var(--vz-info); color: #fff; border-color: var(--vz-info); }
.btn-danger { background: var(--vz-danger); color: #fff; border-color: var(--vz-danger); }
.btn-warning { background: var(--vz-warning); color: #fff; border-color: var(--vz-warning); }

.btn-soft-primary { background: rgba(64,81,137,0.1); color: var(--vz-primary); border-color: transparent; }
.btn-soft-primary:hover { background: var(--vz-primary); color: #fff; }

.btn-soft-success { background: rgba(10,179,156,0.1); color: var(--vz-success); border-color: transparent; }
.btn-soft-success:hover { background: var(--vz-success); color: #fff; }

.btn-soft-info { background: rgba(41,156,219,0.1); color: var(--vz-info); border-color: transparent; }
.btn-soft-info:hover { background: var(--vz-info); color: #fff; }

.btn-soft-danger { background: rgba(240,101,72,0.1); color: var(--vz-danger); border-color: transparent; }
.btn-soft-danger:hover { background: var(--vz-danger); color: #fff; }

.btn-soft-warning { background: rgba(247,184,75,0.1); color: #d69a00; border-color: transparent; }
.btn-soft-warning:hover { background: var(--vz-warning); color: #fff; }

.btn-outline-primary { background: transparent; color: var(--vz-primary); border-color: var(--vz-primary); }
.btn-outline-primary:hover { background: var(--vz-primary); color: #fff; }

.btn-ghost { background: transparent; border: none; color: #878a99; padding: 6px 8px; }
.btn-ghost:hover { color: var(--vz-primary); background: var(--vz-topbar-search-bg); }

.btn-sm { padding: 4px 10px; font-size: 12px; }
.btn-lg { padding: 10px 20px; font-size: 15px; }

/* ================= STATS / COUNTER CARDS ================= */
.stat-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.stat-card {
  background: #fff;
  border: 1px solid var(--vz-border-color);
  border-radius: 4px;
  padding: 16px 20px;
  box-shadow: var(--vz-card-shadow);
}
.stat-card-body { display: flex; align-items: center; justify-content: space-between; }
.stat-card-info h5 { font-size: 22px; font-weight: 600; margin: 0 0 2px; color: #495057; }
.stat-card-info p { font-size: 13px; color: #878a99; margin: 0; font-weight: 500; text-transform: uppercase; }
.stat-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.stat-card-icon.primary { background: rgba(64,81,137,0.1); color: var(--vz-primary); }
.stat-card-icon.success { background: rgba(10,179,156,0.1); color: var(--vz-success); }
.stat-card-icon.info { background: rgba(41,156,219,0.1); color: var(--vz-info); }
.stat-card-icon.warning { background: rgba(247,184,75,0.15); color: #d69a00; }
.stat-card-icon.danger { background: rgba(240,101,72,0.1); color: var(--vz-danger); }

.stat-card-footer {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--vz-border-color);
  font-size: 12px;
  color: #878a99;
}
.stat-card-footer .text-success { color: var(--vz-success); font-weight: 600; }
.stat-card-footer .text-danger { color: var(--vz-danger); font-weight: 600; }

/* ================= TABLE ================= */
.table-container { overflow-x: auto; }

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.table th {
  padding: 10px 12px;
  font-size: 11px;
  font-weight: 600;
  color: #878a99;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: var(--vz-light);
  border-bottom: 1px solid var(--vz-border-color);
  text-align: left;
  white-space: nowrap;
}
.table td {
  padding: 10px 12px;
  border-bottom: 1px solid #f3f3f9;
  vertical-align: middle;
  color: #495057;
}
.table tr:last-child td { border-bottom: none; }
.table tr:hover td { background: #f9fafb; }

.table-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
}

/* ================= BADGES ================= */
.badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
}
.badge-soft-success { background: rgba(10,179,156,0.1); color: var(--vz-success); }
.badge-soft-primary { background: rgba(64,81,137,0.1); color: var(--vz-primary); }
.badge-soft-info { background: rgba(41,156,219,0.1); color: var(--vz-info); }
.badge-soft-warning { background: rgba(247,184,75,0.15); color: #d69a00; }
.badge-soft-danger { background: rgba(240,101,72,0.1); color: var(--vz-danger); }
.badge-soft-secondary { background: rgba(53,119,241,0.1); color: var(--vz-secondary); }

/* ================= FORMS ================= */
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #495057;
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--vz-border-color);
  border-radius: 4px;
  font-size: 13px;
  color: #495057;
  background: #fff;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  font-family: var(--vz-font-sans);
}
.form-control:focus {
  border-color: var(--vz-primary);
  box-shadow: 0 0 0 2px rgba(64,81,137,0.1);
}
.form-control::placeholder { color: #adb5bd; }

.form-select {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--vz-border-color);
  border-radius: 4px;
  font-size: 13px;
  color: #495057;
  background: #fff;
  outline: none;
  cursor: pointer;
  font-family: var(--vz-font-sans);
}
.form-select:focus {
  border-color: var(--vz-primary);
  box-shadow: 0 0 0 2px rgba(64,81,137,0.1);
}

.form-group { margin-bottom: 16px; }
.form-error { color: var(--vz-danger); font-size: 12px; margin-top: 4px; }
.form-text { font-size: 12px; color: #878a99; margin-top: 4px; }

.row-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ================= SEARCH BOX ================= */
.search-box {
  position: relative;
  margin-bottom: 16px;
}
.search-box input {
  width: 100%;
  padding: 8px 14px 8px 36px;
  border: 1px solid var(--vz-border-color);
  border-radius: 4px;
  font-size: 13px;
  color: var(--vz-body-color);
  background: #fff;
  outline: none;
  transition: all 0.15s ease;
}
.search-box input:focus {
  border-color: var(--vz-primary);
  box-shadow: 0 0 0 2px rgba(64,81,137,0.1);
}
.search-box i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #878a99;
  font-size: 14px;
}

/* ================= FILTER PANEL ================= */
.filter-card {
  background: #fff;
  border: 1px solid var(--vz-border-color);
  border-radius: 4px;
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: var(--vz-card-shadow);
}
.filter-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.filter-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }

/* ================= MANDATE LIST VIEW ================= */
.mandate-list { display: flex; flex-direction: column; gap: 12px; }

.mandate-card {
  background: #fff;
  border: 1px solid var(--vz-border-color);
  border-radius: 4px;
  padding: 16px 20px;
  transition: all 0.15s ease;
  box-shadow: var(--vz-card-shadow);
}
.mandate-card:hover {
  box-shadow: 0 4px 12px rgba(56, 65, 74, 0.12);
  border-color: rgba(64,81,137,0.3);
}

.mandate-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.mandate-left { display: flex; align-items: flex-start; gap: 14px; flex: 1; }

.mandate-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--vz-primary);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mandate-info { flex: 1; min-width: 0; }

.mandate-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.mandate-name { font-size: 14px; font-weight: 600; color: #495057; }
.mandate-id { font-size: 11px; color: #878a99; background: var(--vz-light); padding: 2px 6px; border-radius: 3px; font-family: monospace; }

.mandate-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: 12px;
  color: #878a99;
  margin-top: 6px;
}
.mandate-meta span { display: inline-flex; align-items: center; gap: 4px; }
.mandate-meta i { font-size: 13px; }

.mandate-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  min-width: 160px;
}
.mandate-amount { font-size: 16px; font-weight: 600; color: #495057; }
.mandate-bank { font-size: 12px; color: #878a99; display: flex; align-items: center; gap: 4px; }

/* ================= TABS ================= */
.nav-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--vz-border-color);
  margin-bottom: 20px;
  list-style: none;
  padding: 0;
}
.nav-tabs .nav-item { margin-bottom: -2px; }
.nav-tabs .nav-link-tab {
  display: block;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 500;
  color: #878a99;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
}
.nav-tabs .nav-link-tab:hover { color: var(--vz-primary); }
.nav-tabs .nav-link-tab.active {
  color: var(--vz-primary);
  border-bottom-color: var(--vz-primary);
  font-weight: 600;
}

/* ================= DROPDOWN ================= */
.dropdown-wrapper { position: relative; display: inline-block; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  min-width: 180px;
  background: #fff;
  border: 1px solid var(--vz-border-color);
  border-radius: 4px;
  box-shadow: 0 5px 16px rgba(0,0,0,0.1);
  padding: 4px;
  z-index: 1060;
  display: none;
}
.dropdown-menu.show { display: block; }
.dropdown-item {
  display: block;
  padding: 6px 12px;
  font-size: 13px;
  color: #495057;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.12s ease;
}
.dropdown-item:hover { background: var(--vz-light); color: var(--vz-primary); }
.dropdown-divider { height: 1px; background: var(--vz-border-color); margin: 4px 0; }

/* ================= PAGINATION ================= */
.pagination {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.pagination .page-link {
  padding: 5px 10px;
  font-size: 13px;
  color: #495057;
  border: 1px solid var(--vz-border-color);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.12s ease;
}
.pagination .page-link:hover { background: var(--vz-primary); color: #fff; border-color: var(--vz-primary); }
.pagination .page-link.active { background: var(--vz-primary); color: #fff; border-color: var(--vz-primary); }
.pagination .page-link.disabled { opacity: 0.5; cursor: not-allowed; }

/* ================= HELP CARDS ================= */
.help-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.help-card {
  background: #fff;
  border: 1px solid var(--vz-border-color);
  border-radius: 4px;
  padding: 20px;
  transition: all 0.2s ease;
  box-shadow: var(--vz-card-shadow);
  cursor: pointer;
}
.help-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 16px rgba(56, 65, 74, 0.12);
  border-color: rgba(64,81,137,0.3);
}
.help-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 12px;
}
.help-card h4 { margin: 0 0 6px; font-size: 14px; font-weight: 600; }
.help-card p { margin: 0; font-size: 12px; color: #878a99; line-height: 1.5; }

/* ================= AUTH / LOGIN ================= */
.auth-page {
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f3f9;
  position: relative;
}
.auth-page::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #364574 0%, #405189 50%, #3577f1 100%);
  clip-path: polygon(0 0, 100% 0, 100% 40%, 0 60%);
}

.auth-card-wrapper {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  padding: 20px;
}

.auth-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  padding: 40px 36px;
}

.auth-logo {
  text-align: center;
  margin-bottom: 30px;
}
.auth-logo .logo-text {
  color: var(--vz-primary);
  font-size: 26px;
  font-weight: 700;
  display: block;
  margin-top: 4px;
}
.auth-logo .logo-icon {
  background: var(--vz-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  color: #fff;
  font-weight: 800;
  font-size: 18px;
}
.auth-logo p {
  color: #878a99;
  font-size: 13px;
  margin: 10px 0 0;
}

.auth-form .form-group { margin-bottom: 18px; }
.auth-form .form-label { font-size: 13px; font-weight: 500; color: #495057; margin-bottom: 6px; }
.auth-form .form-control {
  padding: 10px 14px;
  font-size: 14px;
  border-radius: 6px;
}
.auth-form .form-control:focus {
  border-color: var(--vz-primary);
  box-shadow: 0 0 0 3px rgba(64,81,137,0.08);
}

.auth-form .btn-primary {
  width: 100%;
  padding: 11px;
  font-size: 15px;
  font-weight: 500;
  border-radius: 6px;
  justify-content: center;
}

.auth-footer {
  text-align: center;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--vz-border-color);
  font-size: 13px;
  color: #878a99;
}
.auth-footer a { color: var(--vz-primary); font-weight: 600; }

.auth-divider {
  text-align: center;
  position: relative;
  margin: 22px 0;
  color: #878a99;
  font-size: 12px;
  font-weight: 500;
}
.auth-divider::before, .auth-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 40%;
  height: 1px;
  background: var(--vz-border-color);
}
.auth-divider::before { left: 0; }
.auth-divider::after { right: 0; }

.social-login-btn {
  width: 100%;
  padding: 11px;
  border: 1px solid var(--vz-border-color);
  border-radius: 6px;
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  color: #495057;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.15s ease;
  font-family: var(--vz-font-sans);
}
.social-login-btn:hover { background: var(--vz-light); border-color: #ced4da; }

/* ================= FORM WIZARD ================= */
.wizard-card {
  background: #fff;
  border: 1px solid var(--vz-border-color);
  border-radius: 4px;
  box-shadow: var(--vz-card-shadow);
  max-width: 720px;
  margin: 0 auto;
}
.wizard-card .card-body { padding: 24px; }

.wizard-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--vz-border-color);
}

/* ================= FOOTER ================= */
.footer {
  padding: 14px 24px;
  background: #fff;
  border-top: 1px solid var(--vz-border-color);
  font-size: 12px;
  color: #878a99;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1200px) {
  .stat-card-grid { grid-template-columns: repeat(2, 1fr); }
  .help-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
  .app-menu {
    margin-left: calc(-1 * var(--vz-sidebar-width));
    transition: margin-left 0.25s ease;
  }
  .app-menu.show { margin-left: 0; }
  .main-content { margin-left: 0 !important; }
  .topbar-search { display: none; }
  .topbar-user-info { display: none; }
  .wizard-card { max-width: 100%; }
}

@media (max-width: 768px) {
  .mandate-card-header { flex-direction: column; }
  .mandate-right {
    align-items: flex-start;
    min-width: auto;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
    width: 100%;
    padding-top: 12px;
    border-top: 1px solid var(--vz-border-color);
    margin-top: 10px;
  }
  .stat-card-grid { grid-template-columns: 1fr 1fr; }
  .page-content { padding: 16px; }
  .row-2col { grid-template-columns: 1fr; }
  .filter-grid { grid-template-columns: 1fr; }
  .topbar { padding: 0 12px; height: 60px; }
  .card-header { flex-direction: column; align-items: flex-start; gap: 10px; }
  .card-header > div { width: 100%; justify-content: flex-start; }
  .footer { flex-direction: column; gap: 4px; text-align: center; }
  .help-grid { grid-template-columns: 1fr; }
  .page-title-box { flex-direction: column; align-items: flex-start; gap: 6px; }
  .auth-card { padding: 24px 20px; }
  .nav-tabs { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .nav-tabs .nav-link-tab { padding: 8px 14px; font-size: 12px; white-space: nowrap; }
  .table { font-size: 12px; }
  .table th, .table td { padding: 8px 8px; }
  .mandate-avatar { width: 34px; height: 34px; font-size: 12px; }
  .mandate-name { font-size: 13px; }
  .mandate-amount { font-size: 14px; }
  .mandate-meta { font-size: 11px; gap: 4px 10px; }
}

@media (max-width: 576px) {
  .stat-card-grid { grid-template-columns: 1fr; }
  .topbar-right .btn { font-size: 11px; padding: 4px 8px; }
  .topbar-right .btn span { display: none; }
  .topbar-btn { width: 34px; height: 34px; font-size: 18px; }
  .btn-sm { padding: 4px 8px; font-size: 11px; }
  .mandate-card { padding: 12px 14px; }
  .mandate-left { gap: 10px; }
  .mandate-id { display: none; }
  .breadcrumb { display: none; }
  .card-body { padding: 12px; }
}

/* ================= SIDEBAR OVERLAY & TOGGLE FIX ================= */
.sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1045;
  transition: opacity 0.2s ease;
  opacity: 0;
}
.sidebar-overlay.show {
  display: block;
  opacity: 1;
}

body.sidebar-open { overflow: hidden; }

/* Desktop: sidebar collapse */
@media (min-width: 993px) {
  .app-menu.collapsed {
    width: var(--vz-sidebar-collapsed-width);
  }
  .app-menu.collapsed .logo-text,
  .app-menu.collapsed .nav-link span,
  .app-menu.collapsed .nav-link .badge,
  .app-menu.collapsed .menu-title {
    display: none;
  }
  .app-menu.collapsed .nav-link {
    justify-content: center;
    padding: 10px;
    margin: 2px 8px;
  }
  .app-menu.collapsed .nav-link i {
    font-size: 20px;
    margin: 0;
  }
  .app-menu.collapsed .navbar-brand-box {
    padding: 16px 10px;
  }
  .app-menu.collapsed ~ .main-content {
    margin-left: var(--vz-sidebar-collapsed-width);
  }
  .sidebar-overlay { display: none !important; }
}

/* Mobile: sidebar off-canvas - handled in responsive section above */

/* ================= DROPDOWN ARROW ANIMATION ================= */
.dropdown-wrapper .btn .ri-arrow-down-s-line {
  transition: transform 0.2s ease;
}
.dropdown-wrapper:has(.dropdown-menu.show) .ri-arrow-down-s-line {
  transform: rotate(180deg);
}

/* ================= TOUCH & MOBILE ENHANCEMENTS ================= */
@media (hover: none) and (pointer: coarse) {
  .btn, .nav-link, .dropdown-item, .topbar-btn, .topbar-user {
    min-height: 44px;
    min-width: 44px;
  }
  .btn-sm { min-height: 36px; }
  .nav-link { padding: 12px 20px; }
  .mandate-card { padding: 16px; }
}

/* Smooth scrolling */
html { scroll-behavior: smooth; }

/* Prevent horizontal overflow */
.page-content { overflow-x: hidden; }

/* ================= TOP ANNOUNCEMENT BANNER ================= */
.top-banner {
  background: linear-gradient(135deg, #405189 0%, #3577f1 50%, #299cdb 100%);
  color: #fff;
  text-align: center;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 500;
  position: relative;
}
.top-banner b { font-weight: 600; }
.top-banner .banner-cta {
  display: inline-block;
  margin: 6px 0 0;
  padding: 6px 18px;
  background: rgba(255,255,255,0.15);
  color: #fff;
  border-radius: 4px;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,0.25);
  transition: all 0.15s ease;
}
.top-banner .banner-cta:hover {
  background: rgba(255,255,255,0.25);
}
.top-banner .banner-close {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  font-size: 18px;
  padding: 4px;
  line-height: 1;
}
.top-banner .banner-close:hover { color: #fff; }

/* Adjust layout wrapper to account for banner */
.layout-wrapper.has-banner { min-height: calc(100vh - 60px); }
.topbar.below-banner { top: 0; }

/* ================= PAGE HEADER BAR (Mandates + Pagination) ================= */
.page-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}
.page-header-title {
  display: flex;
  align-items: center;
  gap: 8px;
}
.page-header-title h2 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  color: #495057;
}
.page-header-title .ri-arrow-down-s-line {
  font-size: 16px;
  color: #878a99;
  cursor: pointer;
}
.page-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.pagination-mini {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #878a99;
}
.pagination-mini button {
  width: 30px;
  height: 30px;
  border-radius: 4px;
  border: 1px solid var(--vz-border-color);
  background: #fff;
  color: #495057;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.12s ease;
}
.pagination-mini button:hover {
  border-color: var(--vz-primary);
  color: var(--vz-primary);
}
.pagination-mini button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.pagination-mini .pg-current {
  font-weight: 600;
  color: #495057;
}
.icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 4px;
  border: 1px solid var(--vz-border-color);
  background: #fff;
  color: #495057;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  transition: all 0.12s ease;
}
.icon-btn:hover {
  border-color: var(--vz-primary);
  color: var(--vz-primary);
  background: rgba(64,81,137,0.05);
}

/* ================= SEARCH WITH CATEGORY & FILTER TOGGLE ================= */
.search-filter-bar {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--vz-border-color);
  border-radius: 4px;
  background: #fff;
  overflow: hidden;
  margin-bottom: 16px;
  transition: all 0.15s ease;
}
.search-filter-bar:focus-within {
  border-color: var(--vz-primary);
  box-shadow: 0 0 0 2px rgba(64,81,137,0.1);
}
.search-filter-bar .sf-category {
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-right: 1px solid var(--vz-border-color);
  font-size: 13px;
  color: #495057;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.12s ease;
  min-width: 160px;
}
.search-filter-bar .sf-category:hover {
  background: var(--vz-topbar-search-bg);
}
.search-filter-bar .sf-category .ri-arrow-down-s-line {
  color: #878a99;
  font-size: 16px;
}
.search-filter-bar .sf-search {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 0 8px 0 12px;
}
.search-filter-bar .sf-search .ri-search-line {
  color: #878a99;
  font-size: 15px;
  margin-right: 6px;
}
.search-filter-bar .sf-search input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 13px;
  padding: 9px 0;
  color: #495057;
  font-family: var(--vz-font-sans);
}
.search-filter-bar .sf-search input::placeholder {
  color: #adb5bd;
}
.search-filter-bar .sf-filter-toggle {
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-left: 1px solid var(--vz-border-color);
  font-size: 13px;
  color: var(--vz-primary);
  cursor: pointer;
  font-weight: 600;
  transition: background 0.12s ease;
}
.search-filter-bar .sf-filter-toggle:hover {
  background: var(--vz-topbar-search-bg);
}

/* ================= ACTION DROPDOWN BUTTON (eMandate request + split) ================= */
.split-action-btn {
  display: flex;
  align-items: stretch;
  border-radius: 4px;
  overflow: hidden;
}
.split-action-btn .btn-main {
  background: var(--vz-primary);
  color: #fff;
  border: none;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--vz-font-sans);
  transition: background 0.12s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}
.split-action-btn .btn-main:hover { background: #364574; }
.split-action-btn .btn-split {
  width: 36px;
  background: var(--vz-primary);
  color: #fff;
  border: none;
  border-left: 1px solid rgba(255,255,255,0.15);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: background 0.12s ease;
}
.split-action-btn .btn-split:hover { background: #364574; }
.split-action-btn .btn-split i { transition: transform 0.2s ease; }
.split-action-btn.open .btn-split i { transform: rotate(180deg); }

/* ================= REFINED MANDATE CARDS ================= */
.mandate-card-v2 {
  background: #fff;
  border: 1px solid var(--vz-card-border-color);
  border-radius: 4px;
  padding: 20px 24px;
  transition: all 0.15s ease;
  position: relative;
  margin-bottom: 12px;
}
.mandate-card-v2:hover {
  box-shadow: 0 3px 10px rgba(56,65,74,0.08);
  border-color: rgba(64,81,137,0.12);
}
.mandate-card-v2 .mc-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 10px;
}
.mandate-card-v2 .mc-name-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.mandate-card-v2 .mc-name {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.mandate-card-v2 .mc-name h4 {
  font-size: 15px;
  font-weight: 600;
  color: #495057;
  margin: 0;
}
.mandate-card-v2 .mc-id {
  font-size: 12px;
  color: #878a99;
  font-family: monospace;
  background: var(--vz-light);
  padding: 2px 6px;
  border-radius: 3px;
}
.mandate-card-v2 .mc-status {
  font-size: 13px;
  font-weight: 600;
}
.mandate-card-v2 .mc-dots {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 30px;
  height: 30px;
  border-radius: 4px;
  border: none;
  background: transparent;
  color: #878a99;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all 0.12s ease;
}
.mandate-card-v2 .mc-dots:hover {
  background: var(--vz-topbar-search-bg);
  color: #495057;
}
.mandate-card-v2 .mc-contact {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 13px;
  color: #878a99;
  margin-bottom: 14px;
}
.mandate-card-v2 .mc-contact span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.mandate-card-v2 .mc-contact i { font-size: 14px; }
.mandate-card-v2 .mc-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 14px;
  border-top: 1px solid var(--vz-border-color);
  padding-top: 14px;
}
.mandate-card-v2 .mc-bottom-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mandate-card-v2 .mc-mtype {
  font-size: 13px;
  font-weight: 500;
  color: #495057;
}
.mandate-card-v2 .mc-date {
  font-size: 12px;
  color: #adb5bd;
}
.mandate-card-v2 .mc-bank {
  font-size: 13px;
  color: #495057;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}
.mandate-card-v2 .mc-amount-row {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}
.mandate-card-v2 .mc-amount {
  font-size: 16px;
  font-weight: 600;
  color: #495057;
  text-align: right;
}
.mandate-card-v2 .mc-tag-row {
  display: flex;
  gap: 6px;
  margin: 8px 0 0;
  flex-wrap: wrap;
}

/* ================= USER PROFILE CARD STYLE ================= */
.user-profile-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.user-profile-card {
  background: #fff;
  border: 1px solid var(--vz-card-border-color);
  border-radius: 4px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all 0.15s ease;
}
.user-profile-card:hover {
  box-shadow: 0 3px 10px rgba(56,65,74,0.08);
  border-color: rgba(64,81,137,0.12);
}
.user-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}
.user-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--vz-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 22px;
  overflow: hidden;
  object-fit: cover;
}
.user-avatar img { width: 100%; height: 100%; object-fit: cover; }
.status-dot {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--vz-success);
  border: 3px solid #fff;
}
.status-dot.pending { background: var(--vz-warning); }
.status-dot.offline { background: #adb5bd; }
.user-info-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.user-info-col h5 {
  font-size: 16px;
  font-weight: 600;
  color: #495057;
  margin: 0;
}
.user-info-col .user-email {
  font-size: 13px;
  color: var(--vz-secondary);
}
.user-info-col .user-role {
  font-size: 13px;
  color: #878a99;
  margin-top: 2px;
}
.user-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* ================= REFINED DOWNLOAD REPORT BUTTON ================= */
.btn-outline-soft {
  background: #fff;
  color: var(--vz-primary);
  border: 1px solid var(--vz-border-color);
  padding: 8px 14px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--vz-font-sans);
  transition: all 0.12s ease;
}
.btn-outline-soft:hover {
  border-color: var(--vz-primary);
  background: rgba(64,81,137,0.05);
}

/* ================= INPUT GROUP WITH PASSWORD TOGGLE, SEARCH, ETC. ================= */
.input-group {
  display: flex;
  align-items: stretch;
  width: 100%;
}
.input-group .form-control {
  border-radius: 0;
}
.input-group .form-control:first-child {
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}
.input-group-text {
  display: flex;
  align-items: center;
  padding: 0 12px;
  background: var(--vz-light);
  border: 1px solid var(--vz-border-color);
  color: #878a99;
  font-size: 14px;
  white-space: nowrap;
}
.input-group-text:first-child {
  border-right: none;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}
.input-group-text:last-child {
  border-left: none;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  background: #fff;
  cursor: pointer;
  padding: 0 14px;
}
.input-group-text:last-child:hover { color: var(--vz-primary); }
.input-group .form-control + .form-control,
.input-group .form-control + .input-group-text { margin-left: -1px; }

/* ================= IMPROVED LOGIN PAGE ================= */
.auth-page-velzon {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 60px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 30%, #f093fb 60%, #4facfe 100%);
  position: relative;
  overflow: hidden;
}
.auth-page-velzon::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: 
    radial-gradient(circle at 20% 30%, rgba(53,119,241,0.08) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(10,179,156,0.06) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(64,81,137,0.08) 0%, transparent 60%);
  animation: bgFloat 20s ease-in-out infinite;
}
@keyframes bgFloat {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(2%, -2%) rotate(1deg); }
  66% { transform: translate(-1%, 1%) rotate(-0.5deg); }
}
.auth-page-velzon::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(135deg, rgba(64,81,137,0.06) 0%, transparent 50%),
    linear-gradient(225deg, rgba(53,119,241,0.05) 0%, transparent 50%);
  pointer-events: none;
}
.auth-top-brand {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px 24px;
}
.auth-top-brand .brand-name {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.5px;
  margin-bottom: 4px;
}
.auth-top-brand .brand-tagline {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
}
.auth-page-velzon .auth-card-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 440px;
  padding: 0 20px 40px;
}
.auth-card-v2 {
  width: 100%;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(64,81,137,0.1), 0 0 0 1px rgba(64,81,137,0.06);
  padding: 36px 32px;
}
.auth-card-v2 .auth-card-header { text-align: center; margin-bottom: 24px; }
.auth-card-v2 .auth-card-header h3 { font-size: 20px; font-weight: 600; margin: 0 0 4px; color: #495057; }
.auth-card-v2 .auth-card-header p { font-size: 13px; color: #878a99; margin: 0; }


/* Floating bubbles */
.auth-page-velzon .particles {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}
.auth-page-velzon .particle {
  position: absolute;
  bottom: -80px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  animation: bubbleUp 12s infinite ease-in;
}
.auth-page-velzon .particle:nth-child(1) { width:40px;height:40px;left:10%;animation-duration:10s; }
.auth-page-velzon .particle:nth-child(2) { width:20px;height:20px;left:25%;animation-duration:14s;animation-delay:2s; }
.auth-page-velzon .particle:nth-child(3) { width:60px;height:60px;left:40%;animation-duration:16s;animation-delay:4s; }
.auth-page-velzon .particle:nth-child(4) { width:30px;height:30px;left:55%;animation-duration:11s;animation-delay:1s; }
.auth-page-velzon .particle:nth-child(5) { width:50px;height:50px;left:70%;animation-duration:13s;animation-delay:3s; }
.auth-page-velzon .particle:nth-child(6) { width:25px;height:25px;left:85%;animation-duration:15s;animation-delay:5s; }
.auth-page-velzon .particle:nth-child(7) { width:35px;height:35px;left:5%;animation-duration:12s;animation-delay:6s; }
.auth-page-velzon .particle:nth-child(8) { width:45px;height:45px;left:60%;animation-duration:9s;animation-delay:2.5s; }
@keyframes bubbleUp {
  0% { transform: translateY(0) scale(1); opacity: 0.5; }
  50% { opacity: 0.2; }
  100% { transform: translateY(-110vh) scale(0.3); opacity: 0; }
}
  text-align: center;
  border-bottom: 1px solid var(--vz-border-color);
}
.auth-card-header h3 {
  font-size: 17px;
  font-weight: 600;
  color: #495057;
  margin: 0 0 4px;
}
.auth-card-header p {
  font-size: 13px;
  color: #878a99;
  margin: 0;
}
.auth-card-body { padding: 24px 28px; }
.auth-card-footer {
  padding: 14px 28px;
  border-top: 1px solid var(--vz-border-color);
  text-align: center;
  font-size: 12px;
  color: #878a99;
}
.auth-card-footer a { color: var(--vz-primary); font-weight: 500; }

.auth-form-v2 .label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.auth-form-v2 .label-row label {
  font-size: 13px;
  font-weight: 500;
  color: #495057;
  margin: 0;
}
.auth-form-v2 .label-row a {
  font-size: 12px;
  color: var(--vz-primary);
  font-weight: 500;
}
.auth-form-v2 .form-group { margin-bottom: 16px; }
.auth-form-v2 .checkbox-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0 18px;
  font-size: 13px;
  color: #495057;
  cursor: pointer;
}
.auth-form-v2 .checkbox-row input {
  width: 15px;
  height: 15px;
  accent-color: var(--vz-primary);
  margin: 0;
}
.auth-social-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 22px 0 14px;
  color: #878a99;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.auth-social-divider::before,
.auth-social-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  border-top: 1px dashed var(--vz-border-color);
  background: transparent;
}
.auth-social-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
}
.auth-social-btn {
  width: 42px;
  height: 42px;
  border-radius: 6px;
  border: 1px solid var(--vz-border-color);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.12s ease;
  color: #fff;
  font-size: 18px;
}
.auth-social-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}
.auth-social-btn.fb { background: #3b5998; border-color: #3b5998; }
.auth-social-btn.google { background: #ea4335; border-color: #ea4335; }
.auth-social-btn.github { background: #24292f; border-color: #24292f; }
.auth-social-btn.twitter { background: #1d9bf0; border-color: #1d9bf0; }

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .page-header-bar { flex-direction: column; align-items: stretch; }
  .search-filter-bar { flex-direction: column; }
  .search-filter-bar .sf-category,
  .search-filter-bar .sf-filter-toggle {
    border: none;
    border-bottom: 1px solid var(--vz-border-color);
    padding: 10px 14px;
  }
  .search-filter-bar .sf-filter-toggle {
    border-bottom: none;
    border-top: 1px solid var(--vz-border-color);
    border-left: none;
  }
  .mandate-card-v2 .mc-bottom { flex-direction: column; align-items: flex-start; }
  .mandate-card-v2 .mc-amount-row { width: 100%; justify-content: space-between; }
  .user-profile-card { flex-direction: column; align-items: flex-start; }
  .user-actions { width: 100%; justify-content: flex-end; }
  .mc-top { padding-right: 30px; }
}
@media (max-width: 576px) {
  .top-banner { font-size: 12px; padding: 8px 30px 8px 14px; }
  .top-banner .banner-cta { padding: 5px 14px; font-size: 12px; }
  .pagination-mini { gap: 6px; font-size: 13px; }
  .split-action-btn .btn-main { padding: 7px 12px; font-size: 12px; }
}

/* ================= ADDITIONAL MISSING CLASSES ================= */
.phb-left { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.phb-left h3 { font-size:17px; font-weight:600; margin:0; color:#495057; }
.phb-count { font-size:12px; color:#878a99; background:var(--vz-light); padding:3px 8px; border-radius:3px; font-weight:500; }
.phb-right { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }

.mc-avatar {
  width:44px; height:44px; border-radius:50%;
  color:#fff; font-weight:600; font-size:15px;
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
}

.mandate-card-v2 .mc-dots {
  position:static;
  width:30px; height:30px;
  border-radius:4px;
  border:1px solid var(--vz-border-color);
  background:#fff;
  color:#878a99;
  cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  font-size:16px;
  transition:all 0.12s ease;
}
.mandate-card-v2 .mc-dots:hover {
  border-color:var(--vz-primary);
  color:var(--vz-primary);
  background:rgba(64,81,137,0.05);
}

.auth-v2-header {
  padding:24px 28px 16px;
  text-align:left;
  border-bottom:1px solid var(--vz-border-color);
}
.auth-v2-header h4 {
  font-size:17px; font-weight:600; color:#495057; margin:0 0 4px;
}
.auth-v2-header p {
  font-size:13px; color:#878a99; margin:0;
}
.auth-v2-body { padding:24px 28px; }
.auth-v2-footer {
  padding:16px 28px 24px;
  border-top:1px solid var(--vz-border-color);
  text-align:center;
  font-size:13px;
  color:#878a99;
}
.auth-v2-footer p { margin:0; }
.auth-v2-footer a { color:var(--vz-primary); font-weight:500; }

.dropdown-menu.dropdown-menu-end { right:0; left:auto; }

.auth-divider {
  display:flex; align-items:center;
  text-align:center;
  color:#878a99; font-size:12px;
  margin:18px 0;
}
.auth-divider::before,
.auth-divider::after {
  content:""; flex:1; height:1px; background:var(--vz-border-color);
}
.auth-divider span { padding:0 10px; background:#fff; position:relative; z-index:1; }

.auth-card-wrapper {
  flex:1;
  display:flex;
  align-items:flex-start;
  justify-content:center;
  padding:10px 20px 40px;
  position:relative;
  z-index:1;
}

/* ================= BUTTON SPINNER ON SUBMIT ================= */
.btn-loading { pointer-events: none; opacity: 0.7; position: relative; }
.btn-loading .btn-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  margin-right: 6px;
  vertical-align: middle;
}
