/*--------------------------------

hermes-dashboard-icons Web Font - built using nucleoapp.com
License - nucleoapp.com/license/

-------------------------------- */
@font-face {
  font-family: 'NucleoIcons';
  src: url(/fonts/nucleo-icons.6a7ba997.eot);
  src: url(/fonts/nucleo-icons.6a7ba997.eot) format('embedded-opentype'), url(/fonts/nucleo-icons.8b3a7634.woff2) format('woff2'), url(/fonts/nucleo-icons.96941c2a.woff) format('woff'), url(/fonts/nucleo-icons.07516f3e.ttf) format('truetype'), url(/img/nucleo-icons.37d8b8b3.svg) format('svg');
  font-weight: normal;
  font-style: normal;
}

/*------------------------
    base class definition
-------------------------*/
.ni {
  display: inline-block;
  font: normal normal normal 14px/1 NucleoIcons;
  font-size: inherit;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/*------------------------
  change icon size
-------------------------*/
.ni-lg {
  font-size: 1.33333333em;
  line-height: 0.75em;
  vertical-align: -15%;
}

.ni-2x {
  font-size: 2em;
}

.ni-3x {
  font-size: 3em;
}

.ni-4x {
  font-size: 4em;
}

.ni-5x {
  font-size: 5em;
}

/*----------------------------------
  add a square/circle background
-----------------------------------*/
.ni.square,
.ni.circle {
  padding: 0.33333333em;
  vertical-align: -16%;
  background-color: #eee;
}

.ni.circle {
  border-radius: 50%;
}

/*------------------------
  list icons
-------------------------*/
.ni-ul {
  padding-left: 0;
  margin-left: 2.14285714em;
  list-style-type: none;
}

.ni-ul>li {
  position: relative;
}

.ni-ul>li>.ni {
  position: absolute;
  left: -1.57142857em;
  top: 0.14285714em;
  text-align: center;
}

.ni-ul>li>.ni.lg {
  top: 0;
  left: -1.35714286em;
}

.ni-ul>li>.ni.circle,
.ni-ul>li>.ni.square {
  top: -0.19047619em;
  left: -1.9047619em;
}

/*------------------------
  spinning icons
-------------------------*/
.ni.spin {
  animation: nc-spin 2s infinite linear;
}

@keyframes nc-spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*------------------------
  rotated/flipped icons
-------------------------*/
.ni.rotate-90 {
  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1);
  transform: rotate(90deg);
}

.ni.rotate-180 {
  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2);
  transform: rotate(180deg);
}

.ni.rotate-270 {
  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
  transform: rotate(270deg);
}

.ni.flip-y {
  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=0);
  transform: scale(-1, 1);
}

.ni.flip-x {
  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2);
  transform: scale(1, -1);
}

/*------------------------
    font icons
-------------------------*/

.ni-active-40::before {
  content: "\ea02";
}

.ni-air-baloon::before {
  content: "\ea03";
}

.ni-album-2::before {
  content: "\ea04";
}

.ni-align-center::before {
  content: "\ea05";
}

.ni-align-left-2::before {
  content: "\ea06";
}

.ni-ambulance::before {
  content: "\ea07";
}

.ni-app::before {
  content: "\ea08";
}

.ni-archive-2::before {
  content: "\ea09";
}

.ni-atom::before {
  content: "\ea0a";
}

.ni-badge::before {
  content: "\ea0b";
}

.ni-bag-17::before {
  content: "\ea0c";
}

.ni-basket::before {
  content: "\ea0d";
}

.ni-bell-55::before {
  content: "\ea0e";
}

.ni-bold-down::before {
  content: "\ea0f";
}

.ni-bold-left::before {
  content: "\ea10";
}

.ni-bold-right::before {
  content: "\ea11";
}

.ni-bold-up::before {
  content: "\ea12";
}

.ni-bold::before {
  content: "\ea13";
}

.ni-book-bookmark::before {
  content: "\ea14";
}

.ni-books::before {
  content: "\ea15";
}

.ni-box-2::before {
  content: "\ea16";
}

.ni-briefcase-24::before {
  content: "\ea17";
}

.ni-building::before {
  content: "\ea18";
}

.ni-bulb-61::before {
  content: "\ea19";
}

.ni-bullet-list-67::before {
  content: "\ea1a";
}

.ni-bus-front-12::before {
  content: "\ea1b";
}

.ni-button-pause::before {
  content: "\ea1c";
}

.ni-button-play::before {
  content: "\ea1d";
}

.ni-button-power::before {
  content: "\ea1e";
}

.ni-calendar-grid-58::before {
  content: "\ea1f";
}

.ni-camera-compact::before {
  content: "\ea20";
}

.ni-caps-small::before {
  content: "\ea21";
}

.ni-cart::before {
  content: "\ea22";
}

.ni-chart-bar-32::before {
  content: "\ea23";
}

.ni-chart-pie-35::before {
  content: "\ea24";
}

.ni-chat-round::before {
  content: "\ea25";
}

.ni-check-bold::before {
  content: "\ea26";
}

.ni-circle-08::before {
  content: "\ea27";
}

.ni-cloud-download-95::before {
  content: "\ea28";
}

.ni-cloud-upload-96::before {
  content: "\ea29";
}

.ni-compass-04::before {
  content: "\ea2a";
}

.ni-controller::before {
  content: "\ea2b";
}

.ni-credit-card::before {
  content: "\ea2c";
}

.ni-curved-next::before {
  content: "\ea2d";
}

.ni-delivery-fast::before {
  content: "\ea2e";
}

.ni-diamond::before {
  content: "\ea2f";
}

.ni-email-83::before {
  content: "\ea30";
}

.ni-fat-add::before {
  content: "\ea31";
}

.ni-fat-delete::before {
  content: "\ea32";
}

.ni-fat-remove::before {
  content: "\ea33";
}

.ni-favourite-28::before {
  content: "\ea34";
}

.ni-folder-17::before {
  content: "\ea35";
}

.ni-glasses-2::before {
  content: "\ea36";
}

.ni-hat-3::before {
  content: "\ea37";
}

.ni-headphones::before {
  content: "\ea38";
}

.ni-html5::before {
  content: "\ea39";
}

.ni-istanbul::before {
  content: "\ea3a";
}

.ni-key-25::before {
  content: "\ea3b";
}

.ni-laptop::before {
  content: "\ea3c";
}

.ni-like-2::before {
  content: "\ea3d";
}

.ni-lock-circle-open::before {
  content: "\ea3e";
}

.ni-map-big::before {
  content: "\ea3f";
}

.ni-mobile-button::before {
  content: "\ea40";
}

.ni-money-coins::before {
  content: "\ea41";
}

.ni-note-03::before {
  content: "\ea42";
}

.ni-notification-70::before {
  content: "\ea43";
}

.ni-palette::before {
  content: "\ea44";
}

.ni-paper-diploma::before {
  content: "\ea45";
}

.ni-pin-3::before {
  content: "\ea46";
}

.ni-planet::before {
  content: "\ea47";
}

.ni-ruler-pencil::before {
  content: "\ea48";
}

.ni-satisfied::before {
  content: "\ea49";
}

.ni-scissors::before {
  content: "\ea4a";
}

.ni-send::before {
  content: "\ea4b";
}

.ni-settings-gear-65::before {
  content: "\ea4c";
}

.ni-settings::before {
  content: "\ea4d";
}

.ni-single-02::before {
  content: "\ea4e";
}

.ni-single-copy-04::before {
  content: "\ea4f";
}

.ni-sound-wave::before {
  content: "\ea50";
}

.ni-spaceship::before {
  content: "\ea51";
}

.ni-square-pin::before {
  content: "\ea52";
}

.ni-support-16::before {
  content: "\ea53";
}

.ni-tablet-button::before {
  content: "\ea54";
}

.ni-tag::before {
  content: "\ea55";
}

.ni-tie-bow::before {
  content: "\ea56";
}

.ni-time-alarm::before {
  content: "\ea57";
}

.ni-trophy::before {
  content: "\ea58";
}

.ni-tv-2::before {
  content: "\ea59";
}

.ni-umbrella-13::before {
  content: "\ea5a";
}

.ni-user-run::before {
  content: "\ea5b";
}

.ni-vector::before {
  content: "\ea5c";
}

.ni-watch-time::before {
  content: "\ea5d";
}

.ni-world::before {
  content: "\ea5e";
}

.ni-zoom-split-in::before {
  content: "\ea5f";
}

.ni-collection::before {
  content: "\ea60";
}

.ni-image::before {
  content: "\ea61";
}

.ni-shop::before {
  content: "\ea62";
}

.ni-ungroup::before {
  content: "\ea63";
}

.ni-world-2::before {
  content: "\ea64";
}

.ni-ui-04::before {
  content: "\ea65";
}


/* all icon font classes list here */
/* Generated using nucleoapp.com */
/* --------------------------------

Icon colors

-------------------------------- */

.icon {
  display: inline-block;
  /* icon primary color */
  color: #111111;
  height: 1em;
  width: 1em;
}

.icon use {
  /* icon secondary color - fill */
  fill: #7ea6f6;
}

.icon.icon-outline use {
  /* icon secondary color - stroke */
  stroke: #7ea6f6;
}

/* --------------------------------

Change icon size

-------------------------------- */

.icon-xs {
  height: 0.5em;
  width: 0.5em;
}

.icon-sm {
  height: 0.8em;
  width: 0.8em;
}

.icon-lg {
  height: 1.6em;
  width: 1.6em;
}

.icon-xl {
  height: 2em;
  width: 2em;
}

/* -------------------------------- 

Align icon and text 

-------------------------------- */

.icon-text-aligner {
  /* add this class to parent element that contains icon + text */
  display: flex;
  align-items: center;
}

.icon-text-aligner .icon {
  color: inherit;
  margin-right: 0.4em;
}

.icon-text-aligner .icon use {
  color: inherit;
  fill: currentColor;
}

.icon-text-aligner .icon.icon-outline use {
  stroke: currentColor;
}

/* -------------------------------- 

Icon reset values - used to enable color customizations

-------------------------------- */

.icon {
  fill: currentColor;
  stroke: none;
}

.icon.icon-outline {
  fill: none;
  stroke: currentColor;
}

.icon use {
  stroke: none;
}

.icon.icon-outline use {
  fill: none;
}

/* -------------------------------- 

Stroke effects - Nucleo outline icons

- 16px icons -> up to 1px stroke (16px outline icons do not support stroke changes)
- 24px, 32px icons -> up to 2px stroke
- 48px, 64px icons -> up to 4px stroke

-------------------------------- */

.icon-outline.icon-stroke-1 {
  stroke-width: 1px;
}

.icon-outline.icon-stroke-2 {
  stroke-width: 2px;
}

.icon-outline.icon-stroke-3 {
  stroke-width: 3px;
}

.icon-outline.icon-stroke-4 {
  stroke-width: 4px;
}

.icon-outline.icon-stroke-1 use,
.icon-outline.icon-stroke-3 use {
  transform: translateX(0.5px) translateY(0.5px);
}
/* required styles */

.leaflet-pane,
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-tile-container,
.leaflet-pane > svg,
.leaflet-pane > canvas,
.leaflet-zoom-box,
.leaflet-image-layer,
.leaflet-layer {
	position: absolute;
	left: 0;
	top: 0;
	}
.leaflet-container {
	overflow: hidden;
	}
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow {
	-webkit-user-select: none;
	   -moz-user-select: none;
	        user-select: none;
	  -webkit-user-drag: none;
	}
/* Prevents IE11 from highlighting tiles in blue */
.leaflet-tile::-moz-selection {
	background: transparent;
}
.leaflet-tile::selection {
	background: transparent;
}
/* Safari renders non-retina tile on retina better with this, but Chrome is worse */
.leaflet-safari .leaflet-tile {
	image-rendering: -webkit-optimize-contrast;
	}
/* hack that prevents hw layers "stretching" when loading new tiles */
.leaflet-safari .leaflet-tile-container {
	width: 1600px;
	height: 1600px;
	-webkit-transform-origin: 0 0;
	}
.leaflet-marker-icon,
.leaflet-marker-shadow {
	display: block;
	}
/* .leaflet-container svg: reset svg max-width decleration shipped in Joomla! (joomla.org) 3.x */
/* .leaflet-container img: map is broken in FF if you have max-width: 100% on tiles */
.leaflet-container .leaflet-overlay-pane svg {
	max-width: none !important;
	max-height: none !important;
	}
