body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

/* Reduce logo size on smaller devices */
@media (max-width: 768px) {
    .logo {
        width: 80%; /* Adjust as needed */
    }
}

/* Further reduce logo size on extra small devices */
@media (max-width: 576px) {
    .logo {
        width: 60%; /* Adjust as needed */
    }
}



#viewDiv {
  height: 100%;
  width: 100%;
  position: relative;
}

/* Loading Overlay */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  flex-direction: column;
}

.loading-overlay.show {
  display: flex;
}

.loading-spinner {
  width: 60px;
  height: 60px;
  position: relative;
}

.loading-spinner::before,
.loading-spinner::after {
  content: '';
  position: absolute;
  border-radius: 50%;
}

.loading-spinner::before {
  width: 100%;
  height: 100%;
  border: 4px solid #e0e0e0;
  border-top-color: #7D7D7D;
  animation: spin 1s linear infinite;
}

.loading-spinner::after {
  width: 70%;
  height: 70%;
  top: 15%;
  left: 15%;
  border: 4px solid #e0e0e0;
  border-bottom-color: #B9C46D;
  animation: spin 0.8s linear infinite reverse;
}

.loading-text {
  margin-top: 20px;
  font-size: 14px;
  color: #7D7D7D;
  font-weight: 500;
  letter-spacing: 1px;
}

.loading-dots::after {
  content: '';
  animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
  0%, 20% { content: ''; }
  40% { content: '.'; }
  60% { content: '..'; }
  80%, 100% { content: '...'; }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Keep old loading-icon for backward compatibility but hide it */
.loading-icon {
  display: none;
}

.bg-successs {
  background-color: #7D7D7D;
}
.SignBtns{
  background-color: #B9C46D;
  color: white;
}
.btn-transparent {
  background-color: transparent;
  border: none;
}
@media (max-width: 768px) {
  .text-md-right {
    text-align: left !important;
  }
}
.right-nav {
    position: fixed;
    top: 55px;
    right: 0;
    width: 250px;
    height: 100%;
    background-color: #7D7D7D;
    box-shadow: -2px 0 5px rgba(0,0,0,0.5);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1000;
    color: #ffffff;
    padding: 20px;
    font-family: Arial, sans-serif;

    display: flex;           /* make it flex container */
    flex-direction: column;  /* stack items vertically */
    justify-content: space-between; /* push footer to bottom */
}

.right-nav.open {
    transform: translateX(0);
}

.right-nav .btn-light {
    position: absolute;
    top: 10px;
    right: 10px;
}

.right-nav .nav {
    list-style-type: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;  /* take up available space */
}

.right-nav .nav-item {
    margin-bottom: 10px;
}

.right-nav .nav-link {
    color: rgb(255, 255, 255);
    text-decoration: none;
    font-size: 14px;
}

.right-nav .nav-link:hover {
    text-decoration: none;
}

/* footer now sits at bottom of right-nav */
.right-nav .footer {
    text-align: center;
    margin-top: auto;  /* pushes footer to bottom */
    margin-bottom: 50px;
}

.right-nav .footer p {
    margin: 5px 0;
}

#closeNav {
  position: absolute;
  top: 10px;
  right: 10px;
}
.mt-10 {
  margin-top: 30px;
}
 /* Right-Side Navigation end */

.side-panel {
    position: fixed;
    top: 55px;
    right: -375px; /* Start hidden off the screen (on right side) */
    width: 375px;
    height: 100%;
    background-color: #7D7D7D;
    box-shadow: -2px 0 5px rgba(0,0,0,0.5); /* Shadow on the left side */
    transition: right 0.3s ease;
    z-index: 1001;
    padding: 15px;
    color: #ffffff;
    font-size: smaller;
}

.wborder{
  border-color: white !important;
}

.side-panel.open {
    right: 0; /* Show the panel */
}
.dropdown-menu.filter-panel {
  width: 250px;                      /* desired width */
  min-width: 250px;                  /* override bootstrap min-width if needed */
  max-width: calc(100vw - 20px);     /* prevents overflow on small screens */
  box-sizing: border-box;
}

/* sometimes .show gets styles; ensure it too */
.dropdown-menu.filter-panel.show {
  width: 330px;
  min-width:265px;
}
hr.new3 {
  display: block !important;
  height: 1px;
  border: 0;
  border-top: 1px solid #EAEAEA;
  width: 100%;
}

.vibrate {
  width: 15px;
  height:15px;
  border-radius: 50%;
  transform: scale(1);
  box-shadow: 0 0 0 rgba(13, 160, 213, 0.897);
  animation: anim-vibrate 2s infinite;
}

@keyframes anim-vibrate {
  0% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(13, 160, 213, 0.897);
  }

  70% {
    transform: scale(1.6);
    box-shadow: 0 0 0 0.8rem rgba(0, 123, 255, 0);
  }

  100% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(0, 123, 255, 0);
  }
}




