/* ═══════════════════════════════════════════════════════
   admin.css · Selector · Admin Dashboard
   Modern sidebar layout · premium dashboard feel
═══════════════════════════════════════════════════════ */

/* ── BASE ── */
body {
  font-family: "Manrope", sans-serif;
  background: #f0f2f7;
  min-height: 100vh;
  margin: 0;
}

/* ── BACKGROUND ── */
.admin-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.admin-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
}

.admin-bg-orb-1 {
  width: 600px; height: 600px;
  top: -200px; right: -100px;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.35) 0%, transparent 70%);
}
.admin-bg-orb-2 {
  width: 500px; height: 500px;
  bottom: -150px; left: -100px;
  background: radial-gradient(circle, rgba(196, 181, 253, 0.25) 0%, transparent 70%);
}

/* ── LAYOUT ── */
.admin-layout {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 100vh;
}

/* ── SIDEBAR ── */
.admin-sidebar {
  width: 240px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  border-right: 1px solid rgba(0, 0, 0, 0.07);
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1rem;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.25rem 0.5rem 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  margin-bottom: 1.25rem;
}

.brand-mark {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.38);
}

.brand-name {
  margin: 0;
  font-weight: 800;
  font-size: 1rem;
  color: #0f0e17;
  line-height: 1.1;
}