.leaflet-container .leaflet-marker-pane img,
.leaflet-container .leaflet-shadow-pane img,
.leaflet-container .leaflet-tile-pane img,
.leaflet-container img.leaflet-image-layer,
.leaflet-container .leaflet-tile {
	max-width: none !important;
	max-height: none !important;
	width: auto;
	padding: 0;
	}

.leaflet-container img.leaflet-tile {
	/* See: https://bugs.chromium.org/p/chromium/issues/detail?id=600120 */
	mix-blend-mode: plus-lighter;
}

.leaflet-container.leaflet-touch-zoom {
	touch-action: pan-x pan-y;
	}
.leaflet-container.leaflet-touch-drag {
	/* Fallback for FF which doesn't support pinch-zoom */
	touch-action: none;
	touch-action: pinch-zoom;
}
.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom {
	touch-action: none;
}
.leaflet-container {
	-webkit-tap-highlight-color: transparent;
}
.leaflet-container a {
	-webkit-tap-highlight-color: rgba(51, 181, 229, 0.4);
}
.leaflet-tile {
	filter: inherit;
	visibility: hidden;
	}
.leaflet-tile-loaded {
	visibility: inherit;
	}
.leaflet-zoom-box {
	width: 0;
	height: 0;
	box-sizing: border-box;
	z-index: 800;
	}
/* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=888319 */
.leaflet-overlay-pane svg {
	-moz-user-select: none;
	}

.leaflet-pane         { z-index: 400; }

.leaflet-tile-pane    { z-index: 200; }
.leaflet-overlay-pane { z-index: 400; }
.leaflet-shadow-pane  { z-index: 500; }
.leaflet-marker-pane  { z-index: 600; }
.leaflet-tooltip-pane   { z-index: 650; }
.leaflet-popup-pane   { z-index: 700; }

.leaflet-map-pane canvas { z-index: 100; }
.leaflet-map-pane svg    { z-index: 200; }

.leaflet-vml-shape {
	width: 1px;
	height: 1px;
	}
.lvml {
	behavior: url(#default#VML);
	display: inline-block;
	position: absolute;
	}


/* control positioning */

.leaflet-control {
	position: relative;
	z-index: 800;
	pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
	pointer-events: auto;
	}
.leaflet-top,
.leaflet-bottom {
	position: absolute;
	z-index: 1000;
	pointer-events: none;
	}
.leaflet-top {
	top: 0;
	}
.leaflet-right {
	right: 0;
	}
.leaflet-bottom {
	bottom: 0;
	}
.leaflet-left {
	left: 0;
	}
.leaflet-control {
	float: left;
	clear: both;
	}
.leaflet-right .leaflet-control {
	float: right;
	}
.leaflet-top .leaflet-control {
	margin-top: 10px;
	}
.leaflet-bottom .leaflet-control {
	margin-bottom: 10px;
	}
.leaflet-left .leaflet-control {
	margin-left: 10px;
	}
.leaflet-right .leaflet-control {
	margin-right: 10px;
	}


/* zoom and fade animations */

.leaflet-fade-anim .leaflet-popup {
	opacity: 0;
	transition: opacity 0.2s linear;
	}
.leaflet-fade-anim .leaflet-map-pane .leaflet-popup {
	opacity: 1;
	}
.leaflet-zoom-animated {
	transform-origin: 0 0;
	}
svg.leaflet-zoom-animated {
	will-change: transform;
}

.leaflet-zoom-anim .leaflet-zoom-animated {
	transition:         transform 0.25s cubic-bezier(0,0,0.25,1);
	}
.leaflet-zoom-anim .leaflet-tile,
.leaflet-pan-anim .leaflet-tile {
	transition: none;
	}

.leaflet-zoom-anim .leaflet-zoom-hide {
	visibility: hidden;
	}


/* cursors */

.leaflet-interactive {
	cursor: pointer;
	}
.leaflet-grab {
	cursor:         grab;
	}
.leaflet-crosshair,
.leaflet-crosshair .leaflet-interactive {
	cursor: crosshair;
	}
.leaflet-popup-pane,
.leaflet-control {
	cursor: auto;
	}
.leaflet-dragging .leaflet-grab,
.leaflet-dragging .leaflet-grab .leaflet-interactive,
.leaflet-dragging .leaflet-marker-draggable {
	cursor: move;
	cursor:         grabbing;
	}

/* marker & overlays interactivity */
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-image-layer,
.leaflet-pane > svg path,
.leaflet-tile-container {
	pointer-events: none;
	}

.leaflet-marker-icon.leaflet-interactive,
.leaflet-image-layer.leaflet-interactive,
.leaflet-pane > svg path.leaflet-interactive,
svg.leaflet-image-layer.leaflet-interactive path {
	pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
	pointer-events: auto;
	}

/* visual tweaks */

.leaflet-container {
	background: #ddd;
	outline-offset: 1px;
	}
.leaflet-container a {
	color: #0078A8;
	}
.leaflet-zoom-box {
	border: 2px dotted #38f;
	background: rgba(255,255,255,0.5);
	}


/* general typography */
.leaflet-container {
	font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1.5;
	}


/* general toolbar styles */

.leaflet-bar {
	box-shadow: 0 1px 5px rgba(0,0,0,0.65);
	border-radius: 4px;
	}
.leaflet-bar a {
	background-color: #fff;
	border-bottom: 1px solid #ccc;
	width: 26px;
	height: 26px;
	line-height: 26px;
	display: block;
	text-align: center;
	text-decoration: none;
	color: black;
	}
.leaflet-bar a,
.leaflet-control-layers-toggle {
	background-position: 50% 50%;
	background-repeat: no-repeat;
	display: block;
	}
.leaflet-bar a:hover,
.leaflet-bar a:focus {
	background-color: #f4f4f4;
	}
.leaflet-bar a:first-child {
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	}
.leaflet-bar a:last-child {
	border-bottom-left-radius: 4px;
	border-bottom-right-radius: 4px;
	border-bottom: none;
	}
.leaflet-bar a.leaflet-disabled {
	cursor: default;
	background-color: #f4f4f4;
	color: #bbb;
	}

.leaflet-touch .leaflet-bar a {
	width: 30px;
	height: 30px;
	line-height: 30px;
	}
.leaflet-touch .leaflet-bar a:first-child {
	border-top-left-radius: 2px;
	border-top-right-radius: 2px;
	}
.leaflet-touch .leaflet-bar a:last-child {
	border-bottom-left-radius: 2px;
	border-bottom-right-radius: 2px;
	}

/* zoom control */

.leaflet-control-zoom-in,
.leaflet-control-zoom-out {
	font: bold 18px 'Lucida Console', Monaco, monospace;
	text-indent: 1px;
	}

.leaflet-touch .leaflet-control-zoom-in, .leaflet-touch .leaflet-control-zoom-out  {
	font-size: 22px;
	}


/* layers control */

.leaflet-control-layers {
	box-shadow: 0 1px 5px rgba(0,0,0,0.4);
	background: #fff;
	border-radius: 5px;
	}
.leaflet-control-layers-toggle {
	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAQAAAADQ4RFAAACf0lEQVR4AY1UM3gkARTePdvdoTxXKc+qTl3aU5U6b2Kbkz3Gtq3Zw6ziLGNPzrYx7946Tr6/ee/XeCQ4D3ykPtL5tHno4n0d/h3+xfuWHGLX81cn7r0iTNzjr7LrlxCqPtkbTQEHeqOrTy4Yyt3VCi/IOB0v7rVC7q45Q3Gr5K6jt+3Gl5nCoDD4MtO+j96Wu8atmhGqcNGHObuf8OM/x3AMx38+4Z2sPqzCxRFK2aF2e5Jol56XTLyggAMTL56XOMoS1W4pOyjUcGGQdZxU6qRh7B9Zp+PfpOFlqt0zyDZckPi1ttmIp03jX8gyJ8a/PG2yutpS/Vol7peZIbZcKBAEEheEIAgFbDkz5H6Zrkm2hVWGiXKiF4Ycw0RWKdtC16Q7qe3X4iOMxruonzegJzWaXFrU9utOSsLUmrc0YjeWYjCW4PDMADElpJSSQ0vQvA1Tm6/JlKnqFs1EGyZiFCqnRZTEJJJiKRYzVYzJck2Rm6P4iH+cmSY0YzimYa8l0EtTODFWhcMIMVqdsI2uiTvKmTisIDHJ3od5GILVhBCarCfVRmo4uTjkhrhzkiBV7SsaqS+TzrzM1qpGGUFt28pIySQHR6h7F6KSwGWm97ay+Z+ZqMcEjEWebE7wxCSQwpkhJqoZA5ivCdZDjJepuJ9IQjGGUmuXJdBFUygxVqVsxFsLMbDe8ZbDYVCGKxs+W080max1hFCarCfV+C1KATwcnvE9gRRuMP2prdbWGowm1KB1y+zwMMENkM755cJ2yPDtqhTI6ED1M/82yIDtC/4j4BijjeObflpO9I9MwXTCsSX8jWAFeHr05WoLTJ5G8IQVS/7vwR6ohirYM7f6HzYpogfS3R2OAAAAAElFTkSuQmCC);
	width: 36px;
	height: 36px;
	}
.leaflet-retina .leaflet-control-layers-toggle {
	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAQAAABvcdNgAAAEsklEQVR4AWL4TydIhpZK1kpWOlg0w3ZXP6D2soBtG42jeI6ZmQTHzAxiTbSJsYLjO9HhP+WOmcuhciVnmHVQcJnp7DFvScowZorad/+V/fVzMdMT2g9Cv9guXGv/7pYOrXh2U+RRR3dSd9JRx6bIFc/ekqHI29JC6pJ5ZEh1yWkhkbcFeSjxgx3L2m1cb1C7bceyxA+CNjT/Ifff+/kDk2u/w/33/IeCMOSaWZ4glosqT3DNnNZQ7Cs58/3Ce5HL78iZH/vKVIaYlqzfdLu8Vi7dnvUbEza5Idt36tquZFldl6N5Z/POLof0XLK61mZCmJSWjVF9tEjUluu74IUXvgttuVIHE7YxSkaYhJZam7yiM9Pv82JYfl9nptxZaxMJE4YSPty+vF0+Y2up9d3wwijfjZbabqm/3bZ9ecKHsiGmRflnn1MW4pjHf9oLufyn2z3y1D6n8g8TZhxyzipLNPnAUpsOiuWimg52psrTZYnOWYNDTMuWBWa0tJb4rgq1UvmutpaYEbZlwU3CLJm/ayYjHW5/h7xWLn9Hh1vepDkyf7dE7MtT5LR4e7yYpHrkhOUpEfssBLq2pPhAqoSWKUkk7EDqkmK6RrCEzqDjhNDWNE+XSMvkJRDWlZTmCW0l0PHQGRZY5t1L83kT0Y3l2SItk5JAWHl2dCOBm+fPu3fo5/3v61RMCO9Jx2EEYYhb0rmNQMX/vm7gqOEJLcXTGw3CAuRNeyaPWwjR8PRqKQ1PDA/dpv+on9Shox52WFnx0KY8onHayrJzm87i5h9xGw/tfkev0jGsQizqezUKjk12hBMKJ4kbCqGPVNXudyyrShovGw5CgxsRICxF6aRmSjlBnHRzg7Gx8fKqEubI2rahQYdR1YgDIRQO7JvQyD52hoIQx0mxa0ODtW2Iozn1le2iIRdzwWewedyZzewidueOGqlsn1MvcnQpuVwLGG3/IR1hIKxCjelIDZ8ldqWz25jWAsnldEnK0Zxro19TGVb2ffIZEsIO89EIEDvKMPrzmBOQcKQ+rroye6NgRRxqR4U8EAkz0CL6uSGOm6KQCdWjvjRiSP1BPalCRS5iQYiEIvxuBMJEWgzSoHADcVMuN7IuqqTeyUPq22qFimFtxDyBBJEwNyt6TM88blFHao/6tWWhuuOM4SAK4EI4QmFHA+SEyWlp4EQoJ13cYGzMu7yszEIBOm2rVmHUNqwAIQabISNMRstmdhNWcFLsSm+0tjJH1MdRxO5Nx0WDMhCtgD6OKgZeljJqJKc9po8juskR9XN0Y1lZ3mWjLR9JCO1jRDMd0fpYC2VnvjBSEFg7wBENc0R9HFlb0xvF1+TBEpF68d+DHR6IOWVv2BECtxo46hOFUBd/APU57WIoEwJhIi2CdpyZX0m93BZicktMj1AS9dClteUFAUNUIEygRZCtik5zSxI9MubTBH1GOiHsiLJ3OCoSZkILa9PxiN0EbvhsAo8tdAf9Seepd36lGWHmtNANTv5Jd0z4QYyeo/UEJqxKRpg5LZx6btLPsOaEmdMyxYdlc8LMaJnikDlhclqmPiQnTEpLUIZEwkRagjYkEibQErwhkTAKCLQEbUgkzJQWc/0PstHHcfEdQ+UAAAAASUVORK5CYII=);
	background-size: 26px 26px;
	}
