:root {
  --petrol-blue: #0084A4;
  --size-btn: 40px;
  --padding-global-horizontal: 40px;
  --padding-global-vertical: 40px;
}

@font-face {
  font-family: 'Museo Light';
  src: url('../assets/fonts/MuseoSans-100.otf');
}

@font-face {
  font-family: 'Museo Sans';
  src: url('../assets/fonts/MuseoSans-300.otf');
}

@font-face {
  font-family: 'Museo Bold';
  src: url('../assets/fonts/MuseoSans-500.otf');
}

@font-face {
  font-family: 'Museo Bolder';
  src: url('../assets/fonts/MuseoSans-700.otf');
}


* {
  box-sizing: border-box;
}


body {
  margin: 0;
  width: 100vw;
  height: 100vh;
  font-family: 'Museo Sans';
  font-size: 16px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

body,
canvas,
.img-btn,
.marker-point,
.marker-point:after {
  user-select: none;
  -webkit-user-select: none;
}

button {
  margin-top: 1em;
}

.card-wrapper .input-container input[type="text"] {
  min-width: 100px;
}

.card-wrapper .input-container select {
  min-width: 100px;
  width: 85%;
}

.card-wrapper .input-container input[type="number"] {
  min-width: 50px;
}

.header-content {
    z-index: 10 !important;
}

.img-btn {
  position: relative;
  background: transparent;
  filter: brightness(0);
  height: var(--size-btn);
  min-width: auto;
  max-width: auto;
  border-radius: 5px;
  padding: 5px;
  margin: 1px;
}

.col {
  display: flex;
  flex-direction: column;
}

#editor {
  display: flex;
  width: 100%;
  height: 100vh;
  max-height: calc(100% - var(--padding-global-vertical));
  justify-content: space-between;
}

.side-bar {
  display: none;
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap-reverse;
  /* padding: calc(var(--size-btn) + 2 * var(--padding-global-vertical)) 0 var(--padding-global-vertical) 20px; */
  padding: 0 0 var(--padding-global-vertical) 20px;

  /* height: calc(100% - var(--padding-global-vertical)); */
  height: 700px;
  margin-top: auto;
  margin-bottom: auto;
  max-height: calc(100% - var(--padding-global-vertical) * 2);
}
as-feature-controls {
  height: 75vh;
}

#feature-bar {
  justify-content: space-between;
  margin-right: calc(var(--padding-global-horizontal) - 3px);
  pointer-events: none;
}

#feature-bar .img-btn {
  padding: 4px;
  pointer-events: all;
}

#step-bar {
  position: relative;
  align-items: start;
  margin-left: 20px;
  pointer-events: none;
}

#step-fade-container {
  position: fixed;
  z-index: 9;
  pointer-events: none !important;
  top: 0;
  left: 0;
  height: 100vh;
  width: 35vw;
  background: linear-gradient(to right, white 70%, rgba(255, 255, 255, 0) 100%);
  filter: blur(40px);
  transform: translateX(-20vw) scaleY(1.5);
}

#step-line {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 0.5px;
  height: 100%;
  max-height: 100%;
  background: gray;
}

.step-dot-wrapper {
  display: flex;
  align-items: center;
  font-size: 9px;
  transition: margin-top 0.5s ease-in;
  cursor: pointer;
}

.step-dot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 13px;
  width: 13px;
  height: 13px;
  left: -6px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #e4e4e7;
  color: white;
  cursor: default;
  transition: all 0.125s;
}

.step-dot.active {
  min-width: 18px;
  width: 18px;
  height: 18px;
  left: -9px;
  background: black;
  font-size: 11px;
}

.step-dot label:hover, 
.step-dot-wrapper:hover label {
 color: #0083a3 !important;
}

.step-dot.finished {
  min-width: 16px;
  width: 16px;
  height: 16px;
  left: -8px;
  background: lightgreen;
  font-size: 11px;
  padding: 5px;

}

