/* =========================================================
   style.css — Custom styles & animation overrides
   (Tailwind handles the design system; keep this file lean)
   ========================================================= */

/* Google Fonts — Inter */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ---------------------------------------------------------
   Brand color variables — editable via the CMS (data/theme.json).
   These mirror the Tailwind blue palette used across the site.
--------------------------------------------------------- */
:root {
  --brand: #1d4ed8;       /* primary (blue-700) */
  --brand-dark: #1e40af;  /* hover states (blue-800) */
  --brand-light: #dbeafe; /* light accents (blue-100) */
  --brand-soft: #eff6ff;  /* soft backgrounds (blue-50) */
  --logo-h: 32px;         /* logo height — editable via CMS */
}

/* Logo sizing (navbar & footer) — driven by --logo-h from CMS.
   !important needed to override Tailwind h-8 w-8 utilities. */
[data-cms-img="site.logo"] {
  height: var(--logo-h, 32px) !important;
  width: auto !important;
  max-width: none;
  object-fit: contain;
}

/* Let the navbar grow when a tall logo is chosen (was fixed h-16 = 64px) */
#site-header nav > div {
  min-height: 4rem;
  height: auto !important;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

/* Map the most common Tailwind utility classes onto the variables.
   Tailwind CDN generates these classes; the overrides below make the
   brand color switchable at runtime without rebuilding anything. */
.text-blue-700 { color: var(--brand) !important; }
.text-blue-500 { color: var(--brand) !important; }
.hover\:text-blue-700:hover { color: var(--brand) !important; }
.hover\:text-blue-800:hover { color: var(--brand-dark) !important; }
.bg-blue-700 { background-color: var(--brand) !important; }
.hover\:bg-blue-700:hover { background-color: var(--brand) !important; }
.hover\:bg-blue-800:hover { background-color: var(--brand-dark) !important; }
.bg-blue-50 { background-color: var(--brand-soft) !important; }
.hover\:bg-blue-50:hover { background-color: var(--brand-soft) !important; }
.text-blue-100 { color: var(--brand-light) !important; }
.text-blue-300 { color: var(--brand-light) !important; }
.ring-blue-700, .focus\:ring-blue-700:focus { --tw-ring-color: var(--brand) !important; }
.focus\:border-blue-700:focus { border-color: var(--brand) !important; }
.from-blue-800 { --tw-gradient-from: var(--brand-dark); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-via, var(--brand)), var(--tw-gradient-to, var(--brand-light)); }
.via-blue-700 { --tw-gradient-via: var(--brand); }
.to-blue-600 { --tw-gradient-to: var(--brand); }

/*
   NOTE: gradients in Tailwind v3 need both stops; the fallback above keeps
   page headers looking right even if via/to classes are absent.
*/

body {
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI',
    Roboto, sans-serif;
  scroll-behavior: smooth;
}

/* ---------------------------------------------------------
   Scroll-reveal animation (add .reveal in HTML; JS toggles .visible)
--------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------------------------------------------------------
   Swiper overrides
--------------------------------------------------------- */
.hero-slider .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.6);
  opacity: 1;
}

.hero-slider .swiper-pagination-bullet-active {
  background: #ffffff;
}

/* Partner logos keep their size but fade slightly */
.partner-slider .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Partner slider controls — light section, so slate circular arrows
   (hero keeps its default white-on-dark controls) */
.partner-slider {
  padding-left: 48px;
  padding-right: 48px;
}

.partner-slider .swiper-button-next,
.partner-slider .swiper-button-prev {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  box-shadow: 0 2px 8px rgba(2, 6, 23, 0.12);
  transition: background 0.15s ease, color 0.15s ease;
}