.leaflet-touch .leaflet-control-layers-toggle {
	width: 44px;
	height: 44px;
	}
.leaflet-control-layers .leaflet-control-layers-list,
.leaflet-control-layers-expanded .leaflet-control-layers-toggle {
	display: none;
	}
.leaflet-control-layers-expanded .leaflet-control-layers-list {
	display: block;
	position: relative;
	}
.leaflet-control-layers-expanded {
	padding: 6px 10px 6px 6px;
	color: #333;
	background: #fff;
	}
.leaflet-control-layers-scrollbar {
	overflow-y: scroll;
	overflow-x: hidden;
	padding-right: 5px;
	}
.leaflet-control-layers-selector {
	margin-top: 2px;
	position: relative;
	top: 1px;
	}
.leaflet-control-layers label {
	display: block;
	font-size: 13px;
	font-size: 1.08333em;
	}
.leaflet-control-layers-separator {
	height: 0;
	border-top: 1px solid #ddd;
	margin: 5px -10px 5px -6px;
	}

/* Default icon URLs */
.leaflet-default-icon-path { /* used only in path-guessing heuristic, see L.Icon.Default */
	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLTfV1j54APvODnSfOWBqtKVvjgLKzF5YdEk5ewRkGlK0i33Eofffc7HT56jD7/6U+qH3Cx7SBLNntH5YIPvODnyfIXZYRVDPqgHtLs5ABHD3YzLuespb7t79FY34DjMwrVrcTuwlT55YMPvOBnRrJ4VXTdNnYug5ucHLBjEpt30701A3Ts+HEa73u6dT3FNWwflY86eMHPk+Yu+i6pzUpRrW7SNDg5JHR4KapmM5Wv2E8Tfcb1HoqqHMHU+uWDD7zg54mz5/2BSnizi9T1Dg4QQXLToGNCkb6tb1NU+QAlGr1++eADrzhn/u8Q2YZhQVlZ5+CAOtqfbhmaUCS1ezNFVm2imDbPmPng5wmz+gwh+oHDce0eUtQ6OGDIyR0uUhUsoO3vfDmmgOezH0mZN59x7MBi++WDL1g/eEiU3avlidO671bkLfwbw5XV2P8Pzo0ydy4t2/0eu33xYSOMOD8hTf4CrBtGMSoXfPLchX+J0ruSePw3LZeK0juPJbYzrhkH0io7B3k164hiGvawhOKMLkrQLyVpZg8rHFW7E2uHOL888IBPlNZ1FPzstSJM694fWr6RwpvcJK60+0HCILTBzZLFNdtAzJaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=);
	}


/* attribution and scale controls */

.leaflet-container .leaflet-control-attribution {
	background: #fff;
	background: rgba(255, 255, 255, 0.8);
	margin: 0;
	}
.leaflet-control-attribution,
.leaflet-control-scale-line {
	padding: 0 5px;
	color: #333;
	line-height: 1.4;
	}
.leaflet-control-attribution a {
	text-decoration: none;
	}
.leaflet-control-attribution a:hover,
.leaflet-control-attribution a:focus {
	text-decoration: underline;
	}
.leaflet-attribution-flag {
	display: inline !important;
	vertical-align: baseline !important;
	width: 1em;
	height: 0.6669em;
	}
.leaflet-left .leaflet-control-scale {
	margin-left: 5px;
	}
.leaflet-bottom .leaflet-control-scale {
	margin-bottom: 5px;
	}
.leaflet-control-scale-line {
	border: 2px solid #777;
	border-top: none;
	line-height: 1.1;
	padding: 2px 5px 1px;
	white-space: nowrap;
	box-sizing: border-box;
	background: rgba(255, 255, 255, 0.8);
	text-shadow: 1px 1px #fff;
	}
.leaflet-control-scale-line:not(:first-child) {
	border-top: 2px solid #777;
	border-bottom: none;
	margin-top: -2px;
	}
.leaflet-control-scale-line:not(:first-child):not(:last-child) {
	border-bottom: 2px solid #777;
	}

.leaflet-touch .leaflet-control-attribution,
.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
	box-shadow: none;
	}
.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
	border: 2px solid rgba(0,0,0,0.2);
	background-clip: padding-box;
	}


/* popup */

.leaflet-popup {
	position: absolute;
	text-align: center;
	margin-bottom: 20px;
	}
.leaflet-popup-content-wrapper {
	padding: 1px;
	text-align: left;
	border-radius: 12px;
	}
.leaflet-popup-content {
	margin: 13px 24px 13px 20px;
	line-height: 1.3;
	font-size: 13px;
	font-size: 1.08333em;
	min-height: 1px;
	}
.leaflet-popup-content p {
	margin: 17px 0;
	margin: 1.3em 0;
	}
.leaflet-popup-tip-container {
	width: 40px;
	height: 20px;
	position: absolute;
	left: 50%;
	margin-top: -1px;
	margin-left: -20px;
	overflow: hidden;
	pointer-events: none;
	}
.leaflet-popup-tip {
	width: 17px;
	height: 17px;
	padding: 1px;

	margin: -10px auto 0;
	pointer-events: auto;
	transform: rotate(45deg);
	}
.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
	background: white;
	color: #333;
	box-shadow: 0 3px 14px rgba(0,0,0,0.4);
	}
.leaflet-container a.leaflet-popup-close-button {
	position: absolute;
	top: 0;
	right: 0;
	border: none;
	text-align: center;
	width: 24px;
	height: 24px;
	font: 16px/24px Tahoma, Verdana, sans-serif;
	color: #757575;
	text-decoration: none;
	background: transparent;
	}
.leaflet-container a.leaflet-popup-close-button:hover,
.leaflet-container a.leaflet-popup-close-button:focus {
	color: #585858;
	}
.leaflet-popup-scrolled {
	overflow: auto;
	}

.leaflet-oldie .leaflet-popup-content-wrapper {
	-ms-zoom: 1;
	}
.leaflet-oldie .leaflet-popup-tip {
	width: 24px;
	margin: 0 auto;

	-ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";
	filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678);
	}

.leaflet-oldie .leaflet-control-zoom,
.leaflet-oldie .leaflet-control-layers,
.leaflet-oldie .leaflet-popup-content-wrapper,
.leaflet-oldie .leaflet-popup-tip {
	border: 1px solid #999;
	}


/* div icon */

.leaflet-div-icon {
	background: #fff;
	border: 1px solid #666;
	}


/* Tooltip */
/* Base styles for the element that has a tooltip */
.leaflet-tooltip {
	position: absolute;
	padding: 6px;
	background-color: #fff;
	border: 1px solid #fff;
	border-radius: 3px;
	color: #222;
	white-space: nowrap;
	-webkit-user-select: none;
	-moz-user-select: none;
	user-select: none;
	pointer-events: none;
	box-shadow: 0 1px 3px rgba(0,0,0,0.4);
	}
.leaflet-tooltip.leaflet-interactive {
	cursor: pointer;
	pointer-events: auto;
	}
.leaflet-tooltip-top:before,
.leaflet-tooltip-bottom:before,
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
	position: absolute;
	pointer-events: none;
	border: 6px solid transparent;
	background: transparent;
	content: "";
	}

/* Directions */

.leaflet-tooltip-bottom {
	margin-top: 6px;
}
.leaflet-tooltip-top {
	margin-top: -6px;
}
.leaflet-tooltip-bottom:before,
.leaflet-tooltip-top:before {
	left: 50%;
	margin-left: -6px;
	}
.leaflet-tooltip-top:before {
	bottom: 0;
	margin-bottom: -12px;
	border-top-color: #fff;
	}
.leaflet-tooltip-bottom:before {
	top: 0;
	margin-top: -12px;
	margin-left: -6px;
	border-bottom-color: #fff;
	}
.leaflet-tooltip-left {
	margin-left: -6px;
}
.leaflet-tooltip-right {
	margin-left: 6px;
}
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
	top: 50%;
	margin-top: -6px;
	}
.leaflet-tooltip-left:before {
	right: 0;
	margin-right: -12px;
	border-left-color: #fff;
	}
.leaflet-tooltip-right:before {
	left: 0;
	margin-left: -12px;
	border-right-color: #fff;
	}

/* Printing */

@media print {
	/* Prevent printers from removing background-images of controls. */
	.leaflet-control {
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
		}
	}

.file-upload-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.file-upload-modal .modal-content {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  width: 550px;
  max-width: 90%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.file-upload-modal .modal-body {
  padding: 20px;
  overflow-y: auto;
}

.file-upload-modal .modal-description {
  margin-bottom: 20px;
  line-height: 1.5;
}

.info-box {
  background-color: #f0f9ff;
  border-left: 4px solid #3b82f6;
  padding: 15px;
  border-radius: 4px;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
}

.info-box .info-icon {
  color: #3b82f6;
  margin-right: 10px;
  flex-shrink: 0;
}

.info-box p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.upload-container {
  border: 2px dashed #d1d5db;
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 20px;
}

.upload-container:hover {
  border-color: #3b82f6;
  background-color: #f9fafb;
}

.upload-icon {
  color: #6b7280;
  margin-bottom: 15px;
}

.file-formats {
  font-size: 0.85rem;
  color: #6b7280;
  margin-top: 10px;
}

.file-status {
  display: flex;
  align-items: center;
  padding: 15px;
  background-color: #f0fdf4;
  border-radius: 8px;
  margin-bottom: 20px;
}

.file-status.error {
  background-color: #fef2f2;
}

.file-status .success-icon {
  color: #10b981;
  margin-right: 15px;
  flex-shrink: 0;
}

.file-status .error-icon {
  color: #ef4444;
  margin-right: 15px;
  flex-shrink: 0;
}

.file-info {
  flex-grow: 1;
}

.file-info h5 {
  margin: 0 0 5px;
  font-weight: 600;
}

.file-info p {
  margin: 0;
  font-size: 0.9rem;
  color: #4b5563;
}

.spinner {
  width: 24px;
  height: 24px;
  border: 3px solid #d1d5db;
  border-radius: 50%;
  border-top-color: #3b82f6;
  margin-right: 15px;
  animation: spin 1s linear infinite;
}

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

.dark-mode .file-upload-modal .modal-content {
  background-color: #1e293b;
  color: #f1f5f9;
}

.dark-mode .info-box {
  background-color: #334155;
  border-left-color: #60a5fa;
}

.dark-mode .info-box .info-icon {
  color: #60a5fa;
}

.dark-mode .upload-container {
  border-color: #475569;
}

.dark-mode .upload-container:hover {
  border-color: #60a5fa;
  background-color: #1e293b;
}

.dark-mode .upload-icon {
  color: #94a3b8;
}

.dark-mode .file-formats {
  color: #94a3b8;
}

.dark-mode .file-status {
  background-color: #064e3b;
}

.dark-mode .file-status.error {
  background-color: #7f1d1d;
}

.dark-mode .file-info p {
  color: #cbd5e1;
}

.dark-mode .spinner {
  border-color: #475569;
  border-top-color: #60a5fa;
}

/* IAM Connection Selection Modal Styles (New) */
.iam-connection-selection-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1050; /* Ensure it's above other modals if any overlap */
  display: flex;
  align-items: center;
  justify-content: center;
}

.iam-connection-selection-modal .modal-content {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  width: 900px;
  max-width: 95%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
}

.iam-connection-selection-modal .modal-header {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #e9ecef;
  display: flex;
  align-items: center;
}

