/**
 * FifoConsult Custom WordPress Theme
 *
 * CSS module: Client Project Path Interface.
 *
 * Module:
 * FifoConsult — Client Project Path Popup.
 *
 * This stylesheet controls the premium interactive Client Project Path
 * presentation interface that opens from the Client icon in the Glass Access Dock.
 *
 * Purpose:
 * The Client Project Path module presents how FifoConsult guides a custom
 * digital project from the first client access point to workflow logic,
 * SMART interface structure and final ART-to-SMART implementation method.
 *
 * Responsibilities:
 * - Client Project Path modal overlay
 * - main popup shell positioning
 * - left-side navigation panel
 * - icon and navigation item styling
 * - welcome state layout
 * - active project state layout
 * - right-side visual presentation area
 * - visual PNG state positioning
 * - Glass Detail Cloud layer
 * - detail cloud typography and scroll area
 * - micro information controls
 * - bottom message and bottom fade styling
 * - custom scroll comet effect
 * - close button styling
 * - desktop/laptop visual tuning for the interface
 *
 * Main interactive sections:
 * - Access Details
 * - Workflow Logic
 * - Smart UI
 * - FifoConsult Method
 *
 * Related template:
 * template-parts/client-project-path-popup.php
 *
 * Related JavaScript:
 * assets/js/client-project-path.js
 *
 * Visual assets:
 * assets/img/client-path/
 *
 * Visual identity:
 * Purple / violet ART-to-SMART project workflow identity.
 *
 * Related trigger:
 * Header Glass Access Dock / Client icon.
 *
 * Important implementation note:
 * This CSS file is intentionally separated from main.css so the Client Project
 * Path interface can remain an independent, maintainable presentation module.
 *
 * Concept, visual direction, structure, interface design and implementation:
 * Dragan Oljaca / FifoConsult
 *
 * Website: https://www.fifoconsult.com
 * Author: Dragan Oljaca
 * Brand: FifoConsult
 *
 * All rights reserved.
 */

:root {
  --fc-client-path-white: #f4f3f7;
  --fc-client-path-muted: rgba(220, 222, 230, 0.78);
  --fc-client-path-dim: rgba(180, 184, 196, 0.58);
  --fc-client-path-purple: #a884ff;
  --fc-client-path-purple-soft: rgba(168, 132, 255, 0.42);
  --fc-client-path-purple-glow: rgba(168, 132, 255, 0.72);
}

body.fc-client-path-open {
  overflow: hidden;
}

.fc-client-path-overlay[hidden] {
  display: none !important;
}

.fc-client-path-overlay {
  position: fixed;
  top: 82px;
  left: 0;
  width: 100%;
  height: calc(100vh - 82px);
  height: calc(100svh - 82px);
  z-index: 10080;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  opacity: 1;
  pointer-events: none;
  transition: none;
}

.admin-bar .fc-client-path-overlay {
  top: 114px;
  height: calc(100vh - 114px);
  height: calc(100svh - 114px);
}

.fc-client-path-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.fc-client-path-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(
      circle at 22% 28%,
      rgba(178, 118, 70, 0.22),
      transparent 34%
    ),
    radial-gradient(
      circle at 78% 48%,
      rgba(24, 89, 155, 0.28),
      transparent 36%
    ),
    linear-gradient(90deg, rgba(0, 0, 0, 0.56), rgba(0, 0, 0, 0.66));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* =========================
   POPUP FRAME
========================= */

.fc-client-path-popup {
  position: relative;
  z-index: 1;
  width: min(88vw, 1680px, calc((100svh - 130px) * 2.071));
  aspect-ratio: 2048 / 989;
  outline: none;
  opacity: 0;
  transform: translateY(14px) scale(0.982);
  transition:
    opacity 0.55s ease,
    transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
}

.fc-client-path-overlay.is-open .fc-client-path-popup {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.fc-client-path-background-frame {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  pointer-events: none;
  user-select: none;
}

.fc-client-path-stage {
  position: absolute;
  inset: 0;
  z-index: 2;
}

/* Close button */

.fc-client-path-close {
  position: absolute;
  top: 11.6%;
  right: 4.6%;
  z-index: 8;
  width: clamp(26px, 2.2vw, 42px);
  height: clamp(26px, 2.2vw, 42px);
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  opacity: 0.72;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    filter 0.25s ease;
}

.fc-client-path-close span::before,
.fc-client-path-close span::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 62%;
  height: 2px;
  border-radius: 999px;
  background: rgba(245, 246, 250, 0.92);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.28);
}

