body {
  margin: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #f4f6fa;
}

.container {
  display: flex;
  min-height: 100vh;
}

.left-sidebar {
  width: 240px;
  background: #183153;
  color: #fff;
  display: flex;
  flex-direction: column;
  padding-top: 0;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  z-index: 1000;
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 20px 16px 20px;
  border-bottom: 1px solid #223a5f;
}

.sidebar-logo {
  width: 40px;
  height: 40px;
  margin-right: 12px;
  background-color: #fff;
}
.sidebar-title {
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: 2px;
}

.sidebar-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-item {
  display: flex;
  align-items: center;
  padding: 14px 24px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
  opacity: 0.85;
}

.nav-item .icon {
  margin-right: 12px;
  font-size: 1.2em;
}

.nav-item.active, .nav-item:hover {
  background: #20406a;
  opacity: 1;
}

.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-left: 240px;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  padding: 20px;
  border-bottom: 1px solid #e0e6ed;
  margin-bottom: 16px;
}

.navbar-title {
  font-size: 1.6rem;
  font-weight: 600;
  color: #2d3a4b;
  margin: 0;
}

.navbar-user {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: #2d3a4b;
}

.user-avatar {
  background: #e0e6ed;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2em;
}

.main-content {
    padding: 0 32px 32px 32px;
}

.dashboard-cards {
  display: flex;
  gap: 18px;
  margin: 24px 0 32px 0;
}

.dashboard-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(24,49,83,0.04);
  padding: 18px 32px;
  min-width: 140px;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dashboard-card .card-number {
  font-size: 2.2rem;
  font-weight: bold;
  margin-bottom: 6px;
}

.dashboard-card .card-label {
  font-size: 1.1rem;
  font-weight: 500;
}

.dashboard-card.new-lead {
  background: #183153;
  color: #fff;
}
.dashboard-card.follow-up {
  background: #f7b731;
  color: #fff;
}
.dashboard-card.walk-in {
  background: #3b4656;
  color: #fff;
}
.dashboard-card.appoint {
  background: #0096e6;
  color: #fff;
}
.dashboard-card.overdue {
  background: #e74c3c;
  color: #fff;
}

.user-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.user-cards-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.user-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(24,49,83,0.06);
  padding: 20px 24px;
  min-width: 320px;
  max-width: 360px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex: 1 1 320px;
}

.user-card-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.user-id {
  font-size: 0.95rem;
  color: #7b8a9a;
}

.user-badges {
  margin: 6px 0 2px 0;
  display: flex;
  gap: 8px;
}

.badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 0.85em;
  font-weight: 500;
  color: #fff;
}
.badge.website {
  background: #bfa76f;
  color: #fff;
}
.badge.register {
  background: #00b6e6;
  color: #fff;
}
.badge.investor {
  background: #e74c3c;
  color: #fff;
}

.user-date {
  font-size: 0.92rem;
  color: #7b8a9a;
}

.user-card-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.btn-new {
  background: #1e824c;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 6px 18px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  margin-bottom: 8px;
  transition: background 0.2s;
}
.btn-new:hover {
  background: #145a32;
}

.user-checkbox {
  width: 18px;
  height: 18px;
  accent-color: #183153;
}


