/* =========================================================
   VISA DOCUMENT SUPPORT BD — CUSTOMER DASHBOARD STYLES
   File: dashboard.css
   Style: Pure Vanilla CSS (No Frameworks)
   Design: White, Navy (#081D3A) & Cyan (#0CC0DF) Premium Theme
========================================================= */

:root {
  /* Core Colors */
  --vds-navy: #081D3A;
  --vds-navy-dark: #0A1930;
  --vds-navy-light: #0F2648;
  --vds-cyan: #0CC0DF;
  --vds-cyan-50: #EAFBFD;
  --vds-cyan-100: #CFF6FB;
  --vds-cyan-300: #7FE3F0;
  --vds-cyan-400: #39D8F5;
  --vds-cyan-600: #0AA0BB;
  --vds-cyan-700: #087A94;
  --vds-gold: #E8B854;
  --vds-body: #5D728C;
  --vds-border: #E6F2F7;
  --vds-bg: #F8FDFF;
  --vds-white: #FFFFFF;

  /* Status Colors */
  --status-success: #10B981;
  --status-success-bg: rgba(16, 185, 129, 0.12);
  --status-warning: #F59E0B;
  --status-warning-bg: rgba(245, 158, 11, 0.12);
  --status-info: #3B82F6;
  --status-info-bg: rgba(59, 130, 246, 0.12);
  --status-cyan: #0CC0DF;
  --status-cyan-bg: rgba(12, 192, 223, 0.14);
  --status-danger: #EF4444;
  --status-danger-bg: rgba(239, 68, 68, 0.12);
  --status-purple: #8B5CF6;
  --status-purple-bg: rgba(139, 92, 246, 0.12);

  /* Shadows */
  --shadow-sm: 0 8px 24px -12px rgba(8, 29, 58, 0.1);
  --shadow-md: 0 16px 36px -14px rgba(8, 29, 58, 0.15);
  --shadow-lg: 0 25px 50px -18px rgba(8, 29, 58, 0.2);
  --shadow-glow: 0 14px 35px -10px rgba(12, 192, 223, 0.45);
}

/* Reset & Global Elements */
.vds-dashboard-page,
.vds-dashboard-page * {
  box-sizing: border-box;
}

.vds-dashboard-page * {
  margin: 0;
  padding: 0;
}

.vds-dashboard-page {
  min-height: 100vh;
  padding-top: 0;
  font-family: 'Hind Siliguri', sans-serif;
  background-color: var(--vds-bg);
  color: var(--vds-navy);
  line-height: 1.5;
  overflow-x: hidden;
}

@media (max-width: 1023px) {
  .vds-dashboard-page { padding-top: 0; }
}

/* Utility Containers */
.vds-dashboard {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem 1.5rem;
}

.vds-bg-dots {
  background-image: radial-gradient(rgba(12, 192, 223, 0.22) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* Glassmorphism Cards */
.vds-glass-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--vds-border);
  border-radius: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s cubic-bezier(0.16, 0.8, 0.28, 1);
}

/* Global Section Header */
.vds-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.vds-section-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--vds-navy);
}

.vds-section-title i {
  color: var(--vds-cyan-700);
}

.vds-section-subtitle {
  font-size: 0.82rem;
  color: var(--vds-body);
  font-weight: 500;
}

/* =========================================================
   1. SECTION 1: WELCOME HERO (.vds-dashboard-hero)
========================================================= */
.vds-dashboard-hero {
  position: relative;
  background: linear-gradient(135deg, #081D3A 0%, #0F2648 60%, #0A1930 100%);
  border-radius: 1.5rem;
  padding: 2rem 2.25rem;
  color: var(--vds-white);
  overflow: hidden;
  box-shadow: 0 20px 45px -15px rgba(8, 29, 58, 0.35);
  border: 1px solid rgba(12, 192, 223, 0.25);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}

.vds-dashboard-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(12, 192, 223, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.vds-hero-user-info {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.vds-user-avatar-wrap {
  position: relative;
  width: 5rem;
  height: 5rem;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 3px solid rgba(12, 192, 223, 0.6);
  box-shadow: 0 10px 25px -8px rgba(12, 192, 223, 0.5);
  flex-shrink: 0;
}

.vds-user-avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vds-user-avatar-edit {
  position: absolute;
  inset: 0;
  background: rgba(8, 29, 58, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--vds-cyan-300);
  opacity: 0;
  transition: opacity 0.3s ease;
  cursor: pointer;
}

.vds-user-avatar-wrap:hover .vds-user-avatar-edit {
  opacity: 1;
}

.vds-hero-text h1 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--vds-white);
  line-height: 1.2;
}

.vds-hero-text p {
  color: var(--vds-cyan-100);
  font-size: 0.88rem;
  margin-top: 0.25rem;
}

.vds-hero-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.75);
}

.vds-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
}

.badge-verified {
  background: rgba(16, 185, 129, 0.18);
  color: #34D399;
  border: 1px solid rgba(52, 211, 153, 0.35);
}

.vds-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: currentColor;
  box-shadow: 0 0 0 0 currentColor;
  animation: vdsPulse 2s infinite;
}