.fc-client-path-close span::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.fc-client-path-close span::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.fc-client-path-close:hover,
.fc-client-path-close:focus-visible {
  opacity: 1;
  transform: scale(1.05);
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.22));
  outline: none;
}

/* =========================
   LEFT SELECTOR PANEL
========================= */

.fc-client-path-left-panel {
  position: absolute;
  left: 9.15%;
  top: 17.75%;
  width: 27.8%;
  height: 67%;
  z-index: 4;
  font-family: Inter, Arial, sans-serif;
}

.fc-client-path-left-label {
  margin: 0 0 clamp(8px, 0.7vw, 13px);
  color: rgba(226, 226, 234, 0.62);
  font-size: clamp(9px, 0.62vw, 13px);
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.fc-client-path-left-title {
  margin: 0;
  color: rgba(244, 243, 247, 0.86);
  font-size: clamp(21px, 1.7vw, 34px);
  line-height: 1.05;
  font-weight: 720;
  letter-spacing: 0;
}

.fc-client-path-nav {
  margin-top: clamp(24px, 4.2vw, 66px);
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.75vw, 28px);
}

.fc-client-path-nav-item {
  width: 100%;
  min-height: clamp(34px, 2.35vw, 48px);
  padding: 0;
  border: 0;
  background: transparent;
  display: grid;
  grid-template-columns: clamp(34px, 2.8vw, 52px) minmax(0, 1fr);
  align-items: center;
  column-gap: clamp(18px, 1.75vw, 32px);
  color: rgba(176, 137, 255, 0.88);
  font-family: inherit;
  cursor: pointer;
}

.fc-client-path-nav-icon {
  width: clamp(28px, 2.2vw, 40px);
  height: clamp(28px, 2.2vw, 40px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(170, 132, 255, 0.8);
  opacity: 0.92;
  transition:
    color 0.28s ease,
    opacity 0.28s ease,
    filter 0.28s ease,
    transform 0.28s ease;
}

.fc-client-path-nav-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fc-client-path-nav-text {
  width: min(100%, clamp(190px, 15.2vw, 288px));
  min-height: clamp(30px, 2.08vw, 42px);
  padding: 0 clamp(19px, 1.65vw, 34px);
  border-radius: 999px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.045),
      rgba(255, 255, 255, 0.015)
    ),
    rgba(8, 8, 10, 0.26);
  border: 1px solid rgba(255, 255, 255, 0.045);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    inset 0 -10px 18px rgba(0, 0, 0, 0.22);
  color: rgba(232, 230, 238, 0.76);
  font-size: clamp(12px, 1.05vw, 19px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.035em;
  text-align: left;
  transition:
    color 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease,
    background 0.28s ease,
    text-shadow 0.28s ease;
}

.fc-client-path-nav-item:hover .fc-client-path-nav-icon,
.fc-client-path-nav-item:focus-visible .fc-client-path-nav-icon {
  opacity: 1;
  color: rgba(196, 164, 255, 1);
  transform: scale(1.04);
  filter: drop-shadow(0 0 10px rgba(168, 132, 255, 0.38));
}

.fc-client-path-nav-item:hover .fc-client-path-nav-text,
.fc-client-path-nav-item:focus-visible .fc-client-path-nav-text {
  color: rgba(255, 255, 255, 0.92);
  border-color: rgba(168, 132, 255, 0.34);
  text-shadow: 0 0 12px rgba(168, 132, 255, 0.32);
}

.fc-client-path-nav-item:focus-visible {
  outline: none;
}

.fc-client-path-nav-item.is-active .fc-client-path-nav-icon {
  color: rgba(193, 160, 255, 1);
  opacity: 1;
  transform: scale(1.06);
  filter: drop-shadow(0 0 10px rgba(168, 132, 255, 0.72))
    drop-shadow(0 0 20px rgba(168, 132, 255, 0.32));
}

