:root {
    --nav_width: 8rem;
    --nav_height: 4.5rem;
}

body {
    font-family: var(--bs-font-sans-serif);
}


.leaflet-tooltip-top:before,
.leaflet-tooltip-bottom:before,
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
    position: absolute!important;
    pointer-events: none;
    border: 0px solid transparent!important;
    background: transparent!important;
    content: ""!important;
}

.leaflet-tooltip-left:before {
    right: 0!important;
    margin-right: -12px!important;
    border-left-color: rgba(0, 0, 0, 0.4)!important;
}

.leaflet-tooltip-right:before {
    left: 0!important;
    margin-left: -12px!important;
    border-right-color: rgba(0, 0, 0, 0.4)!important;
}

.leaflet-tooltip {
    position: absolute!important;
    padding: 4px!important;
    background: transparent!important;
    border: 0px solid #000!important;
    color: #000!important;
    white-space: nowrap!important;
    -webkit-user-select: none!important;
    -moz-user-select: none!important;
    -ms-user-select: none!important;
    user-select: none!important;
    pointer-events: none!important;
    box-shadow: 0 0px 0px rgba(0,0,0,0.4)!important;
}

.tree-tooltip {
    padding: 0!important;
}

.tree-tooltip span {
    display: inline-block;
    box-shadow: 0 1px 4px rgba(0,0,0,0.35);
}

.leaflet-control-attribution {
    display: none;
    visibility: hidden
}

/* Target the polygon vertices for leaflet.draw plugin */
.leaflet-editing-icon {
    margin-left: -2px!important;
    margin-top: -2px!important;
    height: 0.5rem!important;
    width: 0.5rem!important;
    background-color: #FF00A7!important;
    border-color: white!important;
    border-radius: 50%!important;
    display: inline-block!important;
}

.leaflet-vertex-icon {
    margin-left: -2px!important;
    margin-top: -2px!important;
    height: 0.5rem!important;
    width: 0.5rem!important;
    background-color: #07f3f7!important;
    border-radius: 50%!important;
    display: inline-block!important;
}

.leaflet-container.cursor-all-scroll-enabled {
    cursor: all-scroll!important;
}


.admin-overlay-tooltip {
    background-color: #fff;
    color: #fff;
}

.no-click {
    pointer-events: none;
 }


/* --------------------------------------------------- */

.w2ui-grid .w2ui-grid-body .w2ui-grid-records table tr.w2ui-selected,
.w2ui-grid .w2ui-grid-body .w2ui-grid-frecords table tr.w2ui-selected,
.w2ui-grid .w2ui-grid-body .w2ui-grid-records table tr td.w2ui-selected,
.w2ui-grid .w2ui-grid-body .w2ui-grid-frecords table tr td.w2ui-selected {
    color: black !important;
    /*background-color: #d8e6d1 !important;*/
    /*background-color: #f5ae00!important;*/
    background-color: #88fafc!important;
    border-bottom: 1px solid transparent;
}

.w2ui-grid-toolbar {
    min-height : 40px !important;
    padding: 3px 3px 0px 3px !important;
}

.w2ui-grid .w2ui-changed {
    background: none;
}

.w2ui-form input[type=radio] {
    transform: scale(0.85)!important;
}

.w2ui-box-label span {
    font-size: 13px!important;
}

.w2ui-field label {
    font-size: 13px!important;
    margin-top: 0.33rem!important;
    margin-bottom: 0.33rem!important;
    padding: 2px 12px 0 4px !important;
}

.w2ui-input, .w2ui-tb-html, .w2ui-node, .w2ui-node-group, .w2ui-node-sub, .w2ui-menu-item, 
.w2ui-head, .w2ui-form-header, .w2ui-grid-data, .w2ui-tb-text, .w2ui-popup-title, .w2ui-group-title, 
.w2ui-tab, .w2ui-field, .w2ui-tb-button, .search-title, .w2ui-message-body, .w2ui-reset,
.caption, .opertator, .value {
    font-family: var(--bs-font-sans-serif)!important;
}


.w2ui-tb-text, .w2ui-tb-html, .w2ui-menu-item, .w2ui-tab, .w2ui-message-body,
.w2ui-node-group, .w2ui-node-sub {
    font-size: 14px!important;
}

.w2ui-node {
    font-size: 16px!important;
}

.w2ui-group-title, .w2ui-form-header, .w2ui-popup-title {
    font-size: 16px!important;
    text-align: center!important;
}