.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
}



#address-suggestions li {
  cursor: pointer;
  transition: background 0.2s;
  font-size: 12px;
  padding: 0.5rem;
  z-index: 1000;
  }

#address-suggestions li:hover {
  background: #f1f3f5;
}

#searchaddress {
    padding-right: 2rem; /* adjust so text doesn't overlap × */
}


/* Custom Searchbox Styling */
.custom-search {
  font-size: 12px;       /* Typing text size */
  height: 30px;          /* Input box height */
  padding: 5px 7x;    /* Inner spacing */
  margin-left: 15px;
  /* Rounded edges (optional) */
}

/* Placeholder font size */
.custom-search::placeholder {
  font-size: 12px;
  color: #888;           /* Softer placeholder color */
}
/* left side panel end  */
/* Apply to text, select, and date */
.custom-input {
  font-size: 12px;       /* Text size inside input/select/date */
  height: 30px;          /* Height of the box */
  padding: 5px 7px;    /* Inner spacing */
     /* Rounded edges */
     color: #495057 !important;
}

/* Placeholder text (only affects text/date inputs) */
.custom-input::placeholder {
  font-size: 14px;
  color: #888;
}

.custom-input::data-placeholder {
  font-size: 14px;
  color: #888;
}

/* Remove default dropdown arrow style (Chrome/Edge/Safari) */
.custom-input[type="date"]::-webkit-inner-spin-button,
.custom-input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  filter: invert(40%) sepia(20%) saturate(500%) hue-rotate(200deg);
}

/* Optional: make select dropdown arrow consistent */
.custom-input::-ms-expand {
  display: none; /* IE/Edge */
}


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

.custom-select {
  /* appearance: none;      /* Remove default arrow */
  /* -webkit-appearance: none; */
  /* -moz-appearance: none; */
  width: 100%;
  height: 20px;
  /* padding: 10px 40px 10px 15px; space for custom arrow */
  font-size: 12px;
  border-radius: 5px;
  border: 1px solid #ccc;
  background-color: #fff;
  cursor: pointer;
}

/* Add custom arrow */
.custom-select-wrapper::after {
  content: '\25BC';       /* Down arrow */
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size:12px;
  color: #555;
}


/* Map icons styling */

.filters, .alerts {
  background-color: #f8f9fa;
  border: 1px solid #ddd;
  margin-bottom: 15px;
}
.map-icons {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    font-weight: 800;
    color: #6C757D;
    flex-direction: column;
    z-index: 1000;
}
.status-div{
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    font-weight: 800;
    color: #6C757D;
    flex-direction: column;
    z-index: 900;
    padding: 6px 8px 6px 8px;
    border: 1px solid #333;
    background-color: #f0f0f0;
    border-radius: 8px;
}

.map-icons-right {
  position: absolute;
  top: 30px;
  right: 0px;
  display: flex;
  flex-direction: column;
  z-index: 1000;
}
#statusLabel1,#statusLabel2{
font-size: 10px;
}

/* .map-icons-bottom {
    position: absolute;
    bottom: 150px;
    left: 20px;
    display: flex;
    flex-direction: column;
    z-index: 1000;
  } */

/* Style the container for vertical alignment */
#mapIconsbottom {
    display: inline;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    border-radius: 5px;
    /* width: 45px;
    height: auto; */
    overflow: hidden;
    /* position: absolute; */
    /* bottom: 150px; */
    /* left: 10px;
    z-index: 10; */
    /* background-color: rgba(85 109 49); */
  }

  /* Style the buttons inside the Sketch widget */


.icon-container {
  display: flex;
  align-items: center; /* Vertically center the buttons */
}


.modal-header{
  justify-content: center;
  font-weight: 600;
  color: white;
}

.icon-btn {
  margin-bottom: 0; /* Remove the margin-bottom */
  border-radius: 50%;
  width: 40px; /* Set width and height */
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-size: 18px;
  border: none;
  box-shadow: 0 2px 5px rgba(85, 109, 49, 1);
  background-color: rgba(85, 109, 49, 1);
  color: #FFFFFF;
  margin-right: 5px; /* Add spacing between icons */
}

.icon-btn:last-child {
  margin-right: 0; /* Remove margin from last icon */
}

.icon-btn2 {
  padding: 5px;
  align-items: left;
  font-size: 14px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  background-color: #FFFFFF;
  color: rgba(85, 109, 49, 1);
}

.btn-custom-green {
    /* background-color: rgba(85, 109, 49) !important; */
    /* border-color: rgba(85, 109, 49) !important; */
    color: #fff;
    background-color: #7D7D7D !important;
    border: none;
  }

  .btn-custom-green:hover {
    background-color: rgba(85, 109, 49, 0.85) !important;
    border-color: rgba(85, 109, 49, 0.85) !important;
    color: #b2e704;
  }
