body { font-family: 'Sora', sans-serif; background: var(--light); margin: 0; }
.admin-header {
  background: var(--deep); color: #fff;
  padding: 1rem 1.5rem; display: flex;
  align-items: center; justify-content: space-between;
}
.admin-header h1 { font-size: 1.1rem; margin: 0; }
.admin-back { color: var(--frost); text-decoration: none; font-size: .85rem; }
.admin-main { max-width: 1100px; margin: 0 auto; padding: 2rem 1.5rem; }
.admin-denied-box {
  max-width: 400px; margin: 4rem auto; text-align: center;
  background: #fff; padding: 2rem; border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,.1);
}
.admin-tabs { display: flex; gap: .5rem; margin-bottom: 1.5rem; }
.admin-tab {
  background: #fff; border: 1.5px solid var(--frost);
  border-radius: 10px; padding: .6rem 1.2rem;
  font-family: 'Sora', sans-serif; font-size: .85rem; cursor: pointer;
}
.admin-tab.active { background: var(--deep); color: #fff; border-color: var(--deep); }
.admin-list { display: flex; flex-direction: column; gap: .75rem; }
.admin-card {
  background: #fff; border-radius: 12px; padding: 1rem 1.25rem;
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.admin-card-info { flex: 1; min-width: 200px; }
.admin-card-name { font-weight: 600; color: var(--deep); }
.admin-card-meta { font-size: .78rem; color: var(--muted); margin-top: 2px; }
.admin-rol-select,
.admin-canal-select {
  border: 1.5px solid var(--frost); border-radius: 8px;
  padding: .5rem .75rem; font-family: 'Sora', sans-serif;
  font-size: .82rem; background: #fff; color: var(--text);
  cursor: pointer;
}
.admin-btn-approve {
  background: var(--teal); color: #fff; border: none;
  border-radius: 8px; padding: .55rem 1.1rem;
  font-family: 'Sora', sans-serif; font-size: .82rem; font-weight: 600;
  cursor: pointer;
}
.admin-loading, .admin-empty { text-align: center; color: var(--muted); padding: 2rem; }
.admin-approve-controls {
  display: flex; align-items: center; gap: .5rem; flex-wrap: wrap;
}
.admin-promo-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1rem;
}
.admin-promo-header h3 { margin: 0; color: var(--deep); font-size: 1rem; }
.admin-btn-new {
  background: var(--teal); color: #fff; border: none;
  border-radius: 8px; padding: .55rem 1.1rem;
  font-family: 'Sora', sans-serif; font-size: .82rem; font-weight: 600;
  cursor: pointer;
}
.admin-card-inactive { opacity: .55; }
.admin-card-img {
  width: 48px; height: 48px; border-radius: 8px;
  overflow: hidden; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--light); font-size: 1.4rem;
}
.admin-card-img img { width: 100%; height: 100%; object-fit: cover; }
.admin-card-actions { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.admin-badge {
  font-size: .72rem; font-weight: 700; padding: 3px 10px;
  border-radius: 20px; text-transform: uppercase;
}
.admin-badge-active { background: #dcfce7; color: #16a34a; }
.admin-badge-inactive { background: #fee2e2; color: #dc2626; }
.admin-btn-toggle, .admin-btn-edit {
  border: none; border-radius: 8px; padding: .45rem .9rem;
  font-family: 'Sora', sans-serif; font-size: .78rem; font-weight: 600;
  cursor: pointer;
}
.admin-btn-off { background: #fee2e2; color: #dc2626; }
.admin-btn-on { background: #dcfce7; color: #16a34a; }
.admin-btn-edit { background: var(--light); color: var(--text); }
.admin-btn-delete {
  border: none; border-radius: 8px; padding: .45rem .9rem;
  font-family: 'Sora', sans-serif; font-size: .78rem; font-weight: 600;
  cursor: pointer; background: #fee2e2; color: #dc2626;
}
.admin-promo-form {
  background: #fff; border-radius: 12px; padding: 1.5rem;
  margin-bottom: 1.5rem; box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.admin-promo-form h4 { margin: 0 0 1rem; color: var(--deep); }
.admin-form-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem; margin-bottom: 1rem;
}
.admin-form-group { display: flex; flex-direction: column; gap: .3rem; }
.admin-form-group label { font-size: .75rem; font-weight: 600; color: var(--muted); text-transform: uppercase; }
.admin-form-group input,
.admin-form-group select {
  border: 1.5px solid var(--frost); border-radius: 8px;
  padding: .5rem .75rem; font-family: 'Sora', sans-serif; font-size: .85rem;
}
.admin-form-actions { display: flex; gap: .75rem; justify-content: flex-end; }
.admin-btn-cancel {
  background: var(--light); border: 1.5px solid var(--frost);
  border-radius: 8px; padding: .55rem 1.1rem;
  font-family: 'Sora', sans-serif; font-size: .82rem; cursor: pointer;
}
.admin-btn-save {
  background: var(--deep); color: #fff; border: none;
  border-radius: 8px; padding: .55rem 1.1rem;
  font-family: 'Sora', sans-serif; font-size: .82rem; font-weight: 600;
  cursor: pointer;
}
.admin-form-group-full { grid-column: 1 / -1; }
.admin-canal-checks {
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: .25rem;
}
.admin-check-label {
  display: flex; align-items: center; gap: .4rem;
  font-size: .85rem; color: var(--text); cursor: pointer;
}
.admin-check-label input[type="checkbox"] {
  accent-color: var(--teal); width: 16px; height: 16px; cursor: pointer;
}
.admin-inline-error, .admin-form-error {
  color: #dc2626; font-size: .78rem; margin: 0;
}
.admin-precios-header { margin-bottom: 1rem; }
.admin-precios-header h3 { margin: 0 0 .25rem; color: var(--deep); }
.admin-precios-hint { font-size: .78rem; color: var(--muted); margin: 0; }
.admin-precios-section { margin-bottom: 2rem; }
.admin-precios-cat {
  font-size: .7rem; font-weight: 700; letter-spacing: .1em;
  color: var(--teal); margin-bottom: .5rem;
}
.admin-precios-list {
  background: #fff; border-radius: 12px;
  overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.admin-precios-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr auto;
  gap: 1rem; align-items: center;
  padding: .75rem 1.25rem;
  border-bottom: 1px solid var(--frost);
}
.admin-precios-row:last-child { border-bottom: none; }
.admin-precios-thead {
  font-size: .7rem; font-weight: 700; text-transform: uppercase;
  color: var(--muted); background: var(--light);
}
.apm-name { font-weight: 600; color: var(--deep); font-size: .88rem; }
.apm-size { font-size: .78rem; color: var(--muted); }
.apm-input {
  border: 1.5px solid var(--frost); border-radius: 8px;
  padding: .4rem .6rem; font-family: 'Sora', sans-serif;
  font-size: .85rem; width: 100%; box-sizing: border-box;
  transition: border-color .3s;
}
.apm-input:focus { outline: none; border-color: var(--teal); }