.step-dot.step-icon {
  min-width: 30px;
  width: 30px;
  height: 30px;
  padding: 8px;
  left: -15px;
  cursor: pointer;
  img {
    width: 100%;
  }
}


.step-dot+label {
  /* margin-left: 0.125em; */
  color: #000;
  cursor: pointer;
  font-size: 0.9rem;
}

.step-dot.active+label {
  font-size: 14px;
  color: black;
}

.step-dot.finished+label {
  font-size: 11px;
  color: grey;
}

.step-dot-wrapper.active-link .step-dot+label {
  color: #000000
}
.step-dot-wrapper.active-link .step-dot {
  background: #000;
}

.step-dot.step-icon:hover{
    background: var(--color-trinckle-blue);
}

.x-input {
  & label {
    color: #ff0000
  }

  ;

  & span {
    color: #000000
  }

  ;

  & input {
    color: #000000
  }

  ;
}

.y-input {
  & label {
    color: #008000
  }

  ;

  & span {
    color: #000000
  }

  ;

  & input {
    color: #000000
  }

  ;
}

.z-input {
  & label {
    color: #0000ff
  }

  ;

  & span {
    color: #000000
  }

  ;

  & input {
    color: #000000
  }

  ;
}

.card-header {
  margin: 1.5em 0 0.5em;
  border-bottom: 0.8px dashed #000000;
  border-top: 0 !important;
  padding-bottom: 0.75em;
}

#viewPort-axis-container {
  position: absolute;
  bottom: 0px;
  display: flex;
  width: 10%;
  overflow: hidden;
  z-index: 10;
}

#viewPort-ruler-container {
  display: flex;
  position: absolute;
  bottom: 0;
  display: flex;
  width: 100%;
  height: 30px;
  overflow: hidden;
  background: rgba(250, 250, 250, .5);
  -webkit-box-shadow: rgba(0, 0, 0, 0.075) 0px -2px 6px 0px;
  -moz-box-shadow: rgba(0, 0, 0, 0.075) 0px -2px 6px 0px;
  box-shadow: rgba(0, 0, 0, 0.075) 0px -2px 6px 0px;
  border-top: 1px solid var(--grey-light);
  z-index: 10;
  opacity: 1;
  transition: opacity .5s ease-out;
}

#version-label {
  padding: 0 calc(var(--padding-global-horizontal) * 1.5);
  display: flex;
  align-items: center;
  font-size: 12px;
  color: grey;
  min-width: max-content;
}

#viewPort-ruler {
  width: 100%;
}


#viewPort-ruler.inactive {
  opacity: .125;
}

.card-wrapper {
  position: fixed;
  z-index: 10;
  display: flex;
  left: 160px;
  flex-direction: column;
  color: black;
  width: 375px;
  max-width: 100%;
  margin-top: 20px;
  border-radius: 10px;
  filter: drop-shadow(0px 0px 5px rgba(0, 0, 0, .25));
}

.card-content-wrapper {
  overflow: hidden;
}

.card-wrapper #card-content {
  height: 100%;
  width: calc(100% + 50px);
  padding-right: 50px;
}

.card-text {
  margin-bottom: 1em;
}

.card-info {
  margin-bottom: 1em;
  font-style: italic;
  display: flex;
}

.close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  align-self: flex-end;
  margin-top: calc((15px + var(--size-btn) / 4) * -1);
  margin-right: calc((15px + var(--size-btn) / 4) * -1);
  background: rgb(80, 80, 80);
  color: white;
  width: calc(var(--size-btn) / 2);
  height: calc(var(--size-btn) / 2);
  border-radius: 50%;
  border: 2px solid lightgray;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 7px;
  cursor: pointer;
  filter: drop-shadow(0px 0px 1px rgba(0, 0, 0, .1));
}

.close-btn:hover {
  background: black;
}


a {
  color: rgb(29, 136, 172);
  text-decoration: underline;
  width: 100%;
  cursor: pointer;
}