.iam-connection-selection-modal .modal-header h4 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
  display: flex;
  align-items: center;
}

.iam-connection-selection-modal .modal-body {
  padding: 1.5rem;
  overflow-y: auto;
}

.iam-connection-selection-modal .modal-description {
  margin-bottom: 1.5rem;
  line-height: 1.6;
  color: #495057;
}

.iam-connection-selection-modal .loading-indicator,
.iam-connection-selection-modal .error-message-box,
.iam-connection-selection-modal .empty-state-box {
  padding: 1rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.iam-connection-selection-modal .loading-indicator {
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
}

.iam-connection-selection-modal .error-message-box {
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
}

.iam-connection-selection-modal .empty-state-box {
  background-color: #e9ecef;
  color: #495057;
}

.iam-connection-selection-modal .connection-list {
  max-height: none; /* Remove 300px limit */
  overflow-y: visible; /* Change from auto */
  /* border: 1px solid #dee2e6; Removed default border */
  border-radius: 6px;
  display: block; /* Changed from flex/grid for simpler card layout */
}

/* Styles adapted from SelectSystem.vue for IAM connection modal */
.iam-system-selection-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.5rem;
  max-height: 400px;
  overflow-y: auto;
}


.system-card.iam-system-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  background-color: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem; /* 12px */
  padding: 1.25rem; /* 20px */
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  position: relative; /* For radio button positioning */
}

.system-card.iam-system-card:hover {
  border-color: #3b82f6;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.system-card.iam-system-card.selected {
  border-color: #2563eb; /* Darker blue for selected */
  background-color: #eff6ff; /* Light blue background for selected */
  box-shadow: 0 0 0 2px #2563eb;
}

.system-radio {
  display: none; /* Hide actual radio button */
}

.system-card-content {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 0.5rem;
  overflow: hidden;
}

.system-logo-container {
  width: 48px; /* Fixed size for logo container */
  height: 48px;
  margin-right: 1rem; /* 16px */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background-color: #f8fafc; /* Light bg for logo container */
  border-radius: 0.5rem; /* 8px */
}

.system-logo {
  max-width: 32px;
  max-height: 32px;
  -o-object-fit: contain;
     object-fit: contain;
}
.default-logo-icon {
  color: #64748b; /* Color for default Lucide icon */
}

.system-details {
  flex-grow: 1;
  min-width: 0; /* Prevent overflow issues */
}

.system-name {
  font-size: 1rem; /* 16px */
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.25rem; /* 4px */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.system-description {
  font-size: 0.875rem; /* 14px */
  color: #475569;
  margin-bottom: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.system-id-modal {
  font-size: 0.75rem; /* 12px */
  color: #64748b;
  font-family: monospace;
}

.radio-selector-modal {
    margin-left: auto; /* Pushes radio to the right */
    padding-left: 1rem;
}

.custom-radio-button-modal {
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s;
}

.system-card.iam-system-card.selected .custom-radio-button-modal {
    border-color: #2563eb;
}

.radio-dot-modal {
    width: 10px;
    height: 10px;
    background-color: transparent;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.system-card.iam-system-card.selected .radio-dot-modal {
    background-color: #2563eb;
}

/* Dark mode adaptations for new styles */
.dark-mode .system-card.iam-system-card {
  background-color: #1e293b;
  border-color: #334155;
}

.dark-mode .system-card.iam-system-card:hover {
  border-color: #4b5569;
  box-shadow: 0 4px 12px rgba(75, 85, 105, 0.1);
}

.dark-mode .system-card.iam-system-card.selected {
  border-color: #3b82f6;
  background-color: #253954; /* Darker blue for selected */
  box-shadow: 0 0 0 2px #3b82f6;
}

.dark-mode .system-logo-container {
  background-color: #334155;
}

.dark-mode .default-logo-icon {
  color: #94a3b8;
}

.dark-mode .system-name {
  color: #f1f5f9;
}

.dark-mode .system-description {
  color: #94a3b8;
}

.dark-mode .system-id-modal {
  color: #64748b; /* Keeping it less prominent in dark mode too */
}

.dark-mode .custom-radio-button-modal {
    border-color: #475569;
}

.dark-mode .system-card.iam-system-card.selected .custom-radio-button-modal {
    border-color: #3b82f6;
}

.dark-mode .system-card.iam-system-card.selected .radio-dot-modal {
    background-color: #3b82f6;
}


.iam-connection-selection-modal .connection-item {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e9ecef;
  cursor: pointer;
  transition: background-color 0.15s ease-in-out;
}

.iam-connection-selection-modal .connection-item:last-child {
  border-bottom: none;
}

.iam-connection-selection-modal .connection-item:hover {
  background-color: #f8f9fa;
}

.iam-connection-selection-modal .connection-item.selected {
  background-color: #e7f1ff; /* A light blue for selection */
  border-left: 3px solid #007bff;
}

.iam-connection-selection-modal .connection-item input[type="radio"] {
  margin-right: 1rem;
}

.iam-connection-selection-modal .connection-info {
  display: flex;
  flex-direction: column;
}

.iam-connection-selection-modal .connection-name {
  font-weight: 600;
  color: #212529;
}

.iam-connection-selection-modal .connection-id,
.iam-connection-selection-modal .connection-type {
  font-size: 0.85rem;
  color: #6c757d;
}

.iam-connection-selection-modal .modal-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid #e9ecef;
  display: flex;
  justify-content: flex-end; /* Align button to the right */
}

/* Dark mode styles for IAM connection modal */
.dark-mode .iam-connection-selection-modal .modal-content {
  background-color: #1e293b; /* Adjust to your dark theme */
  color: #f1f5f9;
  border: 1px solid #334155;
}

.dark-mode .iam-connection-selection-modal .modal-header,
.dark-mode .iam-connection-selection-modal .modal-footer {
  border-color: #334155;
}

.dark-mode .iam-connection-selection-modal .modal-description {
  color: #adb5bd;
}

.dark-mode .iam-connection-selection-modal .loading-indicator {
  background-color: #2c3e50;
  border-color: #334155;
}

.dark-mode .iam-connection-selection-modal .error-message-box {
  background-color: #5d2b2f; /* Darker red */
  border-color: #721c24;
  color: #f8d7da;
}

.dark-mode .iam-connection-selection-modal .empty-state-box {
  background-color: #334155;
  color: #adb5bd;
}

.dark-mode .iam-connection-selection-modal .connection-list {
  border-color: #475569;
}

.dark-mode .iam-connection-selection-modal .connection-item {
  border-bottom-color: #334155;
}

.dark-mode .iam-connection-selection-modal .connection-item:hover {
  background-color: #2c3e50;
}

.dark-mode .iam-connection-selection-modal .connection-item.selected {
  background-color: #2a3b4d; /* Darker selection color */
  border-left-color: #3b82f6;
}

.dark-mode .iam-connection-selection-modal .connection-name {
  color: #e9ecef;
}

.dark-mode .iam-connection-selection-modal .connection-id,
.dark-mode .iam-connection-selection-modal .connection-type {
  color: #94a3b8;
}

.sync-banner {
    background-color: #d1fae5;
    color: #065f46;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    border: 1px solid #6ee7b7;
}

.dark-mode .sync-banner {
    background-color: #064e3b;
    color: #d1fae5;
    border-color: #34d399;
}

.add-location-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
}

.add-location-modal .modal-content {
  position: relative;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  width: 500px;
  max-width: 90%;
  z-index: 1;
}

.dark-mode .add-location-modal .modal-content {
  background-color: #1e293b;
  border: 1px solid #334155;
}

.add-location-modal .modal-header {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #e9ecef;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dark-mode .add-location-modal .modal-header {
  border-color: #334155;
}

.add-location-modal .modal-header h4 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
  display: flex;
  align-items: center;
}

.add-location-modal .modal-body {
  padding: 1.5rem;
}

.add-location-modal .form-group {
  margin-bottom: 1.5rem;
}

.add-location-modal .form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.dark-mode .add-location-modal .form-group label {
  color: #cbd5e1;
}

.add-location-modal .form-group input {
  width: 100%;
  padding: 0.75rem;
  border-radius: 6px;
  border: 1px solid #d1d5db;
  font-size: 1rem;
}

.dark-mode .add-location-modal .form-group input {
  background-color: #334155;
  border-color: #475569;
  color: #f1f5f9;
}

.add-location-modal .modal-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid #e9ecef;
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

.dark-mode .add-location-modal .modal-footer {
  border-color: #334155;
}

/* Styles for Submission Status in Modal */
.submission-status-view {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1rem;
  min-height: 250px; /* Ensure a consistent height */
}

.submission-status-view .spinner {
  width: 40px;
  height: 40px;
  border-top-color: #4f46e5;
  margin: 0 0 1.5rem 0;
}

.submission-status-view h4 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 1rem 0 0.5rem 0;
}

.submission-status-view p {
  font-size: 1rem;
  color: #4b5563;
  max-width: 400px;
  margin: 0;
  line-height: 1.6;
}

.submission-status-view .text-success {
  color: #10b981;
}

.submission-status-view .text-danger {
  color: #ef4444;
}

.submission-status-view p.error-details {
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  padding: 0.75rem;
  border-radius: 6px;
  margin-top: 1rem;
  max-width: 90%;
  word-break: break-word;
}

.tab-navigation {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 1rem;
  background-color: #f8f9fa;
  border-radius: 8px;
  margin-bottom: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  min-height: 60px;
}

.tab-group-container {
  display: flex;
  flex-direction: column;
  padding-left: 0.75rem;
  border-left: 1px solid #dee2e6;
  flex-shrink: 0;
  min-width: -moz-fit-content;
  min-width: fit-content;
}

.tab-group-container:first-of-type {
  border-left: none;
  padding-left: 0;
}

.tab-buttons {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.25rem;
}

.tab-buttons .tab-button {
  white-space: nowrap;
  font-size: 0.875rem;
  padding: 0.5rem 0.75rem;
  flex-shrink: 0;
  min-width: -moz-fit-content;
  min-width: fit-content;
}

.tab-buttons .tab-button .tab-icon {
  width: 16px;
  height: 16px;
}

.tab-buttons .tab-button span {
  margin-left: 0.375rem;
}

/* Responsive scaling for smaller screens */
@media (max-width: 1200px) {
  .tab-buttons .tab-button {
    font-size: 0.8rem;
    padding: 0.4rem 0.6rem;
  }
  
  .tab-buttons .tab-button .tab-icon {
    width: 14px;
    height: 14px;
  }
}

@media (max-width: 992px) {
  .tab-navigation {
    gap: 0.25rem;
    padding: 0.75rem;
  }
  
  .tab-group-container {
    padding-left: 0.5rem;
  }
  
  .tab-buttons .tab-button {
    font-size: 0.75rem;
    padding: 0.375rem 0.5rem;
  }
  
  .tab-buttons .tab-button span {
    margin-left: 0.25rem;
  }
}

@media (max-width: 768px) {
  .tab-buttons .tab-button {
    padding: 0.3rem 0.4rem;
  }
  
  .tab-buttons .tab-button .tab-icon {
    width: 12px;
    height: 12px;
  }
}

.dark-mode .submission-status-view p {
  color: #cbd5e1;
}

.tab-category {
  font-size: 0.8rem;
  font-weight: 600;
  color: #8898aa;
  text-transform: uppercase;
  margin: 0 0 8px 4px;
}

.tab-content {
  padding: 20px;
  background-color: #ffffff;
  border-radius: 0 0 8px 8px;
}

/* Dark mode support for tab navigation */
.dark-mode .tab-navigation {
  background-color: #1e293b;
}

.dark-mode .tab-group-container {
  border-left-color: #475569;
}

.dark-mode .tab-category {
  color: #94a3b8;
}

.dark-mode .tab-content {
  background-color: #1e293b;
}

