/* Archivo CSS externo para NubeaQR */

:root {
  --bg: #f5efe7;
  --card: #fff;
  --gold: #cfae6a;
  --text: #3c2d1f;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top, #fff9f0, #e7d4bd);
  color: var(--text);
  padding: clamp(12px, 4vw, 32px);
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
}

.admin-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 12px 4px;
  align-items: flex-start;
}

.header-inline {
  display: flex;
  gap: 10px;
  align-items: center;
  width: 100%;
}

.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.15);
}

.tab-bar {
  display: flex;
  gap: 6px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    0 12px 30px rgba(0, 0, 0, 0.08);
}

.tab-btn {
  border: 0;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: transparent;
  color: rgba(0, 0, 0, 0.55);
  cursor: pointer;
}

.tab-btn.active {
  background: linear-gradient(135deg, #f7dab0, #cda258);
  color: #3c2915;
  box-shadow: 0 12px 30px rgba(207, 174, 106, 0.35);
}

.tab-view {
  display: none;
  flex: 1;
  min-height: 0;
  overflow: auto;
}

.tab-view.active {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.card {
  background: var(--card);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.hero-preview {
  height: 160px;
  border-radius: 12px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}

.hero-preview .hero-preview-content {
  padding: 14px;
  color: white;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

.toolbar {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 10px;
}

.btn-gold {
  background: var(--gold);
  border: 0;
  padding: 8px 12px;
  border-radius: 8px;
  color: #3c2915;
  cursor: pointer;
}

.muted {
  color: rgba(0, 0, 0, 0.5);
  font-size: 12px;
}

.denied {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  z-index: 9999;
}

.denied.active {
  display: flex;
}

.form-row {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.albums-preview {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.album-chip {
  padding: 6px 10px;
  background: linear-gradient(180deg, #fff, #f5f0ea);
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

/* Utility class to hide elements (replaces inline display:none) */
.hidden {
  display: none !important;
}

@media (max-width: 720px) {
  .shell {
    padding: 12px;
    border-radius: 16px;
  }
  .hero-preview {
    height: 130px;
  }
}