#footer {
  position: relative;
  z-index: 10;
  font-size: 11px;
  pointer-events: none;
  color: lightgray;
  display: flex;
  justify-content: center;
  /* padding-bottom: calc(30px + 2em); */
  width: 100%;
}


#viewPort {
  position: absolute !important;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
}


#marker-points {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
}

.marker-point {
  pointer-events: all;
  user-select: none;
  -webkit-user-select: none;
  position: fixed;
  z-index: 8;
  width: 15px;
  height: 15px;
  top: -7.5px;
  left: -7.5px;
  border-radius: 50%;
  background: white;
  border: 1px solid black;
  opacity: 0.5;
}

.marker-point.hovered,
.marker-point.selected {
  opacity: 1;
  filter: drop-shadow(0px 0px 3px rgba(0, 0, 0, .25));
}

.marker-point.disabled {
  pointer-events: none;
}


.input-container {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0.75em 0;
}

.input-container input[type="number"] {
  -webkit-appearance: textfield;
  -moz-appearance: textfield;
  appearance: textfield;
}

.input-container input[type=number]::-webkit-inner-spin-button,
.input-container input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
}

.close-btn+.input-container {
  margin-top: 1em;
}

.input-container input {
  text-align: right;
  font-size: inherit;
  border-style: none;
  outline: 0;
  padding-right: 0.25em;
  width: 50%;
}

.input-container input[type="number"],
.input-container input[type="text"] {
  background: none;
}

.input-container input[type="checkbox"] {
  width: max-content;
}

.input-container input[type=checkbox]:checked {
    background-color: #000;
}

.input-container input[type="color"] {
  width: 0.75em;
  height: 0.75em;
  padding: 0;
  margin: 2px;
  background: auto;
}

.input-container label {
  min-width: max-content;
  width: 100%;
  max-width: 100%;
}

.input-container+* {
  border-top: 0.5px dashed grey;
}

.input-container+.btn-container {
  padding: 0.75em 0;
}

.input-container+a {
  margin-top: 1em;
}

.feature-modal {
  display: flex;
  align-items: center;
  position: absolute;
  padding: 0.75em;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  content: attr(name);
  filter: drop-shadow(0px 0px 3px rgba(0, 0, 0, 0.1));
  bottom: calc(100%);
  left: 100%;
  font-family: 'Museo Light';
  font-size: 10px;
  border: 0.5px solid lightgray;
  pointer-events: inherit;
  width: max-content;
}

.feature-modal .input-container {
  padding: 0;
}

.feature-modal input {
  color: white;
  width: 10px;
  margin: 0;
}

.feature-message-text-btn {
  margin-left: 0.25em;
}

.feature-message .input-container+.btn-container {
  padding: 0.5em 0;
}

@media only screen and (min-width: 1920px) {

  :root {
    --padding-global-horizontal: 80px;
    --padding-global-vertical: 60px;
    --size-btn: 50px;
  }

  body {
    font-size: 16px;
  }

  .side-bar {
    height: 850px;
  }

  .step-dot-wrapper {
    font-size: 12px;
  }

  .step-dot {
    min-width: 16px;
    min-height: 16px;
  }

  .step-dot.active,
  .step-dot.finished {
    min-width: 18px;
    min-height: 18px;
    font-size: 14px;
  }

  .step-dot.active+label,
  .step-dot.finished+label {
    font-size: 16px;
  }

  .card-wrapper,
  .message {
    width: 422px;
  }

  .close-btn {
    font-size: 9px;
  }

  #cube-wrapper {
    top: -5px !important;
    left: 20px !important;
  }
}

