/* Please see documentation at https://learn.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

a {
  color: #0077cc;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px;
}

.queue-count {
  font-weight: bold;
  margin-left: 10px;
  color: #666;
}

.queue-icon {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative; /* For badge positioning */
  margin-right: 10px; /* Spacing next to description */
}

.queue-icon > i.fa {
  font-size: 18px; /* Adjusted for better fit in 30x30px container */
  line-height: 1;   /* Prevents extra vertical space */
  color: inherit;   /* Uses the parent's text color */
  /* Centered by parent flex properties */
}

/* Custom badge styles */
.queue-icon > .badge-closed-menu {
  position: absolute !important;
  top: 2px !important;  /* Position slightly inside the top-right corner */
  right: 2px !important; /* Position slightly inside the top-right corner */
  background-color: #ff4081 !important;
  color: white !important;
  border-radius: 50% !important;
  width: 16px !important;
  height: 16px !important;
  font-size: 10px !important;
  font-weight: bold !important;
  z-index: 1 !important;
  box-sizing: border-box !important;
  display: flex !important; /* Use flexbox for robust centering of the number */
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important; /* Ensure no padding interferes with fixed size */
  line-height: 16px !important; /* Explicit line-height for vertical centering in flex */
}

.queue-content > .badge-opened-menu {
  background-color: #ff4081 !important;
  color: white !important;
  border-radius: 50% !important;
  min-width: 16px !important; /* Allow width to expand for multi-digit numbers */
  height: 16px !important;
  font-size: 10px !important;
  text-align: center !important;
  line-height: 16px !important;
  font-weight: bold !important;
  padding: 0 4px !important; /* Horizontal padding for text */
  margin-right: 8px !important; /* Space between badge and text */
  display: inline-block !important;
  vertical-align: middle !important; /* Align with text */
}

.queue-desc {
    display: inline-block; /* Ensure it flows with the badge */
    vertical-align: middle; /* Align with badge */
}

.queue-content {
  display: flex;
  justify-content: space-between;
  width: 100%;
}