.activebtn {
  background-color: rgba(85, 109, 49, 1) !important;
  color: white !important;
}

/* Highlight the button with blue color */
.highlighted {
  background-color: rgb(94, 3, 198) !important;
  color: white !important;
}
/* map icon end  */

/* login section  */
.login-container {

  padding: 30px;
  border-radius: 10px;
  text-align: center;
  width: 100%;
  color: antiquewhite;

}

.login-container h2 {
  margin-bottom: 20px;
}

.login-container .form-group {
  margin-bottom: 15px;
}

.login-container .form-control {
  width: 100%;
  padding: 10px;
  margin: 5px 0;
  border: 1px solid #ccc;
  border-radius: 5px;

}

#keepSignedIn {
  margin-right: 10px;
}


.login-container .btn-primary {
  background-color: rgba(85, 109, 49, 1);
  color: white;
}

.login-container .btn-secondary {
  background-color: #f1f1f1;
  color: black;
}

.login-container a {
  color:rgba(85, 109, 49, 1);
  text-decoration: none;
}

.login-container a:hover {
  text-decoration: none;
}
/* login section end  */

.input-group-text {
  background-color: #fff;
  font-size: smaller;
}
.d-flex {
  display: flex;
  align-items: center;
}

.input-group-prepend {
  margin-right: 5px; /* Adjust as needed for spacing */
}

  /* Details-Side Navigation Styles */
  .detail-nav {
    position: fixed;
    top: 55px;
    right: 0;
    width: 400px;
    height: 100%;
    background-color: rgba(255, 255, 255, 1);
    box-shadow: -2px 0 5px rgba(0,0,0,0.5);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1000;
    color: #666;
    padding: 15px;
    font-family: Arial, sans-serif;
    font-size: 9px;
    line-height: normal;



}

.detailNavitemCount{
    font-family: Arial, sans-serif;
    font-size: 15px;
    line-height: normal;
    font-weight: 600 !important;
    margin: 12px 0;

}

.detail-nav.open {
    transform: translateX(0);
}


.details-header {
  color: #333;
  font-size: .9rem;
  font-weight: 700;
  margin-right: .5rem;
}
.detail-text {
  margin-bottom: 10px;
}
.desc-content{
    font-family: Arial, sans-serif;
    font-weight: 400;
    font-size: .9rem;
    line-height: 1.3;
    margin-bottom: 0.6rem;
    text-rendering: optimizeLegibility;
    max-width: 220px;
}

.more-details {

  background: rgba(85, 109, 49, 1);
    border: .125rem solid rgba(85, 109, 49, 1);
    padding: .5rem 1.125rem;
    color: #fff;
  width: 150px;
  font-family: Arial, sans-serif;
  font-weight: 400;
  font-size: .9rem;
}

.more-details:hover {
    background: rgba(85, 109, 49, 1);
    border: .125rem solid rgba(85, 109, 49, 1);
    padding: .5rem 1.125rem;
    color: #fff;
  width: 150px;
  font-family: Arial, sans-serif;
  font-weight: 400;
  font-size: .9rem;
  text-decoration: none !important;
}

.status-history {
  display: grid;
  font-size: .8rem;
  grid-template-columns: 1fr 2fr;
  gap: 10px;
}
.status-history div {
  margin-bottom: 5px;
  font-size: .8rem;
}

.esri-input {
  width: 500px;
}

.esri-search__input {
  width: 100%;
}

.esri-search__clear-button,
.esri-search__submit-button {
  width: auto;
}
.custom-modal .modal-content {
  background-color: rgba(85, 109, 49, 1); /* Background color */
  color: white; /* Text color */
}
.custom-modal .modal-header {
  border-bottom: none; /* Remove header border */
}
.custom-modal .modal-footer {
  border-top: none; /* Remove footer border */
}
.custom-modal .modal-header .close {
  color: white; /* Close button color */
}
.custom-modal .btn-primary {
  background-color: rgba(85, 109, 49, 1); /* Primary button color */
  border-color: rgba(85, 109, 49, 1);
}
.custom-modal .btn-secondary {
  background-color: #6C757D; /* Secondary button color */
  border-color: #6C757D;
}
.custom-modal .form-control {
  background-color: #DFF0D8; /* Input field background color */
  border-color: rgba(85, 109, 49, 1);
}

