.btn-transparent {
  border: none;
  background: transparent;
}

.dropup .dropdown-toggle::after {
  display: none !important;
}
.dropdown-item {
  font-size: 14px;
}

#filePreview {
  display: none;
  margin-top: 10px;
  max-width: 100px;
  max-height: 100px;
  border-radius: 5px;
  object-fit: cover;
  border: none;
}
.preview-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

#map {
  height: 650px;
  width: 100%;
  z-index: 1;
}

#damagesOverview,
#incidentsLine {
  height: 250px !important; /* Adjust as needed */
}

#alarmDoughnutChart {
  max-width: 300px;
  max-height: 300px;
}

#alarmDoughnutChart-legend {
  width: 250px;
  overflow: auto;
  height: 130px;
}

#alarmDoughnutChart-legend ul {
  padding: 0;
  flex-direction: column;
  align-items: flex-start;
}

#alarmDoughnutChart-legend ul li {
  margin-left: 0;
  margin-top: 5px;
  text-align: left;
}

.calbayog-boundary {
  stroke: red !important; /* Border color */
  stroke-width: 3px !important; /* Border thickness */
  fill: rgba(255, 0, 0, 0.1) !important; /* Light red fill */
}

.marker-cluster-small {
  background-color: rgba(181, 226, 140, 0.6);
}
.marker-cluster-medium {
  background-color: rgba(241, 211, 87, 0.6);
}
.marker-cluster-large {
  background-color: rgba(253, 156, 115, 0.6);
}

.marker-cluster-small div {
  background-color: rgba(255, 0, 0, 0.6) !important;
  color: white !important;
}
.marker-cluster-small {
  background-color: rgba(255, 0, 0, 0.1) !important;
}

.pagination a.page-link {
  font-size: 12px;
  padding: 4px 12px;
  font-weight: 500;
  border-radius: 0 !important;
}

.highlight {
  background-color: yellow;
  font-weight: bold;
}

.card {
  border: 1px solid #e0e0e0;
}

.total-icon {
  background-color: #c71b13;
  color: #fff;
  font-size: 25px;
  padding: 12px;
  border-radius: 10px;
  position: absolute;
  top: 10px;
  right: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.login-container .relative {
  position: relative;
}

.login-container .relative input {
  padding-right: 30px;
  font-size: 15px;
}

.login-container .relative label {
  font-size: 18px;
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  color: #999;
  transition: color 0.2s ease;
}
.login-container button {
  text-transform: uppercase;
}

.login-body {
  background-image: url("../images/logo/Logo_BFP_Calbayog.jpg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #ffffff;
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100%;
  position: relative;
}

.login-body .background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.login-body .login-container {
  position: relative;
  max-width: 450px;
  padding: 4rem;
  background: #ffffff50;
  backdrop-filter: blur(10px);
  margin: 10px;
  border: 1px solid #ffffff;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
  width: 100%;
  z-index: 1;
  animation: fadeIn 0.4s ease-out forwards;
}

.login-body .login-container h1 {
  font-size: 35px;
}

@media (max-width: 767px) {
  .login-body .login-container {
    padding: 2rem;
  }
}

.login-body .invalid-feedback {
  display: block;
  color: red;
  font-size: 14px;
}

/* responsive */
.flex-responsive {
  display: flex;
  flex-direction: column;
}

.flex-responsive-reverse {
  display: flex;
  flex-direction: column-reverse;
  gap: 20px;
}

@media (max-width: 767px) {
  .w-full-mobile {
    width: 100% !important;
  }
}

@media (min-width: 768px) {
  .flex-responsive {
    flex-direction: row;
  }

  .flex-responsive-reverse {
    flex-direction: row;
    height: 220px;
  }
}

.main-background {
  width: 100%;
  height: 100%;
  position: fixed;
  inset: 0;
}

.main-background img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.main-background .main-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.background-blur {
  background: #ffffff99;
  backdrop-filter: blur(10px);
}

#barangayList {
  overflow-y: auto;
  max-height: calc(650px - 80.41px);
  height: 100%;
  list-style-type: none;
  padding: 0;
  margin: 0;
}

#barangayList li {
  margin-top: 10px;
  font-size: 14px;
  color: #333;
}

.inline-graph {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.inline-graph .stretch-card {
  width: 100%;
}
.inline-graph .stretch-card:not(:last-child) {
  margin-bottom: 8px;
}
@media (min-width: 768px) {
  .inline-graph {
    flex-direction: row;
  }
  .inline-graph .stretch-card {
    width: calc(50% - 5px);
  }
  .inline-graph .stretch-card:not(:last-child) {
    margin-bottom: 0;
  }
  .main-panel {
    overflow: auto;
    height: 100vh;
  }
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid #f4f4f4;
  padding: 10px 20px;
  z-index: 1000;
}

@media (max-width: 767px) {
  .mobile-nav {
    display: block;
  }
  .page-body-wrapper {
    height: calc(100% - 63px);
  }
  #sidebar .logo {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .mobile-view {
    padding-top: 70px;
  }
}