#messages {
  position: fixed;
  z-index: 20;
  right: -30px;
  height: 100%;
  padding-right: calc(var(--padding-global-horizontal) + 2 * var(--size-btn) + 30px);
  pointer-events: none;
  cursor: default;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-top: 0rem;
  /* justify-content: flex-end; */
}
.message {
  height: fit-content;
  position: relative;
  /* right: 20%; */
  opacity: 0;
  display: flex;
  width: 300px;
  flex-direction: column;
  padding: 15px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.75);
  color: white;
  border: 0.5px solid lightgray;
  margin-bottom: 1em;
  pointer-events: all;
  transition: all 0.25s;
}
.message .close-btn {
  position: absolute;
}
.message.shown {
  /* right: 10%; */
  opacity: 1;
}
.feature-message.shown {
  left: calc(var(--size-btn) / 1.5);
}
.error-message-content h4,
.message-content h4 {
  display: flex;
  align-items: center;
  margin: 0;
}
.error-message-content h4 span,
.message-content h4 span {
  position: relative;
  line-height: 0;
  margin-left: 0.33em;
  font-size: 12px;
}

tr-axis-display {
  display: block;
  width: 10rem;
  height: 10rem;
  /* border: 1px solid #000; */
}

.z-layers>* {
  position: absolute;
  width: 100%;
}

#ui-layers{
  height:100%;
  width:100%;
  position: relative;
}

div[set-id="header-state-set"] {
  display: none;
}

#controls {
  pointer-events: none;

  & > *{
    pointer-events: all;
  }

  & as-header {
    z-index: 10;
  }

  & .sidebars {
    width: 100%;
    align-items: center;
    align-content: center;
    display: flex;
    justify-content: space-between;
    margin: 20px;
    
  }
  :not(:defined) {display:none;opacity:0}
}

.control-box-wrapper {
    background: var(--gradient-flower-macro);
    background: radial-gradient(ellipse 80% 60% at 20% 80%, hsl(196 100% 11% / .75) 0%, transparent 70%), radial-gradient(ellipse 70% 80% at 80% 20%, hsl(192 100% 32% / 0.675) 0%, transparent 80%), radial-gradient(ellipse 90% 40% at 40% 60%, hsl(196 100% 11% / 0.6) 0%, transparent 90%), linear-gradient(145deg, hsl(196 100% 11% / .75), hsl(192 100% 32% / 0.675), hsl(196 100% 11% / 0.6));
    border-radius: 10px;
    padding: 20px;
}
#controlsBox {
  height: 40vh;
  padding: 0 15px;
  overflow-y: scroll;
  overflow-x: hidden;
  border-radius: 10px;
  background: #fff;
}

 /*hide undo redo buttons */
 as-icon-button[name="redo"] {
  display: none;
}
as-icon-button[name="undo"] {
  display: none;
}



#ui-layers{
  height:100%;
  width:100%;
  position: relative;
}
#controls {
  pointer-events: none;
    & > *{
      pointer-events: all;
  }

  & as-header {
    z-index: 10;
  }

  & .sidebars {
    width: 100%;
    align-items: center;
    align-content: center;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    height: 65vh;
    margin: 20px;
   & .placement  {
        margin-right: 10px !important;
        box-shadow: none !important;

    }
    & > *{
      pointer-events: all;
    }

    & .step-elems {
      position: relative;
      width: fit-content;
      /* flex:1; */
    }

     
  }

}

/*default ui styles*/
.hidden {
  display: none;
}
.paramateParamArrayElementContainer {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
  width: 100%;
}
.paramateParamArrayElementContainer input.paramateParam {
  text-align: left;
}
.paramateParamArrayElementContainer button {
  margin-top: 0;
}
.paramateParamArrayElementControlContainer {
  input.paramateParam {
    width: calc(100% - 20px);
  }
}
.paramateParamName {
  margin-bottom: 5px; 
  width: 50%;
}
.paramateParamName[data-paramate-display="components"] {
  width: 100%;
}
input.paramateParam {
  width: calc(50% - 20px);
  background: transparent;
  border: 1px solid #ccc;
  text-align: right;
  padding: 0 5px;
}
input.paramateParam[type="checkbox"], 
input.paramateParam[type="radio"] {
  width: auto;
  margin-left: auto;
  margin-right: 15px;
}
input.paramateParam[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  /* Create custom box */
  width: 20px;
  height: 20px;
  border: 1px solid #0083a3;
  border-radius: 4px;
  background-color: white;
  cursor: pointer;
  position: relative;
  transition: background-color 0.2s ease;
}
input.paramateParam[type="checkbox"]:checked {
  background-color: #000;
}
input.paramateParam[type="checkbox"]::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 6px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
input.paramateParam[type="file"] {
  width: 100%;
  margin-top: -10px;
}
select.paramateParam {
  width: calc(50% - 20px);
}
.paramateParamContainer {
  padding: 0.75em 0;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}
