.slideshow-container {
  width: 100%;
  position: relative;
  margin: auto;
}

.mySlides {
  display: none;
  margin-top: -60px;
}

.mySlides img {
  height: auto;
  width: 100%;
  border-radius: 14px;
}

@media (max-width: 768px) {
  .mySlides img {
    height: auto;
    border-radius: 10px;
    width: 100%;
  }
  .mySlides {
    display: flex;
    margin-top: -90px;
  }
}

.maincat img {
  width: 100px;
}

/* Filter Button */
.button {
  position: relative;
  transition: all 0.3s ease-in-out;
  padding-block: 0.6rem;
  padding-inline: 1.25rem;
  background-color: #0b408a;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #ffffff;
  gap: 10px;
  font-weight: 400;
  border: 1px solid #0b408a;
  outline: none;
  overflow: hidden;
  font-size: 15px;
}

.icon {
  width: 24px;
  height: 24px;
  transition: all 0.3s ease-in-out;
}

/* Style buttons to look like list items */
.list-style-button {
  display: block;
  width: 100%;
  padding: 10px;
  text-align: left;
  border: 1px solid #ddd;
  background-color: #fff;
  text-align: center;
  color: #333;
  border-radius: 8px;
  margin-bottom: 8px;
}

.list-style-button:hover {
  background-color: #f1f1f1;
  cursor: pointer;
}

.list-style-button:focus {
  outline: none;
}

/* Style modal content */
.modal-body {
  max-height: 400px;
  overflow-y: auto;
}

.modal-dialog {
  max-width: 500px;
}

.modal-content {
  border-radius: 0.5rem;
}

.search-bar {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin: 0 auto;
  background-color: #fff;
}

.search-bar input {
  flex: 1;
  border: none;
  outline: none;
}

.search-bar input::placeholder {
  color: #aaa;
}

.search-bar-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.5rem;
  color: #6b7280;
  pointer-events: none;
}

.search-bar-icon i {
  font-size: 1.05rem;
}

/* Privacy page list styles*/
/* Add bullet to list items and space below each */
.list-unstyled {
  list-style: disc;
  margin-left: 30px;
  padding: 0;
}

.list-unstyled li {
  margin-top: 12px;
}

/* About Page CSS */

.top-img {
  width: 25%;
}

.text-justify {
  text-align: justify;
}

@media (max-width: 768px) {
  .top-img {
    width: 100%;
  }

  .text-justify {
    text-align: start;
  }
}

/* Other Page CSS */
.info-img {
  width: 50%;
}

@media (max-width: 768px) {
  .info-img {
    width: 100%;
  }
}

/* Auth CSS */