/* IAM Indicator Styles for Job Functions and Departments Tabs */
.function-name-with-icon {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.iam-provider-logo {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  -o-object-fit: contain;
     object-fit: contain;
  border-radius: 2px;
}

.iam-provider-icon-fallback {
  flex-shrink: 0;
  color: #6b7280;
  opacity: 0.8;
}

.function-name {
  font-weight: 500;
  color: #1f2937;
}

/* Dark mode for IAM provider icons */
.dark-mode .iam-provider-icon-fallback {
  color: #9ca3af;
}

.dark-mode .function-name {
  color: #f1f5f9;
}

/* IAM provider logos for selection lists (smaller size) */
.subject-item-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.subject-name-with-icon {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.iam-provider-logo-small {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  -o-object-fit: contain;
     object-fit: contain;
  border-radius: 2px;
}

.iam-provider-icon-fallback-small {
  flex-shrink: 0;
  color: #6b7280;
  opacity: 0.8;
}

/* Dark mode for small IAM provider logos */
.dark-mode .iam-provider-icon-fallback-small {
  color: #9ca3af;
}

/* Horizontal card layout */
.system-card-content-horizontal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 1rem;
}

.system-info-section {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
}

.system-logo-container-compact {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  border-radius: 8px;
  flex-shrink: 0;
}

.system-logo-compact {
  max-width: 28px;
  max-height: 28px;
}

.system-details-compact {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.system-details-compact .system-name {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0;
}

.system-details-compact .system-provider {
  font-size: 0.8rem;
  color: #6c757d;
  margin: 0;
}

.job-data-badge-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.15rem 0.4rem;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 500;
  width: -moz-fit-content;
  width: fit-content;
}

.job-data-badge-inline.active {
  background-color: #d1fae5;
  color: #065f46;
}

.job-data-badge-inline.inactive {
  background-color: #f3f4f6;
  color: #6b7280;
}

.system-actions-section {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-job-data-compact {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.4rem 0.6rem;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  background: #f8f9fa;
  color: #495057;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.btn-job-data-compact:hover {
  background: #e9ecef;
  border-color: #adb5bd;
  transform: translateY(-1px);
}

.btn-job-data-compact.has-data {
  background: #e7f1ff;
  border-color: #b3d7ff;
  color: #0056b3;
}

.btn-job-data-compact.has-data:hover {
  background: #d1e7ff;
  border-color: #99caff;
}

/* Adjust card padding for horizontal layout */
.system-card.iam-system-card {
  padding: 0.75rem 1rem;
}

/* Hide ID display in compact view */
.system-id-modal {
  display: none;
}

/* Dark mode support for horizontal layout */
.dark-mode .system-logo-container-compact {
  background: #334155;
}

.dark-mode .system-details-compact .system-provider {
  color: #94a3b8;
}

.dark-mode .job-data-badge-inline.active {
  background-color: #064e3b;
  color: #d1fae5;
}

.dark-mode .job-data-badge-inline.inactive {
  background-color: #374151;
  color: #9ca3af;
}

.dark-mode .btn-job-data-compact {
  background: #334155;
  color: #e2e8f0;
  border-color: #475569;
}

.dark-mode .btn-job-data-compact:hover {
  background: #475569;
  border-color: #64748b;
}

.dark-mode .btn-job-data-compact.has-data {
  background: #1e3a8a;
  border-color: #3b82f6;
  color: #dbeafe;
}

.dark-mode .btn-job-data-compact.has-data:hover {
  background: #1d4ed8;
  border-color: #60a5fa;
}

/* AI Context Banner - Subtle Info Bar */
.ai-context-banner {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: linear-gradient(135deg, #f8fafc 0%, #f0f4ff 100%);
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}

.ai-context-banner:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.06);
}

.banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.banner-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.banner-icon {
  color: #667eea;
  flex-shrink: 0;
}

.banner-info {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.banner-text {
  font-size: 0.875rem;
  font-weight: 500;
  color: #1e293b;
  line-height: 1.2;
}

.banner-meta {
  font-size: 0.75rem;
  font-weight: 400;
  color: #64748b;
  line-height: 1;
}

.banner-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.banner-button {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.75rem;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #667eea;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.banner-button:hover {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-color: #667eea;
  transform: translateY(-1px);
  box-shadow: 0 4px 6px rgba(102, 126, 234, 0.2);
}

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

.banner-button svg {
  flex-shrink: 0;
}

/* Primary variant for Transfer button */
.banner-button-primary {
  background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
  color: white;
  border-color: #4f46e5;
}

.banner-button-primary:hover {
  background: linear-gradient(135deg, #4338ca 0%, #4f46e5 100%);
  border-color: #4338ca;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(79, 70, 229, 0.3);
}

.banner-button-primary:active {
  transform: translateY(0);
}

/* Dark Mode Support for AI Context Banner */
.dark-mode .ai-context-banner {
  background: linear-gradient(135deg, #1e293b 0%, #253043 100%);
  border-color: #334155;
}

.dark-mode .banner-text {
  color: #f1f5f9;
}

.dark-mode .banner-meta {
  color: #94a3b8;
}

.dark-mode .banner-icon {
  color: #8b5cf6;
}

.dark-mode .banner-button {
  background: #334155;
  border-color: #475569;
  color: #a78bfa;
}

.dark-mode .banner-button:hover {
  background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
  color: white;
  border-color: #8b5cf6;
}

/* Responsive Design for AI Context Banner */
@media (max-width: 768px) {
  .banner-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .banner-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .banner-button span {
    display: inline; /* Keep text visible on mobile */
  }
}

@media (max-width: 480px) {
  .banner-button {
    padding: 0.4rem 0.6rem;
    font-size: 0.8rem;
  }

  .banner-button svg {
    width: 14px;
    height: 14px;
  }
}
.leaflet-cluster-anim .leaflet-marker-icon, .leaflet-cluster-anim .leaflet-marker-shadow {
	transition: transform 0.3s ease-out, opacity 0.3s ease-in;
}

.leaflet-cluster-spider-leg {
	/* stroke-dashoffset (duration and function) should match with leaflet-marker-icon transform in order to track it exactly */
	transition: stroke-dashoffset 0.3s ease-out, stroke-opacity 0.3s ease-in;
}

.marker-cluster-small {
	background-color: rgba(181, 226, 140, 0.6);
	}
.marker-cluster-small div {
	background-color: rgba(110, 204, 57, 0.6);
	}

.marker-cluster-medium {
	background-color: rgba(241, 211, 87, 0.6);
	}
.marker-cluster-medium div {
	background-color: rgba(240, 194, 12, 0.6);
	}

.marker-cluster-large {
	background-color: rgba(253, 156, 115, 0.6);
	}
.marker-cluster-large div {
	background-color: rgba(241, 128, 23, 0.6);
	}

	/* IE 6-8 fallback colors */
.leaflet-oldie .marker-cluster-small {
	background-color: rgb(181, 226, 140);
	}
.leaflet-oldie .marker-cluster-small div {
	background-color: rgb(110, 204, 57);
	}

.leaflet-oldie .marker-cluster-medium {
	background-color: rgb(241, 211, 87);
	}
.leaflet-oldie .marker-cluster-medium div {
	background-color: rgb(240, 194, 12);
	}

.leaflet-oldie .marker-cluster-large {
	background-color: rgb(253, 156, 115);
	}
.leaflet-oldie .marker-cluster-large div {
	background-color: rgb(241, 128, 23);
}

.marker-cluster {
	background-clip: padding-box;
	border-radius: 20px;
	}
.marker-cluster div {
	width: 30px;
	height: 30px;
	margin-left: 5px;
	margin-top: 5px;

	text-align: center;
	border-radius: 15px;
	font: 12px "Helvetica Neue", Arial, Helvetica, sans-serif;
	}
.marker-cluster span {
	line-height: 30px;
	}
.vue-recycle-scroller{position:relative}.vue-recycle-scroller.direction-vertical:not(.page-mode){overflow-y:auto}.vue-recycle-scroller.direction-horizontal:not(.page-mode){overflow-x:auto}.vue-recycle-scroller.direction-horizontal{display:-webkit-box;display:-ms-flexbox;display:flex}.vue-recycle-scroller__slot{-webkit-box-flex:1;-ms-flex:auto 0 0px;flex:auto 0 0}.vue-recycle-scroller__item-wrapper{-webkit-box-flex:1;-ms-flex:1;flex:1;-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden;position:relative}.vue-recycle-scroller.ready .vue-recycle-scroller__item-view{position:absolute;top:0;left:0;will-change:transform}.vue-recycle-scroller.direction-vertical .vue-recycle-scroller__item-wrapper{width:100%}.vue-recycle-scroller.direction-horizontal .vue-recycle-scroller__item-wrapper{height:100%}.vue-recycle-scroller.ready.direction-vertical .vue-recycle-scroller__item-view{width:100%}.vue-recycle-scroller.ready.direction-horizontal .vue-recycle-scroller__item-view{height:100%}.resize-observer[data-v-b329ee4c]{position:absolute;top:0;left:0;z-index:-1;width:100%;height:100%;border:none;background-color:transparent;pointer-events:none;display:block;overflow:hidden;opacity:0}.resize-observer[data-v-b329ee4c] object{display:block;position:absolute;top:0;left:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1}
.file-upload-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.file-upload-modal .modal-content {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  width: 550px;
  max-width: 90%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.file-upload-modal .modal-body {
  padding: 20px;
  overflow-y: auto;
}

.file-upload-modal .modal-description {
  margin-bottom: 20px;
  line-height: 1.5;
}

.info-box {
  background-color: #f0f9ff;
  border-left: 4px solid #3b82f6;
  padding: 15px;
  border-radius: 4px;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
}

.info-box .info-icon {
  color: #3b82f6;
  margin-right: 10px;
  flex-shrink: 0;
}

.info-box p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.upload-container {
  border: 2px dashed #d1d5db;
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 20px;
}

.upload-container:hover {
  border-color: #3b82f6;
  background-color: #f9fafb;
}

.upload-icon {
  color: #6b7280;
  margin-bottom: 15px;
}

.file-formats {
  font-size: 0.85rem;
  color: #6b7280;
  margin-top: 10px;
}

.file-status {
  display: flex;
  align-items: center;
  padding: 15px;
  background-color: #f0fdf4;
  border-radius: 8px;
  margin-bottom: 20px;
}

.file-status.error {
  background-color: #fef2f2;
}

.file-status .success-icon {
  color: #10b981;
  margin-right: 15px;
  flex-shrink: 0;
}

.file-status .error-icon {
  color: #ef4444;
  margin-right: 15px;
  flex-shrink: 0;
}

.file-info {
  flex-grow: 1;
}

.file-info h5 {
  margin: 0 0 5px;
  font-weight: 600;
}

.file-info p {
  margin: 0;
  font-size: 0.9rem;
  color: #4b5563;
}

.spinner {
  width: 24px;
  height: 24px;
  border: 3px solid #d1d5db;
  border-radius: 50%;
  border-top-color: #3b82f6;
  margin-right: 15px;
  animation: spin 1s linear infinite;
}

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

.dark-mode .file-upload-modal .modal-content {
  background-color: #1e293b;
  color: #f1f5f9;
}

.dark-mode .info-box {
  background-color: #334155;
  border-left-color: #60a5fa;
}

.dark-mode .info-box .info-icon {
  color: #60a5fa;
}

.dark-mode .upload-container {
  border-color: #475569;
}

.dark-mode .upload-container:hover {
  border-color: #60a5fa;
  background-color: #1e293b;
}

.dark-mode .upload-icon {
  color: #94a3b8;
}

.dark-mode .file-formats {
  color: #94a3b8;
}

.dark-mode .file-status {
  background-color: #064e3b;
}

.dark-mode .file-status.error {
  background-color: #7f1d1d;
}

.dark-mode .file-info p {
  color: #cbd5e1;
}

.dark-mode .spinner {
  border-color: #475569;
  border-top-color: #60a5fa;
}

/* IAM Connection Selection Modal Styles (New) */
.iam-connection-selection-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1050; /* Ensure it's above other modals if any overlap */
  display: flex;
  align-items: center;
  justify-content: center;
}

.iam-connection-selection-modal .modal-content {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  width: 900px;
  max-width: 95%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
}

.iam-connection-selection-modal .modal-header {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #e9ecef;
  display: flex;
  align-items: center;
}

.iam-connection-selection-modal .modal-header h4 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
  display: flex;
  align-items: center;
}

.iam-connection-selection-modal .modal-body {
  padding: 1.5rem;
  overflow-y: auto;
}

.iam-connection-selection-modal .modal-description {
  margin-bottom: 1.5rem;
  line-height: 1.6;
  color: #495057;
}

.iam-connection-selection-modal .loading-indicator,
.iam-connection-selection-modal .error-message-box,
.iam-connection-selection-modal .empty-state-box {
  padding: 1rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.iam-connection-selection-modal .loading-indicator {
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
}

.iam-connection-selection-modal .error-message-box {
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
}

.iam-connection-selection-modal .empty-state-box {
  background-color: #e9ecef;
  color: #495057;
}

.iam-connection-selection-modal .connection-list {
  max-height: none; /* Remove 300px limit */
  overflow-y: visible; /* Change from auto */
  /* border: 1px solid #dee2e6; Removed default border */
  border-radius: 6px;
  display: block; /* Changed from flex/grid for simpler card layout */
}

/* Styles adapted from SelectSystem.vue for IAM connection modal */
.iam-system-selection-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.5rem;
  max-height: 400px;
  overflow-y: auto;
}


.system-card.iam-system-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  background-color: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem; /* 12px */
  padding: 1.25rem; /* 20px */
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  position: relative; /* For radio button positioning */
}

.system-card.iam-system-card:hover {
  border-color: #3b82f6;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.system-card.iam-system-card.selected {
  border-color: #2563eb; /* Darker blue for selected */
  background-color: #eff6ff; /* Light blue background for selected */
  box-shadow: 0 0 0 2px #2563eb;
}

.system-radio {
  display: none; /* Hide actual radio button */
}

.system-card-content {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 0.5rem;
  overflow: hidden;
}

.system-logo-container {
  width: 48px; /* Fixed size for logo container */
  height: 48px;
  margin-right: 1rem; /* 16px */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background-color: #f8fafc; /* Light bg for logo container */
  border-radius: 0.5rem; /* 8px */
}

.system-logo {
  max-width: 32px;
  max-height: 32px;
  -o-object-fit: contain;
     object-fit: contain;
}
.default-logo-icon {
  color: #64748b; /* Color for default Lucide icon */
}

.system-details {
  flex-grow: 1;
  min-width: 0; /* Prevent overflow issues */
}

.system-name {
  font-size: 1rem; /* 16px */
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.25rem; /* 4px */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.system-description {
  font-size: 0.875rem; /* 14px */
  color: #475569;
  margin-bottom: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.system-id-modal {
  font-size: 0.75rem; /* 12px */
  color: #64748b;
  font-family: monospace;
}

.radio-selector-modal {
    margin-left: auto; /* Pushes radio to the right */
    padding-left: 1rem;
}

.custom-radio-button-modal {
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s;
}

.system-card.iam-system-card.selected .custom-radio-button-modal {
    border-color: #2563eb;
}

.radio-dot-modal {
    width: 10px;
    height: 10px;
    background-color: transparent;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.system-card.iam-system-card.selected .radio-dot-modal {
    background-color: #2563eb;
}

/* Dark mode adaptations for new styles */
.dark-mode .system-card.iam-system-card {
  background-color: #1e293b;
  border-color: #334155;
}

.dark-mode .system-card.iam-system-card:hover {
  border-color: #4b5569;
  box-shadow: 0 4px 12px rgba(75, 85, 105, 0.1);
}

.dark-mode .system-card.iam-system-card.selected {
  border-color: #3b82f6;
  background-color: #253954; /* Darker blue for selected */
  box-shadow: 0 0 0 2px #3b82f6;
}

.dark-mode .system-logo-container {
  background-color: #334155;
}

.dark-mode .default-logo-icon {
  color: #94a3b8;
}

.dark-mode .system-name {
  color: #f1f5f9;
}

.dark-mode .system-description {
  color: #94a3b8;
}

.dark-mode .system-id-modal {
  color: #64748b; /* Keeping it less prominent in dark mode too */
}

.dark-mode .custom-radio-button-modal {
    border-color: #475569;
}

.dark-mode .system-card.iam-system-card.selected .custom-radio-button-modal {
    border-color: #3b82f6;
}

.dark-mode .system-card.iam-system-card.selected .radio-dot-modal {
    background-color: #3b82f6;
}


.iam-connection-selection-modal .connection-item {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e9ecef;
  cursor: pointer;
  transition: background-color 0.15s ease-in-out;
}

.iam-connection-selection-modal .connection-item:last-child {
  border-bottom: none;
}

.iam-connection-selection-modal .connection-item:hover {
  background-color: #f8f9fa;
}

.iam-connection-selection-modal .connection-item.selected {
  background-color: #e7f1ff; /* A light blue for selection */
  border-left: 3px solid #007bff;
}

.iam-connection-selection-modal .connection-item input[type="radio"] {
  margin-right: 1rem;
}

.iam-connection-selection-modal .connection-info {
  display: flex;
  flex-direction: column;
}

.iam-connection-selection-modal .connection-name {
  font-weight: 600;
  color: #212529;
}

.iam-connection-selection-modal .connection-id,
.iam-connection-selection-modal .connection-type {
  font-size: 0.85rem;
  color: #6c757d;
}

.iam-connection-selection-modal .modal-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid #e9ecef;
  display: flex;
  justify-content: flex-end; /* Align button to the right */
}

/* Dark mode styles for IAM connection modal */
.dark-mode .iam-connection-selection-modal .modal-content {
  background-color: #1e293b; /* Adjust to your dark theme */
  color: #f1f5f9;
  border: 1px solid #334155;
}

.dark-mode .iam-connection-selection-modal .modal-header,
.dark-mode .iam-connection-selection-modal .modal-footer {
  border-color: #334155;
}

.dark-mode .iam-connection-selection-modal .modal-description {
  color: #adb5bd;
}

.dark-mode .iam-connection-selection-modal .loading-indicator {
  background-color: #2c3e50;
  border-color: #334155;
}

.dark-mode .iam-connection-selection-modal .error-message-box {
  background-color: #5d2b2f; /* Darker red */
  border-color: #721c24;
  color: #f8d7da;
}

.dark-mode .iam-connection-selection-modal .empty-state-box {
  background-color: #334155;
  color: #adb5bd;
}

.dark-mode .iam-connection-selection-modal .connection-list {
  border-color: #475569;
}

.dark-mode .iam-connection-selection-modal .connection-item {
  border-bottom-color: #334155;
}

.dark-mode .iam-connection-selection-modal .connection-item:hover {
  background-color: #2c3e50;
}

.dark-mode .iam-connection-selection-modal .connection-item.selected {
  background-color: #2a3b4d; /* Darker selection color */
  border-left-color: #3b82f6;
}

.dark-mode .iam-connection-selection-modal .connection-name {
  color: #e9ecef;
}

.dark-mode .iam-connection-selection-modal .connection-id,
.dark-mode .iam-connection-selection-modal .connection-type {
  color: #94a3b8;
}

.sync-banner {
    background-color: #d1fae5;
    color: #065f46;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    border: 1px solid #6ee7b7;
}

.dark-mode .sync-banner {
    background-color: #064e3b;
    color: #d1fae5;
    border-color: #34d399;
}

.add-location-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
}

.add-location-modal .modal-content {
  position: relative;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  width: 500px;
  max-width: 90%;
  z-index: 1;
}

.dark-mode .add-location-modal .modal-content {
  background-color: #1e293b;
  border: 1px solid #334155;
}

.add-location-modal .modal-header {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #e9ecef;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dark-mode .add-location-modal .modal-header {
  border-color: #334155;
}

.add-location-modal .modal-header h4 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
  display: flex;
  align-items: center;
}

.add-location-modal .modal-body {
  padding: 1.5rem;
}

.add-location-modal .form-group {
  margin-bottom: 1.5rem;
}

.add-location-modal .form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.dark-mode .add-location-modal .form-group label {
  color: #cbd5e1;
}

.add-location-modal .form-group input {
  width: 100%;
  padding: 0.75rem;
  border-radius: 6px;
  border: 1px solid #d1d5db;
  font-size: 1rem;
}

.dark-mode .add-location-modal .form-group input {
  background-color: #334155;
  border-color: #475569;
  color: #f1f5f9;
}

.add-location-modal .modal-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid #e9ecef;
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

.dark-mode .add-location-modal .modal-footer {
  border-color: #334155;
}

/* Styles for Submission Status in Modal */
.submission-status-view {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1rem;
  min-height: 250px; /* Ensure a consistent height */
}

.submission-status-view .spinner {
  width: 40px;
  height: 40px;
  border-top-color: #4f46e5;
  margin: 0 0 1.5rem 0;
}

.submission-status-view h4 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 1rem 0 0.5rem 0;
}

.submission-status-view p {
  font-size: 1rem;
  color: #4b5563;
  max-width: 400px;
  margin: 0;
  line-height: 1.6;
}

.submission-status-view .text-success {
  color: #10b981;
}

.submission-status-view .text-danger {
  color: #ef4444;
}

.submission-status-view p.error-details {
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  padding: 0.75rem;
  border-radius: 6px;
  margin-top: 1rem;
  max-width: 90%;
  word-break: break-word;
}

.tab-navigation {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 1rem;
  background-color: #f8f9fa;
  border-radius: 8px;
  margin-bottom: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  min-height: 60px;
}

.tab-group-container {
  display: flex;
  flex-direction: column;
  padding-left: 0.75rem;
  border-left: 1px solid #dee2e6;
  flex-shrink: 0;
  min-width: -moz-fit-content;
  min-width: fit-content;
}

.tab-group-container:first-of-type {
  border-left: none;
  padding-left: 0;
}

.tab-buttons {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.25rem;
}

.tab-buttons .tab-button {
  white-space: nowrap;
  font-size: 0.875rem;
  padding: 0.5rem 0.75rem;
  flex-shrink: 0;
  min-width: -moz-fit-content;
  min-width: fit-content;
}

.tab-buttons .tab-button .tab-icon {
  width: 16px;
  height: 16px;
}

.tab-buttons .tab-button span {
  margin-left: 0.375rem;
}

/* Responsive scaling for smaller screens */
@media (max-width: 1200px) {
  .tab-buttons .tab-button {
    font-size: 0.8rem;
    padding: 0.4rem 0.6rem;
  }
  
  .tab-buttons .tab-button .tab-icon {
    width: 14px;
    height: 14px;
  }
}

@media (max-width: 992px) {
  .tab-navigation {
    gap: 0.25rem;
    padding: 0.75rem;
  }
  
  .tab-group-container {
    padding-left: 0.5rem;
  }
  
  .tab-buttons .tab-button {
    font-size: 0.75rem;
    padding: 0.375rem 0.5rem;
  }
  
  .tab-buttons .tab-button span {
    margin-left: 0.25rem;
  }
}

@media (max-width: 768px) {
  .tab-buttons .tab-button {
    padding: 0.3rem 0.4rem;
  }
  
  .tab-buttons .tab-button .tab-icon {
    width: 12px;
    height: 12px;
  }
}

.dark-mode .submission-status-view p {
  color: #cbd5e1;
}

.tab-category {
  font-size: 0.8rem;
  font-weight: 600;
  color: #8898aa;
  text-transform: uppercase;
  margin: 0 0 8px 4px;
}

.tab-content {
  padding: 20px;
  background-color: #ffffff;
  border-radius: 0 0 8px 8px;
}

/* Dark mode support for tab navigation */
.dark-mode .tab-navigation {
  background-color: #1e293b;
}

.dark-mode .tab-group-container {
  border-left-color: #475569;
}

.dark-mode .tab-category {
  color: #94a3b8;
}

.dark-mode .tab-content {
  background-color: #1e293b;
}

/* IAM Indicator Styles for Job Functions and Departments Tabs */
.function-name-with-icon {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.iam-provider-logo {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  -o-object-fit: contain;
     object-fit: contain;
  border-radius: 2px;
}

.iam-provider-icon-fallback {
  flex-shrink: 0;
  color: #6b7280;
  opacity: 0.8;
}

.function-name {
  font-weight: 500;
  color: #1f2937;
}

/* Dark mode for IAM provider icons */
.dark-mode .iam-provider-icon-fallback {
  color: #9ca3af;
}

.dark-mode .function-name {
  color: #f1f5f9;
}

/* IAM provider logos for selection lists (smaller size) */
.subject-item-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.subject-name-with-icon {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.iam-provider-logo-small {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  -o-object-fit: contain;
     object-fit: contain;
  border-radius: 2px;
}

.iam-provider-icon-fallback-small {
  flex-shrink: 0;
  color: #6b7280;
  opacity: 0.8;
}

/* Dark mode for small IAM provider logos */
.dark-mode .iam-provider-icon-fallback-small {
  color: #9ca3af;
}

/* Horizontal card layout */
.system-card-content-horizontal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 1rem;
}

.system-info-section {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
}

.system-logo-container-compact {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  border-radius: 8px;
  flex-shrink: 0;
}

.system-logo-compact {
  max-width: 28px;
  max-height: 28px;
}

.system-details-compact {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.system-details-compact .system-name {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0;
}

.system-details-compact .system-provider {
  font-size: 0.8rem;
  color: #6c757d;
  margin: 0;
}

.job-data-badge-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.15rem 0.4rem;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 500;
  width: -moz-fit-content;
  width: fit-content;
}

.job-data-badge-inline.active {
  background-color: #d1fae5;
  color: #065f46;
}

.job-data-badge-inline.inactive {
  background-color: #f3f4f6;
  color: #6b7280;
}

.system-actions-section {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-job-data-compact {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.4rem 0.6rem;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  background: #f8f9fa;
  color: #495057;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.btn-job-data-compact:hover {
  background: #e9ecef;
  border-color: #adb5bd;
  transform: translateY(-1px);
}

.btn-job-data-compact.has-data {
  background: #e7f1ff;
  border-color: #b3d7ff;
  color: #0056b3;
}

.btn-job-data-compact.has-data:hover {
  background: #d1e7ff;
  border-color: #99caff;
}

/* Adjust card padding for horizontal layout */
.system-card.iam-system-card {
  padding: 0.75rem 1rem;
}

/* Hide ID display in compact view */
.system-id-modal {
  display: none;
}

/* Dark mode support for horizontal layout */
.dark-mode .system-logo-container-compact {
  background: #334155;
}

.dark-mode .system-details-compact .system-provider {
  color: #94a3b8;
}

.dark-mode .job-data-badge-inline.active {
  background-color: #064e3b;
  color: #d1fae5;
}

.dark-mode .job-data-badge-inline.inactive {
  background-color: #374151;
  color: #9ca3af;
}

.dark-mode .btn-job-data-compact {
  background: #334155;
  color: #e2e8f0;
  border-color: #475569;
}

.dark-mode .btn-job-data-compact:hover {
  background: #475569;
  border-color: #64748b;
}

.dark-mode .btn-job-data-compact.has-data {
  background: #1e3a8a;
  border-color: #3b82f6;
  color: #dbeafe;
}

.dark-mode .btn-job-data-compact.has-data:hover {
  background: #1d4ed8;
  border-color: #60a5fa;
}

/* AI Context Banner - Subtle Info Bar */
.ai-context-banner {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: linear-gradient(135deg, #f8fafc 0%, #f0f4ff 100%);
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}

.ai-context-banner:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.06);
}

.banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.banner-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.banner-icon {
  color: #667eea;
  flex-shrink: 0;
}

.banner-info {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.banner-text {
  font-size: 0.875rem;
  font-weight: 500;
  color: #1e293b;
  line-height: 1.2;
}

.banner-meta {
  font-size: 0.75rem;
  font-weight: 400;
  color: #64748b;
  line-height: 1;
}

.banner-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.banner-button {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.75rem;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #667eea;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.banner-button:hover {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-color: #667eea;
  transform: translateY(-1px);
  box-shadow: 0 4px 6px rgba(102, 126, 234, 0.2);
}

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

.banner-button svg {
  flex-shrink: 0;
}

/* Primary variant for Transfer button */
.banner-button-primary {
  background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
  color: white;
  border-color: #4f46e5;
}

.banner-button-primary:hover {
  background: linear-gradient(135deg, #4338ca 0%, #4f46e5 100%);
  border-color: #4338ca;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(79, 70, 229, 0.3);
}

.banner-button-primary:active {
  transform: translateY(0);
}

/* Dark Mode Support for AI Context Banner */
.dark-mode .ai-context-banner {
  background: linear-gradient(135deg, #1e293b 0%, #253043 100%);
  border-color: #334155;
}

.dark-mode .banner-text {
  color: #f1f5f9;
}

.dark-mode .banner-meta {
  color: #94a3b8;
}

.dark-mode .banner-icon {
  color: #8b5cf6;
}

.dark-mode .banner-button {
  background: #334155;
  border-color: #475569;
  color: #a78bfa;
}

.dark-mode .banner-button:hover {
  background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
  color: white;
  border-color: #8b5cf6;
}

/* Responsive Design for AI Context Banner */
@media (max-width: 768px) {
  .banner-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .banner-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .banner-button span {
    display: inline; /* Keep text visible on mobile */
  }
}

@media (max-width: 480px) {
  .banner-button {
    padding: 0.4rem 0.6rem;
    font-size: 0.8rem;
  }

  .banner-button svg {
    width: 14px;
    height: 14px;
  }
}
/**
 * Full-Page Diagram Mode Styles
 *
 * This stylesheet contains all styles for the full-page diagram mode feature,
 * including:
 * - Full-page container base styles
 * - Collapsed menu bar (collapsed and expanded states)
 * - Tutorial modal
 * - Collapse animations
 * - Dark mode variants
 * - Accessibility features (focus states, reduced motion)
 *
 * @module fullPageDiagram
 */

/* ========================================================================
   FULL-PAGE MODE BASE STYLES
   ======================================================================== */

/**
 * Full-page mode container
 * CRITICAL: These base styles MUST be applied first for proper layout
 */
.keyplan-container.full-page-diagram-mode {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 0;
  z-index: 1000;
  overflow: hidden;
  background: var(--bs-body-bg, #fff);

  /* Performance optimizations */
  will-change: transform;
  contain: layout style paint;
}

.keyplan-container.full-page-diagram-mode .full-page-tab-content {
  position: absolute;
  top: 50px; /* Below collapsed menu */
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}

.keyplan-container.full-page-diagram-mode .access-graph-container {
  width: 100%;
  height: calc(100vh - 50px);
  margin: 0;
  padding: 0;
}

/* ========================================================================
   COLLAPSED MENU BAR STYLES
   ======================================================================== */

.collapsed-menu-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 50px;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  z-index: 1100;
  transition: all 300ms ease-in-out;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.collapsed-menu-bar.dark-mode {
  background: #1a202c;
  border-bottom-color: #2d3748;
}

/* Collapsed state (default) */
.menu-bar-collapsed {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 50px;
  padding: 0 1rem;
}

/* Menu sections */
.menu-section {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.menu-left {
  flex: 0 0 auto;
}

/* Key2XS Text Logo */
.key2xs-text-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  margin-right: 0.5rem;
  transition: opacity 0.2s ease;
}

.key2xs-text-logo:hover {
  opacity: 0.8;
}

.key2xs-text-logo h1 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #4f46e5;
  margin: 0;
  letter-spacing: -0.5px;
  line-height: 1;
}

.key2xs-text-logo h1 span {
  color: #06b6d4;
}

.dark-mode .key2xs-text-logo h1 {
  color: #818cf8;
}

.dark-mode .key2xs-text-logo h1 span {
  color: #22d3ee;
}

.menu-center {
  flex: 1 1 auto;
  justify-content: center;
  gap: 0.5rem;
  overflow-x: auto;
  overflow-y: hidden;
}

.menu-right {
  flex: 0 0 auto;
  gap: 0.5rem;
}

/* Project metadata */
.plan-name {
  font-weight: 600;
  color: #1a202c;
  font-size: 0.95rem;
}

.dark-mode .plan-name {
  color: #f7fafc;
}

.plan-meta {
  font-size: 0.85rem;
  color: #718096;
}

.dark-mode .plan-meta {
  color: #a0aec0;
}

/* Tab buttons in collapsed state */
.tab-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  color: #4a5568;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 200ms ease-in-out;
  white-space: nowrap;
}

.tab-btn:hover {
  background: #f7fafc;
  border-color: #e2e8f0;
}

.tab-btn.active {
  background: #edf2f7;
  border-color: #cbd5e0;
  color: #2d3748;
}

.dark-mode .tab-btn {
  color: #a0aec0;
}

.dark-mode .tab-btn:hover {
  background: #2d3748;
  border-color: #4a5568;
}

.dark-mode .tab-btn.active {
  background: #4a5568;
  border-color: #718096;
  color: #f7fafc;
}

/* Focus styles for accessibility */
.tab-btn:focus-visible {
  outline: 2px solid #4299e1;
  outline-offset: 2px;
}

/* Menu button and dropdown */
.menu-dropdown-wrapper {
  position: relative;
  display: inline-block;
}

.menu-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  color: #4a5568;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 200ms ease-in-out;
  white-space: nowrap;
}

.menu-btn:hover {
  background: #f7fafc;
  border-color: #e2e8f0;
}

.menu-chevron {
  transition: transform 200ms ease-in-out;
}

.menu-chevron.open {
  transform: rotate(180deg);
}

.dark-mode .menu-btn {
  color: #a0aec0;
}

.dark-mode .menu-btn:hover {
  background: #2d3748;
  border-color: #4a5568;
}

.menu-btn:focus-visible {
  outline: 2px solid #4299e1;
  outline-offset: 2px;
}

/* Menu dropdown */
.menu-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 600px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 1rem;
  z-index: 1200;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.dark-mode .menu-dropdown {
  background: #2d3748;
  border-color: #4a5568;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Category sections within menu dropdown */
.menu-category-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.menu-category-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #718096;
  padding: 0 0.5rem;
}

.dark-mode .menu-category-label {
  color: #a0aec0;
}

.menu-category-tabs {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.menu-tab-btn {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 0.75rem;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  color: #4a5568;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 200ms ease-in-out;
  text-align: left;
  width: 100%;
}

.menu-tab-btn:hover {
  background: #f7fafc;
  border-color: #e2e8f0;
}

.menu-tab-btn.active {
  background: #4299e1;
  border-color: #4299e1;
  color: #ffffff;
}

.dark-mode .menu-tab-btn {
  color: #cbd5e0;
}

.dark-mode .menu-tab-btn:hover {
  background: #4a5568;
  border-color: #718096;
}

.dark-mode .menu-tab-btn.active {
  background: #4299e1;
  border-color: #4299e1;
  color: #ffffff;
}

.menu-tab-btn:focus-visible {
  outline: 2px solid #4299e1;
  outline-offset: 2px;
}

/* Dropdown transition */
.dropdown-fade-enter-active,
.dropdown-fade-leave-active {
  transition: opacity 200ms ease-in-out, transform 200ms ease-in-out;
}

.dropdown-fade-enter-from {
  opacity: 0;
  transform: translateY(-8px);
}

.dropdown-fade-leave-to {
  opacity: 0;
  transform: translateY(-4px);
}

/* Utility buttons */
.util-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: transparent;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  color: #4a5568;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 200ms ease-in-out;
}

.util-btn:hover {
  background: #f7fafc;
  border-color: #cbd5e0;
}

.dark-mode .util-btn {
  border-color: #4a5568;
  color: #a0aec0;
}

.dark-mode .util-btn:hover {
  background: #2d3748;
  border-color: #718096;
}

/* Notification button with badge */
.notification-btn {
  position: relative;
}

.notification-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  background: #ef4444;
  color: #ffffff;
  font-size: 0.6875rem;
  font-weight: 600;
  border-radius: 9px;
  border: 2px solid #ffffff;
  line-height: 1;
}

.dark-mode .notification-badge {
  border-color: #1a202c;
}

/* User profile wrapper */
.user-profile-wrapper {
  position: relative;
  display: inline-block;
}

/* User profile button */
.user-profile-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.75rem;
  background: transparent;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  cursor: pointer;
  transition: all 200ms ease-in-out;
}

.user-profile-btn:hover {
  background: #f7fafc;
  border-color: #cbd5e0;
}

.dark-mode .user-profile-btn {
  border-color: #4a5568;
}

.dark-mode .user-profile-btn:hover {
  background: #2d3748;
  border-color: #718096;
}

/* Profile avatar */
.profile-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Profile info */
.profile-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.profile-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: #2d3748;
  line-height: 1.2;
}