@keyframes vdsPulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6); }
  70% { box-shadow: 0 0 0 7px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.vds-hero-buttons {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

/* Primary & Secondary Buttons */
.vds-primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.7rem 1.4rem;
  border-radius: 0.85rem;
  background: var(--vds-cyan);
  color: var(--vds-navy);
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 25px -8px rgba(12, 192, 223, 0.75);
  transition: all 0.3s cubic-bezier(0.16, 0.8, 0.28, 1);
  text-decoration: none;
  white-space: nowrap;
}

.vds-primary-btn:hover {
  background: var(--vds-cyan-400);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -8px rgba(12, 192, 223, 0.9);
}

.vds-secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.7rem 1.4rem;
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.08);
  color: var(--vds-white);
  font-weight: 700;
  font-size: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  white-space: nowrap;
}

.vds-secondary-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.4);
}

/* =========================================================
   LAYOUT GRID: SIDEBAR + MAIN CONTENT PANELS
========================================================= */
.vds-dashboard-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 1.75rem;
  align-items: start;
}

/* Sidebar Styles (.vds-dashboard-sidebar) */
.vds-dashboard-sidebar {
  background: var(--vds-white);
  border-radius: 1.35rem;
  border: 1px solid var(--vds-border);
  box-shadow: var(--shadow-sm);
  padding: 1.25rem 0.75rem;
  position: sticky;
  top: 1.5rem;
}

.vds-sidebar-header {
  padding: 0.5rem 0.75rem 0.85rem 0.75rem;
  border-bottom: 1px solid var(--vds-border);
  margin-bottom: 0.75rem;
}

.vds-sidebar-title {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--vds-body);
}

.vds-sidebar-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.vds-sidebar-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-radius: 0.85rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--vds-navy);
  text-decoration: none;
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  width: 100%;
  transition: all 0.25s ease;
}

.vds-sidebar-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.vds-sidebar-icon {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.5rem;
  background: rgba(8, 29, 58, 0.05);
  color: var(--vds-navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: all 0.25s ease;
}

.vds-sidebar-link:hover {
  background: rgba(12, 192, 223, 0.08);
  color: var(--vds-cyan-700);
}

.vds-sidebar-link:hover .vds-sidebar-icon {
  background: var(--vds-cyan);
  color: var(--vds-navy);
}

.vds-sidebar-link.active {
  background: var(--vds-navy);
  color: var(--vds-white);
  border-color: var(--vds-navy);
  box-shadow: 0 10px 22px -8px rgba(8, 29, 58, 0.4);
}

.vds-sidebar-link.active .vds-sidebar-icon {
  background: var(--vds-cyan);
  color: var(--vds-navy);
}

.vds-sidebar-badge {
  padding: 0.2rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1;
}

.badge-cyan {
  background: rgba(12, 192, 223, 0.15);
  color: var(--vds-cyan-700);
}

.vds-sidebar-link.active .badge-cyan {
  background: rgba(12, 192, 223, 0.25);
  color: var(--vds-cyan-300);
}

.badge-amber {
  background: rgba(245, 158, 11, 0.15);
  color: #D97706;
}

.vds-sidebar-link.active .badge-amber {
  background: rgba(245, 158, 11, 0.3);
  color: #FBBF24;
}

.vds-sidebar-link.logout-link:hover {
  background: rgba(239, 68, 68, 0.08);
  color: var(--status-danger);
}

.vds-sidebar-link.logout-link:hover .vds-sidebar-icon {
  background: var(--status-danger);
  color: var(--vds-white);
}

/* Tab Panel Switching Animation */
.vds-tab-content-panel {
  display: none;
  animation: vdsFadeIn 0.35s cubic-bezier(0.16, 0.8, 0.28, 1) forwards;
}

.vds-tab-content-panel.active {
  display: block;
}

@keyframes vdsFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   2. SECTION 2: ACTION REQUIRED (.vds-action-required)
========================================================= */
.vds-action-required {
  border-radius: 1.25rem;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.vds-action-required.alert-due {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(245, 158, 11, 0.04) 100%);
  border-color: rgba(245, 158, 11, 0.3);
  box-shadow: 0 10px 25px -10px rgba(245, 158, 11, 0.2);
}

.vds-action-required.alert-clear {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(16, 185, 129, 0.03) 100%);
  border-color: rgba(16, 185, 129, 0.25);
}

.vds-alert-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.vds-alert-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.alert-due .vds-alert-icon {
  background: rgba(245, 158, 11, 0.2);
  color: #D97706;
}

.alert-clear .vds-alert-icon {
  background: rgba(16, 185, 129, 0.2);
  color: #10B981;
}

.vds-alert-text h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--vds-navy);
}

.vds-alert-text p {
  font-size: 0.85rem;
  color: var(--vds-body);
}

