a {
    text-decoration: none;
    color: inherit;
}

* {box-sizing:border-box}

/* Bootstrap accordion */
.accordion-button:not(.collapsed) {
  color: #212529;
}

/* Navbar on mobile */
@media (max-width: 991px) {
  .navbar-nav .nav-link {
    padding: 12px 0;
    font-size: 1.1rem;
  }
  .navbar-nav .dropdown-menu {
    position: static;
    float: none;
    width: 100%;
    margin-top: 0.5rem;
  }
  .dropdown-menu-center {
    left: 0 !important;
    transform: none !important;
  }  
}

/* Dropdown Lists */

.nav-item.dropdown .dropdown-menu {
  z-index: 1005;
}

#notificationDropdownList .dropdown-item {
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
  max-width: 100%;
}

#notificationDropdownList .dropdown-item small {
  font-size: 0.75rem;
}

@media (min-width: 992px) {
  .dropdown-menu-center {
    left: 50% !important;
    transform: translateX(-50%) !important;
  }

  #notificationDropdownList .dropdown-item {
    min-width: 350px;
  }
}

/* Cookie bar */
body.with-cookie-bar {
  padding-top: 35px;
}

.cookie-bar {
  position: fixed;
  width: 100%;
  top: 0;
  text-align: center;
  height: 25px;
  line-height: 25px;
  background: #eee;
}

/* Advert badges and stars */
#star-rating-filter {
    display: inline-block;
    user-select: none; 
}

#star-rating-filter span {
    font-size: 2rem; 
    color: #0d6efd;   
    cursor: pointer;
    transition: transform 0.1s ease;
    display: inline-block;
}

#star-rating-filter span:active {
    transform: scale(1.2);
}

.star-filled { color: #0d6efd; }
.star-empty { color: #ccc; }

.rating-wrapper {
    display: flex;
    align-items: center;
    gap: 12px; 
}

.rating-wrapper label {
    margin-bottom: 0 !important; 
}

#star-rating-filter span {
    font-size: 1.5rem; 
    color: #0d6efd; 
    cursor: pointer;
}

.badge {
    padding: 0.35em 0.5em;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
}

.card.position-relative {
    overflow: hidden;
}

.bg-primary-custom {
    background-color: #0d6efd; 
}