.fc-client-path-nav-item.is-active .fc-client-path-nav-text {
  color: #ffffff;
  border-color: rgba(188, 154, 255, 0.82);
  background:
    linear-gradient(
      180deg,
      rgba(172, 132, 255, 0.18),
      rgba(172, 132, 255, 0.055)
    ),
    rgba(15, 12, 22, 0.38);
  box-shadow:
    0 0 0 1px rgba(168, 132, 255, 0.18),
    0 0 24px rgba(168, 132, 255, 0.44),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -12px 22px rgba(0, 0, 0, 0.22);
  text-shadow: 0 0 14px rgba(168, 132, 255, 0.5);
}

/* =========================
   RIGHT CONTENT BUBBLE
========================= */

.fc-client-path-right {
  position: absolute;
  left: 41.8%;
  top: 15%;
  width: 55.2%;
  height: 77%;
  z-index: 3;
  font-family: Inter, Arial, sans-serif;
}

.fc-client-path-content-bubble,
.fc-client-path-visual {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  pointer-events: none;
  user-select: none;
}

/* Main PNG glass bubble */
.fc-client-path-content-bubble {
  z-index: 1;
}

/* State visual PNG */
.fc-client-path-visual {
  z-index: 2;
  opacity: 1;
  transition:
    opacity 0.34s ease,
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.42s ease;
}

.fc-client-path-visual.is-changing {
  opacity: 0;
  transform: translateY(5px) scale(0.992);
  filter: blur(3px);
}

/* HTML content layer only — no background, no mask */
.fc-client-path-content-layer {
  position: absolute;
  inset: 0;
  z-index: 3;
  color: var(--fc-client-path-white);
}

.fc-client-path-scroll-area {
  position: absolute;
  left: 6.9%;
  top: 14%;
  width: 47%;
  height: 61%;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: clamp(14px, 1.2vw, 22px);
  scrollbar-width: none;
  outline: none;

  -webkit-mask-image: linear-gradient(
    180deg,
    #000 0%,
    #000 calc(100% - 24px),
    transparent 100%
  );
  mask-image: linear-gradient(
    180deg,
    #000 0%,
    #000 calc(100% - 42px),
    transparent 100%
  );
}

.fc-client-path-scroll-area::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.fc-client-path-scroll-area:focus-visible {
  box-shadow:
    inset 0 0 0 1px rgba(168, 132, 255, 0.5),
    inset 0 0 18px rgba(168, 132, 255, 0.16);
}

.fc-client-path-copy {
  min-height: 100%;
  padding-bottom: clamp(4px, 0.4vw, 10px);

  transition:
    opacity 0.24s ease,
    transform 0.24s ease,
    filter 0.24s ease;
}

.fc-client-path-copy.is-changing {
  opacity: 0;
  transform: translateY(5px);
  filter: blur(3px);
}

.fc-client-path-kicker {
  margin: 0 0 clamp(12px, 1vw, 20px);
  color: rgba(190, 160, 255, 0.9);
  font-size: clamp(9px, 0.7vw, 13px);
  line-height: 1;
  font-weight: 760;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.fc-client-path-title {
  margin: 0 0 clamp(13px, 1.15vw, 22px);
  max-width: 98%;
  color: rgba(244, 243, 247, 0.86);
  font-size: clamp(24px, 2.15vw, 42px);
  line-height: 1.08;
  font-weight: 760;
  letter-spacing: -0.015em;
}

.fc-client-path-title span {
  color: var(--fc-client-path-purple);
}

.fc-client-path-copy[data-state="welcome"] .fc-client-path-title {
  margin-bottom: clamp(28px, 2.4vw, 48px);
}

.fc-client-path-subtitle {
  margin: 0 0 clamp(8px, 0.7vw, 13px);
  color: rgba(244, 243, 247, 0.8);
  font-size: clamp(12px, 0.95vw, 18px);
  line-height: 1.45;
  font-weight: 400;
}

.fc-client-path-intro {
  max-width: 98%;
  color: rgba(244, 243, 247, 0.76);
  font-size: clamp(11px, 0.86vw, 16px);
  line-height: 1.58;
  font-weight: 400;
}

.fc-client-path-intro p {
  margin: 0 0 clamp(14px, 1.12vw, 22px);
}

.fc-client-path-intro a,
.fc-client-path-intro span {
  color: var(--fc-client-path-purple);
}

.fc-client-path-items {
  margin-top: clamp(20px, 2vw, 36px);
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 1.7vw, 30px);
}