.vds-alert-btn {
  padding: 0.6rem 1.25rem;
  border-radius: 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.btn-due {
  background: #F59E0B;
  color: #FFFFFF;
  box-shadow: 0 8px 20px -6px rgba(245, 158, 11, 0.6);
}

.btn-due:hover {
  background: #D97706;
  transform: translateY(-2px);
}

/* =========================================================
   3. SECTION 3: QUICK OVERVIEW (.vds-dashboard-overview)
========================================================= */
.vds-dashboard-overview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.vds-overview-card {
  position: relative;
  padding: 1.35rem 1.25rem;
  border-radius: 1.25rem;
  background: var(--vds-white);
  border: 1px solid var(--vds-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 0.8, 0.28, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.vds-overview-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--vds-cyan);
  transition: width 0.35s ease;
}

.vds-overview-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(12, 192, 223, 0.4);
}

.vds-overview-card:hover::before {
  width: 6px;
}

.vds-overview-num {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--vds-navy);
  line-height: 1.1;
}

.vds-overview-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--vds-navy);
  margin-top: 0.25rem;
}

.vds-overview-desc {
  font-size: 0.72rem;
  color: var(--vds-body);
  margin-top: 0.15rem;
}

.vds-overview-icon {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.icon-cyan { background: rgba(12, 192, 223, 0.12); color: var(--vds-cyan); }
.icon-blue { background: rgba(59, 130, 246, 0.12); color: #3B82F6; }
.icon-amber { background: rgba(245, 158, 11, 0.12); color: #F59E0B; }
.icon-emerald { background: rgba(16, 185, 129, 0.12); color: #10B981; }

/* =========================================================
   4. SECTION 4: QUICK ACTIONS (.vds-dashboard-actions)
========================================================= */
.vds-dashboard-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.vds-action-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.35rem 1rem;
  border-radius: 1.25rem;
  background: var(--vds-white);
  border: 1px solid var(--vds-border);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 0.8, 0.28, 1);
  text-decoration: none;
  color: var(--vds-navy);
}

.vds-action-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 36px -12px rgba(12, 192, 223, 0.35);
  border-color: rgba(12, 192, 223, 0.5);
  background: linear-gradient(180deg, #FFFFFF 0%, #EAFBFD 100%);
}

.vds-action-icon {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 0.9rem;
  background: rgba(12, 192, 223, 0.12);
  color: var(--vds-cyan-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 0.65rem;
  transition: all 0.35s ease;
}

.vds-action-card:hover .vds-action-icon {
  background: var(--vds-cyan);
  color: var(--vds-navy);
  transform: rotate(-8deg) scale(1.1);
  box-shadow: 0 8px 18px -6px rgba(12, 192, 223, 0.8);
}

.vds-action-title {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--vds-navy);
}

.vds-action-desc {
  font-size: 0.75rem;
  color: var(--vds-body);
  margin-top: 0.2rem;
}

/* =========================================================
   5. SECTION 5: RECENT APPLICATIONS (.vds-dashboard-applications)
========================================================= */
.vds-dashboard-applications {
  background: var(--vds-white);
  border-radius: 1.35rem;
  border: 1px solid var(--vds-border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin-bottom: 1.75rem;
}

.vds-card-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--vds-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.vds-btn-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--vds-cyan-700);
  background: rgba(12, 192, 223, 0.1);
  padding: 0.4rem 0.85rem;
  border-radius: 0.6rem;
  text-decoration: none;
  transition: all 0.25s ease;
}

.vds-btn-link:hover {
  background: var(--vds-cyan);
  color: var(--vds-navy);
}

/* Table Styles */
.vds-table-responsive {
  width: 100%;
  overflow-x: auto;
}

.vds-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.vds-table th {
  background: rgba(8, 29, 58, 0.025);
  color: var(--vds-navy);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--vds-border);
  white-space: nowrap;
}

.vds-table td {
  padding: 1.05rem 1.25rem;
  font-size: 0.88rem;
  color: var(--vds-navy);
  border-bottom: 1px solid var(--vds-border);
  vertical-align: middle;
}

.vds-table tbody tr:hover {
  background-color: rgba(12, 192, 223, 0.03);
}

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

