

.updatable {
    transition: background-color .3s ease .3s, color .3s ease .3s, font-weight .3s ease .3s;
}

/* Flash Animation for input boxes on success and error ajax responses */
.flashSuccess {
    color: #469100 !important;
    background-color:#fbfcfa !important;
    font-weight: bold;
}

.flashError {
    color: #d11500 !important;
    background-color: #fff8f7 !important;
    font-weight: bold;
}

.input-error {
    transition: background-color .3s ease .3s, color .3s ease .3s, border .3s ease .3s;
    border: 1px solid #d11500 !important;
    background-color:#fffcfc !important;
    color: #d11500 !important;
}

.white-button{
  background-color: #8c8cf9 !important;
  border-color: #fff !important;
  border:1px solid #fff !important;
  color:#fff !important;
}

#loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7); /* semi-transparent white background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Ensure it's above other content */
  }
  
  .loader {
    border: 8px solid #f3f3f3; /* Light grey */
    border-top: 8px solid #8B8CF9; /* Blue */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite; /* Rotate spinner */
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }

  .disabled-text {
    background-color: #f0f0f0;
    border: 1px solid #ced4da;
    color: #777;
  }

  .heavy-font{
    font-weight: bold !important;
  }

  .font-1{
    font-size: 0.2em !important;
  }

  .font-2{
    font-size: 0.4em !important;
  }

  .font-3{
    font-size: 0.6em !important;
  }

  .font-4{
    font-size: 0.8em !important;
  }

  .font-5{
    font-size: 1em !important;
  }

  .font-6{
    font-size: 1.2em !important;
  }

  .font-7{
    font-size: 1.4em !important;
  }

  .font-8{
    font-size: 1.6em !important;
  }

  .font-9{
    font-size: 1.8em !important;
  }

  .font-10{
    font-size: 2em !important;
  }

  .font-11{
    font-size: 2.2em !important;
  }

  .font-12{
    font-size: 2.4em !important;
  }

  .font-13{
    font-size: 2.6em !important;
  }

  .font-14{
    font-size: 2.8em !important;
  }

  .font-15{
    font-size: 3em !important;
  }

  .dimmed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(137, 137, 137, 0.658); /* Adjust the alpha value to control the opacity */
    z-index: 1000; /* Adjust the z-index to make sure it's above other content */
  }

  .aerial-view-media {
    object-fit: contain;
    height: 100%;
    width: 100%;
  }

  .aerial-view-container {
    display: flex;
    overflow: hidden;
    position: relative;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    max-height: 780px;
    max-width: 780px;
  }


  .shortlist {
    display: none;
}


/* Styling of text and colums on details (line under items in divs) */
.list-details-display{
    margin-top:10px;
    border-bottom: 1px solid #f0f0f0;
}
.list-details-display > .col:first-child {
    font-weight: bold;
}

.list-details-display > .col:nth-child(2) {
    font-weight: normal;
    font-family: 'Courier New', Courier, monospace; /* Use a monospaced font */
    letter-spacing: 0.04em; /* Adjust letter spacing */
    color: #000;
}

.list-details-display > .col:nth-child(2) input[type="text"],
.list-details-display > .col:nth-child(2) input[type="password"],
.list-details-display > .col:nth-child(2) textarea,
.list-details-display > .col:nth-child(2) select,
.list-details-display > .col:nth-child(2) div {
    border: none; /* Remove the border */
    box-shadow: none; /* Remove any shadow */
    -webkit-appearance: none; /* Remove default appearance */
    -moz-appearance: none;
    appearance: none;
    letter-spacing: 0.06em; /* Adjust letter spacing */
    width: 98%; /* Make the select box the same width as the container */
    margin: 0; /* Remove any margins */
    padding: 0; /* Optional: Remove any padding */
    background-color: transparent; /* Make the background transparent */
    background-color: transparent; /* Make the background transparent */
    color: #000; /* Set the text color */
    font-family: 'Courier New', Courier, monospace; /* Use a monospaced font */
}
.list-details-display > .col:nth-child(2) img{
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    margin:20px;
    border-radius: 10px;
}


/* range slider bubble and formating, seen on app codes page */
input[type=range] {
  margin: 15px 0;
  width: 100%;
}
input[type=range] {
  /* Track styles */
  margin: 15px 0;
  width: 100%;
  height: 5px; /* Adjust as needed */
  background-color: #c3c4ff; /* Color of the track */
  border: none; /* Remove default border */
  border-radius: 5px; /* Rounded corners */
  outline: none; /* Remove default focus styles */

  /* Thumb styles */
  -webkit-appearance: none; /* Override default styles */
  appearance: none;
}