.fc-client-path-item {
  display: grid;
  grid-template-columns: clamp(34px, 2.75vw, 50px) minmax(0, 1fr);
  column-gap: clamp(18px, 1.55vw, 28px);
  align-items: flex-start;
}

.fc-client-path-item-icon {
  width: clamp(30px, 2.35vw, 44px);
  height: clamp(30px, 2.35vw, 44px);
  color: rgba(176, 137, 255, 0.88);
  filter: drop-shadow(0 0 10px rgba(168, 132, 255, 0.22));
}

.fc-client-path-item-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fc-client-path-item-title {
  margin: 0 0 6px;
  color: rgba(244, 243, 247, 0.86);
  font-size: clamp(12px, 0.88vw, 16px);
  line-height: 1.25;
  font-weight: 760;
}

.fc-client-path-item-text {
  margin: 0;
  color: rgba(244, 243, 247, 0.7);
  font-size: clamp(11px, 0.82vw, 15px);
  line-height: 1.54;
  font-weight: 400;
}

.fc-client-path-bottom-fade {
  display: none !important;
  opacity: 0 !important;
  background: none !important;
}

.fc-client-path-bottom-fade.is-visible {
  display: none !important;
  opacity: 0 !important;
}

.fc-client-path-bottom-message {
  position: absolute;
  left: 6.9%;
  bottom: 9.8%;
  width: 67%;
  z-index: 5;
  display: grid;
  grid-template-columns: clamp(24px, 1.7vw, 32px) minmax(0, 1fr);
  align-items: center;
  column-gap: clamp(13px, 1.1vw, 20px);
  color: rgba(244, 243, 247, 0.76);
  font-size: clamp(12px, 0.92vw, 17px);
  line-height: 1.38;
}

.fc-client-path-bottom-icon {
  width: clamp(20px, 1.45vw, 28px);
  height: clamp(20px, 1.45vw, 28px);
  color: rgba(176, 137, 255, 0.92);
  filter: drop-shadow(0 0 8px rgba(168, 132, 255, 0.25));
}

.fc-client-path-bottom-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* =========================
   SCROLL COMET
========================= */

.fc-client-path-scroll-comet {
  position: absolute;
  right: 3.55%;
  top: 10.5%;
  height: 76%;
  width: 18px;
  z-index: 6;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.fc-client-path-scroll-comet.is-visible {
  opacity: 1;
}

.fc-client-path-scroll-rail {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  transform: translateX(-50%);
  background: linear-gradient(
    180deg,
    transparent,
    rgba(168, 132, 255, 0.1) 18%,
    rgba(168, 132, 255, 0.24) 50%,
    rgba(168, 132, 255, 0.1) 82%,
    transparent
  );
  box-shadow: 0 0 10px rgba(168, 132, 255, 0.1);
}

.fc-client-path-comet {
  position: absolute;
  left: 50%;
  top: 0;
  width: 14px;
  height: 54px;
  transform: translate(-50%, 0);
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  transition:
    transform 0.12s linear,
    filter 0.25s ease;
  will-change: transform;
}

/* comet tail — default direction: moving down */
.fc-client-path-comet::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: auto;
  width: 2px;
  height: 42px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(168, 132, 255, 0.04) 20%,
    rgba(168, 132, 255, 0.18) 70%,
    rgba(218, 198, 255, 0.38) 100%
  );
  filter: blur(0.3px);
}

/* comet head */
.fc-client-path-comet::after {
  content: "";
  position: absolute;
  left: 50%;
  top: auto;
  bottom: 0;
  width: 7px;
  height: 10px;
  transform: translateX(-50%);
  border-radius: 60% 60% 70% 70%;
  background: radial-gradient(
    circle at 50% 36%,
    rgba(255, 255, 255, 0.98),
    rgba(214, 194, 255, 0.82) 34%,
    rgba(168, 132, 255, 0.4) 62%,
    transparent 78%
  );
  box-shadow:
    0 0 6px rgba(214, 194, 255, 0.65),
    0 0 14px rgba(168, 132, 255, 0.36),
    0 0 26px rgba(168, 132, 255, 0.16);
}

