.btn {
    display: inline-block;
    font-weight: 500;
    line-height: 1.5;
    color: #181c32;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
    border-radius: 0.475rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
      border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  }
  @media (prefers-reduced-motion: reduce) {
    .btn {
      transition: none;
    }
  }
  .btn.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    height: calc(1.5em + 1.5rem + 2px);
    width: calc(1.5em + 1.5rem + 2px);
  }
  .btn.btn-bg-light {
    border-color: #f5f8fa;
    background-color: #f5f8fa;
  }
  .btn.btn-active-color-primary.active
  .svg-icon
  svg:hover
  [fill]:not(.permanent):not(g),
.btn.btn-active-color-primary.show
  .svg-icon
  svg:hover
  [fill]:not(.permanent):not(g),
.btn.btn-active-color-primary:active:not(.btn-active)
  .svg-icon
  svg:hover
  [fill]:not(.permanent):not(g),
.btn.btn-active-color-primary:focus:not(.btn-active)
  .svg-icon
  svg:hover
  [fill]:not(.permanent):not(g),
.btn.btn-active-color-primary:hover:not(.btn-active)
  .svg-icon
  svg:hover
  [fill]:not(.permanent):not(g),
.show
  > .btn.btn-active-color-primary
  .svg-icon
  svg:hover
  [fill]:not(.permanent):not(g) {
  transition: fill 0.3s ease;
}
.btn-sm {
    padding: 0.55rem 1.25rem;
    font-size: 0.925rem;
    border-radius: 0.475rem;
  }
  .me-1 {
    margin-right: 0.25rem !important;
  }

  .your-custom-class{
   
  }

  .tt-menu { /* Styles for the dropdown menu */
    border: 1px solid #ccc;
    border-radius: 4px;
}

.tt-suggestion { /* Styles for each suggestion */
    padding: 10px 20px;
}

.tt-suggestion:hover, 
.tt-suggestion.tt-cursor { /* Styles for suggestion on hover or when selected */
    background-color: #f5f5f5;
}

/* custom-styles.css */

/* Override Bootstrap modal styling */
.modal-content {
  background-color: #fff; /* Your background color */
  border-radius: 0.5rem; /* Your border radius */
  /* Other styles as needed */
}

.modal-header, .modal-body, .modal-footer {
  padding: 20px; /* Your padding */
}

span.twitter-typeahead {
  width: 100%;
	display: none;
}

/* tooltip style in calculate_tab */
.tooltip {
  display:inline-block;
  position:relative;
  text-align:left;
}

.tooltip h3 {margin:4px 0;}

/* tooltip top */
.tooltip .top {
  /* min-width:200px;
  max-width:400px; */
  top:-10px;
  left:50%;
  transform:translate(-30%,-100%);
  padding:4px 8px;
  color:#ffffff;
  background-color: #f59e0b;
  font-weight:normal;
  font-size:14px;
  border-radius:8px;
  position:absolute;
  z-index:99999999;
  box-sizing:border-box;
  /* box-shadow:0 1px 8px rgba(0,0,0,0.5); */
  display:none;
}

.tooltip:hover .top {
  display:block;
}

.tooltip .top i {
  position:absolute;
  top:100%;
  left:30%;
  margin-left:-10px;
  width:30px;
  height:15px;
  overflow:hidden;
}

.tooltip .top i::after {
  content:'';
  position:absolute;
  width:13px;
  height:13px;
  left:50%;
  transform:translate(-50%,-50%) rotate(45deg);
  background-color:#f59e0b;
  /* box-shadow:0 1px 4px rgba(0,0,0,0.5); */
}

/* tooltip location_top */
.tooltip .location_top {
  /* min-width:200px;
  max-width:400px; */
  top:-8px;
  left:50%;
  transform:translate(-30%,-100%);
  padding:4px 8px;
  color:#ffffff;
  background-color:#9ca3af;
  font-weight:normal;
  font-size:14px;
  border-radius:8px;
  position:absolute;
  z-index:99999999;
  box-sizing:border-box;
  white-space: nowrap;
  /* box-shadow:0 1px 8px rgba(0,0,0,0.5); */
  display:none;
}

.tooltip:hover .location_top {
  display:block;
}

.tooltip .location_top i {
  position:absolute;
  top:100%;
  left:30%;
  margin-left:-15px;
  width:30px;
  height:15px;
  overflow:hidden;
}

.tooltip .location_top i::after {
  content:'';
  position:absolute;
  width:13px;
  height:13px;
  left:50%;
  transform:translate(-50%,-50%) rotate(45deg);
  background-color:#9ca3af;
  /* box-shadow:0 1px 4px rgba(0,0,0,0.5); */
}

/* map-tooltip in capacity order */
#map-tooltip {
  background-color: #30b382;
  padding: 5px 9px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: normal;
  color: #fff;
  white-space: nowrap;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  transform: translate(-50%, -100%); 

}


.map-tooltip::after {
  content: '';
  position: absolute;
  bottom: -4px; 
  left: 50%;
  margin-left: -10px;
  border-width: 10px;
  border-style: solid;
  border-color: transparent transparent #30b382 #30b382;
  transform: rotate(-45deg);
  z-index: -1;
}

input.error {
  border: 1px solid red;
}

input.valid {
  border: 1px solid green; 
}

.error {
  color: red;
  font-size: 14px;
}

.legend-square {
  display: inline-block;
  margin-left: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
