/* ─── Reset & Base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --sidebar-width: 220px;
  --bg: #f0f2f5;
  --sidebar-bg: #0f172a;
  --sidebar-hover: #1e293b;
  --sidebar-active: #2563eb;
  --white: #ffffff;
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --success: #16a34a;
  --danger: #dc2626;
  --warning: #d97706;
  --text: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --radius: 8px;
  --shadow: 0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.06);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
}

/* ─── App layout ───────────────────────────────────────────────────────────── */
.app { display: flex; min-height: 100vh; }

/* ─── Sidebar ──────────────────────────────────────────────────────────────── */
.sidebar {
  width: var(--sidebar-width);
  background: var(--sidebar-bg);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  z-index: 100;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 16px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.brand-icon { font-size: 20px; }
.brand-name { color: #fff; font-weight: 600; font-size: 15px; letter-spacing: .2px; }

.sidebar-nav { flex: 1; padding: 12px 8px; display: flex; flex-direction: column; gap: 2px; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 6px;
  color: #94a3b8;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  transition: background .15s, color .15s;
}

.nav-link:hover { background: var(--sidebar-hover); color: #e2e8f0; }
.nav-link.active { background: var(--sidebar-active); color: #fff; }
.nav-icon { font-size: 15px; width: 18px; text-align: center; }

.sidebar-footer {
  padding: 16px;
  border-top: 1px solid rgba(255,255,255,.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.user-name { color: #e2e8f0; font-size: 13px; font-weight: 500; }
.user-role { color: #64748b; font-size: 11px; margin-top: 2px; }

.btn-logout {
  color: #64748b;
  font-size: 12px;
  text-decoration: none;
  padding: 5px 10px;
  border-radius: 5px;
  border: 1px solid rgba(255,255,255,.1);
  white-space: nowrap;
  transition: color .15s, border-color .15s;
}
.btn-logout:hover { color: #f87171; border-color: #f87171; }

/* ─── Content ──────────────────────────────────────────────────────────────── */
.content {
  margin-left: var(--sidebar-width);
  flex: 1;
  padding: 32px;
}
.content-full { margin-left: 0; max-width: 100%; }

/* ─── Alerts ───────────────────────────────────────────────────────────────── */
.alert {
  padding: 12px 16px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-size: 13.5px;
  font-weight: 500;
}
.alert-success { background: #f0fdf4; color: var(--success); border: 1px solid #bbf7d0; }
.alert-error   { background: #fef2f2; color: var(--danger);  border: 1px solid #fecaca; }

/* ─── Page header ──────────────────────────────────────────────────────────── */
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.page-title { font-size: 22px; font-weight: 700; color: var(--text); }
.page-subtitle { color: var(--text-muted); font-size: 13px; margin-top: 3px; }

/* ─── Buttons ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: background .15s, opacity .15s;
}
.btn-primary   { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); }
.btn-secondary { background: var(--white); color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { background: var(--bg); }
.btn-success   { background: var(--success); color: #fff; }
.btn-danger         { background: var(--danger); color: #fff; }
.btn-danger:hover   { background: #b91c1c; }
.btn-danger-outline { background: transparent; color: var(--danger); border: 1px solid var(--danger); }
.btn-danger-outline:hover { background: #fef2f2; }
.btn-block     { width: 100%; justify-content: center; }

/* ─── Badges ───────────────────────────────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 99px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .3px;
}
.badge-pending  { background: #fef9c3; color: #854d0e; }
.badge-deployed { background: #dcfce7; color: #166534; }
.badge-rejected { background: #fee2e2; color: #991b1b; }

/* ─── Form card ─────────────────────────────────────────────────────────────── */
.form-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}

.form-section { margin-bottom: 32px; }
.form-section:last-of-type { margin-bottom: 0; }

.section-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.section-hint { color: var(--text-muted); font-size: 13px; margin-top: -10px; margin-bottom: 16px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group { margin-bottom: 16px; }
.form-group:last-child { margin-bottom: 0; }

label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 6px;
}
.required { color: var(--danger); }

input[type="text"],
input[type="email"],
input[type="password"],
select,
textarea {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 13.5px;
  color: var(--text);
  background: var(--white);
  transition: border-color .15s, box-shadow .15s;
  outline: none;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}
.input-disabled {
  background: #f1f5f9;
  color: var(--text-muted);
  cursor: not-allowed;
  border-color: #e2e8f0;
  border-style: dashed;
}

.disabled-field {
  position: relative;
  display: flex;
  align-items: center;
}
.disabled-field input { padding-right: 32px; flex: 1; }
.disabled-field-icon {
  position: absolute;
  right: 10px;
  font-size: 12px;
  pointer-events: none;
  opacity: .5;
}
textarea { resize: vertical; min-height: 80px; }

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

/* PR item con estado "checked" */
.pr-item-checked { border-color: var(--primary); background: #eff6ff; }

/* ─── PRs section header ─────────────────────────────────────────────────────── */
.prs-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

/* ─── Input URL inline ──────────────────────────────────────────────────────── */
.pr-url-inline {
  margin-bottom: 4px;
}
.pr-url-inline-row {
  display: flex;
  gap: 8px;
}
.pr-url-inline-row input {
  flex: 1;
}
.pr-url-feedback {
  margin-top: 8px;
  font-size: 12.5px;
  padding: 6px 10px;
  border-radius: 5px;
}
.pr-url-feedback-ok   { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.pr-url-feedback-warn { background: #fefce8; color: #854d0e; border: 1px solid #fde68a; }
.pr-url-feedback-error{ background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* ─── Carrito inline en el formulario ───────────────────────────────────────── */
.pr-cart-placeholder {
  padding: 20px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  background: #f8fafc;
  border: 1px dashed var(--border);
  border-radius: 6px;
  margin-top: 12px;
}

.pr-cart-inline {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 4px;
}

/* ─── Lightbox ────────────────────────────────────────────────────────────────── */
.lb-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.lb-panel {
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
  width: 100%;
  max-width: 640px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.lb-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.lb-title { font-size: 16px; font-weight: 700; color: var(--text); }
.lb-close {
  background: none;
  border: none;
  font-size: 18px;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  line-height: 1;
  transition: color .15s, background .15s;
}
.lb-close:hover { color: var(--text); background: var(--bg); }

.lb-body {
  padding: 20px 24px;
  flex: 1;
  overflow-y: auto;
}

.lb-selectors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 18px;
}

.lb-placeholder, .lb-state {
  padding: 24px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  background: #f8fafc;
  border: 1px dashed var(--border);
  border-radius: 6px;
}
.lb-state-error { color: var(--danger); border-color: #fecaca; background: #fef2f2; }

.lb-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
  background: #f8fafc;
}
.lb-count   { font-size: 13px; font-weight: 600; color: var(--primary); }
.lb-actions { display: flex; gap: 10px; }

/* ─── Carrito de PRs seleccionados ──────────────────────────────────────────── */
.pr-cart {
  margin-top: 20px;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius);
  background: #eff6ff;
  overflow: hidden;
}

.pr-cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #dbeafe;
  border-bottom: 1px solid #bfdbfe;
}

.pr-cart-title {
  font-size: 13px;
  font-weight: 600;
  color: #1e40af;
}

.btn-clear-cart {
  font-size: 12px;
  color: #3b82f6;
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
  transition: background .15s;
}
.btn-clear-cart:hover { background: #bfdbfe; }

.pr-cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 14px;
  border-bottom: 1px solid #bfdbfe;
}
.pr-cart-item:last-child { border-bottom: none; }

.pr-cart-item-info {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
  flex-wrap: wrap;
}

.pr-cart-remove {
  background: none;
  border: none;
  color: #93c5fd;
  font-size: 13px;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
  flex-shrink: 0;
  transition: color .15s, background .15s;
}
.pr-cart-remove:hover { color: var(--danger); background: #fee2e2; }

/* ─── PR selection ──────────────────────────────────────────────────────────── */
.pr-project-group { margin-bottom: 20px; }

.pr-project-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--primary);
  margin-bottom: 8px;
}

.pr-repo-group { margin-bottom: 12px; margin-left: 4px; }

.pr-repo-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.pr-repo-label::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 1px;
  background: var(--border);
}

.pr-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  margin-bottom: 6px;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.pr-item:hover { border-color: var(--primary); background: #eff6ff; }
.pr-item input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: var(--primary);
}
.pr-item-content { flex: 1; min-width: 0; }
.pr-item-main { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.pr-item-meta { display: flex; align-items: center; gap: 10px; margin-top: 4px; flex-wrap: wrap; }

/* ─── PR inline (en listado) ────────────────────────────────────────────────── */
.pr-list { margin-top: 12px; }
.pr-list-label { font-size: 12px; font-weight: 600; color: var(--text-muted); margin-bottom: 6px; }
.pr-inline {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  background: #f8fafc;
  border-radius: 5px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}

/* ─── Shared PR tags ─────────────────────────────────────────────────────────── */
.pr-number  { font-size: 12px; font-weight: 700; color: var(--primary); white-space: nowrap; }
.pr-title   { font-size: 13px; color: var(--text); flex: 1; }
.pr-author  { font-size: 11.5px; color: var(--text-muted); }
.pr-ticket  { font-size: 11px; font-weight: 600; background: #ede9fe; color: #6d28d9; padding: 2px 7px; border-radius: 4px; }

.ticket-link {
  font-size: inherit;
  font-weight: 600;
  color: #6d28d9;
  text-decoration: none;
  background: #ede9fe;
  padding: 1px 6px;
  border-radius: 4px;
  transition: background .15s;
}
.ticket-link:hover { background: #ddd6fe; text-decoration: underline; }
.pr-branch  { font-size: 11px; color: var(--text-muted); font-family: monospace; }
.pr-repo-tag { font-size: 11px; background: #e0f2fe; color: #0369a1; padding: 2px 7px; border-radius: 4px; font-weight: 500; white-space: nowrap; }
.pr-link    { font-size: 13px; color: var(--primary); text-decoration: none; padding: 2px 4px; border-radius: 4px; transition: background .15s; }
.pr-link:hover { background: #dbeafe; }

/* ─── Request cards ──────────────────────────────────────────────────────────── */
.requests-list { display: flex; flex-direction: column; gap: 14px; }

.request-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 24px;
  border-left: 4px solid var(--border);
  transition: box-shadow .15s;
}
.request-card:hover { box-shadow: var(--shadow-md); }

.request-card-header { margin-bottom: 10px; }
.request-card-title  { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; flex-wrap: wrap; }
.request-name        { font-size: 18px; font-weight: 600; color: var(--text); }
.request-card-meta   { display: flex; gap: 14px; flex-wrap: wrap; }
.meta-item           { font-size: 12.5px; color: var(--text-muted); }

.request-notes {
  font-size: 13px;
  color: var(--text-muted);
  background: #f8fafc;
  border-radius: 5px;
  padding: 8px 12px;
  margin-bottom: 10px;
  border-left: 3px solid var(--border);
}

.request-deployed { font-size: 12px; color: var(--success); margin-top: 10px; font-weight: 500; }

/* ─── Separador de sección en listas ─────────────────────────────────────── */
.list-section-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--text-muted);
  margin-bottom: 10px;
  padding-left: 2px;
}

/* ─── Empty states ──────────────────────────────────────────────────────────── */
.empty-card {
  text-align: center;
  padding: 60px 24px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.empty-icon { font-size: 40px; margin-bottom: 12px; }
.empty-card p { color: var(--text-muted); margin-bottom: 20px; }
.empty-state { padding: 20px; text-align: center; color: var(--text-muted); font-size: 13px; }

/* ─── PR count badge (en section title) ─────────────────────────────────────── */
.pr-count-badge {
  font-size: 12px;
  font-weight: 600;
  background: #dbeafe;
  color: var(--primary);
  padding: 2px 10px;
  border-radius: 99px;
  margin-left: 8px;
  vertical-align: middle;
}

/* ─── Environment toggle ─────────────────────────────────────────────────────── */
.env-toggle { display: flex; gap: 8px; margin-top: 4px; }

.env-option { cursor: pointer; }
.env-option input[type="radio"] { display: none; }

.env-label {
  display: inline-block;
  padding: 7px 22px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .5px;
  border: 2px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
  transition: all .15s;
  user-select: none;
}
.env-label:hover { border-color: #94a3b8; color: var(--text); }

.env-capa.env-selected { border-color: #0284c7; background: #e0f2fe; color: #0369a1; }
.env-prod.env-selected { border-color: #dc2626; background: #fee2e2; color: #991b1b; }

/* ─── Environment badge (en cards) ──────────────────────────────────────────── */
.env-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .5px;
}
.env-badge-capa { background: #e0f2fe; color: #0369a1; border: 1px solid #7dd3fc; }
.env-badge-prod { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }

/* ─── Label hint ─────────────────────────────────────────────────────────────── */
.label-hint { font-size: 11.5px; font-weight: 400; color: var(--text-muted); }

/* ─── Auto-filled input ──────────────────────────────────────────────────────── */
.input-auto {
  background: #f8fafc;
  color: var(--text);
  cursor: default;
}

/* ─── Login ──────────────────────────────────────────────────────────────────── */
.login-body {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-container { width: 100%; max-width: 400px; padding: 16px; }

.login-card {
  background: var(--white);
  border-radius: 12px;
  padding: 36px 32px;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
}

.login-header { text-align: center; margin-bottom: 28px; }
.login-icon   { font-size: 36px; display: block; margin-bottom: 10px; }
.login-logo   { display: block; margin: 0 auto; height: 58px; width: auto; }
.login-title  { font-size: 22px; font-weight: 700; color: var(--text); }
.login-subtitle { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

.login-form .form-group { margin-bottom: 18px; }
.login-form .btn { margin-top: 8px; padding: 11px; font-size: 14px; }

/* ─── Deployer: pending view ─────────────────────────────────────────────── */
.pending-count {
  display: inline-block;
  background: #fef3c7;
  color: #92400e;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  border: 1px solid #fcd34d;
  margin-left: 10px;
  vertical-align: middle;
}

.deployer-card { border-left: 4px solid var(--primary); }

.deployer-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.btn-deploy {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #6ee7b7;
}
.btn-deploy:hover { background: #a7f3d0; border-color: #34d399; }

.btn-deploy-prod {
  background: #0ea5e9;
  color: #fff;
  border: 1px solid #0284c7;
}
.btn-deploy-prod:hover { background: #0284c7; border-color: #0369a1; }

.btn-reject {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}
.btn-reject:hover { background: #fecaca; border-color: #f87171; }

/* ─── Tabla de versiones por proyecto ────────────────────────────────────── */
.version-table {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 16px;
}

.version-table-header {
  display: grid;
  grid-template-columns: 120px 120px 1fr 140px;
  gap: 12px;
  padding: 8px 14px;
  background: #f1f5f9;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.version-row {
  display: grid;
  grid-template-columns: 120px 120px 1fr 140px;
  gap: 12px;
  align-items: center;
  padding: 10px 14px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.version-row:last-child { border-bottom: none; }

.version-project-name { font-weight: 600; color: var(--text); }

.version-current {
  font-size: 13px;
  color: var(--text-muted);
  font-family: ui-monospace, monospace;
}

.version-none { font-style: italic; color: #cbd5e1; }

.version-bumps { display: flex; gap: 6px; flex-wrap: wrap; }

.bump-btn {
  padding: 3px 9px;
  font-size: 11px;
  font-weight: 600;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--white);
  color: var(--text-muted);
  cursor: pointer;
  transition: all .15s;
}
.bump-btn:hover { border-color: var(--primary); color: var(--primary); background: #eff6ff; }
.bump-btn-active { border-color: var(--primary) !important; color: var(--primary) !important; background: #eff6ff !important; font-weight: 700; }

.version-input-wrap { display: flex; }

.version-input {
  width: 100%;
  padding: 5px 9px;
  font-size: 13px;
  font-family: ui-monospace, monospace;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.version-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,.1); }
.version-input-saved { border-color: #6ee7b7; background: #f0fdf4; font-weight: 600; color: var(--success); }

.version-no-projects {
  color: var(--text-muted);
  font-size: 13px;
  font-style: italic;
  padding: 8px 0;
}

.version-planned {
  font-family: ui-monospace, monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--success);
}

/* ─── Pantalla de deploy ─────────────────────────────────────────────────── */
.back-link {
  display: inline-block;
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 6px;
}
.back-link:hover { color: var(--primary); }

.deploy-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.deploy-env-note {
  font-style: italic;
  color: #0369a1;
  background: #e0f2fe;
  padding: 3px 10px;
  border-radius: 4px;
}

.deploy-section {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}
.deploy-section-prod {
  border-color: #0ea5e9;
  border-left: 4px solid #0ea5e9;
}

.deploy-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}
.deploy-section-title-toggle {
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}
.deploy-section-title-toggle:hover { color: var(--primary); }

.collapse-chevron {
  font-size: 18px;
  color: var(--text-muted);
  transition: transform 0.2s ease;
  line-height: 1;
}
.chevron-collapsed { transform: rotate(-90deg); }

.section-collapsed { display: none; }

.capa-done-badge {
  font-size: 11px;
  font-weight: 600;
  background: #dcfce7;
  color: #16a34a;
  border-radius: 10px;
  padding: 2px 8px;
}

.deploy-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.checklist-disabled-note {
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 14px;
}

/* ─── Checklist de PRs ───────────────────────────────────────────────────── */
.pr-checklist { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }

.pr-check-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.pr-check-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #f8fafc;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}

.pr-check-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 20px;
  padding: 12px 16px;
  background: var(--white);
}

.step-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 20px;
  cursor: pointer;
  font-size: 13px;
  color: var(--text-muted);
  transition: all .15s;
  user-select: none;
}
.step-label:has(input:not(:disabled)):hover {
  border-color: var(--primary);
  color: var(--primary);
  background: #eff6ff;
}
.step-label.step-done {
  border-color: var(--success);
  background: #f0fdf4;
  color: var(--success);
  font-weight: 600;
}
.step-label input { display: none; }

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: currentColor;
  font-size: 10px;
  font-weight: 700;
  flex-shrink: 0;
}
.step-num::before {
  content: attr(data-n);
  color: var(--white);
}
/* El número se pone como texto directamente en el span, usamos filter para invertirlo en done */
.step-label .step-num {
  background: #cbd5e1;
  color: #fff;
  font-size: 10px;
  line-height: 16px;
}
.step-label.step-done .step-num { background: var(--success); }

/* ─── Panel detener pase ─────────────────────────────────────────────────── */
.stop-panel {
  background: #fff5f5;
  border: 1px solid #fecaca;
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 20px;
}

.stop-panel-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--danger);
  margin-bottom: 8px;
}

.stop-panel-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  margin: 0 0 14px;
}

.stop-panel-reason {
  width: 100%;
  box-sizing: border-box;
  padding: 8px 12px;
  font-size: 13.5px;
  border: 1px solid #fca5a5;
  border-radius: var(--radius);
  resize: vertical;
  font-family: inherit;
  margin-bottom: 12px;
}

.stop-panel-reason:focus { outline: none; border-color: var(--danger); }

.stop-panel-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

/* ─── Barra de confirmación final ───────────────────────────────────────── */
.deploy-complete-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  padding: 16px 0;
}

.complete-status-text {
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
}

/* ─── Status badge ───────────────────────────────────────────────────────── */
.status-badge {
  display: inline-block;
  padding: 3px 11px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .4px;
  text-transform: uppercase;
}
.status-pending        { background: #f1f5f9; color: #475569; }
.status-in-progress    { background: #fef3c7; color: #92400e; }
.status-in_progress    { background: #fef3c7; color: #92400e; }
.status-capa_deployed  { background: #e0f2fe; color: #0c4a6e; }
.status-deployed       { background: #d1fae5; color: #065f46; }
.status-rejected       { background: #fee2e2; color: #991b1b; }

/* ─── Card coloreado por estado ──────────────────────────────────────────── */
.request-card-pending        { border-left-color: #94a3b8; }
.request-card-in_progress    { border-left-color: #f59e0b; }
.request-card-capa_deployed  { border-left-color: #0ea5e9; }
.request-card-deployed       { border-left-color: #16a34a; }
.request-card-rejected       { border-left-color: #ef4444; }

/* ─── Historial ──────────────────────────────────────────────────────────── */
.history-timeline {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  margin-top: 10px;
  flex-wrap: wrap;
}

.timeline-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.timeline-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--text-muted);
}

.timeline-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.timeline-value-success { color: var(--success); }
.timeline-value-danger  { color: var(--danger); }

.timeline-arrow {
  font-size: 18px;
  color: var(--border);
  flex-shrink: 0;
}

.timeline-duration { margin-left: 4px; }

.duration-badge {
  display: inline-block;
  padding: 2px 8px;
  background: #f1f5f9;
  color: var(--text-muted);
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
}

.history-versions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.history-versions-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
  color: var(--text-muted);
}

.version-chip {
  display: inline-block;
  padding: 2px 9px;
  background: #f0fdf4;
  color: var(--success);
  border: 1px solid #6ee7b7;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  font-family: ui-monospace, monospace;
}

.history-rejection {
  margin-top: 8px;
  font-size: 13px;
  color: #991b1b;
  background: #fff5f5;
  border-left: 3px solid #fca5a5;
  padding: 6px 10px;
  border-radius: 0 4px 4px 0;
}

.history-rejection-label {
  font-weight: 700;
  margin-right: 4px;
}

/* ─── Promote CAPA → PROD ────────────────────────────────────────────────── */
.promote-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding: 10px 14px;
  background: #fefce8;
  border: 1px solid #fde68a;
  border-radius: var(--radius);
}

.promote-hint {
  font-size: 13px;
  color: #92400e;
}

.btn-promote {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fcd34d;
  white-space: nowrap;
  flex-shrink: 0;
}
.btn-promote:hover { background: #fde68a; border-color: #f59e0b; }

.promote-origin {
  font-size: 13px;
  color: var(--text-muted);
}

.action-panel {
  margin-top: 14px;
  padding: 16px;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.action-form-row {
  display: flex;
  align-items: flex-end;
  gap: 12px;
}

.action-form-btns {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  padding-bottom: 1px;
}

/* ─── Request card — layout rediseñado ─────────────────────────────────────── */
.rc-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.rc-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  flex: 1;
}

.rc-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.rc-env-group {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.rc-dates {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.rc-date-item {
  font-size: 12.5px;
  color: var(--text-muted);
}

.rc-date-label {
  font-weight: 600;
  color: var(--text);
  margin-right: 3px;
}

/* ─── Solicitante + tickets ──────────────────────────────────────────────── */
.rc-requester-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.rc-requester-name {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
}

/* ─── Timeline de fechas ─────────────────────────────────────────────────── */
.rc-timeline {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.rc-tl-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 5px 12px;
  border-radius: 6px;
  min-width: 90px;
}
.rc-tl-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 2px;
}
.rc-tl-date {
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.rc-tl-created  { background: #f1f5f9; }
.rc-tl-created .rc-tl-label { color: #475569; }
.rc-tl-created .rc-tl-date  { color: var(--text-muted); }

.rc-tl-capa     { background: #e0f2fe; }
.rc-tl-capa .rc-tl-label { color: #0c4a6e; }
.rc-tl-capa .rc-tl-date  { color: #0369a1; }

.rc-tl-prod     { background: #d1fae5; }
.rc-tl-prod .rc-tl-label { color: #065f46; }
.rc-tl-prod .rc-tl-date  { color: #047857; }

.rc-tl-pending-node { background: #f8fafc; border: 1px dashed #cbd5e1; }
.rc-tl-pending-node .rc-tl-label { color: #94a3b8; }
.rc-tl-pending-node .rc-tl-date  { color: #cbd5e1; font-style: italic; }

.rc-tl-arrow {
  font-size: 14px;
  color: #94a3b8;
  padding: 0 4px;
  margin-bottom: 2px; /* alinear visualmente con las fechas */
}
.rc-tl-arrow-pending { color: #cbd5e1; }

.rc-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.rc-actions-right {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

/* ─── PR table (en mis solicitudes) ─────────────────────────────────────────── */
.pr-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
  font-size: 13px;
}

.pr-table th {
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .4px;
  padding: 0 10px 6px;
  border-bottom: 1px solid var(--border);
}

.pr-table td {
  padding: 7px 10px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}

.pr-table tbody tr:last-child td { border-bottom: none; }

.pr-table-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  color: var(--text);
  text-decoration: none;
}
.pr-table-link:hover { color: var(--primary); }
.pr-table-link:hover .pr-table-title { text-decoration: underline; }

.pr-table-title {
  font-size: 13px;
  color: var(--text);
}

/* ─── Historial — filtro de proyecto ────────────────────────────────────── */
.history-project-select {
  padding: 6px 32px 6px 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  transition: border-color .15s;
}

.history-project-select:hover,
.history-project-select:focus {
  border-color: var(--primary);
  outline: none;
}

/* ─── Paginador ──────────────────────────────────────────────────────────── */
.pagination {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.page-btn {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  transition: background .15s, border-color .15s, color .15s;
}

.page-btn:hover { background: #f1f5f9; border-color: var(--primary); color: var(--primary); }
.page-btn-active { background: var(--primary); border-color: var(--primary); color: #fff; pointer-events: none; }
.page-btn-active:hover { background: var(--primary); color: #fff; }
.page-btn-disabled { opacity: .4; pointer-events: none; }

.page-ellipsis { padding: 6px 4px; color: var(--text-muted); font-size: 13px; }

.page-info {
  margin-left: auto;
  font-size: 12.5px;
  color: var(--text-muted);
}

/* ─── Historial — tabla de reporte ──────────────────────────────────────── */
.history-table-wrap {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow-x: auto;
}

.history-report-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 860px;
}

.history-report-table thead tr {
  background: #f8fafc;
  border-bottom: 2px solid var(--border);
}

.history-report-table th {
  text-align: left;
  padding: 10px 14px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
  color: var(--text-muted);
  white-space: nowrap;
}

.history-report-table td {
  padding: 10px 14px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: top;
}

.history-report-table tbody tr:last-child td { border-bottom: none; }
.history-report-table tbody tr:hover { background: #fafbfc; }
.history-report-table tbody tr.hrt-row-continuation td { border-top: none; }

.hrt-date     { white-space: nowrap; font-weight: 500; color: var(--text); }
.hrt-date .hrt-time { display: block; font-weight: 400; font-size: 12px; color: var(--text-muted); font-variant-numeric: tabular-nums; margin-top: 2px; }
.hrt-project  { white-space: nowrap; font-weight: 500; color: var(--text); }
.hrt-version  { white-space: nowrap; }
.hrt-name     { color: var(--text); max-width: 220px; }
.hrt-requestor { white-space: nowrap; color: var(--text-muted); }
.hrt-empty    { color: #cbd5e1; }

.hrt-ticket-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.hrt-repo-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

/* ─── Dashboard ──────────────────────────────────────────────────────────── */

/* Stat cards */
.dash-stats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}

.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-left: 4px solid transparent;
}

.stat-card-warning { border-left-color: #f59e0b; }
.stat-card-info    { border-left-color: #3b82f6; }
.stat-card-success { border-left-color: #16a34a; }
.stat-card-neutral { border-left-color: var(--border); }

.stat-icon  { font-size: 26px; line-height: 1; }
.stat-value { font-size: 30px; font-weight: 700; color: var(--text); line-height: 1; }
.stat-label { font-size: 12px; color: var(--text-muted); margin-top: 3px; }

/* Layout de dos columnas */
.dash-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

@media (max-width: 900px) {
  .dash-body { grid-template-columns: 1fr; }
}

/* Secciones */
.dash-section {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 24px;
}

.dash-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.dash-section-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 14px;
}

.dash-section-header .dash-section-title { margin-bottom: 0; }

.dash-section-link {
  font-size: 12.5px;
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}
.dash-section-link:hover { text-decoration: underline; }

.dash-empty {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  padding: 20px 0;
}

/* Grid de proyectos */
.project-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.project-card {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px 14px;
  transition: box-shadow .15s;
}
.project-card:hover { box-shadow: var(--shadow-md); }

.project-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.project-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.project-prod-link {
  font-size: 11.5px;
  font-weight: 600;
  color: #991b1b;
  background: #fee2e2;
  border: 1px solid #fca5a5;
  border-radius: 99px;
  padding: 2px 10px;
  text-decoration: none;
  transition: background .15s;
}
.project-prod-link:hover { background: #fecaca; }

.project-card-version {
  display: flex;
  align-items: center;
  gap: 8px;
}

.version-label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}

.version-none {
  font-size: 12px;
  color: #cbd5e1;
  font-style: italic;
}

/* Lista de últimos despliegues */
.recent-deploy-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.recent-deploy-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid #f1f5f9;
}
.recent-deploy-item:last-child { border-bottom: none; }

.rd-info {
  flex: 1;
  min-width: 0;
}

.rd-name {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rd-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.rd-day  { font-size: 12px; font-weight: 500; color: var(--text-muted); white-space: nowrap; }
.rd-time { font-size: 12px; color: var(--text-muted); }
.rd-time::before { content: '·'; margin-right: 6px; }

.rd-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.rd-requestor {
  font-size: 11.5px;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
  padding-top: 2px;
}

.project-name-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}
.project-name-link:hover { text-decoration: underline; }

/* ─── Sidebar — user name link ───────────────────────────────────────────── */
.user-name-link {
  color: #fff;
  text-decoration: none;
}
.user-name-link:hover { text-decoration: underline; }

/* ─── Profile ────────────────────────────────────────────────────────────── */
.profile-info {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.profile-info-row {
  display: flex;
  gap: 12px;
  align-items: baseline;
}

.profile-info-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .4px;
  min-width: 60px;
}

.profile-info-value {
  font-size: 13.5px;
  color: var(--text);
}

/* ─── Admin — tabla de usuarios ─────────────────────────────────────────── */
.admin-table-wrap {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.admin-table thead tr {
  background: #f8fafc;
  border-bottom: 2px solid var(--border);
}

.admin-table th {
  text-align: left;
  padding: 10px 16px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
  color: var(--text-muted);
  white-space: nowrap;
}

.admin-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}

.admin-table tbody tr:last-child td { border-bottom: none; }
.admin-table tbody tr:hover { background: #fafbfc; }

.admin-user-name  { font-weight: 600; color: var(--text); }
.admin-user-email { color: var(--text-muted); font-size: 13px; }
.admin-user-date  { color: var(--text-muted); font-size: 12.5px; white-space: nowrap; }
.admin-user-actions { text-align: right; white-space: nowrap; }

.btn-sm {
  padding: 4px 12px;
  font-size: 12px;
}

/* ─── Role badge ─────────────────────────────────────────────────────────── */
.role-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .3px;
}
.role-badge-developer     { background: #dbeafe; color: #1d4ed8; }
.role-badge-deployer      { background: #d1fae5; color: #065f46; }
.role-badge-product_owner { background: #ede9fe; color: #6d28d9; }
.role-badge-dev_deployer  { background: #ffedd5; color: #c2410c; }

/* ─── Admin reset panel ──────────────────────────────────────────────────── */
.admin-reset-cell {
  background: #f8fafc;
  padding: 12px 16px !important;
  border-bottom: 1px solid var(--border) !important;
}

.admin-reset-form {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.admin-reset-label {
  font-size: 13px;
  color: var(--text);
  white-space: nowrap;
}

.admin-reset-input {
  flex: 1;
  min-width: 200px;
  max-width: 300px;
  padding: 7px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 13px;
}

.admin-reset-btns {
  display: flex;
  gap: 8px;
}