.gray-auth {
  background: center;
  background-position: center center;
  background-size: cover;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-logo {
  width: 36%;
}

@media (max-width: 768px) {
  .auth-logo {
    width: 50%;
  }
}

/* OTP */
.otp-inputs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.otp-inputs input {
  width: 3rem;
  height: 3rem;
  font-size: 1.5rem;
  text-align: center;
  border: 1px solid #ddd;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.3s;
}

.otp-inputs input:focus {
  border-color: #0b408a;
}

/* Pagination */

.pagination .page-item .page-link {
  padding: 8px 12px;
  font-size: 16px;
  border-radius: 5px;
  color: #6c757d;
  border: 1px solid #dee2e6;
  background-color: #f8f9fa;
  margin: 0 4px;
  text-align: center;
  transition: all 0.3s ease-in-out;
}

.pagination .page-item.active .page-link {
  background-color: #0b408a;
  border: 1px solid #0b408a;
  color: white;
  font-weight: bold;
}

.pagination .page-item .page-link:hover {
  background-color: #e9ecef;
  color: #0b408a;
}

.pagination .page-item.disabled .page-link {
  color: #ced4da;
  background-color: #f8f9fa;
}

.pagination {
  display: flex;
  justify-content: center;
  padding: 0;
  margin: 0;
}

.pagination .page-item {
  display: inline;
}

/* Mobile navbar toggle: same outer box for both; toggle icon larger than close icon */
.nav-toggler-custom {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
}
.nav-toggler-custom .nav-toggler-icon-open,
.nav-toggler-custom .nav-toggler-icon-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.nav-toggler-custom .nav-toggler-icon-open {
  width: 1.75rem;
  height: 1.75rem;
}
.nav-toggler-custom .nav-toggler-icon-close {
  width: 1.5rem;
  height: 1.5rem;
}
.nav-toggler-custom .nav-toggler-icon-open i {
  font-size: 1.75rem;
  font-weight: 600;
  width: 1.75rem;
  height: 1.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.nav-toggler-custom .nav-toggler-icon-close i {
  font-size: 1.5rem;
  font-weight: 600;
  width: 1.5rem;
  height: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.nav-toggler-custom .nav-toggler-icon-close {
  display: none;
}
.nav-toggler-custom .nav-toggler-icon-open {
  display: inline-flex;
}
.nav-toggler-custom[aria-expanded="true"] .nav-toggler-icon-close {
  display: inline-flex;
}
.nav-toggler-custom[aria-expanded="true"] .nav-toggler-icon-open {
  display: none;
}

/* Top navigation links - project primary blue on hover and active (both main & CMS) */
.header .navbar .nav-link:hover,
.header .navbar .nav-link:focus,
.header .navbar .nav-link:active {
  color: #0b408a !important;
}

/* Footer nav links - project primary blue on hover and active (both main & CMS footers) */
.light-footer .footer-menu a:hover,
.light-footer .footer-menu a:focus,
.light-footer .footer-menu a:active {
  color: #0b408a !important;
}

/* CMS dashboard sidenav - active & hover with primary blue (same as theme hover style) */
.goodup-dashboard-nav ul li.active,
.goodup-dashboard-nav ul li:hover {
  border-color: #0b408a;
  background-color: rgba(11, 64, 138, 0.1);
}
.goodup-dashboard-nav ul li.active a,
.goodup-dashboard-nav ul li:hover a {
  color: #0b408a;
}

/* CMS dashboard sidenav - align icon and text, same row height */
.goodup-dashboard-nav ul li a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-weight: 500;
}
.goodup-dashboard-nav ul li a i {
  width: 1.25em;
  min-width: 1.25em;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1em;
  line-height: 1;
}
.goodup-dashboard-nav ul li a i.me-2 {
  margin-right: 0.5rem;
}

/* Location modal icon buttons (back & close) - shared style */
.location-modal-icon-btn {
  width: 1.75em;
  height: 1.75em;
  min-width: 1.75em;
  padding: 0.25em;
  font-size: 1.15em;
  border-radius: 999px;
  border: 1px solid #9ca3af;
  background-color: transparent;
  transition:
    color 0.15s ease-in-out,
    border-color 0.15s ease-in-out,
    opacity 0.15s ease-in-out;
  color: #6b7280;
  font-weight: 600;
}
.location-modal-icon-btn:hover {
  opacity: 1;
}
/* Back button hover: black */
#location-modal-back-btn:hover {
  color: #000;
  border-color: #000;
}
/* Close button hover: red */
#close-button-popup:hover {
  color: #dc2626;
  border-color: #dc2626;
}
.location-modal-icon-btn:focus {
  box-shadow: none;
  outline: 0;
}

/* Location modal - no results message (watermark style) */
.location-modal-no-results {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem 1rem;
  gap: 0;
  opacity: 0.65;
}
.location-modal-no-results i.bi-geo-alt {
  font-size: 2.75rem;
  color: #6b7280;
  margin-bottom: 1rem;
  line-height: 1;
}
.location-modal-no-results p {
  color: #6b7280;
  margin-bottom: 0;
  line-height: 1.2;
}
.location-modal-no-results p:first-of-type {
  font-size: 1.1rem;
}
.location-modal-no-results p + p {
  margin-top: 0;
}
.location-modal-no-results .small {
  font-size: 0.8rem;
  color: #9ca3af;
}