/* when scrolling up — head moves to the top, tail falls below it */
.fc-client-path-comet.is-up::before {
  top: auto;
  bottom: 0;
  background: linear-gradient(
    180deg,
    rgba(218, 198, 255, 0.38) 0%,
    rgba(168, 132, 255, 0.18) 30%,
    rgba(168, 132, 255, 0.04) 80%,
    transparent 100%
  );
}

.fc-client-path-comet.is-up::after {
  top: 0;
  bottom: auto;
}

.fc-client-path-comet.is-down {
  filter: none;
}

.fc-client-path-comet.is-up {
  filter: hue-rotate(8deg);
}

/* =========================
   TOP MICRO LINKS / TOOLTIPS
========================= */

.fc-client-path-top-links {
  position: absolute;
  left: 45.5%;
  top: 13.5%;
  width: 33%;
  z-index: 8;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(18px, 1.8vw, 38px);

  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  pointer-events: none;

  transition:
    opacity 0.32s ease,
    visibility 0.32s ease,
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Linkovi se pale tek kada nije Welcome state */
.fc-client-path-popup.has-active-section .fc-client-path-top-links {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.fc-client-path-top-link {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;

  color: rgba(244, 243, 247, 0.34);
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(11px, 0.78vw, 15px);
  line-height: 1;
  font-weight: 620;
  letter-spacing: 0.045em;

  cursor: pointer;

  transition:
    color 0.25s ease,
    opacity 0.25s ease,
    text-shadow 0.25s ease,
    transform 0.25s ease;
}

.fc-client-path-top-link:hover,
.fc-client-path-top-link:focus-visible {
  color: rgba(244, 243, 247, 0.82);
  text-shadow:
    0 0 12px rgba(168, 132, 255, 0.36),
    0 0 24px rgba(168, 132, 255, 0.16);
  transform: translateY(-1px);
  outline: none;
}

/* Tooltip bubble */
.fc-client-path-top-tooltip {
  position: absolute;
  left: var(--fc-tip-x, 60%);
  top: 16.2%;
  width: clamp(250px, 21vw, 380px);
  z-index: 11;

  padding: clamp(20px, 1.45vw, 28px) clamp(24px, 1.75vw, 34px);
  border-radius: clamp(20px, 1.55vw, 30px);

  background: linear-gradient(
    135deg,
    rgba(15, 18, 27, 0.68),
    rgba(8, 12, 20, 0.42)
  );

  border: none;
  outline: none;

  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.3),
    0 0 34px rgba(168, 132, 255, 0.1);

  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px) scale(0.985);
  filter: blur(4px);
  pointer-events: none;

  transition:
    opacity 0.32s ease,
    visibility 0.32s ease,
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.32s ease;
}

.fc-client-path-top-tooltip.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0) scale(1);
  filter: blur(0);
  pointer-events: auto;
}