.vds-service-cell {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.vds-service-ico {
  width: 2rem;
  height: 2rem;
  border-radius: 0.6rem;
  background: rgba(12, 192, 223, 0.12);
  color: var(--vds-cyan-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.vds-app-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.7rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.badge-submitted { background: var(--status-info-bg); color: var(--status-info); }
.badge-under-review { background: var(--status-warning-bg); color: var(--status-warning); }
.badge-processing { background: var(--status-cyan-bg); color: var(--status-cyan-700); }
.badge-completed { background: var(--status-success-bg); color: var(--status-success); }
.badge-rejected { background: var(--status-danger-bg); color: var(--status-danger); }

.vds-btn-action {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem;
  border-radius: 0.55rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--vds-cyan-700);
  background: rgba(12, 192, 223, 0.1);
  border: 1px solid rgba(12, 192, 223, 0.25);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s ease;
}

.vds-btn-action:hover {
  background: var(--vds-cyan);
  color: var(--vds-navy);
}

/* =========================================================
   6. SECTION 6: RECENT NOTIFICATIONS (.vds-dashboard-notifications)
========================================================= */
.vds-dashboard-notifications {
  background: var(--vds-white);
  border-radius: 1.35rem;
  border: 1px solid var(--vds-border);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
  margin-bottom: 1.75rem;
}

.vds-notif-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.vds-notif-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border-radius: 1rem;
  background: var(--vds-bg);
  border: 1px solid var(--vds-border);
  transition: all 0.25s ease;
}

.vds-notif-item.unread {
  background: rgba(12, 192, 223, 0.05);
  border-color: rgba(12, 192, 223, 0.3);
}

.vds-notif-icon {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.vds-notif-content {
  flex: 1;
}

.vds-notif-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--vds-navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.vds-notif-time {
  font-size: 0.72rem;
  color: var(--vds-body);
  font-weight: 500;
}

.vds-notif-desc {
  font-size: 0.8rem;
  color: var(--vds-body);
  margin-top: 0.2rem;
}

/* =========================================================
   7. SECTION 7: HELP & SUPPORT (.vds-dashboard-support)
========================================================= */
.vds-dashboard-support {
  background: linear-gradient(135deg, #081D3A 0%, #0F2648 100%);
  border-radius: 1.5rem;
  padding: 2rem;
  color: var(--vds-white);
  box-shadow: 0 20px 45px -15px rgba(8, 29, 58, 0.35);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.vds-support-header h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--vds-white);
}

.vds-support-header p {
  font-size: 0.88rem;
  color: var(--vds-cyan-100);
  margin-top: 0.2rem;
}

.vds-support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.vds-support-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1.1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--vds-white);
  text-decoration: none;
  transition: all 0.3s ease;
}

.vds-support-card:hover {
  background: var(--vds-cyan);
  color: var(--vds-navy);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px -8px rgba(12, 192, 223, 0.8);
}

.vds-support-ico {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.7rem;
  background: rgba(12, 192, 223, 0.2);
  color: var(--vds-cyan-300);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.vds-support-card:hover .vds-support-ico {
  background: var(--vds-navy);
  color: var(--vds-cyan);
}

.vds-support-info span {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  opacity: 0.8;
}

.vds-support-info strong {
  font-size: 0.88rem;
  font-weight: 800;
}

/* =========================================================
   ADDITIONAL MODULE PANELS (Payments, Documents, Profile)
========================================================= */
.vds-dashboard-payments,
.vds-dashboard-documents,
.vds-dashboard-profile {
  background: var(--vds-white);
  border-radius: 1.35rem;
  border: 1px solid var(--vds-border);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
  margin-bottom: 1.75rem;
}

/* Documents Grid */
.vds-doc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1rem;
}

.vds-doc-card {
  padding: 1.25rem;
  border-radius: 1.15rem;
  background: var(--vds-bg);
  border: 1px solid var(--vds-border);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.vds-doc-card:hover {
  transform: translateY(-3px);
  border-color: rgba(12, 192, 223, 0.4);
  background: var(--vds-white);
}

.vds-doc-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.vds-doc-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  background: rgba(12, 192, 223, 0.14);
  color: var(--vds-cyan-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.vds-doc-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--vds-navy);
}

.vds-doc-sub {
  font-size: 0.75rem;
  color: var(--vds-body);
}

.vds-doc-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--vds-border);
  margin-top: 0.85rem;
}

.vds-upload-box {
  border: 2px dashed rgba(12, 192, 223, 0.4);
  border-radius: 1.15rem;
  padding: 1.5rem 1rem;
  text-align: center;
  background: rgba(12, 192, 223, 0.03);
  cursor: pointer;
  transition: all 0.3s ease;
}

.vds-upload-box:hover {
  border-color: var(--vds-cyan);
  background: rgba(12, 192, 223, 0.08);
}

/* Profile Form & Grid */
.vds-profile-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 1rem;
}

.vds-profile-field {
  padding: 0.85rem 1.1rem;
  border-radius: 0.85rem;
  background: var(--vds-bg);
  border: 1px solid var(--vds-border);
}

.vds-profile-field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--vds-body);
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.vds-profile-field p {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--vds-navy);
}

/* =========================================================
   MODALS & TOAST NOTIFICATIONS
========================================================= */
.vds-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(8, 29, 58, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.vds-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.vds-modal-card {
  background: var(--vds-white);
  border-radius: 1.5rem;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 35px 80px -20px rgba(8, 29, 58, 0.6);
  border: 1px solid rgba(12, 192, 223, 0.3);
  padding: 1.75rem;
  transform: translateY(20px) scale(0.95);
  transition: transform 0.35s cubic-bezier(0.16, 0.8, 0.28, 1);
}

.vds-modal-overlay.active .vds-modal-card {
  transform: translateY(0) scale(1);
}

.vds-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--vds-border);
  margin-bottom: 1.25rem;
}

.vds-modal-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--vds-navy);
}

.vds-modal-close {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.75rem;
  background: rgba(8, 29, 58, 0.05);
  color: var(--vds-navy);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.25s ease;
}

.vds-modal-close:hover {
  background: var(--status-danger);
  color: var(--vds-white);
}

/* =========================================================
   RESPONSIVE BREAKPOINTS (Mobile Cards, Single Column)
========================================================= */