.w2ui-popup-title {
    font-weight: bold!important;
}

.w2ui-field-helper.w2ui-list {
    width: 94%!important;
}

.w2ui-tabs .w2ui-scroll-wrapper {
    justify-content: center!important;
    align-items: center!important;
    flex-wrap:wrap!important;
    align-content: center!important;
}

.legend {
    padding: 10px;
    background-color: white;
    border: 2px solid black;
    border-radius: 5px;
}

.legend-marker {
  height: 15px;
  width: 15px;
  margin-top: 5px;
  border: 1px solid black;
  border-radius: 50%;
  display: inline-block;
}

.legend-marker-md {
  height: 12.5px;
  width: 12.5px;
  margin-top: 5px;
  border: 1px solid black;
  border-radius: 50%;
  display: inline-block;
}

.legend-marker-sm {
  height: 10px;
  width: 10px;
  margin-top: 5px;
  border: 1px solid black;
  border-radius: 50%;
  display: inline-block;
}

.legend-label {
  text-align: center;
  display: inline-block;
}


/* Style the list */
ul.breadcrumb {
  list-style: none;
}

/* Display list items side by side */
ul.breadcrumb li {
  display: inline;
  font-size: 14px;
}

/* Add a slash symbol (/) before/behind each list item */
ul.breadcrumb li+li:before {
  padding: 8px;
  color: black;
  content: "/\00a0";
}

/* Add a color to all links inside the list */
ul.breadcrumb li a {
  color: #0275d8;
  text-decoration: none;
}

/* Add a color on mouse-over */
ul.breadcrumb li a:hover {
  color: #01447e;
  text-decoration: underline;
}

/* This is used to "scoot" the main content divs to the left */
.scoot-left {
    --adj-gutter-x: 18rem;
    margin-left: calc(var(--adj-gutter-x) / 2)!important;
    padding-left:2px !important;
    width: calc(100% - var(--adj-gutter-x)/2);
}

.scoot-container {
    --adj-gutter-x: -1rem;
    margin-left: calc(var(--adj-gutter-x) / 2)!important;
}


.val-anim {
    transition: all 0.25s;
}

.text-glow {
    background:#111;
    color:#fff;
    text-shadow:1px 1px 10px #fff, 1px 1px 10px #ccc;
}


/* Extra button style for "extra" small bootstrap buttons - styling moved to .btn-group-xs rule */


/* Styling for database cards, based on bootstrap cards */
/* Customization for Bootstrap cards for database tiles */

.tile-container {
  display:flex;
  flex-wrap:wrap;
  padding:1px;
}


.db-tile {
    flex: 1;
    width: 12.5rem;
    height: 12.5rem;
    margin: 0.5rem;
    border-style: solid;
    border-width :1px;
    line-height: 125%;
    overflow-y: hidden;
    overflow-x: hidden;
}


.db-tile-add {
    border-width:2px;
}

.vert-dots {
    /*width: 10px;
    height: 20px;*/
    padding: 20px 0px 0px 20px;
    position: absolute;
    bottom: 5%;
    right: 4%;
}

.vert-dots:hover {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
    transition: 0.15s ease;
}

.mbgt2-side-nav {
    min-width: var(--nav_width);
    max-width: var(--nav_width);
}

.mbgt2-top-nav {
    min-height: var(--nav_height);
    max-height: var(--nav_height);
}

.mbgt2-top-nav:before {
    content:'';
    width:10px;
    height:10px;
    position:absolute;
    z-index:2;
    bottom:0;
    background:inherit;
    top: var(--nav_height);
    left: var(--nav_width);
}

.mbgt2-top-nav:after {
    content:'';
    width:20px;
    height:20px;
    position:absolute;
    z-index:2;
    bottom:0;
    background: #fff;
    top: var(--nav_height);
    left: var(--nav_width);
    border-radius: 50%;
}

/*help button*/
.mbgt2-help {
    background: #2e3f4c;
    border: 2px solid #2e3f4c;
    color: white;
    border-radius: 8px;
    padding: 2px 10px;
    font-weight: 500;
    font-size: 14px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    vertical-align: middle !important;
    width: fit-content;
    max-width: 100%;
    max-height: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 1;
    box-sizing: border-box;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(46, 63, 76, 0.2);
    cursor: pointer;
}