/* Style for the thumb */
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; /* Override default styles */
  appearance: none;
  width: 16px; /* Width of the thumb */
  height: 16px; /* Height of the thumb */
  border-radius: 50%; /* Round shape */
  background-color: #8B8CF9; /* Color of the thumb */
  cursor: pointer; /* Show pointer cursor */
  box-shadow: 0px 0px 2px #000; /* Optional: Add shadow for depth */
}
.range-wrap{
  width: 500px;
  position: relative;
}
.range-value{
  position: absolute;
  top: -70%;
}
.range-value span{
  width: 30px;
  height: 24px;
  line-height: 24px;
  text-align: center;
  background: #8b8cf9;
  color: #fff;
  font-size: 12px;
  display: block;
  position: absolute;
  left: 50%;
  transform: translate(-50%, 0);
  border-radius: 6px;
}
.range-value span:before{
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-top: 10px solid #8b8cf9;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  top: 100%;
  left: 40%;
  margin-left: -1px;
  margin-top: -1px;
}




/* Violet */
.border-violet {
  border-color: #8B8CF9 !important;
}
.bg-violet {
  background-color: #8B8CF9 !important;
}
.text-violet {
  color: #8B8CF9 !important;
}
.bg-light-violet{
  background-color:#d2d3fa !important;
}



/* select boxes */
.custom-select-wrapper {
  position: relative;
}

.custom-select-container {
  position: relative;
  display: inline-block;
  width: 100%;
}

.custom-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #f8f9fa;
  border: 1px solid #ced4da;
  border-radius: 5px;
  padding: 10px 30px 10px 15px;
  font-size: 16px;
  font-weight: normal;
  color: #495057;
  cursor: pointer;
  width: 100%;
}

.custom-select:focus {
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.custom-select-icon {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  color: #495057;
  pointer-events: none;
}

/* Hide the select dropdown arrow */
.custom-select::-ms-expand {
  display: none;
}



/* CSS */
.dependent-card {
  position: relative;
}

.dependent-info {
  display: flex;
  align-items: center; /* Center vertically */
}

.name {
  flex-grow: 1; /* Grow to take up remaining space */
  padding-left:25px;
}

.delete-button {
  background-color: transparent;
  border: none;
  color: #999;
  cursor: pointer;
  font-size: 12px;
  line-height: 1;
  margin-right: 5px; /* Adjust margin as needed */
}

.circle-icon {
  width: 35px; /* Adjust size as needed */
  height: 35px; /* Adjust size as needed */
  border-radius: 50%; /* Makes the div round */
  border: 1px solid #ccc;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.circle-icon i {
  color: #888; /* Color of the icon */
}

.remove-tag {
  color: #7a7a7a; /* This is the grey color you want */
}

.remove-tag:hover {
  color: #ff0000; /* Optional: Darker grey on hover */
}


.tag.add-tag:hover {
  background-color: #c8c8f7 !important; /* Optional: Darker grey on hover */
  cursor: pointer;
}

.document-content-wrapper {
  position: relative; /* Allow positioning of child elements */
  width: 100%; /* Ensure the container takes up full width */
  padding: 0; /* Remove default padding */
  margin: 0; /* Remove default margin */
}
/* modify Bulmas is-light for warning tags */
.tag.is-warning.is-light {
  background-color: #ffe5d8 !important; /* Lighter yellowish color */
  color: #f27827 !important; /* Darker text to match the light background */
}


/* used for documents */
.trash-icon {
position: absolute; /* Position it relative to the parent */
top: 8px; /* Adjust as necessary */
right: 5px; /* Adjust as necessary */
cursor: pointer; /* Change cursor to pointer */
color:#999;
font-size: 0.8em;
}
.trash-icon:hover {
color: #ff0000;
}

/* mobile wrape is used to make the buttons on the lease details break down to two lines on mobile */
/* Only apply the wrapping and alignment changes for mobile */
@media (max-width: 576px) {
  .mobile-button-wrap {
      flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
      justify-content: center; /* Center the buttons on mobile */
  }

  .mobile-button-wrap a {
      width: 100%; /* Make buttons full width on mobile */
      text-align: center; /* Center the text inside buttons */
      margin-bottom: 10px; /* Add spacing between buttons */
  }
}