.dark-mode .profile-name {
  color: #f7fafc;
}

/* Dropdown icon */
.dropdown-icon {
  color: #718096;
  transition: transform 200ms ease-in-out;
  flex-shrink: 0;
}

.dropdown-icon-open {
  transform: rotate(180deg);
}

.dark-mode .dropdown-icon {
  color: #a0aec0;
}

/* User dropdown menu */
.user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 200px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 0.5rem;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dark-mode .user-dropdown {
  background: #2d3748;
  border-color: #4a5568;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* User dropdown items */
.user-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0.875rem;
  background: transparent;
  border: none;
  border-radius: 6px;
  color: #4a5568;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 200ms ease-in-out;
  text-align: left;
  width: 100%;
}

.user-dropdown-item:hover {
  background: #f7fafc;
  color: #2d3748;
}

.dark-mode .user-dropdown-item {
  color: #cbd5e0;
}

.dark-mode .user-dropdown-item:hover {
  background: #4a5568;
  color: #f7fafc;
}

.user-dropdown-item:focus-visible {
  outline: 2px solid #4299e1;
  outline-offset: -2px;
}

/* Dropdown divider */
.dropdown-divider {
  height: 1px;
  margin: 0.25rem 0;
  background: #e2e8f0;
}

.dark-mode .dropdown-divider {
  background: #4a5568;
}