.fc-client-path-top-tooltip-kicker {
  margin: 0 0 9px;
  color: rgba(190, 160, 255, 0.82);
  font-size: clamp(8px, 0.58vw, 11px);
  line-height: 1;
  font-weight: 780;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.fc-client-path-top-tooltip-title {
  margin: 0 0 8px;
  color: rgba(244, 243, 247, 0.88);
  font-size: clamp(14px, 1vw, 19px);
  line-height: 1.18;
  font-weight: 760;
  letter-spacing: -0.015em;
}

.fc-client-path-top-tooltip-text {
  margin: 0;
  color: rgba(244, 243, 247, 0.68);
  font-size: clamp(11px, 0.78vw, 14px);
  line-height: 1.5;
  font-weight: 400;
}

/* =========================
   WELCOME INLINE NAV LINKS
========================= */

.fc-client-path-inline-link {
  appearance: none;
  -webkit-appearance: none;
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  display: inline-block;
  color: rgba(168, 132, 255, 0.76);
  font-weight: 720;
  letter-spacing: 0.01em;
  cursor: pointer;
  user-select: none;

  transition:
    color 0.24s ease,
    text-shadow 0.24s ease,
    transform 0.24s ease,
    opacity 0.24s ease;
}

.fc-client-path-inline-link:hover,
.fc-client-path-inline-link:focus-visible {
  color: rgba(218, 198, 255, 0.96);
  text-shadow:
    0 0 10px rgba(168, 132, 255, 0.46),
    0 0 22px rgba(168, 132, 255, 0.24);
  transform: translateY(-1px);
  outline: none;
}

.fc-client-path-inline-link:active {
  color: rgba(244, 243, 247, 0.98);
  transform: translateY(0);
}

/* =========================
   GLASS DETAIL CLOUD
========================= */

.fc-client-path-detail-cloud {
  position: absolute;
  left: 67%;
  top: 27.5%;
  width: clamp(420px, 38vw, 680px);
  min-height: clamp(270px, 28vw, 430px);
  z-index: 18;

  display: flex;
  align-items: center;

  padding: clamp(28px, 2.3vw, 46px) clamp(32px, 2.7vw, 54px);
  border-radius: clamp(28px, 2.2vw, 44px);

  background:
    radial-gradient(
      circle at 78% 18%,
      rgba(168, 132, 255, 0.18),
      transparent 34%
    ),
    radial-gradient(
      circle at 18% 85%,
      rgba(92, 148, 255, 0.1),
      transparent 38%
    ),
    linear-gradient(135deg, rgba(12, 16, 26, 0.82), rgba(6, 10, 17, 0.68));

  border: none;
  outline: none;

  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.46),
    0 0 70px rgba(168, 132, 255, 0.16),
    0 0 120px rgba(70, 120, 255, 0.08);

  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);

  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 18px) scale(0.965);
  filter: blur(6px);
  pointer-events: none;

  transition:
    opacity 0.38s ease,
    visibility 0.38s ease,
    transform 0.46s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.38s ease;
}

.fc-client-path-detail-cloud[hidden] {
  display: block;
}

.fc-client-path-detail-cloud.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0) scale(1);
  filter: blur(0);
  pointer-events: auto;
}

.fc-client-path-detail-cloud-glow {
  position: absolute;
  inset: -18%;
  z-index: -1;
  border-radius: inherit;

  background:
    radial-gradient(
      circle at 52% 36%,
      rgba(168, 132, 255, 0.2),
      transparent 44%
    ),
    radial-gradient(circle at 76% 70%, rgba(65, 130, 255, 0.1), transparent 42%);

  filter: blur(22px);
  opacity: 0.72;
  pointer-events: none;
}

.fc-client-path-detail-cloud-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 92%;
  transform: translateY(-2%);
}