.mbgt2-help:hover {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    color: white;
    border-color: #6c757d;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(73, 80, 87, 0.3);
}

.mbgt2-help:active {
    transform: translateY(0px);
    box-shadow: 0 2px 4px rgba(73, 80, 87, 0.25);
}

/* Prevent toolbar clipping: .btn-xs applies a negative top margin globally */
.w2ui-toolbar .mbgt2-help,
.w2ui-grid-toolbar .mbgt2-help {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    align-self: center !important;
    line-height: 1.1;
}

/* Note button */
.mbgt2-note {
    background-color: white;
    border: 2px solid #b57d0d;
    color: #b57d0d;
    border-radius:10%;
}

.btn-group-xs > .btn, .btn-xs {
  font-size: 1.0rem;
  line-height: 1.25;
  border-radius: .5rem;
  padding: .375rem .75rem;
  margin-left: 0.5rem;
  margin-right: 0.5rem;
  margin-top: -0.4rem;
  transform: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mr {
    margin-right: 1.5rem!important;
}

.notif-x {
    width: 10px;
    height: 20px;
    position: absolute;
    bottom: 1rem;
    right: 2rem;
}

.notif-db-btn {
    width: 3rem;
    height: 1rem;
    background-color: #d8e6d1;
    border: 1px solid grey;
    border-radius: 10%;
    font-size: 0.65rem;
    padding: auto;
}

.db-title {
    text-align: center;
    font-size: 1rem;
    line-height: 1.25;
    margin-bottom: 0.8rem !important
}

.db-tile-footer {
  border: 0px;
  background-color: rgba(0,0,0,0);
}


.db-tile:hover {
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
    transition: 0.25s ease;
}

.db-locked {
    position: relative;
    cursor: not-allowed;
}

.db-locked::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 1;
}

@keyframes locked-spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}
.db-locked::after {
    content: '\f021\A';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    color: #666;
    z-index: 3;
    white-space: pre;
    text-align: center;
    line-height: 1.2;
    animation: rotate-clockwise 32s linear infinite;
}

