/* Cards */
.card {
  background: var(--card-bg);
  border-radius: var(--border-radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-soft);
  margin-bottom: 16px;
}

/* Button */
.btn {
  background: var(--surface2);
  color: var(--text);
  border: none;
  padding: 8px 16px;
  border-radius: var(--border-radius-md);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn:active {
  transform: scale(0.96);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 16px 24px;
  border-radius: var(--border-radius-md);
  font-size: 16px;
  font-weight: 600;
  width: 100%;
  cursor: pointer;
  transition: var(--transition);
  display: block;
  text-align: center;
}
.btn-primary:active {
  transform: scale(0.98);
}
.btn-primary:hover {
  background: #e06000;
}

/* Grid for upload cards */
.upload-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.upload-card {
  background: var(--card-bg);
  border-radius: var(--border-radius-md);
  padding: 16px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
}
.upload-card:hover {
  border-color: var(--primary);
}
.upload-icon {
  font-size: 24px;
  margin-bottom: 8px;
}
.upload-title {
  font-size: 13px;
  font-weight: 600;
}
.upload-status {
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* Lists and Tables */
.recent-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.list-item {
  background: var(--card-bg);
  border-radius: var(--border-radius-md);
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow-soft);
}
.item-info h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}
.item-info p {
  font-size: 12px;
  color: var(--text-secondary);
}
.item-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
}

.section-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
}

/* Stats Cards */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.stat-card {
  background: var(--card-bg);
  border-radius: var(--border-radius-md);
  padding: 16px;
  box-shadow: var(--shadow-soft);
}
.stat-title {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 4px;
}
.stat-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}
.stat-value.highlight {
  color: var(--primary);
}

/* Status Chips */
.chip {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
}
.chip.orange {
  background: #fff0e5;
  color: var(--primary);
}
.chip.green {
  background: #e6f6ee;
  color: #0d8a45;
}
.chip.red {
  background: #feeceb;
  color: #db2b24;
}

/* Utilities */
.text-orange { color: var(--primary); }
.mt-4 { margin-top: 16px; }
.mb-4 { margin-bottom: 16px; }

/* Form Controls (Inputs, Selects) */
.form-control {
  width: 100%;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  outline: none;
  transition: var(--transition);
  -webkit-appearance: none;
  font-family: inherit;
}
.form-control:focus {
  border-color: var(--primary);
  background: var(--surface2);
}
.form-control::placeholder {
  color: var(--text-secondary);
  opacity: 0.7;
}

.field-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