.paramateParamContainer input, .paramateParamContainer select, .paramateParamContainer textarea {
  background: rgba(255,255,255,0.5);
  border: 1px solid var(--color-tr-blue-desat);
  /* border-radius: var(--numbox-container-border-radius, var(--radius, 0.5rem)); */
  border-radius: 8px;
  padding: 8px 4px;
}
.paramateParamContainer input:focus-within, 
.paramateParamContainer input:focus-visible {
    border: 1px solid var(--color-tr-blue-desat);
    outline: 1px solid var(--color-tr-blue-desat);
    outline-offset: 2px;
}
.paramate-format-item {
    padding: 0.75em 0px;
}
.btn {
    background: #000000;
    cursor: pointer;
    border: none;
    padding: var(--text-btn-padding, var(--padding, var(--text-btn-padding-y, var(--icon-btn-padding, var(--button-padding-y, 0.5rem))) var(--text-btn-padding-x, var(--button-padding-x, 1rem))));
    border-radius: var(--text-btn-radius, var(--icon-btn-radius, var(--button-radius, var(--radius, var(--border-radius, 0.5rem)))));
    height: var(--text-btn-size, var(--text-btn-height, var(--button-height, var(--height, 100%))));
    min-width: var(--text-btn-min-width, var(--min-width, auto));
    max-width: var(--text-btn-max-width, var(--max-width, none));
    transition: var(--text-btn-transition, var(--transition));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-btn-font-size, var(--font-size, 1rem));
    font-weight: var(--text-btn-font-weight, var(--font-weight, normal));
    color: var(--text-btn-text-col, var(--button-text-color, var(--text-color, var(--color, #333333))));
    white-space: nowrap;
    box-sizing: border-box;
    box-shadow: var(--button-shadow, var(--box-shadow, none));
    gap: var(--text-btn-gap, var(--gap, unset));
}

.btn:hover {
  background: #0084a4;
}

/*vector*/
.vector-inputs, .vector-elements, .matrix-inputs, .atrafo-row {
    display: flex;
    margin-bottom: 5px;
    label {
        margin: 0 5px;
    }
    input {
        margin-right: 10px;
        text-align: center;
        width: 50px;
        &:last-child {
            margin-right: 0;
        }
    }
    input::-webkit-outer-spin-button,
    input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
    }

    input[type=number] {
    -moz-appearance: textfield;
    }
}
.vector-items {
    display: flex;
    align-items: center;
}

.vpointBtn {
    background: url('../images/handpoint-inactive.svg') no-repeat !important;
    background-size: cover !important;
    font-size: 0;
    height: 28px;
    transition: all linear .3s;
    cursor: pointer;
    border: none;
    width: 28px;
    &:hover {
        transform: scale(0.95);
    }
    &.v-clicked {
        background: url('../images/handpoint-active.svg') no-repeat !important;
        background-size: contain !important;
    }
}
/*matix*/
.matrix-inputs {
    flex-direction: column;
    label {
        display: none;
    }
    .matrix-row {
        margin-right: 10px;
        display: flex;
        input {
          margin-bottom: 5px;
            &:last-child {
                border: 1px solid var(--color-tr-blue-desat) !important;
                background-color: #ddd;
            }
        }
        &:last-child {
            input {
                border: 1px solid var(--color-tr-blue-desat) !important;
                background-color: #ddd;
            }
        }
    }
}
/*atrafo*/
.atrafo-row {
    input {
        &:last-child {
            border: 1px solid var(--color-tr-blue-desat) !important;
            background-color: #ddd;
        }
    }
}

button[data-paramate-type="ray"] {
    flex-shrink: 0;
    background: #000 url(../img/target.svg) no-repeat center !important;
    cursor: pointer;
    font-size: 0 !important;
    background-size: 10px;
    height: 26px;
    width: 26px;
    border: 0;
    color: #0083A4 !important;
    border-radius: 4px;
    transition: background-color 0.3s ease !important;
}
button[data-paramate-type="ray"]:hover {
    background-color: #0084a4 !important;
}

div[set-id="header-state-set"] {
  display: none !important;
}

/* Chrome, Safari, Edge */
#controlsBox::-webkit-scrollbar, 
.paramate-messages-content::-webkit-scrollbar {
  width: 2px; /* Width of the scrollbar */
}

#controlsBox::-webkit-scrollbar-track, 
.paramate-messages-content::-webkit-scrollbar-track {
  background: #ccc; /* Track color */
  border-radius: 10px;
}

#controlsBox::-webkit-scrollbar-thumb, 
.paramate-messages-content::-webkit-scrollbar-thumb {
  background: #666; /* Thumb color */
  border-radius: 10px;
}

#controlsBox::-webkit-scrollbar-thumb:hover, 
.paramate-messages-content::-webkit-scrollbar-thumb:hover {
  background: #555; /* Hover color */
}


/*group*/
#groupEndingTwoColon {
    margin-top: 20px;
    margin-right: 15px;
}

#nonGroupEndingOneColon {
    border-bottom: 1px solid #8EC8D7;
    margin-right: 15px;
}

