/* NAVBAR */
.navbar-custom {
  background: url("/images/navbar-bg.png") repeat-x center center;
  background-size: auto 80px;
  height: 80px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2000;
}

body {
  background-color: #002244;
  padding-top: 80px;
  padding-bottom: 40px;
}

a {
  text-decoration: none;
}

.body-bg-color {
  background-color: #002244;
}

.body-text-color {
  color: #002244;
}

.burnt-orange-bg {
  background-color: #cc8400;
}

/* FOOTER */
.footer-custom {
  background: url("/images/navbar-bg.png") repeat-x center center;
  background-size: auto 80px;
  height: 40px;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1030;
}

/* === MOBILE OVERRIDES ONLY === */
@media (max-width: 991.98px) {
  /* lg breakpoint */
  .navbar-collapse {
    position: absolute !important;
    top: 80px;
    right: 0px;
    width: 170px;
    background-color: #003366;
    border-radius: 0 0 4px 4px;
    padding: 0.5rem 0;
    z-index: 1050;
    display: none !important; /* hidden until open */
  }

  .navbar-collapse.show {
    display: block !important;
  }

  .navbar-collapse .nav-link,
  .navbar-collapse .dropdown-item {
    text-align: right;
    color: #bfc8d8;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }

  .navbar-collapse .nav-link:hover,
  .navbar-collapse .dropdown-item:hover {
    color: #ffffff;
    background-color: #002244;
  }
}

/* Target dropdown menus inside the navbar */
.navbar .dropdown-menu.user-dropdown {
  background-color: #003366 !important; /* dark blue background */
  border: none !important;
  min-width: 170px;
}

.navbar .dropdown-menu.user-dropdown .dropdown-item {
  color: #bfc8d8 !important; /* light gray text */
  text-align: right;
}

.navbar .dropdown-menu.user-dropdown .dropdown-item:hover,
.navbar .dropdown-menu.user-dropdown .dropdown-item:focus {
  color: #ffffff !important; /* white on hover */
  background-color: #002244 !important; /* darker blue bar hover */
}

.navbar .dropdown-menu.user-dropdown .dropdown-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
}

/* TOGGLER ICON */
.navbar-dark .navbar-toggler {
  border: none;
}

.muted-light-blue {
  background-color: #ccccee;
}

.muted-light-red {
  background-color: #eecccc;
}

.soft-gray {
  background-color: #bbbbbb;
}

.burnt-orange-text {
  color: #cc8400;
}

@media (max-width: 405px) {
  .shrink-on-small {
    max-width: 320px !important;
  }
}

.button-green-outline {
  background-color: white;
  border: solid 1px #004422;
  color: #004422;
}

.button-green-outline:hover {
  background-color: #ccddcc;
  border: solid 1px #003311;
  color: #003311;
}

.button-green {
  background-color: #004422;
  color: white;
}

.button-green:hover {
  background-color: #003311;
}

.sort-bar .btn-sort {
  background-color: #003366; /* dark blue */
  color: #d9e2f0;
  border-radius: 4px;
  border: none;
  margin-right: 0.25rem;
  margin-bottom: 3px; /* space below each button */
  display: flex;
  align-items: center;
  gap: 0.2rem;

  /* shrink size */
  font-size: 86%; /* 14% smaller than the last version */
  padding: 4px 6px; /* vertical | horizontal */
  line-height: 1.2;
}

.sort-bar .btn-sort .icon {
  color: #001f40;
  font-size: 86%; /* icons also smaller */
}

.sort-bar .btn-sort.active {
  background-color: #004080;
  color: #fff;
}

.sort-bar .btn-sort.active .icon.active {
  color: #ff8800; /* orange for active arrow */
}

/* Album title link */
.album-title-link {
  color: inherit;
  text-decoration: none;
}

.album-title-link:hover {
  color: #ee8822;
  text-shadow: 0 0 6px rgba(167, 215, 162, 0.9);
}

.comment-bg-hover {
  background-color: white;
}

.comment-bg-hover:hover {
  background-color: #aaaaee;
}

.hover-blue:hover {
  background-color: #aaaaee;
}

/* Meta links (artist, genre, release year, added_by) */
.album-meta-link {
  color: inherit;
  text-decoration: none;
}
.album-meta-link:hover {
  color: #ee8822; /* muted light green */
  text-shadow: 0 0 6px rgba(167, 215, 162, 0.8);
}

/* General page link styling */
.pagination .page-link {
  font-size: 85%;
  padding: 4px 10px;
  color: #003366; /* dark blue text */
  border: 1px solid #003366;
  background-color: #ffffff;
}

/* Active page */
.pagination .page-item.active .page-link {
  background-color: #003366 !important;
  border-color: #003366 !important;
  color: #ffffff !important;
}

/* Disabled (ellipses, prev/next) */
.pagination .page-item.disabled .page-link {
  color: #666;
  border-color: #ccc;
  background-color: #f8f9fa;
}

.comment-badge {
  background-color: #333; /* charcoal */
  color: #cc8400; /* gold */
  padding: 6px 8px; /* tight padding */
  font-size: 0.8rem; /* smaller text */
  border-radius: 4px;
}

.album-info-box {
  background-color: none; /* default mobile */
  margin: 0px 0px 15px 0px;
  padding: 0;
  border-radius: 0;
}

.listen-box {
  background-color: #222;
  margin: 15px 0px 25px 0px;
  padding: 15px 8px 15px 8px;
  border-radius: 10px;
}

@media (min-width: 576px) {
  /* sm and up */
  .album-info-box {
    background-color: #fcfcf3;
    margin: 25px;
    padding: 25px;
    border-radius: 12px;
    border-color: #222;
    border: solid 2px;
  }

  .listen-box {
    background-color: #222;
    color: #ccc;
    margin: 10px 25px 25px 25px;
    padding: 25px;
    border-radius: 12px;
  }
}

.latest-activity-box {
  background-color: #ffcccc;
  border-radius: 8px;
}

.member-box {
  background-color: #eeccaa;
  border-radius: 8px;
}

.latest-activity-box:hover {
  background-color: #eebbbb;
}

.member-box:hover {
  background-color: #ddbb99;
}

.listen-button:hover {
  background-color: #001f40;
}

.update-link-button:hover {
  background-color: #aa6200;
}

.thread-tab {
  background-color: #337ab7; /* bootstrap blue */
  color: #fff;
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
  padding: 6px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-width: 36px;
}

.thread-tab button {
  background: transparent;
  border: none;
  color: #fff;
  font-weight: bold;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.thread-tab small {
  font-size: 0.7rem;
}

.form-check-label {
  width: 100%;
}

.offcanvas-body .form-check-label {
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
}

.offcanvas-body .form-check-label:hover {
  background-color: #002244;
  color: #fff;
}

/* Square radios look like checkboxes */
.square-radio {
  border-radius: 0 !important;
  width: 18px;
  height: 18px;
}

/* Custom dark scrollbars */
.custom-scroll {
  scrollbar-width: thin;
  scrollbar-color: #666 #333;
}
.custom-scroll::-webkit-scrollbar {
  width: 6px;
}
.custom-scroll::-webkit-scrollbar-track {
  background: #333;
}
.custom-scroll::-webkit-scrollbar-thumb {
  background-color: #666;
  border-radius: 3px;
}

/* match genres checkboxes */
.rounded-check {
  border-radius: 0.25rem; /* slightly rounded corners */
}