.partner-slider .swiper-button-next:hover,
.partner-slider .swiper-button-prev:hover {
  background: var(--brand, #1d4ed8);
  color: #fff;
}

.partner-slider .swiper-button-next::after,
.partner-slider .swiper-button-prev::after {
  font-size: 15px;
  font-weight: 800;
}

.partner-slider .swiper-pagination {
  position: static;
  margin-top: 18px;
}

.partner-slider .swiper-pagination-bullet {
  background: #cbd5e1;
  opacity: 1;
}

.partner-slider .swiper-pagination-bullet-active {
  background: var(--brand, #1d4ed8);
}

/* Partner / client logos — text by default, image wins when one was
   uploaded via the CMS (JS toggles .has-src / .has-img). */
.partner-logo {
  position: relative;
}

.partner-logo-img {
  display: none;
  max-height: 48px;
  max-width: 180px;
  width: auto;
  object-fit: contain;
}

.partner-logo-img.has-src {
  display: block;
}

.partner-logo.has-img .partner-logo-name {
  display: none;
}

/* Tech stack items — Font Awesome icon + name by default; an uploaded
   image (via the CMS) wins and hides both icon and name text, exactly
   like partner logos. The × button reverts to icon + text. */
.tech-item {
  position: relative;
  width: 100%;
  min-height: 0;
  background: transparent;
  border: 0;
}

.tech-img {
  display: none;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.tech-img.has-src {
  display: block;
}

.tech-item.has-img .tech-icon,
.tech-item.has-img .tech-name {
  display: none;
}

/* Fallback icon + teks (belum ada gambar): tetap rata tengah */
.tech-item:not(.has-img) {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 0;
}

/* Tech lightbox — full-size image modal */
.tech-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(2, 6, 23, 0.85);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.tech-lightbox.open {
  opacity: 1;
  visibility: visible;
}

.tech-lightbox img {
  max-width: min(90vw, 900px);
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  background: #fff;
  border-radius: 0.5rem;
  padding: 1.5rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
}

.tech-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  border: 0;
  transition: background 0.15s ease;
}

.tech-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.25);
}

.tech-lightbox [hidden] {
  display: none !important;
}

.tech-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  padding-bottom: 0.2rem;
  cursor: pointer;
  border: 0;
  transition: background 0.15s ease;
}

.tech-lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.25);
}

.tech-lightbox-prev {
  left: 1rem;
}

.tech-lightbox-next {
  right: 1rem;
}

.tech-lightbox-count {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.12);
  padding: 0.25rem 0.875rem;
  border-radius: 999px;
  white-space: nowrap;
}

/* Edit mode: empty logo slots show as clickable dashed boxes above
   the (still editable) text name */
.cms-editing .partner-logo-img:not(.has-src) {
  display: block;
  width: 140px;
  height: 40px;
}

/* Back-to-text button on image logos (edit mode only, injected by cms.js) */
.partner-logo-remove {
  position: absolute;
  top: 2px;
  left: 2px;
  z-index: 36;
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.85);
  color: #fff;
  font: 700 14px/1 'Inter', sans-serif;
  cursor: pointer;
}

.partner-logo-remove:hover {
  background: #b91c1c;
}

/* ---------------------------------------------------------
   Misc
--------------------------------------------------------- */
/* Respect fixed sticky header when jumping to #anchors */
html {
  scroll-padding-top: 5rem;
}

/* =========================================================
   CMS — edit mode styles (active only with ?edit=1 + login)
   ========================================================= */

/* Highlight editable text */
.cms-editing [data-cms],
.cms-editing [data-cms-count] {
  outline: 1px dashed rgba(29, 78, 216, 0.45);
  outline-offset: 2px;
  cursor: text;
  min-height: 1em;
}

.cms-editing [data-cms]:hover,
.cms-editing [data-cms-count]:hover {
  outline-color: var(--brand);
  background: rgba(29, 78, 216, 0.06);
}

.cms-editing [data-cms]:focus,
.cms-editing [data-cms-count]:focus {
  outline: 2px solid var(--brand);
  background: rgba(29, 78, 216, 0.08);
}

/* High-contrast edit affordance on dark backgrounds (blue CTA banners,
   dark footer, hero slides): the default blue outline is invisible on
   blue, so use amber instead. Covers present and future dark sections. */
