/* ============================
 * Your Custom Styles
 * ============================ */

/* Custom styles for the Inter font and general body layout */
body {
  font-family: 'Inter', sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  background-color: #f8f9fa;
}

main {
  flex-grow: 1;
  padding-bottom: 80px;
}

.clickable {
  cursor: pointer;
}

.hide_initially {
  display: none;
}

/* Style for the active button in the bottom navigation */
.nav-button.active-button {
  color: #2e5090;
  font-weight: bold;
}

/* Ensure bottom navigation buttons don't change background on hover/click */
.nav-button {
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #6c757d;
  transition: color 0.3s ease;
}

.nav-button:hover,
.nav-button:focus,
.nav-button:active {
  background-color: transparent !important;
  box-shadow: none !important;
  color: #2e5090 !important;
}

/* Custom header styles to match the sample image */
.app-header {
  background-color: #2e5090;
  color: white;
  padding: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.app-header .header-title {
  font-weight: bold;
  flex-grow: 1;
  text-align: center;
  text-decoration: none;
  color: #ffffff;
  display: none;
}

.app-header .btn-header {
  color: white;
  border: none;
  background: none;
  font-size: 1.25rem;
}

.app-header .header-logo {
  max-width: 100px;
  height: auto;
}

.vgic_blue {
  color: #2e5090;
}

.category-filters .filter-btn {
  width: 100px;
}

.number_badge {
  font-size: .75rem;
  padding: 4px;
}

.numberCircle {
  border-radius: 50%;
  display: inline-block;
  font-size: .75rem;
  font-weight: bold;
  height: 20px;
  line-height: 20px;
  text-align: center;
  width: 20px;
}

.flavor_number {
  font-size: .75rem;
}

.card-header .flavor_name {
  font-size: .95rem;
  font-weight: bold;
}

.empty_star {
  color: #dddddd;
}

.rating_count {
  width: 20px;
  display: inline-block;
}

.other_users_rating_wrapper {
  margin-right: 24px;


}

.rating-star-input {
  display: none;
  /* Hide the actual radio buttons */
}

.rating-star-label {
  cursor: pointer;
  font-size: 3rem;
  /* Large stars */
  color: #ccc;
  /* Default empty star color */
  padding: 0 0.1rem;
  /* Small padding for spacing */
}

.rating-star-label i.far {
  color: #ccc;
  /* Ensure empty stars are default color */
}

/* Custom styles for centering the login form */
.login-container {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: #f8f9fa;
  /* Light background for contrast */
}

.login-card {
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  background-color: #fff;
  max-width: 450px;
  width: 90%;
}

.not_my_favorite {
  color: #e2e2e2;
}

.link_to_admin a {
  font-family: monospace;
  color: #004400;
}

.quick_view {
  font-family: monospace;
  color: #2e5090;
  text-align: center;
  font-size: 1.25rem;
}

/*
 * This stylesheet explicitly overrides Bootstrap's
 * vgic_navy color-related classes to use a new color.
 */

/* ============================
 * Base vgic_navy Color Overrides
 * ============================ */

/* Background colors */
.bg-vgic_navy {
  background-color: #2e5090 !important;
}

/* Text colors */
.text-vgic_navy {
  color: #2e5090 !important;
}

.text-vgic_darkgreen {
  color: #004400 !important;
}

/* Border colors */
.border-vgic_navy {
  border-color: #2e5090 !important;
}

/* List group items */
.list-group-item-vgic_navy {
  color: #fff;
  background-color: #2e5090;
}

/* Badges */
.badge.bg-vgic_navy {
  background-color: #2e5090 !important;
}

/* ============================
 * Button Overrides
 * ============================ */

/* vgic_navy button - default state */
.btn-vgic_navy {
  color: #fff;
  background-color: #2e5090;
  border-color: #2e5090;
}

/* vgic_navy button - hover/focus/active states */
.btn-vgic_navy:hover,
.btn-vgic_navy:focus,
.btn-vgic_navy:active {
  color: #fff;
  background-color: #244073;
  /* A slightly darker shade for hover effect */
  border-color: #244073;
}

/* Outline vgic_navy button - default state */
.btn-outline-vgic_navy {
  color: #2e5090;
  border-color: #2e5090;
}

/* Outline vgic_navy button - hover/focus/active states */
.btn-outline-vgic_navy:hover,
.btn-outline-vgic_navy:focus,
.btn-outline-vgic_navy:active,
.btn-outline-vgic_navy.active {
  color: #fff;
  background-color: #2e5090;
  border-color: #2e5090;
}






@media only screen and (min-width: 440px) {
  .filter-btn {
    width: auto;
  }
}

/* ==========================================================================
   Primary Category Flavors Homepage Styling
   ========================================================================== */

/* Quick Category Navigation Pill Menu */
.quick-category-nav {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  padding: 1rem;
}

.category-nav-link {
  transition: all 0.2s ease-in-out;
}

.category-nav-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 6px rgba(46, 80, 144, 0.15);
}

/* Category Sections */
.category-section {
  scroll-margin-top: 80px;
  /* offset for sticky/fixed headers if any */
}

.category-header {
  position: relative;
}

.border-bottom-vgic_navy {
  border-bottom: 2px solid #2e5090;
}

/* Flavor Items List */
.flavor-list {
  border-left: 3px solid #2e5090;
}

.flavor-item {
  border-bottom: 1px solid #f1f3f5;
  transition: background-color 0.2s ease;
}

.flavor-item:last-child {
  border-bottom: none;
}

.flavor-item:hover {
  background-color: #fafbfe;
}

.flavor-title {
  font-size: 1.1rem;
  color: #2e5090;
}

.flavor-batches {
  display: inline-flex;
  align-items: center;
}

.flavor-desc {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #495057;
}

.flavor-id {
  opacity: .1;
}

.gallery-filename-overlay {
  position: absolute;
  top: 5px;
  left: 5px;
  /* Leave space on the right (e.g. 35px) so it doesn't overlap the delete button */
  right: 35px;
  z-index: 99;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
  /* Let clicks pass through to the image */
}