* {
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  margin: 0;
  background: #f7f7f7;
  color: #222;
}

/* Header */
.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
}

.top-bar h1 {
  margin: 0;
  font-size: 18px;
}

.top-bar button {
  background: #f0f0f0;
  border: none;
  padding: 8px 12px;
  cursor: pointer;
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 24px;
}

.stat-card {
  background: #fff;
  padding: 16px;
  border-radius: 6px;
}

.stat-card .label {
  font-size: 12px;
  color: #777;
}

.stat-card .value {
  font-size: 24px;
  font-weight: bold;
  margin-top: 4px;
}

/* Leads */
.leads {
  padding: 0 24px 24px;
}

.leads-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

th, td {
  padding: 12px;
  border-bottom: 1px solid #eee;
  text-align: left;
}

th {
  font-size: 12px;
  color: #666;
}

#add-lead-btn {
  background: #222;
  color: #fff;
  border: none;
  padding: 8px 12px;
  cursor: pointer;
}

.card {
  background: #fff;
  padding: 16px;
  border-radius: 6px;
  margin-bottom: 16px;
}

label {
  display: block;
  margin-bottom: 12px;
  font-size: 14px;
}

input, select, textarea {
  width: 100%;
  padding: 8px;
  margin-top: 4px;
}

.primary-btn {
  background: #222;
  color: #fff;
  border: none;
  padding: 10px 14px;
  cursor: pointer;
}

.danger-btn {
  background: #fff;
  color: #c00;
  border: 1px solid #c00;
  padding: 10px 14px;
  margin-left: 8px;
  cursor: pointer;
}