.cms-editing .bg-blue-700 [data-cms],
.cms-editing .bg-blue-800 [data-cms],
.cms-editing .bg-slate-800 [data-cms],
.cms-editing .bg-slate-900 [data-cms],
.cms-editing footer [data-cms],
.cms-editing .bg-blue-700 [data-cms-count],
.cms-editing .bg-blue-800 [data-cms-count],
.cms-editing .bg-slate-800 [data-cms-count],
.cms-editing .bg-slate-900 [data-cms-count],
.cms-editing footer [data-cms-count] {
  outline-color: rgba(252, 211, 77, 0.9);
}

.cms-editing .bg-blue-700 [data-cms]:hover,
.cms-editing .bg-blue-800 [data-cms]:hover,
.cms-editing .bg-slate-800 [data-cms]:hover,
.cms-editing .bg-slate-900 [data-cms]:hover,
.cms-editing footer [data-cms]:hover,
.cms-editing .bg-blue-700 [data-cms-count]:hover,
.cms-editing .bg-blue-800 [data-cms-count]:hover,
.cms-editing .bg-slate-800 [data-cms-count]:hover,
.cms-editing .bg-slate-900 [data-cms-count]:hover,
.cms-editing footer [data-cms-count]:hover {
  outline-color: #fbbf24;
  background: rgba(252, 211, 77, 0.14);
}

.cms-editing .bg-blue-700 [data-cms]:focus,
.cms-editing .bg-blue-800 [data-cms]:focus,
.cms-editing .bg-slate-800 [data-cms]:focus,
.cms-editing .bg-slate-900 [data-cms]:focus,
.cms-editing footer [data-cms]:focus,
.cms-editing .bg-blue-700 [data-cms-count]:focus,
.cms-editing .bg-blue-800 [data-cms-count]:focus,
.cms-editing .bg-slate-800 [data-cms-count]:focus,
.cms-editing .bg-slate-900 [data-cms-count]:focus,
.cms-editing footer [data-cms-count]:focus {
  outline: 2px solid #fbbf24;
  background: rgba(252, 211, 77, 0.16);
}

/* Clickable images */
.cms-editing [data-cms-img] {
  cursor: pointer;
  outline: 2px dashed rgba(29, 78, 216, 0.5);
  outline-offset: -6px;
  transition: outline-color 0.15s ease;
}

.cms-editing [data-cms-img]:hover {
  outline-color: var(--brand);
}

/* Editable links — the link text itself is edited via contenteditable
   ([data-cms]); the 🔗 badge next to it edits the href destination. */
.cms-editing a[data-cms-href] {
  outline: 1px dashed rgba(29, 78, 216, 0.45);
  outline-offset: 2px;
}

.cms-link-host {
  position: relative;
}

.cms-link-edit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 6px;
  padding: 0 5px;
  font-size: 12px;
  line-height: 1.6;
  border: 0;
  border-radius: 5px;
  background: rgba(29, 78, 216, 0.12);
  cursor: pointer;
  vertical-align: baseline;
  user-select: none;
}

.cms-link-edit:hover {
  background: var(--brand);
}

/* Floating section handles */
.cms-section-handle {
  position: relative;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  padding: 6px 10px;
  margin-bottom: 4px;
  background: rgba(15, 23, 42, 0.85);
  border-radius: 6px;
  color: #e2e8f0;
  font: 600 12px/1 'Inter', sans-serif;
  backdrop-filter: blur(4px);
}

