@import url(https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;500;600;700&display=swap);
@import url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css);
/* Base styles */
body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

#interactive-floorplan-navigator {
    width: 100%;
    height: 100vh;
    background: #ffffff;
} 

/* Global font settings */
:root {
  --ifn-font-family: 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
  --ifn-background-color: #ffffff;
  --ifn-background-color-transparent: rgba(255, 255, 255, 0.9);
}

/* Apply font family globally */
body {
  font-family: var(--ifn-font-family);
}

/* Ensure all elements inherit the font */
* {
  font-family: inherit;
} 
#debug {
  position: fixed;
  left: 0;
  top: 0;
  line-height: 32px;
  background: black;
  color: white;
  width: 100%;
  padding: 0 15px;
  transition: opacity 0.25s cubic-bezier(.55, 0, .1, 1);
  -moz-transition: opacity 0.25s cubic-bezier(.55, 0, .1, 1);
  -webkit-transition: opacity 0.25s cubic-bezier(.55, 0, .1, 1);
  z-index: 99999999;
  font-family: monospace;
  font-size: 18px;
}
.ifn-container {
  display: flex;
  position: relative;
  box-sizing: border-box;
  background: var(--ifn-background-color);
  min-height: 300px;
  width: 100%;
  height: 100%;
  transition: height 0.3s ease;
}

.ifn-ui-wrap {
  position: relative;
}

.ifn-canvas-wrap {
  position: relative;
  width: auto;
  height: auto;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.ifn-canvas {
  overflow: hidden;
  background: var(--ifn-background-color);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ifn-translate {
  width: 100%;
  height: 100%;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  perspective: 1000px;
  will-change: transform;
}

.ifn-scale {
  transform: scale(1, 1) translate(0, 0);
  transform-origin: 0% 0%;
  width: 100%;
  height: 100%;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  perspective: 1000px;
  will-change: transform;
}

.ifn-objects {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.ifn-image {
  z-index: 0;
  position: relative !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  max-width: 100%;
  max-height: 100%;
  display: block !important;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  object-fit: contain;
}

.ifn-background {
  z-index: 0;
  width: 100% !important;
  height: auto !important;
}

.ifn-noscroll {
  overflow: hidden;
}

.hs-loader-wrap {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Scroll Message */
.ifn-ui-scroll-message-wrap {
  z-index: 4;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: none;
  opacity: 0;
  transition: all 0.25s cubic-bezier(0.55, 0, 0.1, 1);
  -moz-transition: all 0.25s cubic-bezier(0.55, 0, 0.1, 1);
  -webkit-transition: all 0.25s cubic-bezier(0.55, 0, 0.1, 1);
}

.ifn-ui-scroll-message-wrap-inner {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ifn-ui-scroll-message-wrap.ifn-visible {
  opacity: 1;
}

.ifn-ui-scroll-message {
  padding: 10px 30px;
  line-height: 45px;
  font-size: 16px;
  color: white;
  background: rgba(0, 0, 0, 0.66);
  border-radius: 40px;
}

.ifn-ui-scroll-message-button {
  border: 1px solid white;
  border-radius: 5px;
  display: inline-block;
  line-height: 28px;
  padding: 0 7px;
  margin: 0 6px;
  font-size: 12px;
}

body.ifn-fullscreen-mode {
  overflow: hidden !important;
}

#ifn-fullscreen-container {
  position: fixed;
  z-index: 9999;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  display: flex;
  background: var(--ifn-background-color);
}

#ifn-fullscreen-container #ifn-fullscreen-Interactive-Navigator {
  width: 100%;
  height: 100%;
}

#ifn-fullscreen-container .ifn-container {
  height: 100%;
  padding-top: 64px;
}

#ifn-fullscreen-container .ifn-ui-wrap {
  width: 100%;
  height: calc(100% - 64px);
  position: relative;
}

#ifn-fullscreen-container .ifn-canvas-wrap {
  position: inherit;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--ifn-background-color);
}
/* push the canvas down to make space for the navbar */
#ifn-fullscreen-container .ifn-canvas {
  overflow: visible;
  padding: 0px 0 25px 0;
  background: var(--ifn-background-color);
}

/* layers */
.ifn-ui-layers-menu-wrap {
  z-index: 1;
  position: relative;
}

.ifn-ui-layers-menu-wrap .ifn-icon {
  position: absolute;
  right: 15px;
  width: 16px;
  height: 16px;
  pointer-events: none;
  z-index: 4;
}

.ifn-ui-element.ifn-ui-layers-select {
  z-index: 1;
  padding: 0 40px 0 20px !important;
  line-height: 44px !important;
  height: 44px !important;
  font-size: 14px;
  -webkit-appearance: none;
  outline: none;

  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;

  /* wordpress fixes */
  /* vertical-align: inherit;
  margin: 0;
  font-family: sans-serif;
  font-weight: inherit;
  color: #222;
  outline-color: rgb(34, 34, 34);
  outline-style: none;
  outline-width: 0px;
  border: 1px solid rgb(166, 166, 166); */
}

.ifn-ui-layers-select:active {
  filter: none;
}

/* Theme - Light */
.ifn-ui-light .ifn-ui-layers-select {
  color: black;
  background: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
  border: 1px solid #00000060;
}

.ifn-ui-light .ifn-ui-layers-menu-wrap .ifn-icon {
  fill: black;
}

/* Theme - Dark */

