/* === Tahoe Dashboard Modern UI === */
:root {
  --tahoe-bg: #f7f8fa;
  --tahoe-card-bg: #ffffff;
  --tahoe-shadow: 0 4px 12px rgba(0,0,0,0.05);
  --tahoe-radius: 16px;
  --tahoe-primary: #ef6b4e;
  --tahoe-text: #1e1e1e;
  --tahoe-muted: #6e6e6e;
  --tahoe-border: #e5e7eb;
}

/* General Layout */
body {
  background-color: var(--tahoe-bg);
  color: var(--tahoe-text);
  font-family: "Inter", "SF Pro Display", -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: -0.01em;
}

section, .row + .row {
  margin-top: 2.5rem !important;
}

/* Dashboard Header */
.dashboard-header h1 {
  font-weight: 700;
  font-size: 1.8rem;
}

.dashboard-header p {
  color: var(--tahoe-muted);
  margin-top: 0.25rem;
}

/* KPI Cards */
.card {
  background: var(--tahoe-card-bg);
  border-radius: var(--tahoe-radius);
  box-shadow: var(--tahoe-shadow);
  border: none !important;
  transition: all 0.25s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.card h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-top: 0.5rem;
  margin-bottom: 0.25rem;
}

.card small {
  color: var(--tahoe-muted);
}

/* Icons */
.material-symbols-rounded {
  font-variation-settings: 'wght' 400;
  font-size: 1.75rem;
  vertical-align: middle;
}

/* Chart Containers */
.card canvas, .echart {
  border-radius: 12px;
  background: rgba(255,255,255,0.8);
  padding: 1rem;
}

/* KPI Grid Responsive */
@media (min-width: 992px) {
  .kpi-grid .col-lg-3 {
    flex: 1 1 0;
  }
}

/* Timeline / Activity Section */
.timeline .border-start {
  border-left: 2px solid var(--tahoe-border) !important;
}

.timeline h6 {
  font-weight: 600;
  color: var(--tahoe-text);
}

.timeline small {
  color: var(--tahoe-muted);
}

/* Button refinement */
.btn-primary {
  background-color: var(--tahoe-primary);
  border-color: var(--tahoe-primary);
  font-weight: 500;
  border-radius: 10px;
}

.btn-primary:hover {
  filter: brightness(1.05);
}

/* Sidebar adjustments */
.sidebar, .main-sidebar {
  background: #fdfdfd;
  border-right: 1px solid var(--tahoe-border);
}

.sidebar .nav-link.active, .menu .active > a {
  background: var(--tahoe-primary);
  color: #fff !important;
  border-radius: 10px;
}

.sidebar .nav-link {
  border-radius: 10px;
  color: #333;
  font-weight: 500;
}

/* KPI Icon bubbles */
.kpi-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(239, 107, 78, 0.1);
  color: var(--tahoe-primary);
  margin-bottom: 0.75rem;
}

.card .kpi-icon .material-symbols-rounded {
  font-size: 22px;
}


/* ==== Dashboard Header Styling ==== */
.glass-header {
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.05);
}

.dashboard-header h1 {
  font-weight: 700;
  font-size: 1.8rem;
}

.btn-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 12px;
  background-color: var(--tahoe-primary);
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(239,107,78,0.25);
  transition: all 0.25s ease;
}

.btn-chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(239,107,78,0.3);
}

.header-profile img {
  border: 3px solid #fff;
}

.status-dot {
  box-shadow: 0 0 0 2px #fff;
}

@media (max-width: 768px) {
  .dashboard-header {
    flex-direction: column;
    text-align: center;
  }
  .header-profile {
    justify-content: center;
  }
}


/* ==== Refined MailClick Header ==== */
.dashboard-header {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-radius: 18px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

.dashboard-header h1 {
  font-weight: 700;
  font-size: 1.7rem;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-right .shadow-soft-sm {
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.btn-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.3rem;
  border-radius: 12px;
  background-color: var(--tahoe-primary);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(239, 107, 78, 0.25);
  transition: all 0.25s ease;
}

.btn-chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(239, 107, 78, 0.3);
}

.btn-chip .material-symbols-rounded {
  font-size: 20px;
}

.header-left h1 span {
  line-height: 1;
}

@media (max-width: 768px) {
  .dashboard-header {
    text-align: center;
  }
  .header-right {
    flex-direction: column;
    margin-top: 1rem;
  }
}