.multi-select-dropdown {
  position: relative;
  display: inline-block;
}
/* .dropdown-menu {
  width: 100%;
  max-height: 100px;
  overflow-y: auto;
} */
.dropdown-toggle::after {
  display: none; /* Hide default dropdown arrow */
}
.dropdown-menu label {
  display: flex;
  align-items: center;
  padding: 5px;
  cursor: pointer;
}
.select2-container--default .select2-selection--multiple {
  border: 1px solid rgb(85, 109, 49);
  border-radius: 4px;
  font-size: 12px;
  padding: 5px;
  min-height: 38px;
  overflow-x: hidden;
  overflow-y: auto;
  max-height: 100px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
  background-color: rgba(rgba(85, 109, 49, 0.751));
  border: 1px solid rgba(85, 109, 49, 1);
  color: rgb(85, 109, 49);
  font-size: 12px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
  color: rgb(85, 109, 49);
  margin-right: 5px;
}

.select2-container--default .select2-results__option {
  font-size: 12px;
}

.status-item {
  display: flex;
  align-items: flex-start;
}

.status-description {
/*  margin-right: 10px;*/
  white-space: nowrap;
  font-size: .9rem;
  flex-grow: 1;
}

.status-date{
  margin-right: 10px;
  white-space: nowrap;
  font-size: .9rem;
  min-width: 100px;
  font-weight: lighter;
}


#closeDetailsNav {
  position: absolute;
  top: 10px; /* Adjust as needed */
  right: 10px; /* Adjust as needed */
  z-index: 100; /* Ensure it's above the scrollable content */
}

#detailNavbody {
  position: relative;
  width: 100%;
  height: calc(100% - 55px); /* Adjust based on margin-top */
  overflow-y: auto;
}


.custom-modal-bg {
  background-color: #7D7D7DF2 !important;
  color: white;
  border: 2px solid white !important;
}

/* Header and title text */
.custom-modal-bg .modal-header,
.custom-modal-bg .modal-title {
  color: white;
}

/* Form text and labels */
.custom-modal-bg label,
.custom-modal-bg p,
.custom-modal-bg h4,
.custom-modal-bg small,
.custom-modal-bg .form-group,
.custom-modal-bg .alert {
  color: white;
}

/* Input field text and placeholders */
.custom-modal-bg input.form-control {
  background-color: transparent;
  color: white;
  border-color: white;
}

.custom-modal-bg input.form-control::placeholder {
  color: rgba(255, 255, 255, 0.8);
}

/* Checkbox label */
.custom-modal-bg input[type="checkbox"] + label {
  color: white;
}

/* Button styles */
.custom-modal-bg .btn {
  color:black;
  border-color: white;
  font-weight: 700;
  padding: 5px 35px;
}

.custom-modal-bg .btn:hover {
  background-color: rgba(85, 109, 49, 0.4);
  color: white;
}

/* Links */
.custom-modal-bg a {
  color: white;
  text-decoration: underline;
}

.custom-modal-bg a:hover {
  color: #ddd;
}


.btn-outline-custom {
    color: #556D31;
    border-color: #556D31;
}

.btn-outline-custom:hover {
    background-color: #556D31;
    color: white;
}
#applicationType,#applicationstatus {
    height: 37px;
    overflow-y: auto;
  }

/* ========== USER AGREEMENT MODAL STYLES ========== */
#appMainContent {
    display: none;
}
#appMainContent.active {
    display: block;
}

.agreement-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.agreement-modal-container {
    background-color: #7D7D7D;
    border-radius: 8px;
    max-width: 550px;
    width: 90%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.agreement-modal-header {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.agreement-modal-header h5 {
    margin: 0;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
}

.agreement-modal-body {
    padding: 20px;
    flex: 1;
    overflow: hidden;
}

.agreement-text-content {
    max-height: 350px;
    overflow-y: auto;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 4px;
    font-size: 13px;
    line-height: 1.6;
    color: #333;
}

.agreement-text-content h6 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
    font-size: 15px;
}

.agreement-text-content p {
    margin-bottom: 12px;
}

.agreement-text-content::-webkit-scrollbar {
    width: 8px;
}

.agreement-text-content::-webkit-scrollbar-track {
    background: #e0e0e0;
    border-radius: 4px;
}

.agreement-text-content::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.agreement-text-content::-webkit-scrollbar-thumb:hover {
    background: #666;
}

.agreement-modal-footer {
    padding: 15px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.agreement-modal-footer .btn {
    min-width: 100px;
    padding: 8px 20px;
    font-weight: 500;
}

/* Fix dropdown position */
.dropdown-menu.filter-panel.show {
    display: block !important;
    position: absolute !important;
    right: 0 !important;
    left: auto !important;
    top: 100% !important;
    transform: none !important;
}

/* Ensure parent doesn't restrict overflow */
#appMainContent {
    overflow: visible !important;
}

#appMainContent .row,
#appMainContent .container-fluid {
    overflow: visible !important;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .agreement-modal-container {
        width: 95%;
        max-height: 90vh;
    }

    .agreement-text-content {
        max-height: 280px;
    }
}
/* ========== END USER AGREEMENT MODAL STYLES ========== */