/* Admin Layout */
.admin-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 3rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.5;
}

.admin-header {
  margin-bottom: 2.5rem;
}

.admin-header h1 {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -1px;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.stat-card {
  background-color: #f6f8fa;
  padding: 1.5rem;
  border-radius: 6px;
}

.stat-card dt {
  color: #24292f;
  font-size: 18px;
  margin-bottom: 0.5rem;
}

.stat-card dd {
  font-size: 36px;
  font-weight: 800;
  color: #24292f;
  margin: 0;
}

/* Action Buttons */
.actions-panel {
  background-color: #f6f8fa;
  padding: 1.5rem;
  border-radius: 6px;
  margin-bottom: 1.5rem;
}

.actions-panel h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #24292f;
}

.button {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: #40b24b;
  color: white;
  border-radius: 6px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  margin-right: 1rem;
  margin-bottom: 0.5rem;
  border: none;
  cursor: pointer;
}

.button:hover {
  background-color: #359540;
  text-decoration: none;
}

.button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

.button.small {
  padding: 0.25rem 0.5rem;
  font-size: 14px;
  margin: 0;
}

/* Tables */
.table-container {
  background-color: #f6f8fa;
  border-radius: 6px;
  overflow-x: auto;
  margin-bottom: 1.5rem;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th {
  text-align: left;
  padding: 1rem;
  border-bottom: 2px solid #d0d7de;
  font-weight: 600;
  color: #24292f;
}

td {
  padding: 1rem;
  border-bottom: 1px solid #d0d7de;
  color: #24292f;
}

/* Tags */
.tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 2rem;
  font-size: 14px;
  margin-right: 0.5rem;
  margin-bottom: 0.25rem;
  background-color: #ddf4ff;
  color: #0969da;
}

/* Status Badges */
.status-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 2rem;
  font-size: 14px;
  font-weight: 500;
}

.status-badge.warning {
  background-color: #fff8c5;
  color: #9a6700;
}

.status-badge.error {
  background-color: #ffebe9;
  color: #cf222e;
}

.status-badge.success {
  background-color: #dafbe1;
  color: #40b24b;
}

/* Flash Messages */
.flash {
  padding: 1rem;
  border-radius: 6px;
  margin-bottom: 1.5rem;
  font-size: 16px;
}

.flash.notice {
  background-color: #dafbe1;
  color: #40b24b;
}

.flash.alert {
  background-color: #ffebe9;
  color: #cf222e;
}

/* Header Actions */
.header-with-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #24292f;
}

.help-text {
  color: #57606a;
  font-size: 14px;
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #d0d7de;
  border-radius: 6px;
  font-size: 16px;
  font-family: inherit;
}

.form-input:focus {
  outline: none;
  border-color: #0969da;
  box-shadow: 0 0 0 3px rgba(9, 105, 218, 0.3);
}

.form-actions {
  margin-top: 2rem;
}

.button-group {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.button-group .button {
  margin: 0;
} 