.cms-section-handle .cms-section-name {
  margin-right: auto;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.cms-section-handle button {
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease;
}

.cms-section-handle button:hover {
  background: var(--brand);
}

.cms-section-handle button svg {
  width: 14px;
  height: 14px;
  display: block;
}

/* Floating item handles (cards / slider slides inside a section) */
.cms-item-host {
  position: relative;
}

/* Hero slide (edit mode only — Swiper is NOT initialized, see main.js):
   stack all slides vertically so every slide is visible & editable
   without navigating. Overlay / text container pass clicks through
   except on the editable text, links, and image. */
.cms-editing .hero-slider .swiper-wrapper {
  transform: none !important;
  display: flex;
  flex-direction: column;
}

.cms-editing .hero-slider .swiper-slide {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  position: relative;
  width: 100%;
  flex-shrink: 0;
  pointer-events: auto;
  border-bottom: 2px dashed rgba(29, 78, 216, 0.4);
}

.cms-editing .hero-slider .swiper-pagination,
.cms-editing .hero-slider .swiper-button-next,
.cms-editing .hero-slider .swiper-button-prev {
  display: none;
}

.cms-editing .cms-hero-overlay,
.cms-editing .cms-hero-content {
  pointer-events: none;
}

.cms-editing .cms-hero-content [data-cms],
.cms-editing .cms-hero-content a,
.cms-editing .cms-hero-content button,
.cms-editing .hero-slider [data-cms-img] {
  pointer-events: auto;
  position: relative;
  z-index: 2;
}

.cms-item-handle {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 35;
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: rgba(15, 23, 42, 0.85);
  border-radius: 6px;
  opacity: 0;
  transition: opacity 0.12s ease;
  backdrop-filter: blur(4px);
}

.cms-editing .cms-item-host:hover .cms-item-handle {
  opacity: 1;
}

.cms-item-handle button {
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease;
}

.cms-item-handle button:hover {
  background: var(--brand);
}

.cms-item-handle button svg {
  width: 13px;
  height: 13px;
  display: block;
}

/* Bottom toolbar */
.cms-toolbar {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 60;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 18px;
  max-width: calc(100vw - 32px);
  padding: 10px 16px;
  background: #0f172a;
  color: #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(2, 6, 23, 0.45);
  font: 500 13px/1.4 'Inter', sans-serif;
}

.cms-toolbar .cms-badge {
  padding: 4px 10px;
  border-radius: 999px;
  background: #22c55e;
  color: #052e16;
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.cms-toolbar .cms-colors {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cms-toolbar .cms-colors label {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.cms-toolbar .cms-colors input[type='color'] {
  width: 26px;
  height: 26px;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 6px;
  background: none;
  cursor: pointer;
}

/* Logo height control */
.cms-toolbar .cms-logo-size {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.cms-toolbar .cms-logo-size input {
  width: 56px;
  padding: 5px 6px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font: 600 12px/1 'Inter', sans-serif;
}

.cms-toolbar .cms-logo-size .cms-logo-unit {
  opacity: 0.7;
}

.cms-toolbar .cms-actions {
  display: flex;
  gap: 8px;
}

.cms-toolbar .cms-actions button {
  padding: 8px 14px;
  border: 0;
  border-radius: 8px;
  font: 600 13px 'Inter', sans-serif;
  cursor: pointer;
  transition: filter 0.15s ease;
}

.cms-toolbar .cms-actions button:hover { filter: brightness(1.12); }
.cms-toolbar .cms-actions button:disabled { opacity: 0.6; cursor: wait; }

.cms-toolbar [data-cms-action='save'] { background: #22c55e; color: #052e16; }
.cms-toolbar [data-cms-action='exit'] { background: rgba(255, 255, 255, 0.14); color: #e2e8f0; }

.cms-toolbar .cms-media-link {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  color: #e2e8f0;
  font: 600 13px 'Inter', sans-serif;
  text-decoration: none;
  transition: filter 0.15s ease;
}

.cms-toolbar .cms-media-link:hover { filter: brightness(1.12); }

/* Media picker modal (edit mode) — choose from gallery or upload new */
.cms-picker-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(2, 6, 23, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cms-picker-backdrop.show { display: flex; }

.cms-picker {
  background: #fff;
  border-radius: 14px;
  width: 100%;
  max-width: 760px;
  max-height: 82vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(2, 6, 23, 0.5);
  font: 400 13.5px/1.5 'Inter', sans-serif;
  color: #1e293b;
}

.cms-picker-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid #e2e8f0;
}

.cms-picker-head h3 {
  margin: 0 auto 0 0;
  font-size: 15px;
  font-weight: 700;
}

.cms-picker-search {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 7px 10px;
  background: #f8fafc;
}

.cms-picker-search input {
  border: 0;
  outline: none;
  background: transparent;
  font: 400 13px 'Inter', sans-serif;
  color: #1e293b;
  width: 160px;
}

.cms-picker-grid {
  overflow-y: auto;
  padding: 16px 18px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px;
  min-height: 180px;
}

.cms-picker-item {
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  background: #f8fafc;
  padding: 0;
  text-align: left;
  transition: border-color 0.12s ease;
}

.cms-picker-item:hover { border-color: var(--brand, #1d4ed8); }

.cms-picker-item.selected { border-color: #22c55e; }

.cms-picker-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.cms-picker-item .nm {
  display: block;
  padding: 6px 8px;
  font-size: 11px;
  font-weight: 600;
  word-break: break-all;
  max-height: 3.4em;
  overflow: hidden;
  pointer-events: none;
}

.cms-picker-status {
  padding: 30px 18px;
  text-align: center;
  color: #94a3b8;
  font-size: 13.5px;
}

.cms-picker-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;
}

.cms-picker-foot button {
  padding: 9px 15px;
  border: 0;
  border-radius: 8px;
  font: 600 13px 'Inter', sans-serif;
  cursor: pointer;
  transition: filter 0.15s ease;
}

.cms-picker-foot button:hover { filter: brightness(1.08); }

.cms-picker-foot button:disabled { opacity: 0.5; cursor: not-allowed; }

.cms-picker-upload { background: #eff6ff; color: var(--brand, #1d4ed8); }

.cms-picker-cancel { background: #e2e8f0; color: #334155; margin-left: auto; }

.cms-picker-choose { background: #22c55e; color: #052e16; }

/* Toast notifications */
.cms-toast {
  position: fixed;
  left: 50%;
  bottom: 84px;
  transform: translateX(-50%) translateY(8px);
  z-index: 70;
  padding: 10px 18px;
  border-radius: 10px;
  background: #0f172a;
  color: #f1f5f9;
  font: 500 13px/1.4 'Inter', sans-serif;
  box-shadow: 0 8px 24px rgba(2, 6, 23, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.cms-toast.cms-toast-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.cms-toast.cms-toast-error { background: #b91c1c; }

@media (max-width: 640px) {
  .cms-toolbar { gap: 8px; padding: 10px 12px; }
  .cms-toolbar .cms-page { display: none; }
  .cms-toolbar .cms-colors label span { display: none; }
}

/* =========================================================
   CMS — admin banner (shown on all pages while logged in)
   ========================================================= */
.cms-admin-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  z-index: 45;
  padding: 8px 16px;
  background: #0f172a;
  color: #f1f5f9;
  font: 500 13px/1.4 'Inter', sans-serif;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}

.cms-admin-banner .cms-admin-hello {
  font-weight: 600;
  letter-spacing: 0.01em;
}

.cms-admin-banner .cms-admin-hello::before {
  content: '\\1F44B';
  margin-right: 8px;
}

.cms-admin-banner .cms-admin-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cms-admin-banner .cms-admin-btn {
  display: inline-block;
  padding: 6px 14px;
  border: 0;
  border-radius: 7px;
  font: 600 13px 'Inter', sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: filter 0.15s ease;
}

.cms-admin-banner .cms-admin-btn:hover { filter: brightness(1.15); }

.cms-admin-banner .cms-admin-edit {
  background: var(--brand, #1d4ed8);
  color: #fff;
}

.cms-admin-banner .cms-admin-logout {
  background: rgba(255, 255, 255, 0.14);
  color: #e2e8f0;
}

.cms-admin-banner .cms-admin-nav {
  height: 30px;
  padding: 0 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 7px;
  background-color: #0f172a;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%2394a3b8' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  -webkit-appearance: none;
  appearance: none;
  color: #e2e8f0;
  font: 600 12.5px 'Inter', sans-serif;
  cursor: pointer;
}

.cms-admin-banner .cms-admin-nav:hover,
.cms-admin-banner .cms-admin-nav:focus {
  border-color: var(--brand, #1d4ed8);
  outline: none;
}

.cms-admin-banner .cms-admin-nav option {
  background: #0f172a;
  color: #e2e8f0;
}