.parameters-accordion .accBox:last-child {
    margin-bottom: 20px;
}

/*accordion*/
    .parameters-accordion {
        overflow-y: auto;
        overflow-x: hidden;
        height: calc(100% - 136px);
        margin-bottom: 136px;
        margin-right: 3px;
        .accBox {
            padding: 15px 0;
            width: calc(100% - 10px);
        }
    }

    .accBox {
        border-bottom: 0.5px solid #ccc;
        position: relative;
        transition: color linear .3s;
        .accTitle {
            text-transform: capitalize;
            padding: 15px 0;
        }
        .accTitle:hover {
            cursor:pointer;
        }
        .accTitle:before {
          content: '';
          width: 20px;
          height: 20px;
          position: absolute;
          right: 10px;
          background: url('../img/down-arrow.svg') no-repeat;
          transform: rotate(-90deg);
          top: 12px;
          transition: transform ease .3s;
        }
        &.open {
            border-bottom: 0;
            .accTitle {
                margin-bottom: 20px;
                font-weight: bold;
            }
            .accTitle:before {
                transform: rotate(0);
            }
        }
    }

    /*parameters button*/
    .step-dot-wrapper.p-btn .step-dot.step-icon {
      background-image: url('../img/parameters-black.svg');
      background-size: 14px;
      background-repeat: no-repeat;
      background-position: center;
    }
 
    .step-dot-wrapper.p-btn .step-dot.step-icon:hover, 
    .step-dot-wrapper.p-btn:hover .step-dot.step-icon {
      background-image: url('../img/parameters.svg');
      background-color: #0083a3;
      border: 1px solid #0083a3;
    }

    .step-dot-wrapper.p-btn.active-link .step-dot.step-icon {
        background-image: url('../img/parameters.svg');
    }


    /*download*/
    .d-btn {
      cursor: pointer;
    }

    .step-dot-wrapper.d-btn .step-dot.step-icon {
      background-image: url('../img/download-black.svg');
      background-size: 14px;
      background-repeat: no-repeat;
      background-position: center;
    }

    .step-dot-wrapper.d-btn.active-link .step-dot.step-icon {
        background-image: url('../img/download-white.svg');
        background-color: #000;
    }

    .step-dot-wrapper.d-btn .step-dot.step-icon:hover, 
    .step-dot-wrapper.d-btn:hover .step-dot.step-icon {
      background-image: url('../img/download-white.svg');
      background-color: #0083a3;
      border: 1px solid #0083a3;
    }

    .card-download {
      padding: 10px;
      display: none;
      background: var(--gradient-flower-macro);
      background: radial-gradient(ellipse 80% 60% at 20% 80%, hsl(196 100% 11% / .75) 0%, transparent 70%), radial-gradient(ellipse 70% 80% at 80% 20%, hsl(192 100% 32% / 0.675) 0%, transparent 80%), radial-gradient(ellipse 90% 40% at 40% 60%, hsl(196 100% 11% / 0.6) 0%, transparent 90%), linear-gradient(145deg, hsl(196 100% 11% / .75), hsl(192 100% 32% / 0.675), hsl(196 100% 11% / 0.6));
      padding: 20px;
    }
    .card-download-wrapper {
        background-color: #fff;
        border-radius: 10px;
        padding: 20px;
    }

    /*popup*/
    .paramate-popup {
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.4);
        display: none;
        position: absolute;
        z-index: 99999;
        font-family: 'DM Sans Regular', sans-serif;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        text-align: center;
        .paramate-popup-content {
            width: 80%;
            min-height: 200px;
            max-width: 500px;
            overflow:auto;
            padding: 20px 50px;
            background: white;
            color: black;
            position: relative;
            top: 50%;
            left: 50%;
            border-radius: 10px;
            transform: translate(-50%, -50%);
            box-sizing: border-box;
            p {
                padding: 0;
            }
            .paramate-download-btn {
                margin: 10px auto;
                width: 100%;
                height: auto;
                padding: 10px;
                max-width: 200px;
                transition: opacity linear .3s;
                background-color: #9BA0AA;
                border-radius: 5px;
                color: #fff;
                cursor: pointer;
                border: 0;
                &:hover {
                opacity: .9;
                }
                a {
                color: #fff;
                text-decoration: none;
                display: block;
                &:hover {
                    transform: none;
                }
                }
            }
            .paramate-popup-close {
            position: absolute;
            right: 20px;
            top: 10px;
            width: 20px;
            height: 20px;
            cursor: pointer;
            padding: 20px 20px 0px 0px;
            display: block;
            transition: transform ease .3s;
            &:hover {
                transform: scale(.9);
            }
            span {
                cursor: pointer;
                position: fixed;
                width: 20px;
                height: 3px;
                background: grey;
                &:nth-child(1) {
                transform: rotate(45deg);
                }
                &:nth-child(2) {
                transform: rotate(135deg);
                }
            }
            }
        }
        .err-list {
            text-align: left;
            ul {
                padding-left: 0;
                margin-left: 15px;
            }
        }
        .paramate-format-list {
            margin: 10px 0;
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            .paramate-format-item {
                margin-right: 10px;
                &:last-child {
                    margin-right: 0;
                }
            }
        }
    }
    

    /*echo message*/
    .paramate-alert {
        top: 130px;
        right: 20px;
        z-index: 2;
        position: absolute;
        display: none;
        width: auto;
        width: 34px;
        height: 34px;
        border-radius: 50%;
        background-color: grey;
        padding: 8px;
        img {
            width: 100%;
            max-height: 28px;
        }
        .error-alert {
            position: absolute;
            top: -14px;
            right: -14px;
            width: 35px;
            display: none;
        }
    }

    .paramate-messages {
        position: absolute;
        top: 130px;
        right: 20px;
        z-index: 2;
        border-radius: 10px;
        background-color: rgba(255, 255, 255, 0.66);
        -webkit-box-shadow: 2px 4px 10px 0px rgba(0,0,0,0.2); 
        box-shadow: 2px 4px 10px 5px rgba(0,0,0,0.2);
        transform: translateX(-50px);
        opacity: 1;
        transition: transform 0.3s ease, opacity 0.3s ease;
        width: 30vw;
        max-width: 440px;
        overflow-x: hidden;
        display: none;
        &.inactive {
            opacity: 0;
            transform: translateX(500px);
        }
        .paramate-messages-content {
            color: #000;
            padding-bottom: 10px;
            overflow: auto;
            max-height: 50vh;
            margin: 10px 10px 10px 0;
            word-break: break-word;
            overflow-wrap: break-word; 
            .paramate-alert-msg  {
                padding: 20px 30px;
            }
        }
        .paramate-messages-close {
            position: absolute;
            right: 1px;
            top: 1px;
            background-color: grey;
            border-radius: 50%;
            width: 22px;
            height: 22px;
            cursor: pointer;
            padding: 8px 0 0px 4px;
            display: block;
            transition: transform ease .3s;
            border: 2px solid lightgray;
            @-moz-document url-prefix() {
                right: 7px;
            }
            &:hover {
                transform: scale(.9);
            }
            span {
                cursor: pointer;
                position: fixed;
                width: 10px;
                height: 2px;
                background: white;
                &:nth-child(1) {
                transform: rotate(45deg);
                }
                &:nth-child(2) {
                transform: rotate(135deg);
                }
            }
        }
    }

    as-text {
      position: absolute;
      right: 2%;
      bottom: 4%;
      color: #9ba0aa;
      font-family: 'Museo Sans', sans-serif;
      -webkit-font-smoothing: antialiased;
    }


