
.dev-center-page {
  margin: 0;
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  background: linear-gradient(180deg, #0b1220, #111827);
  color: #e5edf7;
}

.dev-center-page * {
  box-sizing: border-box;
}

.dev-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px;
}

.dev-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.dev-title h1 {
  margin: 8px 0 6px;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.dev-title p,
.dev-muted {
  color: #94a7bd;
}

.dev-back-link {
  display: inline-flex;
  color: #93c5fd;
  font-weight: 800;
  text-decoration: none;
  margin-bottom: 8px;
}

.dev-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(59, 130, 246, 0.16);
  color: #bfdbfe;
  border: 1px solid rgba(147, 197, 253, 0.45);
  padding: 9px 12px;
  border-radius: 999px;
  font-weight: 800;
}

.dev-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.dev-card,
.dev-panel {
  background: #172131;
  border: 1px solid #2a3a52;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.dev-card {
  padding: 18px;
}

.dev-card strong {
  display: block;
  font-size: 2rem;
  margin-top: 6px;
  color: #ffffff;
}

.dev-card span {
  color: #94a7bd;
  font-size: 0.92rem;
}

.dev-panel {
  padding: 18px;
  margin-bottom: 18px;
}

.dev-panel h2 {
  margin: 0 0 12px;
}

.dev-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.dev-btn {
  border: 1px solid #2a3a52;
  background: #1d2a3d;
  color: #e5edf7;
  border-radius: 12px;
  padding: 10px 13px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.dev-btn.primary {
  background: #3b82f6;
  color: #fff;
  border-color: #3b82f6;
}

.dev-btn.danger {
  color: #fecaca;
  border-color: #ef4444;
}

.dev-btn.warning {
  color: #fde68a;
  border-color: #f59e0b;
}

.dev-table-wrap {
  overflow-x: auto;
}

.dev-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 1040px;
}

.dev-table th,
.dev-table td {
  text-align: left;
  border-bottom: 1px solid #2a3a52;
  padding: 11px 10px;
  vertical-align: top;
}

.dev-table th {
  color: #94a7bd;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.status-pill {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 800;
  background: #223147;
  color: #bfdbfe;
}

.status-pill.active { background: rgba(34, 197, 94, .16); color: #86efac; }
.status-pill.frozen { background: rgba(245, 158, 11, .18); color: #fde68a; }
.status-pill.banned { background: rgba(239, 68, 68, .18); color: #fecaca; }

.dev-error {
  background: rgba(239, 68, 68, .14);
  border: 1px solid rgba(239, 68, 68, .45);
  color: #fecaca;
  padding: 14px;
  border-radius: 14px;
  margin-bottom: 18px;
  font-weight: 800;
}

.dev-error a {
  color: #bfdbfe;
}

.dev-control-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 12px;
  margin: 12px 0 16px;
}

.dev-toggle-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  border: 1px solid #2a3a52;
  background: #101827;
  border-radius: 16px;
}

.dev-toggle-row input {
  width: 22px;
  height: 22px;
  margin-top: 3px;
  accent-color: #3b82f6;
}

.dev-toggle-row strong {
  display: block;
  color: #fff;
  margin-bottom: 4px;
}

.dev-toggle-row small {
  display: block;
  color: #94a7bd;
  line-height: 1.4;
}

.dev-plan-select {
  min-width: 132px;
  min-height: 40px;
  padding: 9px 38px 9px 11px;
  border-radius: 12px;
  border: 1px solid #3b82f6;
  background:
    linear-gradient(135deg, #0f172a, #1e293b),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 20 20' fill='%23bfdbfe'%3E%3Cpath fill-rule='evenodd' d='M5.23 7.21a.75.75 0 011.06.02L10 11.17l3.71-3.94a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  color: #e5edf7;
  font-weight: 900;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .22);
}

.dev-plan-select option {
  color: #0f172a;
  background: #ffffff;
  font-weight: 800;
}

.dev-plan-select:focus {
  outline: 3px solid rgba(59, 130, 246, .24);
  border-color: #93c5fd;
}

.dev-mini-action {
  margin-top: 7px;
  width: 100%;
  min-height: 34px;
  padding: 7px 8px;
  border-radius: 10px;
  border: 1px solid #3b82f6;
  background: #1d4ed8;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.dev-mini-action:disabled {
  opacity: .55;
  cursor: not-allowed;
}

.dev-flash {
  padding: 10px 12px;
  border-radius: 12px;
  margin-bottom: 14px;
  border: 1px solid #2a3a52;
  background: #101827;
  color: #bfdbfe;
  font-weight: 800;
}

@media (max-width: 850px) {
  .dev-shell { padding: 16px; }
  .dev-header { flex-direction: column; }
  .dev-grid { grid-template-columns: repeat(2, minmax(140px, 1fr)); }
}

@media (max-width: 720px) {
  .dev-control-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .dev-grid { grid-template-columns: 1fr; }
}


.dev-message-row {
  grid-column: 1 / -1;
}

.dev-text-input {
  width: 100%;
  margin-top: 10px;
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #3b82f6;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #e5edf7;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .22);
}

.dev-text-input:focus {
  outline: 3px solid rgba(59, 130, 246, .24);
  border-color: #93c5fd;
}


/* rev 1.6.7.1.0 stronger select polish */
.dev-plan-select {
  min-width: 132px;
  min-height: 40px;
  padding: 9px 38px 9px 11px;
  border-radius: 12px;
  border: 1px solid #3b82f6 !important;
  background:
    linear-gradient(135deg, #0f172a, #1e293b),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 20 20' fill='%23bfdbfe'%3E%3Cpath fill-rule='evenodd' d='M5.23 7.21a.75.75 0 011.06.02L10 11.17l3.71-3.94a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z' clip-rule='evenodd'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 12px center !important;
  color: #e5edf7 !important;
  font-weight: 900;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .22);
}

.dev-plan-select option {
  color: #0f172a;
  background: #ffffff;
  font-weight: 800;
}
