/* ==========================================================================
   GRUPO SUSTECH - EMPLOYEE PORTAL & INTRANET STYLES
   ========================================================================== */

.portal-root {
  display: flex;
  min-height: 100vh;
  background: var(--bg-main);
}

/* Sidebar */
.portal-sidebar {
  width: 280px;
  background: var(--bg-surface);
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  transition: all var(--transition-base);
}

.sidebar-brand {
  padding: 1.5rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border-bottom: 1px solid var(--border-color);
}

.sidebar-nav {
  padding: 1.2rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  overflow-y: auto;
  flex: 1;
}

.nav-section-header {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-subtle);
  padding: 0.75rem 0.85rem 0.35rem;
  letter-spacing: 0.08em;
}

.sidebar-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0.95rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition-fast);
  cursor: pointer;
}

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

.sidebar-link:hover {
  background: var(--bg-surface-subtle);
  color: var(--text-main);
  transform: translateX(3px);
}

.sidebar-link.active {
  background: linear-gradient(135deg, rgba(33, 169, 216, 0.15) 0%, rgba(140, 199, 79, 0.15) 100%);
  color: var(--color-secondary-dark);
  font-weight: 700;
  border-left: 3.5px solid var(--color-secondary);
}
[data-theme="dark"] .sidebar-link.active {
  color: var(--color-secondary-light);
}

.sidebar-badge {
  font-size: 0.72rem;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-full);
  background: rgba(239, 68, 68, 0.15);
  color: #dc2626;
  font-weight: 700;
}
[data-theme="dark"] .sidebar-badge {
  color: #f87171;
}

.sidebar-footer {
  padding: 1.25rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.ms-connected-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  background: var(--bg-surface-subtle);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color-subtle);
}

.ms-logo-icon {
  width: 14px;
  height: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5px;
}
.ms-tile { width: 100%; height: 100%; }
.ms-t1 { background: #f25022; }
.ms-t2 { background: #7fba00; }
.ms-t3 { background: #00a4ef; }
.ms-t4 { background: #ffb900; }

/* Main Content Area */
.portal-main {
  margin-left: 280px;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.portal-topbar {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  padding: 0.85rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 90;
}

.portal-topbar-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.portal-page-title {
  font-size: 1.3rem;
  font-weight: 800;
}

.portal-search-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.45rem 0.85rem;
  width: 280px;
}

.portal-search-bar input {
  border: none;
  background: none;
  outline: none;
  font-size: 0.88rem;
  color: var(--text-main);
  width: 100%;
}

.portal-topbar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.user-profile-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-md);
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.user-profile-btn:hover {
  background: var(--border-color);
}

.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-primary);
}

.user-info-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.user-name {
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.1;
}

.user-role {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.portal-content {
  padding: 2rem;
  flex: 1;
}

/* Dashboard View */
.dashboard-hero-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0a7c9b 100%);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 2.2rem;
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.dashboard-hero-banner::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(140, 199, 79, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.banner-welcome-title {
  font-size: 1.85rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.banner-welcome-sub {
  color: #94a3b8;
  font-size: 0.95rem;
  max-width: 600px;
}

.quick-ms-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ms-app-chip {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  transition: all var(--transition-fast);
}
.ms-app-chip:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

/* KPI Cards Grid */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.kpi-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}
.kpi-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-secondary);
}