.fc-client-path-detail-cloud-kicker {
  margin: 0 0 clamp(13px, 1vw, 20px);

  color: rgba(190, 160, 255, 0.88);
  font-size: clamp(9px, 0.65vw, 12px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.fc-client-path-detail-cloud-title {
  margin: 0 0 clamp(18px, 1.35vw, 26px);

  color: rgba(244, 243, 247, 0.88);
  font-size: clamp(25px, 2.05vw, 42px);
  line-height: 1.08;
  font-weight: 780;
  letter-spacing: -0.025em;
}

.fc-client-path-detail-cloud-text {
  margin: 0;

  color: rgba(244, 243, 247, 0.68);
  font-size: clamp(14px, 0.95vw, 18px);
  line-height: 1.68;
  font-weight: 420;
  letter-spacing: -0.005em;
}

.fc-client-path-detail-cloud-close {
  position: absolute;
  right: clamp(18px, 1.5vw, 30px);
  top: clamp(18px, 1.5vw, 30px);
  width: clamp(26px, 1.9vw, 36px);
  height: clamp(26px, 1.9vw, 36px);
  z-index: 4;

  appearance: none;
  border: 0;
  outline: none;
  background: transparent;
  padding: 0;
  margin: 0;

  cursor: pointer;
  opacity: 0.56;

  transition:
    opacity 0.24s ease,
    transform 0.24s ease,
    filter 0.24s ease;
}

.fc-client-path-detail-cloud-close:hover,
.fc-client-path-detail-cloud-close:focus-visible {
  opacity: 0.94;
  transform: scale(1.06);
  filter: drop-shadow(0 0 10px rgba(168, 132, 255, 0.36));
  outline: none;
}

.fc-client-path-detail-cloud-close span {
  position: absolute;
  inset: 0;
  display: block;
}

.fc-client-path-detail-cloud-close span::before,
.fc-client-path-detail-cloud-close span::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 72%;
  height: 2px;
  border-radius: 999px;
  background: rgba(244, 243, 247, 0.78);
  transform-origin: center;
}

.fc-client-path-detail-cloud-close span::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.fc-client-path-detail-cloud-close span::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* =========================
   PANEL DETAIL TRIGGERS
========================= */

/* Icon + title behave as one active detail unit */

.fc-client-path-detail-row {
  position: relative;
}

.fc-client-path-detail-icon-trigger {
  cursor: pointer;
  transition:
    color 0.24s ease,
    opacity 0.24s ease,
    filter 0.24s ease,
    transform 0.24s ease;
}

.fc-client-path-detail-icon-trigger svg,
.fc-client-path-detail-icon-trigger path,
.fc-client-path-detail-icon-trigger rect,
.fc-client-path-detail-icon-trigger circle,
.fc-client-path-detail-icon-trigger line,
.fc-client-path-detail-icon-trigger polyline,
.fc-client-path-detail-icon-trigger polygon {
  transition:
    stroke 0.24s ease,
    fill 0.24s ease,
    opacity 0.24s ease,
    filter 0.24s ease,
    transform 0.24s ease;
}

/* Kada je naslov ili ikonica u hover/focus stanju */
.fc-client-path-detail-row.is-detail-hover .fc-client-path-detail-trigger,
.fc-client-path-detail-row.is-detail-hover .fc-client-path-detail-icon-trigger {
  color: rgba(218, 198, 255, 0.98);
  text-shadow:
    0 0 10px rgba(168, 132, 255, 0.46),
    0 0 22px rgba(168, 132, 255, 0.24);
}

.fc-client-path-detail-row.is-detail-hover .fc-client-path-detail-icon-trigger {
  opacity: 1;
  filter: drop-shadow(0 0 10px rgba(168, 132, 255, 0.52))
    drop-shadow(0 0 22px rgba(168, 132, 255, 0.26));
  transform: translateY(-1px) scale(1.035);
}

/* Ako je ikonica inline SVG, pokušavamo da joj damo isti ljubičasti karakter */
.fc-client-path-detail-row.is-detail-hover
  .fc-client-path-detail-icon-trigger
  svg,
.fc-client-path-detail-row.is-detail-hover
  .fc-client-path-detail-icon-trigger
  path,
.fc-client-path-detail-row.is-detail-hover
  .fc-client-path-detail-icon-trigger
  rect,
.fc-client-path-detail-row.is-detail-hover
  .fc-client-path-detail-icon-trigger
  circle,
.fc-client-path-detail-row.is-detail-hover
  .fc-client-path-detail-icon-trigger
  line,
.fc-client-path-detail-row.is-detail-hover
  .fc-client-path-detail-icon-trigger
  polyline,
.fc-client-path-detail-row.is-detail-hover
  .fc-client-path-detail-icon-trigger
  polygon {
  stroke: rgba(218, 198, 255, 0.98);
}

.fc-client-path-detail-trigger {
  appearance: none;
  -webkit-appearance: none;
  display: inline-block;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  font: inherit;
  line-height: inherit;
  text-align: left;
  color: rgba(244, 243, 247, 0.88);
  cursor: pointer;
  transition:
    color 0.24s ease,
    text-shadow 0.24s ease,
    transform 0.24s ease;
}

.fc-client-path-detail-trigger:hover,
.fc-client-path-detail-trigger:focus-visible {
  color: rgba(218, 198, 255, 0.98);
  text-shadow:
    0 0 10px rgba(168, 132, 255, 0.46),
    0 0 22px rgba(168, 132, 255, 0.24);
  transform: translateY(-1px);
  outline: none;
}

/* =========================
   RESPONSIVE SAFETY
========================= */

@media (max-width: 1200px) {
  .fc-client-path-popup {
    width: min(94vw, calc((100svh - 128px) * 2.071));
  }

  .fc-client-path-left-panel {
    left: 10.6%;
  }

  .fc-client-path-nav {
    gap: clamp(18px, 2.3vw, 32px);
  }
}

@media (max-width: 900px) {
  .fc-client-path-popup {
    width: 96vw;
  }

  .fc-client-path-left-title {
    font-size: clamp(17px, 2.2vw, 24px);
  }

  .fc-client-path-nav-text {
    font-size: clamp(11px, 1.45vw, 15px);
  }

  .fc-client-path-title {
    font-size: clamp(23px, 3.4vw, 34px);
  }
}

@media (max-width: 700px) {
  .fc-client-path-overlay {
    top: 82px;
    height: calc(100vh - 82px);
    height: calc(100svh - 82px);
  }

  .admin-bar .fc-client-path-overlay {
    top: 128px;
    height: calc(100vh - 128px);
    height: calc(100svh - 128px);
  }

  .fc-client-path-popup {
    width: 98vw;
  }

  .fc-client-path-scroll-comet {
    display: none;
  }
}

/* Welcome state — extra title spacing */
.fc-client-path-copy.is-welcome-state .fc-client-path-title {
  margin-bottom: clamp(28px, 2.4vw, 48px);
}

/* =========================================================
   CLIENT PROJECT PATH — TYPOGRAPHY COLOR HARMONIZATION
   Applies the approved FifoConsult bronze-gold typography palette
   only to the existing white / neutral text.

   The Client Project Path violet identity remains unchanged:
   violet kickers, title accents, inline links, icons, borders,
   active glows, hover glows and visual effects are preserved.

   Typography colors only — no layout, images, popup dimensions,
   animation, timing, interaction or JavaScript changes.
   ========================================================= */

/* Left identity and navigation */

.fc-client-path-left-label {
  color: #706957 !important;
}

.fc-client-path-left-title {
  color: #887b60 !important;
}

.fc-client-path-nav-text {
  color: #706957 !important;
}

.fc-client-path-nav-item:hover .fc-client-path-nav-text,
.fc-client-path-nav-item:focus-visible .fc-client-path-nav-text {
  color: #958b73 !important;
}

.fc-client-path-nav-item.is-active .fc-client-path-nav-text {
  color: #958b73 !important;
}

/* Main right-side content */

.fc-client-path-content-layer {
  color: #635d4f !important;
}

.fc-client-path-title {
  color: #887b60 !important;
}

/* Keep the existing violet title accent. */
.fc-client-path-title span {
  color: var(--fc-client-path-purple) !important;
}

.fc-client-path-subtitle {
  color: #958b73 !important;
}

.fc-client-path-intro {
  color: #635d4f !important;
}

/* Keep violet inline emphasis and links. */
.fc-client-path-intro a,
.fc-client-path-intro span {
  color: var(--fc-client-path-purple) !important;
}

.fc-client-path-item-title {
  color: #958b73 !important;
}

.fc-client-path-item-text {
  color: #635d4f !important;
}

.fc-client-path-bottom-message {
  color: #706957 !important;
}

/* Top micro navigation and tooltip typography */

.fc-client-path-top-link {
  color: #706957 !important;
}

.fc-client-path-top-link:hover,
.fc-client-path-top-link:focus-visible {
  color: #958b73 !important;
}

.fc-client-path-top-tooltip-title {
  color: #887b60 !important;
}

.fc-client-path-top-tooltip-text {
  color: #635d4f !important;
}

/* Tooltip kicker remains violet. */
.fc-client-path-top-tooltip-kicker {
  color: rgba(190, 160, 255, 0.82) !important;
}

/* Welcome inline navigation remains violet in every state. */

.fc-client-path-inline-link {
  color: rgba(168, 132, 255, 0.76) !important;
}

.fc-client-path-inline-link:hover,
.fc-client-path-inline-link:focus-visible,
.fc-client-path-inline-link:active {
  color: rgba(218, 198, 255, 0.96) !important;
}

/* Glass Detail Cloud typography */

.fc-client-path-detail-cloud-title {
  color: #887b60 !important;
}

.fc-client-path-detail-cloud-text {
  color: #635d4f !important;
}

/* Detail Cloud kicker remains violet. */
.fc-client-path-detail-cloud-kicker {
  color: rgba(190, 160, 255, 0.88) !important;
}

/* Clickable item headings use the warm neutral tone at rest,
   while their established violet hover/focus identity is preserved. */

.fc-client-path-detail-trigger {
  color: #958b73 !important;
}

.fc-client-path-detail-trigger:hover,
.fc-client-path-detail-trigger:focus-visible,
.fc-client-path-detail-row.is-detail-hover .fc-client-path-detail-trigger {
  color: rgba(218, 198, 255, 0.98) !important;
}

