/*
 * color-scheme.css — REMBANG COLOR SCHEME SWITCHER UI
 * =====================================================
 * Micro-CSS untuk komponen pemilih warna di footer.
 * Tidak menggunakan warna hardcode — semua pakai var() dari color.css.
 */

/* ==========================================================================
   CONTAINER
   ========================================================================== */

.rembang-color-switcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ==========================================================================
   LABEL
   ========================================================================== */

.rcs-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  white-space: nowrap;
  user-select: none;
}

/* ==========================================================================
   DOT BUTTONS
   ========================================================================== */

.rcs-dot {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  padding: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  outline: none;
  flex-shrink: 0;
}

.rcs-dot:hover {
  transform: scale(1.25);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.15);
}

.rcs-dot:focus-visible {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.4);
}

/* Active state — outer ring */
.rcs-dot.active {
  transform: scale(1.1);
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   DOT COLORS (per scheme)
   ========================================================================== */

.rcs-dot--emerald {
  background-color: #1abc9c;
}

.rcs-dot--ocean {
  background-color: #0064D6;
}

.rcs-dot--royal {
  background-color: #8e44ad;
}

/* ==========================================================================
   TOOLTIP via title attribute — enhanced with CSS
   ========================================================================== */

.rcs-dot[title] {
  position: relative;
}

/* ==========================================================================
   WRAPPER DI COPYRIGHTS ROW
   Memastikan row copyright tetap rapih saat switcher ditambahkan
   ========================================================================== */

.rembang-copyright-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
}

.rembang-copyright-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