@keyframes rotate-clockwise {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.db-locked-processing {
    position: bottom;
    cursor: not-allowed;
}

.db-locked-processing::after {
    content: 'Processing...';
    position: absolute;
    bottom: 15%;
    left: 0;
    width: 100%;
    height: 25%;
    background-color: transparent;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    font-size: 1rem;
    font-weight: bold;
    color: #666;
    z-index: 3;
}







.db-active {
    border: 0.25rem solid #2e3f4c;
}
/* End database cards */

.card-body-scrollable{
    overflow-y: auto;
}

.new_card {
    border: 1px solid blue;
}

.disabled-look {
    pointer-events: none;
    cursor: not-allowed!important;
    opacity: 0.5;
}

/**update bootstrap collapsing to make animation smoother */
.dropdown-menu.collapsing {
    height: 0;
    overflow: hidden;
    transition: height 0.02s ease;
}


/* Notification Bell Animation */
.notified {
    animation: notify_bell 2s ease-out infinite;
}

@keyframes notify_bell {
    0%, 90% {
        transform: rotateZ(0);
    }
    10%, 30%, 50%, 70% {
        transform: rotateZ(30deg);
    }
    20%, 40%, 60%, 80% {
        transform: rotateZ(-30deg);
    }
}


/* Geometry Set table of contents */
.gs-span {
    display: flex;
}

.gs-cy {
    margin-top: auto!important;
    margin-bottom: auto!important;
}

.gs-point {
    height: 0.5rem!important;
    width: 0.5rem!important;
    border-radius: 50%!important;
    margin-right: 1.75rem;
    margin-left: 0.75rem;
}

.gs-polygon {
    height: 1rem!important;
    width: 2rem!important;
    margin-right: 1rem;
    border: 2px solid;
}

.gs-line {
    height: 1%!important;
    width: 2rem!important;
    margin-right: 1rem!important;
    border: 1px solid;
}
/*navigation sidebar menu styling*/
.submenu {
	list-style: none;
	margin-top: 0.5rem;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    background-color: #fff!important;
    font-size: 12px;
    border-radius: 5%;
	padding: 0;
}


/* Nav Bar labels within a tags */
a > label {
    cursor: pointer;
}

.dz-preview{
    border:2px solid #35a6eb;
    padding: 5px;
    margin:5px;
    width:fit-content;
    height:fit-content;
    border-radius: 5px;
    background-color: #eaf7ff;

}



/*offcanvas notification styling*/
.offcanvas-top {
    min-height: 60vh !important; /* Minimum height for offcanvas */
}

.offcanvas-body {
    overflow-y: scroll; /* Adds scrolling if content overflows */
}

.scrollable-submenu {
    max-height: var(--submenu-max-height, calc(100vh - 200px)) !important; /* Use CSS variable or fallback */
    overflow-y: auto;
    overflow-x: hidden; /* Optional: hide horizontal scrollbar */
}


/*for some notifications */
.wavy-border {
  background-color: lightblue;
  padding: 20px;
  clip-path: polygon(0 0, 100% 0, 100% 80%, 50% 100%, 0 80%); /* Creates a custom polygon shape */
}

/*styling for FVS keyword textarea in forms*/
#keywords {
    font-family: monospace !important; /* Important for consistent character width */
    font-size: 1.44em;
    background-image: repeating-linear-gradient(to right, #007acc 0, #007acc 1px, transparent 1px, transparent 10ch);
    background-size: 100% 100%, 100% 1em; /* Let the gradient handle the spacing */
    padding: 1px; /* Remove default padding for better alignment */
    border: 1px solid #ccc;
    }

/* --------------------------------------------------- */
/* Leaf Logo Styles */
/* --------------------------------------------------- */

/* Static leaf class - SVG embedded as background-image */
.leaf {
    width: 24px;
    height: 34px;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='-5 0 105 155' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='transparent' d='M47.77,2.86c.27-.53.82-.9,1.45-.9s1.19.37,1.45.9c2.59,3.92,6.59,9.66,11.07,16.09c11.86,17.02,27.12,38.93,31.43,49.27c2.61,6.24,3.82,12.51,3.82,18.56c0,9.23-2.82,17.95-7.79,25.25c-4.96,7.3-12.05,13.18-20.6,16.75c-5.4,2.26-11.38,3.6-17.76,3.79v20.4c0,.9-.73,1.63-1.63,1.63s-1.63-.73-1.63-1.63v-20.4c-6.38-.19-12.36-1.53-17.76-3.79c-8.55-3.57-15.64-9.46-20.6-16.75c-4.96-7.3-7.79-16.02-7.79-25.25c0-6.05,1.21-12.32,3.82-18.56c4.31-10.34,19.57-32.24,31.43-49.26c4.48-6.43,8.48-12.18,11.07-16.1Z'/%3E%3Cpath fill='%23ffffff' stroke='%23ffffff' stroke-width='1' fill-rule='evenodd' d='M46.15,9.81c-2.39,3.51-5.2,7.54-8.24,11.9-4.56,6.55-9.63,13.82-14.36,20.85l22.6,13.05V9.81h0ZM46.15,86.91l-37-21.36c-.97,1.8-1.76,3.42-2.34,4.81-2.21,5.29-3.35,10.6-3.54,15.76l42.88,24.75v-23.96h0ZM10.72,62.73c2.88-5.03,6.77-11.1,11.02-17.47l24.41,14.09v23.83L10.72,62.73h0ZM3.3,89.87l42.85,24.74v15.63c-5.95-.19-11.51-1.44-16.52-3.54-7.96-3.33-14.56-8.8-19.17-15.58-4.21-6.19-6.75-13.49-7.16-21.25h0ZM49.41,83.18l35.43-20.45c-2.88-5.03-6.77-11.1-11.02-17.47l-24.41,14.09v23.83h0ZM86.4,65.55c.97,1.8,1.76,3.42,2.34,4.81,2.21,5.29,3.35,10.6,3.54,15.76l-42.88,24.75v-23.96l37-21.36h0ZM49.41,55.61V9.81c2.39,3.51,5.2,7.54,8.23,11.9,4.56,6.55,9.63,13.82,14.37,20.86l-22.6,13.05h0ZM92.25,89.87l-42.85,24.74v15.63c5.95-.19,11.51-1.44,16.52-3.54,7.96-3.33,14.56-8.8,19.17-15.58,4.21-6.19,6.75-13.49,7.16-21.25h0ZM46.32,3.76c.27-.53.82-.9,1.45-.9s1.19.37,1.45.9c2.59,3.92,6.59,9.66,11.07,16.09,11.86,17.02,27.12,38.93,31.43,49.27,2.61,6.24,3.82,12.51,3.82,18.56,0,9.23-2.82,17.95-7.79,25.25-4.96,7.3-12.05,13.18-20.6,16.75-5.4,2.26-11.38,3.6-17.76,3.79v20.4c0,.9-.73,1.63-1.63,1.63s-1.63-.73-1.63-1.63v-20.4c-6.38-.19-12.36-1.53-17.76-3.79-8.55-3.57-15.64-9.46-20.6-16.75-4.96-7.3-7.79-16.02-7.79-25.25c0-6.05,1.21-12.32,3.82-18.56,4.31-10.34,19.57-32.24,31.43-49.26,4.48-6.43,8.48-12.18,11.07-16.1Z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Animated leaf class - fill animates from transparent to green */
.leaf-processing {
    width: 24px;
    height: 34px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    animation: fadeLeafFill 2s ease-in-out infinite;
}

@keyframes fadeLeafFill {
    0% {
        background-image: url("data:image/svg+xml,%3Csvg viewBox='-5 0 105 155' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='transparent' d='M47.77,2.86c.27-.53.82-.9,1.45-.9s1.19.37,1.45.9c2.59,3.92,6.59,9.66,11.07,16.09c11.86,17.02,27.12,38.93,31.43,49.27c2.61,6.24,3.82,12.51,3.82,18.56c0,9.23-2.82,17.95-7.79,25.25c-4.96,7.3-12.05,13.18-20.6,16.75c-5.4,2.26-11.38,3.6-17.76,3.79v20.4c0,.9-.73,1.63-1.63,1.63s-1.63-.73-1.63-1.63v-20.4c-6.38-.19-12.36-1.53-17.76-3.79c-8.55-3.57-15.64-9.46-20.6-16.75c-4.96-7.3-7.79-16.02-7.79-25.25c0-6.05,1.21-12.32,3.82-18.56c4.31-10.34,19.57-32.24,31.43-49.26c4.48-6.43,8.48-12.18,11.07-16.1Z'/%3E%3Cpath fill='%23ffffff' stroke='%23ffffff' stroke-width='1' fill-rule='evenodd' d='M46.15,9.81c-2.39,3.51-5.2,7.54-8.24,11.9-4.56,6.55-9.63,13.82-14.36,20.85l22.6,13.05V9.81h0ZM46.15,86.91l-37-21.36c-.97,1.8-1.76,3.42-2.34,4.81-2.21,5.29-3.35,10.6-3.54,15.76l42.88,24.75v-23.96h0ZM10.72,62.73c2.88-5.03,6.77-11.1,11.02-17.47l24.41,14.09v23.83L10.72,62.73h0ZM3.3,89.87l42.85,24.74v15.63c-5.95-.19-11.51-1.44-16.52-3.54-7.96-3.33-14.56-8.8-19.17-15.58-4.21-6.19-6.75-13.49-7.16-21.25h0ZM49.41,83.18l35.43-20.45c-2.88-5.03-6.77-11.1-11.02-17.47l-24.41,14.09v23.83h0ZM86.4,65.55c.97,1.8,1.76,3.42,2.34,4.81,2.21,5.29,3.35,10.6,3.54,15.76l-42.88,24.75v-23.96l37-21.36h0ZM49.41,55.61V9.81c2.39,3.51,5.2,7.54,8.23,11.9,4.56,6.55,9.63,13.82,14.37,20.86l-22.6,13.05h0ZM92.25,89.87l-42.85,24.74v15.63c5.95-.19,11.51-1.44,16.52-3.54,7.96-3.33,14.56-8.8,19.17-15.58,4.21-6.19,6.75-13.49,7.16-21.25h0ZM46.32,3.76c.27-.53.82-.9,1.45-.9s1.19.37,1.45.9c2.59,3.92,6.59,9.66,11.07,16.09,11.86,17.02,27.12,38.93,31.43,49.27,2.61,6.24,3.82,12.51,3.82,18.56,0,9.23-2.82,17.95-7.79,25.25-4.96,7.3-12.05,13.18-20.6,16.75-5.4,2.26-11.38,3.6-17.76,3.79v20.4c0,.9-.73,1.63-1.63,1.63s-1.63-.73-1.63-1.63v-20.4c-6.38-.19-12.36-1.53-17.76-3.79-8.55-3.57-15.64-9.46-20.6-16.75-4.96-7.3-7.79-16.02-7.79-25.25c0-6.05,1.21-12.32,3.82-18.56,4.31-10.34,19.57-32.24,31.43-49.26,4.48-6.43,8.48-12.18,11.07-16.1Z'/%3E%3C/svg%3E");
    }
    50% {
        background-image: url("data:image/svg+xml,%3Csvg viewBox='-5 0 105 155' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%234CAF50' d='M47.77,2.86c.27-.53.82-.9,1.45-.9s1.19.37,1.45.9c2.59,3.92,6.59,9.66,11.07,16.09c11.86,17.02,27.12,38.93,31.43,49.27c2.61,6.24,3.82,12.51,3.82,18.56c0,9.23-2.82,17.95-7.79,25.25c-4.96,7.3-12.05,13.18-20.6,16.75c-5.4,2.26-11.38,3.6-17.76,3.79v20.4c0,.9-.73,1.63-1.63,1.63s-1.63-.73-1.63-1.63v-20.4c-6.38-.19-12.36-1.53-17.76-3.79c-8.55-3.57-15.64-9.46-20.6-16.75c-4.96-7.3-7.79-16.02-7.79-25.25c0-6.05,1.21-12.32,3.82-18.56c4.31-10.34,19.57-32.24,31.43-49.26c4.48-6.43,8.48-12.18,11.07-16.1Z'/%3E%3Cpath fill='%23ffffff' stroke='%23ffffff' stroke-width='1' fill-rule='evenodd' d='M46.15,9.81c-2.39,3.51-5.2,7.54-8.24,11.9-4.56,6.55-9.63,13.82-14.36,20.85l22.6,13.05V9.81h0ZM46.15,86.91l-37-21.36c-.97,1.8-1.76,3.42-2.34,4.81-2.21,5.29-3.35,10.6-3.54,15.76l42.88,24.75v-23.96h0ZM10.72,62.73c2.88-5.03,6.77-11.1,11.02-17.47l24.41,14.09v23.83L10.72,62.73h0ZM3.3,89.87l42.85,24.74v15.63c-5.95-.19-11.51-1.44-16.52-3.54-7.96-3.33-14.56-8.8-19.17-15.58-4.21-6.19-6.75-13.49-7.16-21.25h0ZM49.41,83.18l35.43-20.45c-2.88-5.03-6.77-11.1-11.02-17.47l-24.41,14.09v23.83h0ZM86.4,65.55c.97,1.8,1.76,3.42,2.34,4.81,2.21,5.29,3.35,10.6,3.54,15.76l-42.88,24.75v-23.96l37-21.36h0ZM49.41,55.61V9.81c2.39,3.51,5.2,7.54,8.23,11.9,4.56,6.55,9.63,13.82,14.37,20.86l-22.6,13.05h0ZM92.25,89.87l-42.85,24.74v15.63c5.95-.19,11.51-1.44,16.52-3.54,7.96-3.33,14.56-8.8,19.17-15.58,4.21-6.19,6.75-13.49,7.16-21.25h0ZM46.32,3.76c.27-.53.82-.9,1.45-.9s1.19.37,1.45.9c2.59,3.92,6.59,9.66,11.07,16.09,11.86,17.02,27.12,38.93,31.43,49.27,2.61,6.24,3.82,12.51,3.82,18.56,0,9.23-2.82,17.95-7.79,25.25-4.96,7.3-12.05,13.18-20.6,16.75-5.4,2.26-11.38,3.6-17.76,3.79v20.4c0,.9-.73,1.63-1.63,1.63s-1.63-.73-1.63-1.63v-20.4c-6.38-.19-12.36-1.53-17.76-3.79-8.55-3.57-15.64-9.46-20.6-16.75-4.96-7.3-7.79-16.02-7.79-25.25c0-6.05,1.21-12.32,3.82-18.56,4.31-10.34,19.57-32.24,31.43-49.26,4.48-6.43,8.48-12.18,11.07-16.1Z'/%3E%3C/svg%3E");
    }
    100% {
        background-image: url("data:image/svg+xml,%3Csvg viewBox='-5 0 105 155' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='transparent' d='M47.77,2.86c.27-.53.82-.9,1.45-.9s1.19.37,1.45.9c2.59,3.92,6.59,9.66,11.07,16.09c11.86,17.02,27.12,38.93,31.43,49.27c2.61,6.24,3.82,12.51,3.82,18.56c0,9.23-2.82,17.95-7.79,25.25c-4.96,7.3-12.05,13.18-20.6,16.75c-5.4,2.26-11.38,3.6-17.76,3.79v20.4c0,.9-.73,1.63-1.63,1.63s-1.63-.73-1.63-1.63v-20.4c-6.38-.19-12.36-1.53-17.76-3.79c-8.55-3.57-15.64-9.46-20.6-16.75c-4.96-7.3-7.79-16.02-7.79-25.25c0-6.05,1.21-12.32,3.82-18.56c4.31-10.34,19.57-32.24,31.43-49.26c4.48-6.43,8.48-12.18,11.07-16.1Z'/%3E%3Cpath fill='%23ffffff' stroke='%23ffffff' stroke-width='1' fill-rule='evenodd' d='M46.15,9.81c-2.39,3.51-5.2,7.54-8.24,11.9-4.56,6.55-9.63,13.82-14.36,20.85l22.6,13.05V9.81h0ZM46.15,86.91l-37-21.36c-.97,1.8-1.76,3.42-2.34,4.81-2.21,5.29-3.35,10.6-3.54,15.76l42.88,24.75v-23.96h0ZM10.72,62.73c2.88-5.03,6.77-11.1,11.02-17.47l24.41,14.09v23.83L10.72,62.73h0ZM3.3,89.87l42.85,24.74v15.63c-5.95-.19-11.51-1.44-16.52-3.54-7.96-3.33-14.56-8.8-19.17-15.58-4.21-6.19-6.75-13.49-7.16-21.25h0ZM49.41,83.18l35.43-20.45c-2.88-5.03-6.77-11.1-11.02-17.47l-24.41,14.09v23.83h0ZM86.4,65.55c.97,1.8,1.76,3.42,2.34,4.81,2.21,5.29,3.35,10.6,3.54,15.76l-42.88,24.75v-23.96l37-21.36h0ZM49.41,55.61V9.81c2.39,3.51,5.2,7.54,8.23,11.9,4.56,6.55,9.63,13.82,14.37,20.86l-22.6,13.05h0ZM92.25,89.87l-42.85,24.74v15.63c5.95-.19,11.51-1.44,16.52-3.54,7.96-3.33,14.56-8.8,19.17-15.58,4.21-6.19,6.75-13.49,7.16-21.25h0ZM46.32,3.76c.27-.53.82-.9,1.45-.9s1.19.37,1.45.9c2.59,3.92,6.59,9.66,11.07,16.09,11.86,17.02,27.12,38.93,31.43,49.27,2.61,6.24,3.82,12.51,3.82,18.56,0,9.23-2.82,17.95-7.79,25.25-4.96,7.3-12.05,13.18-20.6,16.75-5.4,2.26-11.38,3.6-17.76,3.79v20.4c0,.9-.73,1.63-1.63,1.63s-1.63-.73-1.63-1.63v-20.4c-6.38-.19-12.36-1.53-17.76-3.79-8.55-3.57-15.64-9.46-20.6-16.75-4.96-7.3-7.79-16.02-7.79-25.25c0-6.05,1.21-12.32,3.82-18.56,4.31-10.34,19.57-32.24,31.43-49.26,4.48-6.43,8.48-12.18,11.07-16.1Z'/%3E%3C/svg%3E");
    }
}

/* Leaf logo container for nav bar   */
.leaf-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
    position: relative;
}

.leaf-status-text {
    color: #ffffff;
    font-size: inherit;
    font-weight: normal;
    margin-left: 0.25rem;
}

/* Tooltip styles for leaf - idle state */
.leaf-container {
    cursor: pointer;
    position: relative;
}

.leaf-container:hover::after {
    content: 'No background processes running';
    white-space: pre;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 11px;
    z-index: 100;
    margin-top: 5px;
}

.leaf-container:hover::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-bottom-color: #333;
}

/* Tooltip styles for leaf - processing state (overrides idle) */
.leaf-processing.has-tooltip,
.leaf-status-text.has-tooltip {
    cursor: pointer;
    position: relative;
}

.leaf-container.has-tooltip:hover::after {
    content: 'Background processes active.' '\A' 'Click for details';
    white-space: pre;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 11px;
    z-index: 100;
    margin-top: 5px;
}

.leaf-container.has-tooltip:hover::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-bottom-color: #333;
}

/* SQL Editor - inline error markers */
.cm-sql-error {
    background: rgba(255, 0, 0, 0.25);
    border-bottom: 2px wavy #ff5555;
    cursor: help;
}