.ifn-ui-dark .ifn-ui-layers-select {
  color: white;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.ifn-ui-dark .ifn-ui-layers-menu-wrap .ifn-icon {
  fill: white;
}

/* Container */

.ifn-tooltips-container {
  position: relative;
  z-index: 9999999;
}

/* Tooltip */

.ifn-tooltip-wrap {
  position: absolute;
  pointer-events: none;
  height: 0;
}
.ifn-tooltip-wrap {
  pointer-events: none;
}
.ifn-tooltip-wrap .ifn-tooltip {
  display: none;
  position: relative;
  pointer-events: all;
  opacity: 0;

  transition-duration: 0.2s;
  -moz-transition-duration: 0.2s;
  -webkit-transition-duration: 0.2s;

  transition-timing-function: cubic-bezier(0.55, 0, 0.1, 1);
  -moz-transition-timing-function: cubic-bezier(0.55, 0, 0.1, 1);
  -webkit-transition-timing-function: cubic-bezier(0.55, 0, 0.1, 1);

  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

/* Arrow */

.hs-arrow {
  position: absolute;
}

.hs-arrow-top {
  left: 50%;
  top: 0;
  margin-left: -8px;
  margin-top: -8px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;

  border-bottom: 8px solid black;
}

.hs-arrow-bottom {
  left: 50%;
  top: 100%;
  margin-left: -8px;
  margin-top: 0;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;

  border-top: 8px solid black;
}

.hs-arrow-right {
  left: 100%;
  top: 50%;
  margin-left: 0;
  margin-top: -8px;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;

  border-left: 8px solid black;
}

.hs-arrow-left {
  left: 0;
  top: 50%;
  margin-left: -8px;
  margin-top: -8px;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;

  border-right: 8px solid black;
}

/* Animation */

.ifn-tooltip-wrap.ifn-tooltip-position-top .ifn-tooltip {
  transform-origin: 50% 100%;
}
.ifn-tooltip-wrap.ifn-tooltip-position-bottom .ifn-tooltip {
  transform-origin: 50% 0%;
}
.ifn-tooltip-wrap.ifn-tooltip-position-left .ifn-tooltip {
  transform-origin: 100% 50%;
}
.ifn-tooltip-wrap.ifn-tooltip-position-right .ifn-tooltip {
  transform-origin: 0% 50%;
}

.ifn-tooltips-container.is-fullscreen {
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  overflow-y: auto;
  z-index: 2147483646;

  opacity: 0;
  transition: all 0.35s cubic-bezier(0.55, 0, 0.1, 1);
  -moz-transition: all 0.35s cubic-bezier(0.55, 0, 0.1, 1);
  -webkit-transition: all 0.35s cubic-bezier(0.55, 0, 0.1, 1);
}

.ifn-tooltips-container.is-fullscreen .ifn-fullscreen-tooltip {
  display: none;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  min-height: 100%;
  padding: 40px;
  align-items: center;
  justify-content: center;

  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;

  transition: all 0.35s cubic-bezier(0.55, 0, 0.1, 1);
  -moz-transition: all 0.35s cubic-bezier(0.55, 0, 0.1, 1);
  -webkit-transition: all 0.35s cubic-bezier(0.55, 0, 0.1, 1);
}

.ifn-tooltips-container.is-fullscreen .ifn-fullscreen-tooltip .ifn-tooltip-content {
  position: relative;
  background: #111;
  padding: 20px;
  border-radius: 10px;

  transition: all 0.35s cubic-bezier(0.55, 0, 0.1, 1);
  -moz-transition: all 0.35s cubic-bezier(0.55, 0, 0.1, 1);
  -webkit-transition: all 0.35s cubic-bezier(0.55, 0, 0.1, 1);
}

.ifn-tooltips-container.is-fullscreen .ifn-fullscreen-tooltip .ifn-tooltip-close-button {
  position: absolute;
  width: 44px;
  height: 44px;
  cursor: pointer;
  z-index: 99;

  background: white;
  color: #111;
  border-radius: 100%;
  right: -22px;
  top: -22px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.ifn-tooltips-container.is-fullscreen .ifn-fullscreen-tooltip .ifn-tooltip-close-button .ifn-icon {
  width: 20px;
  height: 20px;
  padding: 12px;
  box-sizing: content-box;
}

/* UI general */
.ifn-ui-element {
  z-index: 3;
  cursor: pointer;

  border-radius: 5px;
  font-family: var(--ifn-font-family);
  font-size: 14px;
  box-sizing: content-box;
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
}

.ifn-ui-element:active {
  filter: brightness(0.8);
  -moz-filter: brightness(0.8);
  -webkit-filter: brightness(0.8);
}

/* Adjust positioning for fullscreen mode */
body.ifn-fullscreen-mode .ifn-ui-top-right,
body.ifn-fullscreen-mode .ifn-ui-top-left,
body.ifn-fullscreen-mode .ifn-ui-bottom-right,
body.ifn-fullscreen-mode .ifn-ui-bottom-left {
  position: fixed;
  z-index: 10000; /* Ensure UI stays above other elements */
}

/* Add specific adjustment for top-right in fullscreen */
body.ifn-fullscreen-mode .ifn-ui-top-right {
  top: 84px; /* navbar height (64px) + spacing (20px) */
}

.ifn-ui-top-right {
  position: absolute;
  right: 20px;
  top: 20px;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
}

.ifn-ui-bottom-right {
  position: absolute;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.ifn-ui-top-left {
  position: absolute;
  left: 20px;
  top: 20px;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
}

.ifn-ui-bottom-left {
  position: absolute;
  left: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Add base font family for all UI elements */
.ifn-ui-root {
  font-family: var(--ifn-font-family);
}

/* fullscreen mode, button */
.ifn-fullscreen-button {
  position: relative;
  width: 30px;
  height: 30px;
  border-radius: 5px;
  z-index: 3;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;

  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

.ifn-fullscreen-button .ifn-icon {
  width: 16px;
  height: 16px;
}

/* Theme - Light */
.ifn-ui-light .ifn-fullscreen-button {
  fill: black;
  background: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
  border: 1px solid #00000060;
}

/* Theme - Dark */

.ifn-ui-dark .ifn-fullscreen-button {
  fill: white;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.ifn-ui-navigator-root {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  margin-top: 10px;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.ifn-ui-navigator-root:active {
  filter: none !important;
  -moz-filter: none !important;
  -webkit-filter: none !important;
}

.ifn-ui-navigator-overlay {
  z-index: 2;
  position: absolute;
  background: black;
  width: 100%;
  height: 100%;
  opacity: 0.25;
  left: 0;
  top: 0;
}

.ifn-ui-navigator-window-image {
  z-index: 3;
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  width: 100%;
  height: 100%;

  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
}

.ifn-ui-navigator-background-edgefill {
  z-index: 0;
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;

  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
}

.ifn-ui-navigator-background {
  z-index: 1;
  position: relative;
  display: block;
  width: 100%;
  height: 100%;

  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;

  -webkit-filter: blur(2px);
  -moz-filter: blur(2px);
  -o-filter: blur(2px);
  -ms-filter: blur(2px);
  filter: blur(2px);
}

/* Theme - Light */
.ifn-ui-light .ifn-ui-navigator-root {
  background: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
  border: 1px solid #00000060;
}

/* Theme - Dark */

.ifn-ui-dark .ifn-ui-navigator-root {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.ifn-ui-zoom-button {
  position: relative;
  width: 30px;
  height: 30px;
  cursor: pointer;
  text-align: center;
  z-index: 1;
  border-radius: 5px;

  display: flex;
  align-items: center;
  justify-content: center;

  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;

  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;

  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

.ifn-ui-zoom-button-zoom-out {
  border-radius: 0 0 5px 5px;
}

.ifn-ui-zoom-button-zoom-in {
  border-radius: 5px 5px 0 0;
}

.ifn-ui-zoom-button .ifn-icon {
  width: 16px;
  height: 16px;
}

/* Theme - Light */
.ifn-ui-light .ifn-ui-zoom-button {
  fill: black;
  background: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
  border: 1px solid #00000060;
}

.ifn-ui-light .ifn-ui-zoom-button-zoom-out {
  border-top: none;
}

/* Theme - Dark */

.ifn-ui-dark .ifn-ui-zoom-button {
  fill: white;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.ifn-ui-dark .ifn-ui-zoom-button-zoom-out {
  border-top: none;
}

.ifn-object {
  position: absolute;
  cursor: pointer;
  pointer-events: all;
  transition: all 0.15s cubic-bezier(0.55, 0, 0.1, 1);
  -moz-transition: all 0.15s cubic-bezier(0.55, 0, 0.1, 1);
  -webkit-transition: all 0.15s cubic-bezier(0.55, 0, 0.1, 1);

  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

.ifn-object-static,
.ifn-object-static * {
  cursor: default;
  pointer-events: none !important;
}

.ifn-object-svg-single,
.ifn-object-svg,
.ifn-object-poly {
  pointer-events: none;
}
.ifn-object-svg-single *,
.ifn-object-svg *,
.ifn-object-poly * {
  pointer-events: all;
}

/* image backgrounds */

.ifn-object img {
  width: 100%;
}

.ifn-image-backgrounds {
  z-index: 1;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.ifn-object-background-image {
  position: absolute;
  background-position: center center;
  background-size: contain;
  background-repeat: no-repeat;
}

/* Glow */

.ifn-glowing-objects .ifn-object {
  animation: ObjectGlowAnimation linear 1.5s;
  animation-iteration-count: infinite;
}

.ifn-object-text {
  cursor: default;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.ifn-object-spot {
  display: flex;
  justify-content: center;
  align-items: center;

  /* zoom scaling */
  transition: all 0.4s cubic-bezier(0.075, 0.82, 0.165, 1);
  -moz-transition: all 0.4s cubic-bezier(0.075, 0.82, 0.165, 1);
  -webkit-transition: all 0.4s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.ifn-object-spot-pin {
  transform-origin: 50% 100%;
}

.ifn-object-icon-shadow {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 0;
  transform: scale(1, 0.25);
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#000000+0,000000+100&amp;0.53+0,0.3+10,0.13+28,0.04+44,0+67 */
  background: -moz-radial-gradient(center, ellipse cover, rgba(0, 0, 0, 0.53) 0%, rgba(0, 0, 0, 0.3) 10%, rgba(0, 0, 0, 0.13) 28%, rgba(0, 0, 0, 0.04) 44%, rgba(0, 0, 0, 0) 67%, rgba(0, 0, 0, 0) 100%);
  /* FF3.6-15 */
  background: -webkit-radial-gradient(center, ellipse cover, rgba(0, 0, 0, 0.53) 0%, rgba(0, 0, 0, 0.3) 10%, rgba(0, 0, 0, 0.13) 28%, rgba(0, 0, 0, 0.04) 44%, rgba(0, 0, 0, 0) 67%, rgba(0, 0, 0, 0) 100%);
  /* Chrome10-25,Safari5.1-6 */
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.53) 0%, rgba(0, 0, 0, 0.3) 10%, rgba(0, 0, 0, 0.13) 28%, rgba(0, 0, 0, 0.04) 44%, rgba(0, 0, 0, 0) 67%, rgba(0, 0, 0, 0) 100%);
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#87000000', endColorstr='#00000000', GradientType=1);
  /* IE6-9 fallback on horizontal gradient */
}

.ifn-spot-fontawesome-icon {
  position: relative;
  z-index: 1;
}
.ifn-object-menu {
  display: none;
  position: absolute;
  left: 0;
  top: 0;
  width: 240px;
  flex-shrink: 0;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

/* Add fullscreen mode adjustments */
body.ifn-fullscreen-mode .ifn-object-menu {
  position: fixed;
  top: 64px; /* Match navbar height */
  z-index: 10000;
  height: calc(100% - 64px); /* Adjust height to account for navbar */
}

.ifn-object-menu.ifn-has-search {
  padding-top: 70px;
}

.ifn-object-menu.ifn-object-menu-right {
  right: 0;
  left: auto;
}

.ifn-object-menu.ifn-detached {
  position: relative;
  left: auto;
  top: auto;
  width: auto;
  flex-shrink: inherit;
}

/* Update mobile menu styles for fullscreen */
.ifn-object-menu.ifn-mobile {
  border-left: none;
  position: fixed;
  left: auto;
  right: -100%;
  top: 64px; /* Update to match navbar height */
  width: 240px;
  z-index: 99999;
  height: calc(100% - 64px); /* Adjust height */
  transition: all 0.25s cubic-bezier(0.55, 0, 0.1, 1);
  -moz-transition: all 0.25s cubic-bezier(0.55, 0, 0.1, 1);
  -webkit-transition: all 0.25s cubic-bezier(0.55, 0, 0.1, 1);
}

.ifn-object-menu.ifn-mobile:after {
  display: block;
  content: '';
  position: absolute;
  width: 2px;
  height: 100%;
  left: -2px;
  top: 0;
  background: #dedede;
}

.ifn-object-menu.ifn-mobile.ifn-active {
  position: fixed;
  right: 0;
  left: auto;
  top: 0;
  width: 240px;
  z-index: 99999;
}

/* Mobile */

.ifn-object-menu {
  background: white;
}

/* Embedded menu styles */

.ifn-object-menu-on-top .ifn-object-menu {
  background: transparent !important;
  border: none !important;
  padding: 15px;
}

/* Theme - Light */

.ifn-ui-light .ifn-object-menu {
  background: white;
}
.ifn-ui-light .ifn-object-menu.ifn-object-menu-left {
  /* border-right: 1px solid #dedede; */
}
.ifn-ui-light .ifn-object-menu.ifn-object-menu-right {
  /* border-left: 1px solid #dedede; */
}

/* Theme - Dark */

.ifn-ui-dark .ifn-object-menu {
  background: #222;
  border: none;
}

.ifn-object-menu * {
  /* Remove since we're handling this globally */
  /* font-family: inherit; */
}

.ifn-object-list {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
}

.ifn-object-list-artboard-container {
  width: 100%;
  transition: all 0.25s cubic-bezier(0.55, 0, 0.1, 1);
  -moz-transition: all 0.25s cubic-bezier(0.55, 0, 0.1, 1);
  -webkit-transition: all 0.25s cubic-bezier(0.55, 0, 0.1, 1);
  overflow: hidden;
}

/* Add fullscreen mode adjustments */
body.ifn-fullscreen-mode .ifn-object-list {
  max-height: calc(100vh - 134px); /* viewport height - (navbar + padding) */
  overflow-y: auto;
}

body.ifn-fullscreen-mode .ifn-object-list-artboard-container {
  height: auto !important; /* Override any fixed heights */
  max-height: none !important;
}

.ifn-object-list-artboard-container.ifn-collapsed {
  height: 41px !important;
}

.ifn-object-list p {
  margin: 0;
  padding: 0;
  font-size: 14px;
  line-height: 1.4;
}

.ifn-ui-list,
.ifn-ui-list-item {
  /* These will inherit from root */
}

.ifn-object-list-item {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
  padding: 0 20px;
  line-height: 40px;
  height: 40px;
  cursor: pointer;
  font-size: 14px;
  overflow: hidden;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.ifn-object-list-item p {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.ifn-object-list-item.ifn-object-list-item-hidden {
  display: none;
}

.ifn-object-list-item-folder-icon {
  width: 12px;
  display: inline-block;
  margin-right: 6px;
}

.ifn-object-list-item-folder-icon svg {
  width: 100%;
}

/* Embedded menu styles */

.ifn-object-menu-on-top .ifn-object-list-item {
  backdrop-filter: blur(2px);
  border-radius: 20px;
  border: none;
  margin-bottom: 4px;
}

/* Theme - Light */

.ifn-ui-light .ifn-object-list-item {
  background: white;
  color: #222;
}

.ifn-ui-light .ifn-object-list-item:hover {
  background: #f9f9f9;
}

.ifn-ui-light .ifn-object-list-item-folder-icon svg path {
  fill: #222;
}

.ifn-ui-light.ifn-object-menu-on-top .ifn-object-list-item {
  color: black;
  background: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
  border: 1px solid #00000060;
}

/* Theme - Dark */

.ifn-ui-dark .ifn-object-list-item {
  background: #222;
  color: white;
}

.ifn-ui-dark .ifn-object-list-item:hover {
  background: #333;
}

.ifn-ui-dark .ifn-object-list-item-folder-icon svg path {
  fill: white;
}

.ifn-ui-dark.ifn-object-menu-on-top .ifn-object-list-item {
  color: white;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.ifn-object-list-item-artboard {
  position: relative;
  padding: 0;
  line-height: 40px;
  background: #f5f5f5;
  box-shadow: 0 2px 5px rgb(0 0 0 / 15%);
  z-index: 2;
  font-size: 12px;
  font-weight: 700;
  color: #222;
  display: flex;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  overflow: hidden;
}

.ifn-object-list-item-artboard:hover {
  background: #eee;
}

.ifn-object-list-item-artboard span {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  padding: 0 20px;
  flex: 1;
}

.ifn-object-list-item-artboard .ifn-icon {
  position: absolute;
  top: 12px;
  right: 15px;
  width: 16px;
  height: 16px;
  pointer-events: none;
  z-index: 4;
  fill: #b7b7b7;
}

.ifn-object-list-item-artboard.ifn-collapsed-artboard-item .ifn-icon {
  transform: rotateZ(90deg);
}

.ifn-search-box {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  padding: 15px;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  width: 100%;
  display: flex;
}

.ifn-search-box-input-wrap {
  position: relative;
  flex: 1;
}

.ifn-search-box-input-wrap input {
  font-size: 14px;
  height: 40px;
  padding: 0 35px 0 15px;
  width: 100%;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  outline: 0;
  border-radius: 20px;
}

.ifn-search-box-input-wrap .ifn-icon {
  position: absolute;
  width: 14px;
  height: 14px;
  padding: 13px;
  right: 0;
  top: 0;
  box-sizing: content-box;
}

.ifn-search-box-input-wrap .ifn-icon * {
  pointer-events: none;
}

.ifn-search-box-input-wrap .ifn-icon.ifn-clear-search {
  display: none;
  cursor: pointer;
}

.ifn-searching .ifn-search-box-input-wrap .ifn-icon.ifn-search {
  display: none;
}

.ifn-searching .ifn-search-box-input-wrap .ifn-icon.ifn-clear-search {
  display: block;
}

.ifn-search-highlight {
  color: black !important;
  background: #fff05e;
  border-radius: 2px;
}

/* Mobile */

.ifn-search-box {
  background: white;
}

.ifn-search-box .ifn-search-box-input-wrap input {
  color: black;
  background: #f3f3f3;
}

.ifn-search-box .ifn-search-box-input-wrap input:focus {
  background: #e9e9e9;
}

.ifn-search-box .ifn-search-box-input-wrap input::placeholder {
  color: #adadad;
}

.ifn-search-box .ifn-search-box-input-wrap .ifn-icon.ifn-search {
  fill: #adadad;
}

.ifn-search-box .ifn-search-box-input-wrap .ifn-icon.ifn-clear-search {
  fill: black;
}

/* Embedded menu styles */

.ifn-object-menu-on-top .ifn-search-box {
  position: relative;
  padding: 0;
  margin-bottom: 15px;
  background: none !important;
}

.ifn-object-menu-on-top .ifn-search-box .ifn-search-box-input-wrap input {
  margin-bottom: 4px;
}

/* Theme - Light */

.ifn-ui-light .ifn-search-box {
  background: white;
}

.ifn-ui-light .ifn-search-box .ifn-search-box-input-wrap input {
  color: black;
  background: #f3f3f3;
  border: none;
}

.ifn-ui-light .ifn-search-box .ifn-search-box-input-wrap input:focus {
  background: #e9e9e9;
}

.ifn-ui-light .ifn-search-box .ifn-search-box-input-wrap input::placeholder {
  color: #adadad;
}

.ifn-ui-light .ifn-search-box .ifn-search-box-input-wrap .ifn-icon.ifn-search {
  fill: #adadad;
}

.ifn-ui-light .ifn-search-box .ifn-search-box-input-wrap .ifn-icon.ifn-clear-search {
  fill: black;
}

.ifn-ui-light.ifn-object-menu-on-top .ifn-search-box .ifn-search-box-input-wrap input {
  color: black;
  background: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
  border: 1px solid #00000060;
}

.ifn-ui-light.ifn-object-menu-on-top .ifn-search-box .ifn-search-box-input-wrap input::placeholder {
  color: #c7c7c7;
}

.ifn-ui-light.ifn-object-menu-on-top .ifn-search-box .ifn-search-box-input-wrap .ifn-icon.ifn-search {
  fill: #c7c7c7;
}

.ifn-ui-light.ifn-object-menu-on-top .ifn-search-box .ifn-search-box-input-wrap .ifn-icon.ifn-clear-search {
  fill: black;
}

/* Theme - Dark */

.ifn-ui-dark .ifn-search-box {
  background: #222;
}

.ifn-ui-dark .ifn-search-box .ifn-search-box-input-wrap input {
  color: white;
  background: #333;
  border: none;
}

.ifn-ui-dark .ifn-search-box .ifn-search-box-input-wrap input:focus {
  background: #444;
}

.ifn-ui-dark .ifn-search-box .ifn-search-box-input-wrap input::placeholder {
  color: #777;
}

.ifn-ui-dark .ifn-search-box .ifn-search-box-input-wrap .ifn-icon.ifn-search {
  fill: #666;
}

.ifn-ui-dark .ifn-search-box .ifn-search-box-input-wrap .ifn-icon.ifn-clear-search {
  fill: white;
}

.ifn-ui-dark.ifn-object-menu-on-top .ifn-search-box .ifn-search-box-input-wrap input {
  color: white;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.ifn-ui-dark.ifn-object-menu-on-top .ifn-search-box .ifn-search-box-input-wrap input::placeholder {
  color: #c7c7c7;
}

.ifn-ui-dark.ifn-object-menu-on-top .ifn-search-box .ifn-search-box-input-wrap .ifn-icon.ifn-search {
  fill: #c7c7c7;
}

.ifn-ui-dark.ifn-object-menu-on-top .ifn-search-box .ifn-search-box-input-wrap .ifn-icon.ifn-clear-search {
  fill: white;
}

.ifn-menu-button {
  width: 44px;
  height: 44px;
  line-height: 44px;
  text-align: center;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  margin-left: 10px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.ifn-menu-button .ifn-icon {
  width: 16px;
  height: 16px;
}

/* Theme - Light */
.ifn-ui-light .ifn-menu-button {
  fill: black;
  background: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
  border: 1px solid #00000060;
}

/* Theme - Dark */

.ifn-ui-dark .ifn-menu-button {
  fill: white;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.ifn-menu-close-button {
  display: none;

  fill: black;
  background: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
  border: 1px solid #00000060;
}

.ifn-object-menu.ifn-mobile.ifn-active .ifn-menu-close-button {
  display: block;
  position: absolute;
  left: -60px;
  top: 15px;
  width: 38px;
  height: 38px;
  text-align: center;
  line-height: 38px;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ifn-object-menu.ifn-mobile.ifn-active .ifn-menu-close-button .ifn-icon {
  width: 12px;
}

/* Ensure FontAwesome icons are loaded */
.fas {
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
}

/* Consolidated navbar styles for both preview and production */
.ifn-shared-navbar {
  transition: all 0.3s ease;
  z-index: 999999;
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  background: var(--ifn-background-color-transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* Fullscreen mode handling for both preview and production */
.ifn-fullscreen-navbar,
body.ifn-fullscreen-mode .ifn-shared-navbar {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2147483647 !important;
}

/* Container handling */
#default-navbar-container {
  position: relative;
  z-index: 999999;
  height: 0; /* Prevent container from taking up space */
}

/* Update container padding for both modes */
.ifn-container {
  position: relative;
  height: 100%;
}

body.ifn-fullscreen-mode #ifn-fullscreen-container {
  padding-top: 64px; /* Default navbar height */
}

/* Mobile menu handling */
.ifn-shared-navbar .mobile-menu {
  position: relative;
  z-index: 999999;
  background: var(--ifn-background-color-transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.ifn-shared-navbar .mobile-menu:not(.hidden) {
  transform: scaleY(1);
  opacity: 1;
}

/* Unified breadcrumb styles for both preview and client */
.ifn-shared-navbar .breadcrumb-button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  white-space: nowrap;
  min-width: 40px;
  max-width: 200px;
  transition: all 0.2s ease-out;
  flex-shrink: 0;
  position: relative;
  
  /* Light theme */
  background: rgb(243, 244, 246); /* theme-100 */
  color: rgb(31, 41, 55); /* theme-800 */
}

/* Unified hover effects */
.ifn-shared-navbar .breadcrumb-button:hover {
  background: rgb(209, 213, 219); /* theme-300 */
  transform: translateY(-1px);
}

.ifn-shared-navbar .breadcrumb-button:active {
  transform: translateY(0);
}

/* Dark theme unified */
.dark .ifn-shared-navbar .breadcrumb-button,
.ifn-ui-dark .ifn-shared-navbar .breadcrumb-button {
  background: rgb(55, 65, 81); /* theme-700 */
  color: rgb(243, 244, 246); /* theme-100 */
}

.dark .ifn-shared-navbar .breadcrumb-button:hover,
.ifn-ui-dark .ifn-shared-navbar .breadcrumb-button:hover {
  background: rgb(31, 41, 55); /* theme-800 */
}

/* Unified chevron/separator styles */
.ifn-shared-navbar .fa-chevron-right {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.8) !important;
}

.dark .ifn-shared-navbar .fa-chevron-right,
.ifn-ui-dark .ifn-shared-navbar .fa-chevron-right {
  color: rgba(255, 255, 255, 0.8) !important;
}

/* Theme handling */
.dark .ifn-shared-navbar,
.ifn-ui-dark .ifn-shared-navbar {
  background: rgba(42, 42, 42, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Update breadcrumb separator (arrow) styles */
.ifn-shared-navbar .breadcrumb-separator,
.ifn-shared-navbar .fa-chevron-right {
  color: rgba(0, 0, 0, 0.8) !important; /* Darker color */
}

/* Dark theme adjustments */
.dark .ifn-shared-navbar .breadcrumb-separator,
.dark .ifn-shared-navbar .fa-chevron-right,
.ifn-ui-dark .ifn-shared-navbar .breadcrumb-separator,
.ifn-ui-dark .ifn-shared-navbar .fa-chevron-right {
  color: rgba(255, 255, 255, 0.8) !important; /* Lighter color for dark theme */
}

/* Utility classes needed for the navbar */
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-8 { gap: 2rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.h-16 { height: 4rem; }
.h-6 { height: 1.5rem; }
.h-8 { height: 2rem; }
.w-8 { width: 2rem; }
.hidden { display: none; }
.rounded-md { border-radius: 0.375rem; }
.transition-all { transition: all 0.2s ease; }

@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:gap-8 { gap: 2rem; }
  .md\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
  .md\:h-8 { height: 2rem; }
}

/* Common button styles - Update to match preview */
.ifn-shared-navbar button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  background: transparent; /* Remove default background */
  color: rgb(75, 85, 99); /* theme-600 */
  border: none; /* Remove border */
  outline: none; /* Remove outline */
}

.ifn-shared-navbar button:focus {
  outline: none; /* Remove focus outline */
}

.ifn-shared-navbar button:hover {
  background: rgb(243, 244, 246); /* Light hover effect */
  color: rgb(31, 41, 55); /* Darker text on hover */
}

/* Back button specific styles - Update to match preview */
.ifn-shared-navbar .ifn-back-button {
  width: 2rem;
  height: 2rem;
  padding: 0;
  justify-content: center;
  background: rgb(243, 244, 246); /* theme-50 */
  color: rgb(31, 41, 55); /* theme-800 */
  border-radius: 0.375rem;
}

.ifn-shared-navbar .ifn-back-button:hover {
  background: rgb(229, 231, 235); /* theme-100 */
  transform: translateY(-1px);
}

/* Dark mode updates */
.dark .ifn-shared-navbar button,
.ifn-ui-dark .ifn-shared-navbar button {
  color: rgb(156, 163, 175); /* theme-400 */
}

.dark .ifn-shared-navbar button:hover,
.ifn-ui-dark .ifn-shared-navbar button:hover {
  background: rgb(55, 65, 81); /* theme-700 */
  color: rgb(243, 244, 246); /* theme-100 */
}

.dark .ifn-shared-navbar .ifn-back-button,
.ifn-ui-dark .ifn-shared-navbar .ifn-back-button {
  background: rgb(55, 65, 81); /* theme-700 */
  color: rgb(243, 244, 246); /* theme-100 */
}

.dark .ifn-shared-navbar .ifn-back-button:hover,
.ifn-ui-dark .ifn-shared-navbar .ifn-back-button:hover {
  background: rgb(75, 85, 99); /* theme-600 */
}

/* Update mobile menu button styles */
.ifn-shared-navbar .mobile-menu-button {
  background: transparent !important;
  border: none;
  outline: none;
}

.ifn-shared-navbar .mobile-menu-button:focus {
  outline: none;
}

/* Location button specific styles */
.ifn-shared-navbar .ifn-location-btn {
  background: transparent;
  color: rgb(75, 85, 99); /* theme-600 */
}

.ifn-ui-dark .ifn-shared-navbar .ifn-location-btn {
  background: transparent;
  color: rgb(156, 163, 175); /* theme-400 */
}

/* Login button specific styles */
.ifn-shared-navbar .ifn-login-btn {
  background: rgb(31, 41, 55); /* primary-500 */
  color: white;
}

.ifn-shared-navbar .ifn-login-btn:hover {
  background: rgb(17, 24, 39); /* primary-600 */
  color: white;
}

/* Mobile menu button - properly hide on desktop */
.ifn-shared-navbar .mobile-menu-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem; /* w-10 */
  height: 2.5rem; /* h-10 */
}

@media (min-width: 768px) {
  .ifn-shared-navbar .mobile-menu-button {
    display: none; /* Properly hide on desktop */
  }
}

/* Mobile menu improvements */
.ifn-shared-navbar .mobile-menu {
  display: none;
  background: var(--ifn-background-color-transparent);
  backdrop-filter: blur(8px);
  transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
  transform-origin: top;
  transform: scaleY(0);
  opacity: 0;
  position: relative;
  z-index: 999999;
}

.ifn-shared-navbar .mobile-menu.active {
  display: block;
  transform: scaleY(1);
  opacity: 1;
}

@media (min-width: 768px) {
  .ifn-shared-navbar .mobile-menu {
    display: none !important; /* Force hide on desktop */
  }
}

/* Icon width in mobile menu */
.ifn-shared-navbar .mobile-menu .w-5 {
  width: 1.25rem;
}

/* Additional utility classes needed */
.p-4 { padding: 1rem; }
.border-t { border-top-width: 1px; }
.border-black\/10 { border-color: rgba(0, 0, 0, 0.1); }
.dark .border-white\/10 { border-color: rgba(255, 255, 255, 0.1); }

/* Add styles from preview-navbar.svelte */
.ifn-fullscreen-navbar {
  position: fixed !important;
  z-index: 2147483647 !important;
}

.breadcrumb-button {
  flex-shrink: 0;
  position: relative;
  min-width: 40px;
  max-width: 200px;
  white-space: nowrap;
  transition: all 0.2s ease-out;
}

.breadcrumb-button:hover {
  transform: translateY(-1px);
}

.breadcrumb-button:active {
  transform: translateY(0px);
}

/* Add other necessary styles from preview-navbar.svelte */

/* Add to existing styles */
.ifn-navigation-bar {
  /* Ensure navbar stays above other elements but below modals */
  z-index: 999999 !important;
}

/* Fullscreen mode needs higher z-index */
.ifn-fullscreen-navbar {
  z-index: 2147483647 !important;
}

/* Prevent mobile menu from being cut off */
.ifn-shared-navbar .mobile-menu {
  position: relative;
  z-index: 999999;
}

/* Container styles */
#default-navbar-container {
  position: relative;
  z-index: 999999;
}

/* Fullscreen mode */
.ifn-fullscreen-navbar {
  position: fixed !important;
  z-index: 2147483647 !important;
}

body.ifn-fullscreen-mode #ifn-fullscreen-container {
  padding-top: 64px; /* Default navbar height */
}

/* Update container padding */
.ifn-container {
  position: relative;
  height: 100%;
}

/* Dark mode adjustments */
.dark .ifn-shared-navbar,
.ifn-ui-dark .ifn-shared-navbar {
  background: rgba(42, 42, 42, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Dark theme for mobile menu */
.dark .ifn-shared-navbar .mobile-menu,
.ifn-ui-dark .ifn-shared-navbar .mobile-menu {
  background: rgba(42, 42, 42, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Preloader styles */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  transition: opacity 0.2s;
}


.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.loader-spinner {
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
}

.animate-spin {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.spinner-track {
  stroke: #e5e7eb;
}

.spinner-progress {
  stroke: #1f2937;
}

@media (prefers-color-scheme: dark) {
  .spinner-track {
    stroke: #374151;
  }
  .spinner-progress {
    stroke: #e5e7eb;
  }
}

.loader-text {
  text-align: center;
  max-width: 24rem;
}

.loader-title {
  font-size: 1.25rem;
  font-weight: 500;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.loader-subtitle {
  font-size: 1.125rem;
  font-weight: 400;
  color: #4b5563;
}

.loader-message {
  color: #4b5563;
}


.loading-dots span {
  animation: loadingDots 1.5s infinite;
  opacity: 0;
  display: inline-block;
  margin-left: 2px;
}

.loading-dots span:nth-child(1) {
  animation-delay: 0s;
}

.loading-dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.loading-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes loadingDots {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  25% {
    opacity: 1;
    transform: translateY(-3px);
  }
  50% {
    opacity: 0;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(0);
  }
}

.preloader.fade-out {
  opacity: 0;
  pointer-events: none;
}

@tailwind base;
@tailwind components;
@tailwind utilities;

/* Custom utility classes */
.bg-theme-50 { background-color: rgba(0,0,0,0.05); }
.bg-theme-100 { background-color: rgba(0,0,0,0.1); }
.bg-theme-700 { background-color: rgba(255,255,255,0.1); }
.bg-theme-800 { background-color: rgba(42,42,42,0.9); }
.text-theme-100 { color: rgba(255,255,255,0.9); }
.text-theme-400 { color: rgba(255,255,255,0.6); }
.text-theme-600 { color: rgba(0,0,0,0.6); }
.text-theme-800 { color: rgba(0,0,0,0.9); }
.bg-primary-500 { background-color: #3B82F6; }
.bg-primary-600 { background-color: #2563EB; }

/* Add after .ifn-ui-zoom-button styles */
.ifn-ui-zoom-button[disabled] {
  cursor: not-allowed;
  opacity: 0.5;
}

.ifn-ui-zoom-button[disabled]:hover {
  background: inherit;
}

/* For dark theme support */
.ifn-ui-dark #ifn-fullscreen-container,
.ifn-ui-dark .ifn-canvas-wrap,
.ifn-ui-dark .ifn-canvas {
  background: #ffffff; /* Keep white even in dark mode */
}

/* Ensure white background in dark mode */
.ifn-ui-dark #interactive-floorplan-navigator,
.ifn-ui-dark .ifn-container {
  background: #ffffff;
}

/* Add mobile-specific adjustments */
@media (max-width: 768px) {
  #ifn-fullscreen-container .ifn-canvas {
    padding: 0 10px 15px; /* Reduced padding on mobile */
  }
  
  .ifn-container {
    min-height: 200px; /* Smaller minimum height on mobile */
  }
  
  /* Improve touch interactions */
  .ifn-canvas-wrap {
    touch-action: pan-x pan-y pinch-zoom;
  }
}

/* Add loading state styles */
.ifn-loading {
  position: relative;
}

.ifn-loading::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--ifn-background-color);
  opacity: 0.7;
  z-index: 9;
}

/* Add print media styles */
@media print {
  #interactive-floorplan-navigator {
    height: auto !important;
    overflow: visible !important;
  }
  
  .ifn-ui-wrap,
  .ifn-ui-zoom-button,
  .ifn-ui-navigator-root {
    display: none !important;
  }
}

/* Add focus styles for better accessibility */
.ifn-object:focus,
.ifn-object:focus-visible {
  outline: 2px solid #2563EB;
  outline-offset: 2px;
}

/* Add reduced motion preference support */
@media (prefers-reduced-motion: reduce) {
  .ifn-container *,
  .ifn-scale,
  .ifn-translate {
    transition: none !important;
    animation: none !important;
  }
}