.kpi-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.kpi-card-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.kpi-icon-box {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.kpi-val {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.kpi-change {
  font-size: 0.78rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.kpi-up { color: #16a34a; }
.kpi-neutral { color: var(--color-secondary-dark); }

/* Dashboard Columns Grid */
.dashboard-cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.8rem;
}

/* Announcements Box */
.announcements-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.announcement-item {
  padding: 1rem;
  border-radius: var(--radius-md);
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-color-subtle);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.announcement-item.urgent {
  border-left: 4px solid #ef4444;
}

.ann-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ann-title {
  font-size: 0.95rem;
  font-weight: 700;
}

.ann-body {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   AREA INBOX & TASK TRACKER
   ========================================================================== */

.inbox-toolbar {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.inbox-filters {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.filter-select {
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-color);
  background: var(--bg-surface);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
}

.view-toggle-group {
  display: flex;
  align-items: center;
  background: var(--bg-surface-subtle);
  border-radius: var(--radius-md);
  padding: 3px;
  border: 1px solid var(--border-color);
}

.view-toggle-btn {
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}
.view-toggle-btn.active {
  background: var(--bg-surface);
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
}

/* Kanban Board */
.kanban-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.kanban-col {
  background: var(--bg-surface-subtle);
  border-radius: var(--radius-lg);
  padding: 1.2rem;
  border: 1px solid var(--border-color-subtle);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 450px;
}

.kanban-col-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.6rem;
  border-bottom: 1.5px solid var(--border-color);
}

.kanban-col-title {
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.kanban-count {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  color: var(--text-muted);
}

.task-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.task-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-secondary);
}

.task-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.task-id {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-subtle);
}

.task-title {
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
}

.task-checklist-mini {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.task-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.6rem;
  border-top: 1px solid var(--border-color-subtle);
}

.task-assignee {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.task-assignee-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

.task-assignee-name {
  font-size: 0.75rem;
  font-weight: 600;
}

.task-due {
  font-size: 0.75rem;
  color: var(--text-subtle);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* ==========================================================================
   DOCUMENT VIEWER & SOP MANUAL
   ========================================================================== */

.doc-viewer-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 1.8rem;
  align-items: start;
}

.doc-toc-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  position: sticky;
  top: 90px;
}

.doc-toc-title {
  font-size: 1rem;
  font-weight: 700;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-color);
}

.toc-item {
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.toc-item:hover {
  background: var(--bg-surface-subtle);
  color: var(--text-main);
}
.toc-item.active {
  background: rgba(33, 169, 216, 0.12);
  color: var(--color-secondary-dark);
  font-weight: 700;
  border-left: 3px solid var(--color-secondary);
}
[data-theme="dark"] .toc-item.active {
  color: var(--color-secondary-light);
}

.doc-reader-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.doc-reader-header {
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.doc-prose {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-main);
}

.doc-prose h3 {
  margin: 1.5rem 0 0.75rem;
  font-size: 1.15rem;
}

.doc-prose p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.doc-prose ul, .doc-prose ol {
  margin-left: 1.5rem;
  margin-bottom: 1.25rem;
  color: var(--text-muted);
}

.doc-prose li {
  margin-bottom: 0.4rem;
}

/* ==========================================================================
   MODALS (Task Detail, New Task, Microsoft Login)
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  animation: fadeIn 0.25s ease-out;
}

.modal-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  width: 100%;
  max-width: 650px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.2rem;
  position: relative;
}

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

.modal-title {
  font-size: 1.35rem;
  font-weight: 800;
}

.close-modal-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-surface-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}
.close-modal-btn:hover {
  background: #fee2e2;
  color: #dc2626;
}

/* Microsoft Login Screen */
.ms-login-modal {
  max-width: 480px;
  text-align: center;
}

.ms-brand-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.ms-user-picker {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
  text-align: left;
}

.ms-user-option {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-color);
  background: var(--bg-surface);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.ms-user-option:hover {
  border-color: var(--color-secondary);
  background: var(--bg-surface-subtle);
  transform: translateX(3px);
}

@media (max-width: 1024px) {
  .portal-sidebar {
    width: 80px;
  }
  .sidebar-brand span, .sidebar-link span, .nav-section-header, .sidebar-badge, .ms-connected-badge span {
    display: none;
  }
  .portal-main {
    margin-left: 80px;
  }
  .kanban-board {
    grid-template-columns: repeat(2, 1fr);
  }
  .doc-viewer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .portal-sidebar {
    display: none;
  }
  .portal-main {
    margin-left: 0;
  }
  .kanban-board {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   BRAND HUB & KNOWLEDGE CENTER STYLES
   ========================================================================== */

.color-swatches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.color-swatch-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.color-swatch-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-secondary);
}

.color-swatch-preview {
  height: 95px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 0.75rem;
  position: relative;
}

.color-copy-chip {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  font-family: monospace;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: all var(--transition-fast);
}
.color-copy-chip:hover {
  background: rgba(0, 0, 0, 0.7);
  transform: scale(1.05);
}

.color-swatch-info {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.color-codes-row {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.75rem;
  color: var(--text-subtle);
  font-family: monospace;
  margin-top: 0.4rem;
  padding-top: 0.4rem;
  border-top: 1px solid var(--border-color-subtle);
}

/* Logo Assets Preview Grid */
.logo-assets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.logo-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.logo-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

.logo-display-box {
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  position: relative;
}

.logo-box-light {
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
}

.logo-box-dark {
  background: #0b1120;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.logo-box-checker {
  background-color: #f1f5f9;
  background-image: linear-gradient(45deg, #e2e8f0 25%, transparent 25%), linear-gradient(-45deg, #e2e8f0 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #e2e8f0 75%), linear-gradient(-45deg, transparent 75%, #e2e8f0 75%);
  background-size: 16px 16px;
  background-position: 0 0, 0 8px, 8px -8px, -8px 0px;
  border-bottom: 1px solid var(--border-color);
}

.logo-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  gap: 1rem;
}

/* Email Signature Generator */
.email-signature-card {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.signature-preview-box {
  background: #ffffff;
  color: #0f172a;
  border: 1.5px dashed #cbd5e1;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 1.25rem 0;
  font-family: Arial, Helvetica, sans-serif;
}

/* ==========================================================================
   CLIENT PORTAL (PORTAL DE CLIENTES)
   ========================================================================== */

.client-portal-layout {
  min-height: 100vh;
  background: var(--bg-body);
  display: flex;
  flex-direction: column;
}

.client-portal-topbar {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
}

.client-brand-info {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.client-avatar-img {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  object-fit: cover;
  border: 2px solid var(--color-primary);
}

.client-portal-nav {
  display: flex;
  gap: 0.5rem;
  background: var(--bg-surface-subtle);
  padding: 0.35rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  margin-bottom: 2rem;
}

.client-nav-btn {
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--text-muted);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.client-nav-btn:hover {
  color: var(--text-main);
  background: rgba(33, 169, 216, 0.08);
}

.client-nav-btn.active {
  background: var(--bg-surface);
  color: var(--color-primary-dark);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}
[data-theme="dark"] .client-nav-btn.active {
  color: var(--color-primary-light);
}

.client-metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.client-metric-card {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.75rem;
  transition: all var(--transition-fast);
}
.client-metric-card:hover {
  transform: translateY(-2px);
  border-color: var(--color-secondary);
  box-shadow: var(--shadow-md);
}

.client-vault-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.client-vault-table th {
  background: var(--bg-surface-subtle);
  padding: 0.85rem 1rem;
  text-align: left;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1.5px solid var(--border-color);
}

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

.client-vault-table tr:hover td {
  background: rgba(33, 169, 216, 0.03);
}

