.nav-link-icon {
  font-size: 1.1rem;   /* slightly larger */
  position: relative;  
  top: -0.06rem;       /* nudge up */
}

.asteric{color: red;}
.errmsg{color:red; margin-top: 8px; margin-bottom: 1px;}
/*.navbar-brand {font-size: 36px;}
.logo-default{max-width: 175px; max-height: 50px; width: 100%; margin-top: 1px !important; min-height: 75px;}
.logo-default img{max-width: 170%; max-height: 120%; display: inline-block; float: none;}
*/

/* Household member grid layout */
.grid-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .grid-container {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }
}

.group-grid {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.group-tiles-portlet {
  padding: 0.625rem 0 0 0.313rem;
}

.group-tiles-usertitle {
  text-align: center;
  margin-top: 0.5rem;
}

.profile-content {
  overflow: hidden;
}

/* header navbar color fix */
/* Force solid background for navbar in light mode */
/* Light mode only - force solid background */
.theme-light .navbar.sticky-top {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
}

/* Product search modal dropdown background color fix - theme-aware backgrounds */
#search-results {
    background-color: var(--tblr-bg-surface);
    border: 1px solid var(--tblr-border-color);
    border-radius: var(--tblr-border-radius);
}

#search-results .list-group-item {
    background-color: var(--tblr-bg-surface);
    color: var(--tblr-body-color);
    border-color: var(--tblr-border-color);
}

#search-results .list-group-item:hover {
    background-color: var(--tblr-bg-surface-secondary);
}


/* Bootstrap Tagsinput Theme-Aware Styles */

.bootstrap-tagsinput {
    width: 100% !important;
    display: block;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--tblr-border-color);
    border-radius: var(--tblr-border-radius);
    background-color: var(--tblr-bg-forms);
    color: var(--tblr-body-color);
    min-height: calc(1.4285714em + 1rem + 2px);
}

.bootstrap-tagsinput input {
    background-color: transparent;
    color: inherit;
    border: none;
    outline: none;
    box-shadow: none;
    width: auto !important;
    min-width: 200px;
}

.bootstrap-tagsinput input::placeholder {
    color: var(--tblr-muted);
    opacity: 0.7;
}

.bootstrap-tagsinput .tag {
    background-color: var(--tblr-primary);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    margin-right: 0.25rem;
    margin-bottom: 0.25rem;
    display: inline-block;
}

.bootstrap-tagsinput .tag [data-role="remove"] {
    margin-left: 0.5rem;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.8);
}

.bootstrap-tagsinput .tag [data-role="remove"]:hover {
    color: white;
}

/* Dark theme specific styles */
[data-bs-theme="dark"] .bootstrap-tagsinput {
    background-color: #1a2234 !important;
    color: #f8fafc !important;
    border-color: #243049 !important;
}

[data-bs-theme="dark"] .bootstrap-tagsinput input {
    color: #f8fafc !important;
}

[data-bs-theme="dark"] .bootstrap-tagsinput input::placeholder {
    color: #8b99af !important;
}

/* Light theme specific styles (optional, uses defaults) */
[data-bs-theme="light"] .bootstrap-tagsinput {
    background-color: #ffffff;
    color: #1e293b;
    border-color: #d1d5db;
}

[data-bs-theme="light"] .bootstrap-tagsinput input {
    color: #1e293b;
}

[data-bs-theme="light"] .bootstrap-tagsinput input::placeholder {
    color: #6b7280;
}
