.admin-shell {
  width: 95%;
  max-width: 95%;
  margin: 0 auto;
  padding: 2rem 1rem 4rem;
}

.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.admin-table-wrap {
  background: rgba(18, 18, 30, 0.94);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 16px;
  overflow-x: auto;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 780px;
}

.admin-table th,
.admin-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
}

.admin-table th {
  color: #cbd5e1;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.03);
  text-transform: uppercase;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
}

.admin-table td {
  color: #f8fafc;
}

.admin-table tr:hover td {
  background: rgba(168, 85, 247, 0.06);
}

.badge-estado {
  display: inline-block;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
}

.badge-estado.ACTIVO {
  background: rgba(16, 185, 129, 0.18);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.badge-estado.BANEADO {
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.45);
}

.action-btns {
  display: flex;
  gap: 0.45rem;
}

.btn-mini {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 0.38rem 0.72rem;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.btn-mini:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn-mini.edit {
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  border-color: transparent;
  color: #fff;
}

.pagination-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.15rem;
  color: #94a3b8;
  font-size: 0.88rem;
}

.pagination-controls {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.admin-modal-lg {
  max-width: 640px;
  max-height: 90vh;
  overflow-y: auto;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.85rem;
}

.ban-box {
  margin-top: 0.9rem;
  padding: 1rem;
  border-radius: 12px;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.35);
}

.store-card-form-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 1.5rem;
  align-items: start;
}

@media (max-width: 780px) {
  .store-card-form-layout {
    grid-template-columns: 1fr;
  }
}

.sc-preview-col {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 14px;
  padding: 1rem;
  text-align: center;
}

.sc-preview-col img {
  width: 190px;
  max-width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(56, 189, 248, 0.35);
  background: #0f172a;
}

.sc-fields-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}

.sc-search-results {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.55rem;
  margin-top: 0.5rem;
}

.sc-search-pick {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-align: left;
  padding: 0.45rem 0.6rem;
  border-radius: 8px;
  border: 1px solid rgba(56, 189, 248, 0.28);
  background: rgba(15, 23, 42, 0.9);
  color: #fff;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.sc-search-pick:hover {
  border-color: #a855f7;
  background: rgba(124, 58, 237, 0.18);
}

.sc-details-box {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(168, 85, 247, 0.28);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sc-details-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.sc-details-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

.sc-details-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.sc-detail-pill {
  font-size: 0.78rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #e2e8f0;
}

.sc-detail-pill.accent {
  background: rgba(56, 189, 248, 0.14);
  border-color: rgba(56, 189, 248, 0.35);
  color: #38bdf8;
  font-weight: 700;
}

.sc-desc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

@media (max-width: 780px) {
  .sc-desc-grid {
    grid-template-columns: 1fr;
  }
}

.sc-desc-box {
  background: rgba(10, 10, 18, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 0.65rem 0.75rem;
}

.sc-desc-box h4 {
  margin: 0 0 0.3rem 0;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #94a3b8;
}

.sc-desc-box p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #e2e8f0;
  white-space: pre-line;
  max-height: 120px;
  overflow-y: auto;
}

#quickToggleBots:checked + #quickToggleSlider {
  background: #22c55e !important;
}
#quickToggleSlider:before {
  position: absolute; content: ""; height: 22px; width: 22px; left: 4px; bottom: 4px;
  background: #fff; border-radius: 50%; transition: .2s;
}
#quickToggleBots:checked + #quickToggleSlider:before {
  transform: translateX(26px);
}

