/* Dashboard Page Layout */
.dashboard-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
}

@media (max-width: 900px) {
  .dashboard-layout {
    grid-template-columns: 1fr;
  }
}

/* Sidebar Nav inside Dashboard */
.db-sidebar {
  padding: 24px;
  border-radius: 16px;
}

.db-menu-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.db-menu-item {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-family: var(--font-sans);
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 12px 16px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: var(--transition-fast);
}

.db-menu-item:hover, .db-menu-item.active {
  background: rgba(212, 175, 55, 0.08);
  color: var(--accent-gold);
}

/* Dashboard Cards & Stats */
.db-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.db-stat-card {
  padding: 24px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(20,20,23,0.7) 0%, rgba(13,13,15,0.7) 100%);
  border: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.db-stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-gold-glow);
  color: var(--accent-gold);
  border: 1px solid var(--border-color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

/* Pipeline Tracker for Seeker applications */
.pipeline-container {
  display: flex;
  justify-content: space-between;
  margin: 20px 0;
  position: relative;
}

.pipeline-container::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--border-color);
  z-index: 1;
}

.pipeline-step {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 80px;
}

.pipeline-node {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: bold;
  color: var(--text-muted);
  transition: var(--transition-normal);
}

.pipeline-step.active .pipeline-node {
  background: var(--accent-gold-glow);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.pipeline-step.completed .pipeline-node {
  background: var(--color-success);
  border-color: var(--color-success);
  color: #FFFFFF;
}

.pipeline-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  text-align: center;
}

.pipeline-step.active .pipeline-label {
  color: var(--accent-gold);
}

.pipeline-step.completed .pipeline-label {
  color: var(--color-success);
}

/* Admin lists and tables styling */
.db-table-wrapper {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.db-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.db-table th {
  background: var(--bg-tertiary);
  color: #FFFFFF;
  font-weight: 600;
  padding: 16px;
  border-bottom: 1px solid var(--border-color);
}

.db-table td {
  padding: 16px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-secondary);
}

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

.db-table tr:hover td {
  background: rgba(255, 255, 255, 0.01);
  color: #FFFFFF;
}
