body {
  margin: 0;
  font-family: Inter, system-ui, Arial;
  background: #f5f7fb;
}

/* APP FRAME */
.app {
  max-width: 420px;
  margin: auto;
  padding-bottom: 80px;
}

/* HEADER */
.app-header {
  background: #ffffff;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 10;
}

.status.online {
  color: #16a34a;
  font-size: 13px;
}

.today-earn {
  background: #111827;
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 14px;
}

/* CARD */
.card {
  background: #ffffff;
  border-radius: 16px;
  padding: 16px;
  margin: 16px;
  box-shadow: 0 8px 18px rgba(0,0,0,.08);
}

/* JOB ALERT */
.alert {
  border-left: 5px solid #22c55e;
}

.actions {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.accept {
  flex: 1;
  background: #22c55e;
  color: white;
  padding: 14px;
  border-radius: 12px;
  border: none;
  font-weight: 600;
}

.reject {
  flex: 1;
  background: #e5e7eb;
  padding: 14px;
  border-radius: 12px;
  border: none;
  font-weight: 600;
}

.timer {
  font-size: 12px;
  color: #6b7280;
  margin-top: 8px;
}

/* STATS */
.stats {
  display: flex;
  gap: 12px;
  padding: 0 16px;
}

.stat-card {
  flex: 1;
  background: white;
  border-radius: 16px;
  padding: 14px;
  text-align: center;
  box-shadow: 0 6px 14px rgba(0,0,0,.07);
}

/* JOB LIST */
.job-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #e5e7eb;
}

/* BOTTOM NAV */
.bottom-nav {
  position: fixed;
  bottom: 0;
  width: 100%;
  max-width: 420px;
  background: white;
  display: flex;
  justify-content: space-around;
  padding: 12px 0;
  border-top: 1px solid #e5e7eb;
}

.bottom-nav a {
  font-size: 14px;
  color: #6b7280;
}

.bottom-nav a.active {
  color: #111827;
  font-weight: 600;
}

/* BADGES */
.badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  margin-bottom: 8px;
}

.badge.assigned {
  background: #e0f2fe;
  color: #0369a1;
}

/* TEXT */
.muted {
  color: #6b7280;
  font-size: 13px;
}

.price {
  font-size: 22px;
  font-weight: 700;
  color: #16a34a;
}

/* BUTTONS */
.primary-btn {
  width: 100%;
  padding: 14px;
  border-radius: 14px;
  border: none;
  background: #22c55e;
  color: white;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
}

.secondary-btn {
  width: 100%;
  padding: 14px;
  border-radius: 14px;
  border: none;
  background: #e5e7eb;
  font-size: 15px;
}
/* IN PROGRESS BADGE */
.badge.inprogress {
  background: #dcfce7;
  color: #166534;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
}

/* TIMER */
.timer-card {
  text-align: center;
}

.job-timer {
  font-size: 32px;
  font-weight: 700;
  margin: 10px 0;
}
/* EARNINGS SUMMARY */
.earnings-summary {
  display: flex;
  justify-content: space-between;
  text-align: center;
}

.summary-item {
  flex: 1;
}

.summary-item h3 {
  margin: 6px 0 0;
  color: #16a34a;
}

/* PAYMENT ROW */
.payment-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #e5e7eb;
}

.amount {
  font-weight: 600;
  text-align: right;
}

/* BADGES */
.badge.paid {
  background: #dcfce7;
  color: #166534;
}

.badge.pending {
  background: #fef3c7;
  color: #92400e;
}

.bold {
  font-weight: 600;
}
/* PROFILE */
.profile-card {
  padding: 16px;
}

.profile-top {
  display: flex;
  gap: 14px;
  align-items: center;
}

.avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #111827;
  color: white;
  font-size: 22px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* SKILLS */
.skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill {
  background: #f3f4f6;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
}

/* DOCUMENT ROW */
.doc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #e5e7eb;
}

/* BADGES (EXTENDED) */
.badge.uploaded {
  background: #dcfce7;
  color: #166534;
}

.badge.pending {
  background: #fef3c7;
  color: #92400e;
}
.bottom-nav {
  position: fixed;
  bottom: 0;
  width: 100%;
  max-width: 420px;
  background: #ffffff;
  display: flex;
  justify-content: space-around;
  padding: 12px 0;
  border-top: 1px solid #e5e7eb;
  z-index: 20;
}

.bottom-nav a {
  font-size: 14px;
  color: #6b7280;
  text-decoration: none;
}

.bottom-nav a.active {
  color: #111827;
  font-weight: 600;
}