/* Logout item - special styling */
.logout-item {
  color: #dc2626;
}

.logout-item:hover {
  background: #fee2e2;
  color: #b91c1c;
}

.dark-mode .logout-item {
  color: #f87171;
}

.dark-mode .logout-item:hover {
  background: #7f1d1d;
  color: #fca5a5;
}

/* Pin toggle button */
.pin-toggle-btn {
  display: flex;
  align-items: center;
  padding: 0.5rem;
  background: transparent;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  color: #4a5568;
  cursor: pointer;
  transition: all 200ms ease-in-out;
}

.pin-toggle-btn:hover {
  background: #f7fafc;
}

.pin-toggle-btn.pinned {
  background: #edf2f7;
  border-color: #cbd5e0;
  color: #2d3748;
}

.dark-mode .pin-toggle-btn {
  border-color: #4a5568;
  color: #a0aec0;
}

.dark-mode .pin-toggle-btn:hover {
  background: #2d3748;
}

.dark-mode .pin-toggle-btn.pinned {
  background: #4a5568;
  border-color: #718096;
  color: #f7fafc;
}

.pin-toggle-btn svg.rotated {
  transform: rotate(180deg);
}

/* Expanded overlay */
.menu-expanded-overlay {
  position: absolute;
  top: 50px;
  left: 0;
  right: 0;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 1.5rem 2rem;
  max-height: 300px;
  overflow-y: auto;
}