@media (max-width: 1024px) {
  .vds-dashboard-grid {
    grid-template-columns: 220px 1fr;
    gap: 1.25rem;
  }
  .vds-dashboard-overview {
    grid-template-columns: repeat(2, 1fr);
  }
  .vds-dashboard-actions {
    grid-template-columns: repeat(2, 1fr);
  }
  .vds-support-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 840px) {
  .vds-dashboard-grid {
    grid-template-columns: 1fr;
  }
  .vds-dashboard-sidebar {
    position: relative;
    top: 0;
  }
  .vds-sidebar-menu {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scrollbar-width: none;
  }
  .vds-sidebar-menu::-webkit-scrollbar {
    display: none;
  }
  .vds-sidebar-link {
    white-space: nowrap;
  }
  .vds-dashboard-hero {
    flex-direction: column;
    text-align: center;
    padding: 1.75rem 1.25rem;
  }
  .vds-hero-user-info {
    flex-direction: column;
  }
  .vds-hero-meta {
    justify-content: center;
  }
  .vds-hero-buttons {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .vds-dashboard {
    padding: 1.25rem 1rem 3rem 1rem;
  }
  .vds-dashboard-overview {
    grid-template-columns: 1fr;
  }
  .vds-dashboard-actions {
    grid-template-columns: repeat(2, 1fr);
  }
  .vds-action-required {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .vds-alert-left {
    flex-direction: column;
    text-align: center;
  }
  .vds-doc-grid {
    grid-template-columns: 1fr;
  }
  .vds-profile-grid {
    grid-template-columns: 1fr;
  }

  /* Table to Mobile Card Transformation */
  .vds-mobile-cards thead {
    display: none;
  }
  .vds-mobile-cards tbody tr {
    display: block;
    margin-bottom: 1rem;
    border: 1px solid var(--vds-border);
    border-radius: 1rem;
    padding: 1rem;
    background: var(--vds-white);
    box-shadow: var(--shadow-sm);
  }
  .vds-mobile-cards td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.55rem 0;
    border-bottom: 1px solid rgba(230, 242, 247, 0.6);
    font-size: 0.85rem;
  }
  .vds-mobile-cards td:last-child {
    border-bottom: none;
    padding-top: 0.75rem;
  }
  .vds-mobile-cards td::before {
    content: attr(data-label);
    font-weight: 700;
    color: var(--vds-body);
    font-size: 0.78rem;
    text-transform: uppercase;
  }
}

/* =========================================================
   RESPONSIVE HARDENING — SAME VISUAL DESIGN, SAFER LAYOUT
   Keeps desktop styling unchanged while preventing overflow
   on tablet, mobile and small-mobile viewports.
========================================================= */

/* Allow grid/flex children to shrink instead of forcing horizontal overflow. */
.vds-dashboard-content,
.vds-dashboard-grid > *,
.vds-hero-text,
.vds-alert-left,
.vds-alert-text,
.vds-overview-card > div:first-child,
.vds-support-info,
.vds-notif-content {
  min-width: 0;
}

.vds-hero-text h1,
.vds-hero-text p,
.vds-alert-text p,
.vds-overview-label,
.vds-overview-desc,
.vds-action-title,
.vds-action-desc,
.vds-support-info strong,
.vds-profile-field p,
.vds-doc-title,
.vds-doc-sub {
  overflow-wrap: anywhere;
}

.vds-user-avatar-wrap img {
  display: block;
  max-width: 100%;
}

/* Desktop/tablet grids should never be wider than their available track. */
@media (max-width: 1024px) {
  .vds-dashboard-grid {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .vds-dashboard-overview,
  .vds-dashboard-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 840px) {
  .vds-dashboard-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .vds-dashboard-sidebar {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .vds-sidebar-menu {
    width: 100%;
    max-width: 100%;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
  }

  .vds-sidebar-menu > li {
    flex: 0 0 auto;
  }

  .vds-sidebar-link {
    min-height: 44px;
  }

  .vds-hero-text > div:first-child,
  .vds-hero-meta,
  .vds-hero-buttons {
    flex-wrap: wrap;
  }

  .vds-hero-meta {
    row-gap: 0.4rem;
  }

  .vds-dashboard-hero::before {
    right: -22%;
  }
}

@media (max-width: 640px) {
  .vds-dashboard {
    width: 100%;
    max-width: 100%;
  }

  .vds-dashboard-overview {
    grid-template-columns: 1fr;
  }

  .vds-dashboard-hero,
  .vds-action-required,
  .vds-dashboard-applications,
  .vds-dashboard-notifications,
  .vds-dashboard-payments,
  .vds-dashboard-documents,
  .vds-dashboard-profile,
  .vds-dashboard-support {
    max-width: 100%;
  }

  .vds-hero-meta {
    gap: 0.35rem 0.75rem;
  }

  .vds-action-required .vds-alert-btn {
    max-width: 100%;
  }

  .vds-table-responsive {
    max-width: 100%;
  }

  .vds-mobile-cards td {
    gap: 1rem;
    text-align: right;
  }

  .vds-mobile-cards td > * {
    min-width: 0;
    max-width: 68%;
    overflow-wrap: anywhere;
  }

  .vds-service-cell {
    justify-content: flex-end;
  }

  .vds-notif-title {
    gap: 0.75rem;
    flex-wrap: wrap;
  }

  .vds-modal-overlay {
    padding: 0.9rem;
  }

  .vds-modal-card {
    max-width: 100%;
    padding: 1.35rem;
  }

  .vds-modal-summary,
  .vds-modal-document-header {
    min-width: 0;
    gap: 0.75rem;
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .vds-dashboard {
    padding: 1rem 0.75rem 2.5rem;
  }

  .vds-dashboard-hero {
    padding: 1.5rem 1rem;
    border-radius: 1.25rem;
  }

  .vds-user-avatar-wrap {
    width: 4.5rem;
    height: 4.5rem;
  }

  .vds-hero-text h1 {
    font-size: 1.55rem;
  }

  .vds-hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .vds-hero-buttons .vds-primary-btn,
  .vds-hero-buttons .vds-secondary-btn {
    width: 100%;
    min-height: 46px;
  }

  .vds-dashboard-actions {
    grid-template-columns: 1fr;
  }

  .vds-action-card {
    min-height: 122px;
    justify-content: center;
  }

  .vds-action-required {
    padding: 1.1rem;
  }

  .vds-action-required .vds-alert-btn {
    width: 100%;
    justify-content: center;
    min-height: 44px;
  }

  .vds-section-header,
  .vds-card-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .vds-doc-actions {
    flex-wrap: wrap;
  }

  .vds-doc-actions .vds-btn-action {
    min-height: 42px;
  }

  .vds-modal-overlay {
    padding: 0.65rem;
    align-items: flex-start;
    overflow-y: auto;
  }

  .vds-modal-card {
    margin: 0.5rem auto;
    padding: 1.1rem;
    border-radius: 1.2rem;
    max-height: calc(100dvh - 1.3rem);
  }

  .vds-modal-grid-2 {
    grid-template-columns: 1fr !important;
  }

  .vds-modal-actions {
    flex-direction: column !important;
  }

  .vds-modal-actions > .vds-primary-btn,
  .vds-modal-actions > .vds-secondary-btn,
  .vds-modal-actions > .vds-btn-action {
    width: 100% !important;
    min-height: 44px;
  }

  .vds-chat-composer {
    min-width: 0;
  }

  .vds-chat-composer input {
    min-width: 0;
  }
}

@media (max-width: 360px) {
  .vds-dashboard {
    padding-inline: 0.6rem;
  }

  .vds-dashboard-sidebar {
    border-radius: 1.1rem;
  }

  .vds-sidebar-link {
    padding: 0.7rem 0.85rem;
  }

  .vds-dashboard-hero {
    padding-inline: 0.85rem;
  }

  .vds-hero-meta {
    flex-direction: column;
    gap: 0.3rem;
  }

  .vds-hero-meta > span:nth-child(2) {
    display: none;
  }

  .vds-overview-card {
    padding: 1.2rem 1rem;
  }

  .vds-overview-icon,
  .vds-action-icon {
    width: 3rem;
    height: 3rem;
  }

  .vds-mobile-cards tbody tr {
    padding: 0.85rem;
  }

  .vds-mobile-cards td {
    align-items: flex-start;
  }

  .vds-modal-card {
    padding: 0.95rem;
  }

  .vds-chat-composer {
    flex-direction: column;
  }

  .vds-chat-composer .vds-primary-btn {
    width: 100%;
    min-height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vds-dashboard *,
  .vds-modal-overlay,
  .vds-modal-card {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* =========================================================
   MOBILE PORTAL MENU — OFF-CANVAS SIDEBAR DRAWER
   Desktop/tablet navigation stays exactly as before. On
   phones (<=640px), the existing desktop-style menu slides
   in from the left without pushing page content downward.
========================================================= */
.vds-sidebar-header-copy {
  min-width: 0;
}

.vds-sidebar-drawer {
  display: contents;
}

.vds-mobile-drawer-header,
.vds-mobile-menu-overlay,
.vds-mobile-menu-close {
  display: none;
}

.vds-mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 42px;
  padding: 0.6rem 0.85rem;
  border: 1px solid rgba(12, 192, 223, 0.22);
  border-radius: 0.75rem;
  background: rgba(12, 192, 223, 0.08);
  color: var(--vds-navy);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.vds-mobile-menu-toggle:hover,
.vds-mobile-menu-toggle:focus-visible {
  background: rgba(12, 192, 223, 0.14);
  border-color: rgba(12, 192, 223, 0.45);
  outline: none;
}

.vds-mobile-menu-toggle i {
  color: var(--vds-cyan-700);
}

@media (max-width: 640px) {
  body.vds-mobile-nav-open {
    overflow: hidden;
    overscroll-behavior: none;
  }

  .vds-dashboard-sidebar {
    padding: 0.85rem;
    overflow: visible;
  }

  .vds-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.25rem 0.1rem 0.7rem;
    margin-bottom: 0;
    border-bottom: 0;
  }

  .vds-sidebar-header-copy {
    flex: 1 1 auto;
  }

  .vds-mobile-menu-toggle {
    display: inline-flex;
    flex: 0 0 auto;
  }

  .vds-mobile-menu-overlay {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 9997;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: rgba(8, 29, 58, 0.56);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    cursor: default;
    transition: opacity 0.28s ease, visibility 0s linear 0.28s;
  }

  body.vds-mobile-nav-open .vds-mobile-menu-overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.28s ease, visibility 0s linear 0s;
  }

  .vds-sidebar-drawer {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9998;
    width: min(86vw, 334px);
    height: 100dvh;
    padding: max(1rem, env(safe-area-inset-top)) 0.85rem max(1rem, env(safe-area-inset-bottom));
    background: var(--vds-white);
    border-right: 1px solid rgba(12, 192, 223, 0.22);
    box-shadow: 24px 0 55px -24px rgba(8, 29, 58, 0.52);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    transform: translateX(-105%);
    visibility: hidden;
    transition: transform 0.34s cubic-bezier(0.16, 0.8, 0.28, 1), visibility 0s linear 0.34s;
  }

  body.vds-mobile-nav-open .vds-sidebar-drawer {
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.34s cubic-bezier(0.16, 0.8, 0.28, 1), visibility 0s linear 0s;
  }

  .vds-mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 66px;
    padding: 0.2rem 0.2rem 0.9rem;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid var(--vds-border);
  }

  .vds-mobile-drawer-header > div {
    min-width: 0;
  }

  .vds-mobile-drawer-eyebrow {
    display: block;
    margin-bottom: 0.14rem;
    color: var(--vds-cyan-700);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.055em;
  }

  .vds-mobile-drawer-header strong {
    display: block;
    color: var(--vds-navy);
    font-size: 0.93rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }

  .vds-mobile-menu-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border: 1px solid var(--vds-border);
    border-radius: 0.78rem;
    background: var(--vds-bg);
    color: var(--vds-navy);
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease;
  }

  .vds-mobile-menu-close:hover,
  .vds-mobile-menu-close:focus-visible {
    background: rgba(12, 192, 223, 0.12);
    border-color: rgba(12, 192, 223, 0.4);
    color: var(--vds-cyan-700);
    outline: none;
  }

  .vds-sidebar-drawer .vds-sidebar-menu {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    gap: 0.34rem;
    padding: 0;
    overflow: visible;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .vds-sidebar-drawer .vds-sidebar-menu > li {
    flex: 0 0 auto;
    width: 100%;
  }

  .vds-sidebar-drawer .vds-sidebar-link {
    width: 100%;
    min-height: 49px;
    padding: 0.72rem 0.82rem;
    white-space: normal;
  }

  .vds-sidebar-drawer .vds-sidebar-icon {
    width: 1.9rem;
    height: 1.9rem;
  }
}

@media (max-width: 360px) {
  .vds-sidebar-drawer {
    width: min(89vw, 318px);
  }
}

/* =========================================================
   MOBILE CUSTOMER HERO — COMPACT PREMIUM ACCOUNT HEADER
   Desktop/tablet design remains unchanged. On mobile the
   identity block is left-aligned, space-efficient and easier
   to scan. Inner portal pages become even more compact.
========================================================= */
@media (max-width: 640px) {
  .vds-dashboard-hero {
    padding: 1.05rem 1.05rem 1rem;
    margin-bottom: 1rem;
    border-radius: 1.2rem;
    text-align: left;
    align-items: stretch;
  }

  .vds-dashboard-hero::before {
    width: 250px;
    height: 250px;
    top: -42%;
    right: -24%;
    opacity: 0.9;
  }

  .vds-hero-user-info {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    grid-template-rows: auto auto auto auto;
    column-gap: 0.85rem;
    row-gap: 0.12rem;
    width: 100%;
    align-items: center;
  }

  .vds-hero-text {
    display: contents;
  }

  .vds-user-avatar-wrap {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 64px;
    height: 64px;
    border-radius: 1rem;
    justify-self: start;
    border-width: 2px;
  }

  .vds-hero-kicker-row {
    grid-column: 2;
    grid-row: 1;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0.35rem !important;
    min-width: 0;
  }

  .vds-hero-welcome {
    font-size: 0.68rem !important;
    letter-spacing: 0.035em;
  }

  .vds-hero-kicker-row .vds-status-badge {
    padding: 0.22rem 0.55rem;
    font-size: 0.67rem;
  }

  .vds-hero-kicker-row .vds-pulse-dot {
    width: 6px;
    height: 6px;
  }

  .vds-hero-text h1 {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    margin: 0.08rem 0 0;
    font-size: 1.42rem;
    line-height: 1.12;
    text-align: left;
  }

  .vds-hero-description {
    grid-column: 1 / -1;
    grid-row: 3;
    margin-top: 0.72rem !important;
    padding-top: 0.7rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem !important;
    line-height: 1.55;
    text-align: left;
    color: rgba(207, 246, 251, 0.92) !important;
  }

  .vds-hero-meta {
    grid-column: 1 / -1;
    grid-row: 4;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    width: 100%;
    margin-top: 0.65rem;
    justify-content: stretch;
  }

  .vds-hero-meta-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    min-width: 0;
    padding: 0.52rem 0.6rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.72rem;
    background: rgba(255, 255, 255, 0.055);
    font-size: 0.68rem;
    line-height: 1.25;
    color: rgba(255, 255, 255, 0.82);
  }

  .vds-hero-meta-item > span {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .vds-hero-meta-item i {
    flex: 0 0 auto;
    color: var(--vds-cyan) !important;
  }

  .vds-hero-meta-separator {
    display: none;
  }

  /* Inner pages prioritize page content over a large welcome banner. */
  .vds-dashboard-hero.vds-hero-inner-page {
    padding-top: 0.92rem;
    padding-bottom: 0.92rem;
  }

  .vds-dashboard-hero.vds-hero-inner-page .vds-hero-description {
    display: none;
  }

  .vds-dashboard-hero.vds-hero-inner-page .vds-hero-meta {
    margin-top: 0.58rem;
  }
}

@media (max-width: 380px) {
  .vds-hero-user-info {
    grid-template-columns: 58px minmax(0, 1fr);
    column-gap: 0.72rem;
  }

  .vds-user-avatar-wrap {
    width: 58px;
    height: 58px;
  }

  .vds-hero-text h1 {
    font-size: 1.3rem;
  }

  .vds-hero-kicker-row .vds-status-badge {
    font-size: 0.63rem;
    padding-inline: 0.45rem;
  }

  .vds-hero-meta-item {
    padding: 0.48rem 0.5rem;
    font-size: 0.64rem;
  }
}


/* WordPress customer-gate state */
.vds-dashboard-login-required{
  max-width:720px; margin:0 auto; padding:5rem 1.5rem 7rem; text-align:center;
}
.vds-dashboard-login-card{
  background:#fff; border:1px solid var(--vds-border); border-radius:1.5rem;
  padding:2.25rem; box-shadow:var(--shadow-lg);
}
.vds-dashboard-login-icon{
  width:64px; height:64px; margin:0 auto 1rem; border-radius:1.15rem;
  display:flex; align-items:center; justify-content:center; color:var(--vds-navy);
  background:linear-gradient(135deg,var(--vds-cyan-300),var(--vds-cyan)); font-size:1.5rem;
}
.vds-dashboard-login-card h1{font-size:clamp(1.5rem,3vw,2rem);margin-bottom:.55rem;}
.vds-dashboard-login-card p{color:var(--vds-body);line-height:1.75;margin-bottom:1.4rem;}
.vds-dashboard-login-actions{display:flex;flex-wrap:wrap;gap:.75rem;justify-content:center;}
.vds-dashboard-login-actions a{
  display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-height:46px;
  padding:.75rem 1.25rem;border-radius:.8rem;font-weight:700;text-decoration:none;
}
.vds-dashboard-login-actions .is-primary{background:var(--vds-cyan);color:var(--vds-navy);}
.vds-dashboard-login-actions .is-secondary{border:1px solid var(--vds-border);color:var(--vds-navy);background:#fff;}

/* VDS Core dashboard integrations: real document upload + new application. */
.vds-new-application-modal p{
  margin:0 0 1.2rem;
  color:#5D728C;
  line-height:1.7;
}
.vds-new-application-actions{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:.85rem;
}
.vds-new-application-actions .vds-primary-btn{
  justify-content:center;
  min-height:48px;
  text-align:center;
}
.vds-real-document-upload{
  display:grid;
  gap:1rem;
}
.vds-real-document-upload .vds-upload-intro{
  margin:0;
  color:#5D728C;
  line-height:1.7;
}
.vds-real-document-upload label:not(.vds-real-upload-drop){
  display:grid;
  gap:.45rem;
  font-size:.78rem;
  font-weight:800;
  color:#081D3A;
}
.vds-real-document-upload select{
  width:100%;
  min-height:46px;
  padding:.7rem .85rem;
  border:1px solid #DDECF1;
  border-radius:.8rem;
  background:#F8FDFF;
  color:#081D3A;
}
.vds-real-upload-drop{
  display:flex;
  min-height:150px;
  padding:1.3rem;
  border:2px dashed rgba(12,192,223,.38);
  border-radius:1rem;
  background:rgba(12,192,223,.035);
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:.35rem;
  cursor:pointer;
  text-align:center;
}
.vds-real-upload-drop:hover,
.vds-real-upload-drop:focus-within{
  border-color:#0CC0DF;
  background:#EAFBFD;
}
.vds-real-upload-drop i{
  font-size:2rem;
  color:#0CC0DF;
}
.vds-real-upload-drop strong{color:#081D3A;}
.vds-real-upload-drop span{font-size:.75rem;color:#5D728C;}
.vds-real-upload-drop input{
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip:rect(0 0 0 0);
  clip-path:inset(50%);
  white-space:nowrap;
}
.vds-upload-file-name{
  min-height:1.25rem;
  color:#087A94;
  font-size:.8rem;
  font-weight:700;
}
.vds-upload-error{
  min-height:1.25rem;
  color:#B91C1C;
  font-size:.8rem;
  font-weight:700;
}
.vds-upload-submit{width:100%;justify-content:center;}
.vds-upload-submit[disabled]{opacity:.65;cursor:wait;}
@media(max-width:620px){
  .vds-new-application-actions{grid-template-columns:1fr;}
}