.brand-sub {
  margin: 0;
  font-size: 0.72rem;
  color: #9ca3af;
  font-weight: 500;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  flex: 1;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.62rem 0.75rem;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: #6b7280;
  font: 600 0.875rem "Manrope", sans-serif;
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-item:hover {
  background: rgba(124, 58, 237, 0.07);
  color: #7c3aed;
}

.nav-item.active {
  background: rgba(124, 58, 237, 0.1);
  color: #7c3aed;
  font-weight: 700;
}

.nav-icon {
  font-size: 1.05rem;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.nav-badge {
  margin-left: auto;
  background: #ef4444;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  padding: 0 5px;
  display: grid;
  place-items: center;
}

.sidebar-footer {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sidebar-hint {
  margin: 0;
  font-size: 0.75rem;
  color: #9ca3af;
  line-height: 1.55;
  font-weight: 500;
}

.logout-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  border: 1.5px solid #fecaca;
  background: #fff5f5;
  color: #ef4444;
  font: 600 0.78rem "Manrope", sans-serif;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
  width: 100%;
  justify-content: center;
}
.logout-btn:hover { background: #fee2e2; border-color: #ef4444; transform: translateY(-1px); }

/* ── MAIN CONTENT ── */
.admin-main {
  flex: 1;
  min-width: 0;
  padding: 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* ── PANELS ── */
.admin-panel {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 18px;
  padding: 1.75rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05), 0 8px 24px rgba(0,0,0,0.04);
  display: none;
}

.admin-panel.active-panel {
  display: block;
}

.panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.panel-title {
  margin: 0 0 0.25rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f0e17;
  line-height: 1.2;
}

.panel-sub {
  margin: 0;
  font-size: 0.875rem;
  color: #9ca3af;
  font-weight: 500;
}

/* ── FORM ── */
.create-form {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

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

.form-field {
  display: flex;
  flex-direction: column;
}

.field-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.45rem;
}

.field-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #374151;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0;
}

.optional-tag {
  font-size: 0.68rem;
  font-weight: 600;
  color: #9ca3af;
  text-transform: none;
  letter-spacing: 0;
  background: #f3f4f6;
  padding: 0.1rem 0.45rem;
  border-radius: 5px;
  margin-left: 0.35rem;
}

.char-counter {
  font-size: 0.72rem;
  font-weight: 600;
  color: #9ca3af;
  transition: color 0.2s ease;
}
.char-counter.warn  { color: #f59e0b; }
.char-counter.limit { color: #ef4444; font-weight: 700; }

.inline-error {
  margin: 0.25rem 0 0;
  font-size: 0.75rem;
  color: #ef4444;
  font-weight: 600;
}

.form-field.has-error .field-input {
  border-color: rgba(239, 68, 68, 0.55);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.field-input {
  height: 44px;
  padding: 0 0.9rem;
  border-radius: 10px;
  border: 1.5px solid #e5e7eb;
  font: 500 0.9rem "Manrope", sans-serif;
  color: #0f0e17;
  background: #fff;
  width: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  box-sizing: border-box;
}

.field-input:focus {
  outline: none;
  border-color: #7c3aed;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.field-input::placeholder {
  color: #c4c9d4;
}

/* ── THEME PICKER ── */
.theme-picker {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem;
}

.theme-option {
  position: relative;
  border: 2px solid #e5e7eb;
  border-radius: 14px;
  padding: 0;
  cursor: pointer;
  background: #fff;
  text-align: left;
  overflow: hidden;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
  font-family: "Manrope", sans-serif;
}

.theme-option:hover {
  border-color: #c4b5fd;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.12);
}

.theme-option.selected {
  border-color: #7c3aed;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.14), 0 6px 20px rgba(124, 58, 237, 0.15);
}

.theme-option.selected .theme-check {
  opacity: 1;
  transform: scale(1);
}

.theme-preview {
  height: 68px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

/* Theme preview swatches */
.theme-preview-romantic {
  background: linear-gradient(135deg, #120508 0%, #1e0813 50%, #2d0d1a 100%);
}
.theme-preview-romantic::after {
  content: "♥";
  position: absolute;
  right: 10px; bottom: 8px;
  font-size: 1.4rem;
  opacity: 0.45;
  color: #ff8fb0;
}

.theme-preview-fun {
  background: linear-gradient(148deg, #ffe135 0%, #ff4d6d 40%, #9b5de5 70%, #00bbf9 100%);
}
.theme-preview-fun::after {
  content: "✦";
  position: absolute;
  right: 10px; bottom: 6px;
  font-size: 1.5rem;
  color: rgba(255,255,255,0.55);
}

.theme-preview-retro {
  background: linear-gradient(180deg, #0d0221 0%, #1a0338 55%, #071240 100%);
}
.theme-preview-retro::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 45, 195, 0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 45, 195, 0.2) 1px, transparent 1px);
  background-size: 16px 14px;
  bottom: 0; top: 40%;
  transform: perspective(60px) rotateX(35deg);
  transform-origin: bottom;
}

.theme-preview-classy {
  background: linear-gradient(160deg, #060609 0%, #0c0b14 100%);
}
.theme-preview-classy::after {
  content: "◆";
  position: absolute;
  right: 10px; bottom: 7px;
  font-size: 1.1rem;
  color: rgba(212, 175, 55, 0.5);
}

.theme-check {
  position: absolute;
  top: 7px; right: 8px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #7c3aed;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.18s ease, transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.theme-meta {
  padding: 0.65rem 0.85rem;
}

.theme-name {
  margin: 0 0 0.1rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #0f0e17;
  line-height: 1.2;
}

.theme-desc {
  margin: 0;
  font-size: 0.72rem;
  color: #9ca3af;
  font-weight: 500;
}

/* ── OPTIONS ── */
.options-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.options-count {
  font-size: 0.72rem;
  color: #9ca3af;
  font-weight: 600;
  background: #f3f4f6;
  border-radius: 20px;
  padding: 0.1rem 0.5rem;
}

.add-option-btn {
  font-size: 0.8rem;
  padding: 0.42rem 0.8rem;
  border-radius: 8px;
  font-weight: 700;
  white-space: nowrap;
  color: #7c3aed;
  border-color: #c4b5fd;
  background: #f5f3ff;
}
.add-option-btn:hover {
  background: #ede9fe;
  border-color: #7c3aed;
  transform: translateY(-1px);
}

.options-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 0.65rem;
}

.option-row {
  display: grid;
  grid-template-columns: 68px 1fr auto;
  gap: 0.5rem;
  align-items: center;
}

.option-letter-input {
  height: 44px;
  padding: 0 0.9rem;
  border-radius: 10px;
  border: 1.5px solid #e5e7eb;
  font: 700 1rem "Space Grotesk", sans-serif;
  color: #7c3aed;
  background: #f5f3ff;
  text-align: center;
  text-transform: uppercase;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.option-letter-input:focus {
  outline: none;
  border-color: #7c3aed;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.option-label-input {
  height: 44px;
  padding: 0 0.9rem;
  border-radius: 10px;
  border: 1.5px solid #e5e7eb;
  font: 500 0.9rem "Manrope", sans-serif;
  color: #0f0e17;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.option-label-input:focus {
  outline: none;
  border-color: #7c3aed;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.remove-btn {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1.5px solid #fecaca;
  background: #fff5f5;
  color: #ef4444;
  font-size: 1rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
  font-family: inherit;
}
.remove-btn:hover {
  background: #fee2e2;
  border-color: #ef4444;
  transform: scale(1.08);
}

/* ── SUBMIT BUTTON ── */
.submit-btn {
  margin-top: 0.25rem;
  font-size: 0.95rem;
  height: 50px;
  border-radius: 12px;
  letter-spacing: 0.01em;
}

.submit-icon {
  font-size: 1.1rem;
}

/* ── SHARE RESULT ── */
.share-result {
  margin-top: 1.5rem;
}

.share-result-inner {
  background: linear-gradient(135deg, #f5f3ff, #ede9fe);
  border: 1.5px solid #c4b5fd;
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
}

.share-check {
  width: 44px; height: 44px;
  background: #7c3aed;
  color: #fff;
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  margin: 0 auto 0.75rem;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.38);
}

.share-title {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  font-weight: 800;
  color: #0f0e17;
}

.share-hint {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  color: #7c3aed;
  font-weight: 500;
}

.share-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  text-align: left;
}

.share-input {
  font-size: 0.82rem;
  color: #4b5563;
  background: rgba(255,255,255,0.8);
  height: 40px;
}

.copy-btn {
  height: 40px;
  padding: 0 1rem;
  border-radius: 9px;
  border: none;
  background: #7c3aed;
  color: #fff;
  font: 700 0.82rem "Manrope", sans-serif;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, transform 0.15s ease;
}
.copy-btn:hover { background: #6d28d9; transform: translateY(-1px); }
.copy-btn:active { transform: translateY(0); }
.copy-btn.copied { background: #059669; }

/* ── CAMPAIGN LIST ── */
.campaign-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: #9ca3af;
}

.empty-state-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  opacity: 0.5;
}

.empty-state p {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
}

/* ── CAMPAIGN CARD ── */
.campaign-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border: 1.5px solid #e5e7eb;
  border-radius: 14px;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
  position: relative;
  overflow: hidden;
}

.campaign-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  border-radius: 0;
}

.campaign-card:hover {
  border-color: #c4b5fd;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.1);
  transform: translateY(-1px);
}

/* Theme accent bars */
.campaign-card[data-theme="romantic"]::before { background: linear-gradient(180deg, #e8547a, #c41c55); }
.campaign-card[data-theme="fun"]::before      { background: linear-gradient(180deg, #ff4d6d, #9b5de5); }
.campaign-card[data-theme="retro"]::before    { background: linear-gradient(180deg, #ff2dc3, #00e5ff); }
.campaign-card[data-theme="classy"]::before   { background: linear-gradient(180deg, #d4af37, #a07820); }

.campaign-card-body {
  flex: 1;
  min-width: 0;
}

.campaign-card h3 {
  margin: 0 0 0.2rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f0e17;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.campaign-card .card-prompt {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  color: #9ca3af;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card-badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 20px;
  text-transform: capitalize;
  letter-spacing: 0.03em;
}

.badge-romantic { background: #fff0f5; color: #c41c55; }
.badge-fun      { background: #f5f0ff; color: #7209b7; }
.badge-retro    { background: #0d0221; color: #ff2dc3; }
.badge-classy   { background: #fdf8e8; color: #92710d; }

.card-responses {
  font-size: 0.75rem;
  color: #9ca3af;
  font-weight: 600;
}
.card-responses b { color: #0f0e17; }

.card-actions {
  display: flex;
  gap: 0.4rem;
  flex-shrink: 0;
  align-items: center;
}

.card-actions .ghost-btn {
  font-size: 0.75rem;
  padding: 0.38rem 0.65rem;
  border-radius: 8px;
  white-space: nowrap;
}

.close-btn {
  font-size: 0.72rem;
  padding: 0.35rem 0.6rem;
  border-radius: 8px;
  border: 1.5px solid #fde68a;
  background: #fffbeb;
  color: #92400e;
  cursor: pointer;
  font: 600 0.72rem "Manrope", sans-serif;
  white-space: nowrap;
  transition: background 0.15s, transform 0.15s;
}
.close-btn:hover { background: #fef3c7; transform: translateY(-1px); }
.close-btn.reopen { border-color: #bbf7d0; background: #f0fdf4; color: #065f46; }
.close-btn.reopen:hover { background: #dcfce7; }

.delete-btn {
  font-size: 0.72rem;
  padding: 0.35rem 0.6rem;
  border-radius: 8px;
  border: 1.5px solid #fecaca;
  background: #fff5f5;
  color: #ef4444;
  cursor: pointer;
  font: 600 0.72rem "Manrope", sans-serif;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.delete-btn:hover { background: #fee2e2; border-color: #ef4444; transform: translateY(-1px); }

.campaign-card.closed {
  opacity: 0.6;
}
.campaign-card.closed h3 { text-decoration: line-through; text-decoration-color: #9ca3af; }

.status-dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #10b981;
  margin-right: 0.3rem;
  flex-shrink: 0;
}
.status-dot.closed { background: #9ca3af; }

.submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  position: relative;
}
.submit-btn:disabled { opacity: 0.6; cursor: default; transform: none !important; }

.btn-loader-inner {
  width: 18px; height: 18px;
  border: 2.5px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin-admin 0.7s linear infinite;
  position: absolute;
  right: 1.2rem;
}
@keyframes spin-admin { to { transform: rotate(360deg); } }

.refresh-btn {
  font-size: 0.82rem;
  white-space: nowrap;
}

/* ── DETAILS PANEL ── */
.details-panel {
  border-top: 3px solid rgba(124, 58, 237, 0.15);
}

.details-panel-header {
  margin-bottom: 1.25rem;
}

.detail-meta {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #f3f4f6;
}

.detail-meta-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f0e17;
}

.options-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
}

.option-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  background: #f5f3ff;
  border: 1px solid #c4b5fd;
  font-size: 0.78rem;
  font-weight: 600;
  color: #5b21b6;
}

.option-chip-letter {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  color: #7c3aed;
  font-size: 0.9rem;
}

.responses-section h3 {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9ca3af;
}

.responses-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.responses-table th {
  text-align: left;
  padding: 0.55rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #9ca3af;
  border-bottom: 1px solid #f3f4f6;
  background: #fafafa;
}

.responses-table th:first-child { border-radius: 8px 0 0 0; }
.responses-table th:last-child  { border-radius: 0 8px 0 0; }

.responses-table td {
  text-align: left;
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid #f9fafb;
  color: #374151;
  font-weight: 500;
}

.responses-table tr:last-child td { border-bottom: none; }
.responses-table tr:hover td { background: #fafafa; }

.letter-cell {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  color: #7c3aed;
  font-size: 1rem;
}

.time-cell {
  font-size: 0.78rem;
  color: #9ca3af;
}

.no-responses {
  text-align: center;
  padding: 2rem;
  color: #9ca3af;
  font-size: 0.875rem;
  font-weight: 500;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .admin-sidebar {
    width: 200px;
    padding: 1.25rem 0.75rem;
  }
  .admin-main {
    padding: 1.25rem 1.25rem;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .admin-layout {
    flex-direction: column;
  }
  .admin-sidebar {
    width: 100%;
    height: auto;
    position: static;
    flex-direction: row;
    align-items: center;
    padding: 0.75rem 1rem;
    border-right: none;
    border-bottom: 1px solid rgba(0,0,0,0.07);
    overflow-x: auto;
  }
  .sidebar-brand {
    padding: 0 1rem 0 0;
    border-bottom: none;
    border-right: 1px solid rgba(0,0,0,0.06);
    margin-bottom: 0;
    margin-right: 1rem;
    flex-shrink: 0;
  }
  .brand-sub { display: none; }
  .sidebar-nav {
    flex-direction: row;
    flex: none;
  }
  .sidebar-footer { display: none; }
  .admin-main {
    padding: 1rem;
  }
  .theme-picker {
    grid-template-columns: repeat(2, 1fr);
  }
  .option-row {
    grid-template-columns: 56px 1fr auto;
  }
  .campaign-card {
    flex-wrap: wrap;
  }
  .card-actions {
    width: 100%;
  }
  .card-actions .ghost-btn {
    flex: 1;
    justify-content: center;
  }
  .share-row {
    grid-template-columns: 1fr;
  }
  .sidebar-lang { display: none; }
}

/* ── ADMIN LANGUAGE SWITCHER ── */
.sidebar-lang {
  padding: 0.5rem 1.25rem;
}
.sidebar-lang-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.35);
  margin-bottom: 0.35rem;
  display: block;
}
.lang-switcher {
  display: flex;
  gap: 0.3rem;
}
.lang-switcher .lang-btn {
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: rgba(0, 0, 0, 0.4);
  padding: 0.28rem 0.55rem;
  border-radius: 6px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s ease;
}
.lang-switcher .lang-btn:hover {
  color: rgba(0, 0, 0, 0.65);
  border-color: rgba(0, 0, 0, 0.2);
}
.lang-switcher .lang-btn.active {
  background: rgba(124, 58, 237, 0.12);
  border-color: rgba(124, 58, 237, 0.5);
  color: #7c3aed;
}

/* ── RECIPIENT LANGUAGE PICKER ── */
.recip-lang-picker {
  display: flex;
  gap: 0.4rem;
}
.recip-lang-btn {
  flex: 1;
  padding: 0.55rem 0.5rem;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: rgba(0, 0, 0, 0.45);
  font-size: 0.78rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}
.recip-lang-btn:hover {
  border-color: rgba(0, 0, 0, 0.2);
  color: rgba(0, 0, 0, 0.7);
}
.recip-lang-btn.active {
  background: rgba(124, 58, 237, 0.1);
  border-color: rgba(124, 58, 237, 0.5);
  color: #7c3aed;
}