.dark-mode .menu-expanded-overlay {
  background: #1a202c;
  border-bottom-color: #2d3748;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

/* Tab groups in expanded view */
.tab-groups {
  display: flex;
  gap: 2rem;
  margin-bottom: 1rem;
}

.tab-group {
  flex: 1;
}

.tab-group-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #718096;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.dark-mode .tab-group-label {
  color: #a0aec0;
}

.tab-group-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.tab-btn-expanded {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  color: #4a5568;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 200ms ease-in-out;
  text-align: left;
}

.tab-btn-expanded:hover {
  background: #f7fafc;
  border-color: #e2e8f0;
}

.tab-btn-expanded.active {
  background: #edf2f7;
  border-color: #cbd5e0;
  color: #2d3748;
}

.dark-mode .tab-btn-expanded {
  color: #a0aec0;
}

.dark-mode .tab-btn-expanded:hover {
  background: #2d3748;
  border-color: #4a5568;
}

.dark-mode .tab-btn-expanded.active {
  background: #4a5568;
  border-color: #718096;
  color: #f7fafc;
}

/* Expanded metadata */
.expanded-metadata {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
  font-size: 0.875rem;
  color: #718096;
}

.dark-mode .expanded-metadata {
  border-top-color: #2d3748;
  color: #a0aec0;
}

.metadata-label {
  font-weight: 600;
}

.metadata-value {
  color: #2d3748;
}

.dark-mode .metadata-value {
  color: #f7fafc;
}

.metadata-date {
  margin-left: auto;
  font-size: 0.8125rem;
}

/* Menu expand transition */
.menu-expand-enter-active,
.menu-expand-leave-active {
  transition: all 300ms ease-in-out;
}

.menu-expand-enter-from,
.menu-expand-leave-to {
  opacity: 0;
  transform: translateY(-10px);
}

/* ========================================================================
   TUTORIAL MODAL STYLES
   ======================================================================== */

.tutorial-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.tutorial-modal-content {
  background: #ffffff;
  border-radius: 12px;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.tutorial-modal-content.dark-mode {
  background: #1a202c;
  color: #f7fafc;
}

/* Focus styles for modal */
.tutorial-modal-content:focus-visible {
  outline: 2px solid #4299e1;
  outline-offset: 2px;
}

/* Header */
.tutorial-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid #e2e8f0;
}

.dark-mode .tutorial-header {
  border-bottom-color: #2d3748;
}

.tutorial-header h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  color: #1a202c;
}

.dark-mode .tutorial-header h2 {
  color: #f7fafc;
}

.close-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  border-radius: 6px;
  color: #718096;
  cursor: pointer;
  transition: all 200ms ease-in-out;
}

.close-btn:hover {
  background: #f7fafc;
  color: #2d3748;
}

.dark-mode .close-btn {
  color: #a0aec0;
}

.dark-mode .close-btn:hover {
  background: #2d3748;
  color: #f7fafc;
}

.close-btn:focus-visible {
  outline: 2px solid #4299e1;
  outline-offset: 2px;
}

/* Body */
.tutorial-body {
  flex: 1;
  overflow-y: auto;
  padding: 2rem;
}

.tutorial-media {
  margin-bottom: 1.5rem;
  border-radius: 8px;
  overflow: hidden;
  background: #f7fafc;
  aspect-ratio: 16 / 9;
}

.dark-mode .tutorial-media {
  background: #2d3748;
}

.tutorial-media img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}

.tutorial-content {
  margin-top: 1rem;
}

.tutorial-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #4a5568;
  margin: 0 0 1rem 0;
}

.dark-mode .tutorial-description {
  color: #cbd5e0;
}

.tutorial-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tutorial-bullets li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.9375rem;
  color: #4a5568;
  line-height: 1.5;
}

.dark-mode .tutorial-bullets li {
  color: #cbd5e0;
}

.tutorial-bullets li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #4299e1;
  font-weight: bold;
}

/* Footer */
.tutorial-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-top: 1px solid #e2e8f0;
  gap: 1rem;
}

.dark-mode .tutorial-footer {
  border-top-color: #2d3748;
}

.footer-left,
.footer-center,
.footer-right {
  flex: 1;
}

.footer-left {
  display: flex;
  align-items: center;
}

.footer-center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.footer-right {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

/* Checkbox label */
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #4a5568;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.dark-mode .checkbox-label {
  color: #cbd5e0;
}

.checkbox-label input[type="checkbox"] {
  cursor: pointer;
}

/* Navigation bullets */
.nav-bullet {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #cbd5e0;
  border: none;
  cursor: pointer;
  transition: all 200ms ease-in-out;
  padding: 0;
}

.nav-bullet:hover {
  background: #a0aec0;
}

.nav-bullet.active {
  width: 16px;
  height: 16px;
  background: #4299e1;
}

.dark-mode .nav-bullet {
  background: #4a5568;
}

.dark-mode .nav-bullet:hover {
  background: #718096;
}

.dark-mode .nav-bullet.active {
  background: #4299e1;
}

.nav-bullet:focus-visible {
  outline: 2px solid #4299e1;
  outline-offset: 2px;
}

.slide-counter {
  font-size: 0.875rem;
  color: #718096;
  margin-left: 0.5rem;
}

.dark-mode .slide-counter {
  color: #a0aec0;
}

/* Navigation buttons */
.nav-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 200ms ease-in-out;
  border: 1px solid transparent;
}

.nav-btn-prev {
  background: transparent;
  border-color: #e2e8f0;
  color: #4a5568;
}

.nav-btn-prev:hover:not(:disabled) {
  background: #f7fafc;
  border-color: #cbd5e0;
}

.nav-btn-prev:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.dark-mode .nav-btn-prev {
  border-color: #4a5568;
  color: #cbd5e0;
}

.dark-mode .nav-btn-prev:hover:not(:disabled) {
  background: #2d3748;
  border-color: #718096;
}

.nav-btn-next {
  background: #4299e1;
  color: #ffffff;
}

.nav-btn-next:hover {
  background: #3182ce;
}

.dark-mode .nav-btn-next {
  background: #4299e1;
}

.dark-mode .nav-btn-next:hover {
  background: #3182ce;
}

.nav-btn:focus-visible {
  outline: 2px solid #4299e1;
  outline-offset: 2px;
}

/* Modal fade transition */
.modal-fade-enter-active,
.modal-fade-leave-active {
  transition: opacity 300ms ease-in-out;
}

.modal-fade-enter-from,
.modal-fade-leave-to {
  opacity: 0;
}

/* ========================================================================
   COLLAPSE ANIMATIONS
   ======================================================================== */

/* Performance: Enable GPU acceleration for animated elements */
.keyplan-container.animating-transition .page-header,
.keyplan-container.animating-transition .ai-context-banner,
.keyplan-container.animating-transition .tab-navigation,
.keyplan-container.animating-transition .tab-content,
.keyplan-container.animating-transition .access-graph-container {
  will-change: transform, opacity;
  backface-visibility: hidden;
}

/* Phase 1: Page Header slides up (0ms - 250ms) */
.keyplan-container.animating-transition .page-header {
  animation: slideUpFade 250ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes slideUpFade {
  from {
    transform: translateY(0);
    opacity: 1;
  }
  to {
    transform: translateY(-100%);
    opacity: 0;
  }
}

/* Phase 2: AI Context Banner compresses and slides (100ms - 400ms) */
.keyplan-container.animating-transition .ai-context-banner {
  animation: compressUp 300ms cubic-bezier(0.4, 0, 0.2, 1) 100ms forwards;
}

@keyframes compressUp {
  from {
    transform: translateY(0) scaleY(1);
    opacity: 1;
    max-height: 80px;
  }
  to {
    transform: translateY(-150px) scaleY(0.3);
    opacity: 0;
    max-height: 0;
  }
}

/* Phase 3: Tab Navigation slides up (200ms - 500ms) */
.keyplan-container.animating-transition .tab-navigation {
  animation: slideUpFade 300ms cubic-bezier(0.4, 0, 0.2, 1) 200ms forwards;
}

/* Phase 4: Tab Content padding shrinks (300ms - 600ms) */
.keyplan-container.animating-transition .tab-content {
  animation: removePadding 300ms cubic-bezier(0.4, 0, 0.2, 1) 300ms forwards;
}

@keyframes removePadding {
  from {
    padding: 1.5rem;
  }
  to {
    padding: 0;
  }
}

/* Phase 5: Canvas expands to fill (500ms - 800ms) */
.keyplan-container.animating-transition .access-graph-container {
  animation: expandCanvas 300ms cubic-bezier(0.4, 0, 0.2, 1) 500ms forwards;
}

@keyframes expandCanvas {
  from {
    height: calc(100vh - 400px);
  }
  to {
    height: 100vh;
  }
}

/* ========================================================================
   ACCESSIBILITY: REDUCED MOTION SUPPORT
   WCAG 2.1 Level AA - Success Criterion 2.3.3
   ======================================================================== */

@media (prefers-reduced-motion: reduce) {
  .keyplan-container.animating-transition * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .keyplan-container.animating-transition .page-header,
  .keyplan-container.animating-transition .ai-context-banner,
  .keyplan-container.animating-transition .tab-navigation,
  .keyplan-container.animating-transition .tab-content,
  .keyplan-container.animating-transition .access-graph-container {
    animation: none !important;
  }
}

/* ========================================================================
   RESPONSIVE ADJUSTMENTS
   ======================================================================== */

@media (max-width: 768px) {
  .tutorial-modal-content {
    width: 95%;
    max-height: 95vh;
  }

  .tutorial-header {
    padding: 1rem 1.5rem;
  }

  .tutorial-body {
    padding: 1.5rem;
  }

  .tutorial-footer {
    padding: 1rem 1.5rem;
    flex-wrap: wrap;
  }

  .footer-left,
  .footer-center,
  .footer-right {
    flex-basis: 100%;
  }

  .footer-center {
    order: 3;
    margin-top: 1rem;
  }

  .menu-center {
    overflow-x: auto;
  }

  .tab-groups {
    flex-direction: column;
    gap: 1.5rem;
  }
}