.custom-file-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.custom-file-button {
  padding: 6px 12px;
  background-color: #000000;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  margin-top: 0;
  transition: background-color linear .3s;
}

.custom-file-button:hover {
  background-color: #0084a4;
}

.filename-display {
  font-style: italic;
  color: #555;
}

/* Tooltip styles */
.info-icon {
  display: inline-block;
  margin-left: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid #808080;
  color: #808080;
  font-size: 12px;
  text-align: center;
  cursor: pointer;
  position: relative;
  line-height: 15px;
  transition: all ease 0.3s;
}
.info-icon:hover {
  background: #0084a4;
  border-color: #f0f0f0;
  color: #f0f0f0;
}

/* Tooltip box */
.tooltip-box {
  position: absolute;
  background: #f6f6f6;
  /* background: #5397a8; */
  box-shadow: 2px 4px 10px 5px rgba(0, 0, 0, 0.1);
  color: #000;
  font-size: 0.9rem;
  padding: 10px;
  border-radius: 8px;
  white-space: normal;
  width: max-content;
  max-width: 250px;
  z-index: 99999;
  font-family: 'DM Sans Regular', sans-serif;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
  opacity: 0;
}

/* Tooltip arrow (points upward toward the icon) */
.tooltip-box::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-top: none;
  border-bottom-color: #f6f6f6;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
}

/* Tooltip visible */
.tooltip-box.visible {
  opacity: 1;
  pointer-events: auto;
}

/* Tooltip inner content */
.tooltip-content {
  max-height: 200px;
  min-width: 150px;
  overflow-y: auto;
  padding: 5px;
  border-radius: 10px;
  white-space: pre-wrap;
  box-sizing: content-box;
}

/* Scrollbar styling */
.tooltip-content::-webkit-scrollbar {
  width: 3px;
}

.tooltip-content::-webkit-scrollbar-track {
  background: #F5F5F5;
  border-radius: 10px;
  margin: 2px;
}

.tooltip-content::-webkit-scrollbar-thumb {
  background-color: #808080;
  border-radius: 10px;
  box-shadow: inset 0 0 6px rgba(0,0,0,.3);
}
