.wgtmsr{
    width: 100px;
}

.AddNewItemButton{
  width: auto;
}


/* @-moz-document url-prefix() { */
/*   h6 { */
/*     background-color:red; */
/*     color: red; */
/*   } */
/* } */


.myline {
  display:flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1;
}

.overlay-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  padding: 20px;
  text-align: center;
}

.close-button {
  position: absolute;
  top: 0;
  right: 0;
  padding: 10px;
  cursor: pointer;
}

.close-button:hover {
  color: red;
}

.list-group.list-group-tree {
  padding: 0;
}

.list-group.list-group-tree .list-group {
  margin-bottom: 0;
}

.list-group.list-group-tree > .list-group > .list-group-item {
  padding-left: 30px;
}
.list-group.list-group-tree > .list-group > .list-group > .list-group-item {
  padding-left: 45px;
}
.list-group.list-group-tree > .list-group > .list-group > .list-group > .list-group-item {
  padding-left: 60px;
}
.list-group.list-group-tree > .list-group > .list-group >  .list-group > .list-group > .list-group-item {
  padding-left: 75px;
}
.list-group.list-group-tree > .list-group > .list-group >  .list-group >  .list-group >  .list-group > .list-group-item {
  padding-left: 90px;
}

.cil-caret-right:before {
  content: "\ea7c"; /*right*/
}
.in > .cil-caret-right:before {
  content: "\ea7a"; /*down*/
}

.resize-none {
  resize: none;
}

.clickable-item {
  text-decoration: none;
  color: inherit;
  display: block;
  width: 100%;
  padding: 5px 0;
}

.clickable-item:hover {
  color: #007bff; /* Adjust hover color */
  text-decoration: underline;
}

#customMemberExpiryDurationContainer input[type="number"] {
  outline: none;
  -moz-appearance: textfield;
  appearance: textfield;
}

#customMemberExpiryDurationContainer input[type="number"]::-webkit-outer-spin-button,
#customMemberExpiryDurationContainer input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

#new-member-comment{
  resize: none; 
  overflow: auto; 
  width: 100%;
}

.badge.manual-reservation{
  width: 80px;
}

.link-text-color{
  color: #444444;
}
/* render radio labels as box */
label.classification-card {
    cursor: pointer;
    transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}

.btn-check:checked + label.classification-card {
    border-color: var(--cui-primary);
    background-color: rgba(var(--cui-primary-rgb), .05);
    box-shadow: 0 0 0 2px rgba(var(--cui-primary-rgb), .25);
}

.btn-check:focus-visible + label.classification-card {
    outline: 2px solid var(--cui-primary);
    outline-offset: 2px;
}
/* info box with icon */ 
.callout-with-icon {
  position: relative;
  padding: 1.25rem 1.25rem 1.25rem 5rem;
  min-height: 3.5rem; /* safety for very short text */
}

.callout-icon-bg {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.75rem;
  opacity: 0.3;
  pointer-events: none;
}

.callout-info .callout-icon-bg {
  color: #5b7eff; /* info color */
}

.config-text-area {
  font-family: monospace;
  font-size: 0.9rem;
  background-color: #f8f9fa;
  padding: 10px;
  resize: vertical;
}
.config-text-area:disabled{
  font-family: monospace;
  font-size: 0.9rem;
  background-color: #f8f9fa;
  padding: 10px;
  resize: vertical;
}

/* Project detail actions that block the UI which gets disabled */
.provisioning-wrapper {
  position: relative;
}

/* Dim content */
.provisioning-wrapper.provisioning-disabled {
  opacity: 0.5;
}

/* Click-blocking overlay */
.provisioning-wrapper.provisioning-disabled::after {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 10;
  cursor: not-allowed;
}
/* project tree rendering css list view */
.list-group-tree {
    --tree-indent: 1.25rem;
}

.tree-item {
    border-left: 3px solid transparent;
    transition:
        background-color 0.15s ease-in-out,
        border-color 0.15s ease-in-out;
}

.tree-item:hover {
    background-color: var(--cui-tertiary-bg, #f8f9fa);
}

.tree-toggle,
.tree-toggle-spacer {
    width: 1.9rem;
    height: 1.9rem;
    flex: 0 0 auto;
}

.tree-toggle {
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.tree-toggle-spacer {
    display: inline-block;
}

.tree-toggle .tree-chevron,
.tree-toggle .tree-chevron::before {
    display: inline-block;
    transition: transform 0.15s ease-in-out;
}

.tree-toggle[aria-expanded="true"] .tree-chevron,
.tree-toggle[aria-expanded="true"] .tree-chevron::before {
    transform: rotate(45deg);
}

.tree-project-link {
    color: var(--cui-body-color, #212529);
}

.tree-project-link:hover {
    color: var(--cui-primary, #0d6efd);
    text-decoration: underline !important;
}

.tree-child-count {
    font-weight: 500;
    min-width: 1.5rem;
}

.tree-branch {
    margin-left: var(--tree-indent);
    padding-left: 0.75rem;
    border-left: 1px solid var(--cui-border-color, #dee2e6);
    transition: border-color 0.15s ease-in-out;
}

/* Subtle highlight for ancestor/open-path nodes */
.tree-node.has-open-descendant > .tree-item {
    background-color: rgba(var(--cui-primary-rgb, 13, 110, 253), 0.035);
}

/* Stronger highlight for directly expanded nodes */
.tree-node.is-expanded > .tree-item {
    background-color: rgba(var(--cui-primary-rgb, 13, 110, 253), 0.08);
    border-left-color: transparent;
}

.tree-node.is-expanded > .tree-item .tree-project-link {
    font-weight: 600;
}

.tree-node.is-expanded > .tree-item .tree-toggle {
    color: #fff;
    background-color: var(--cui-primary, #0d6efd);
    border-color: var(--cui-primary, #0d6efd);
}

.tree-node.is-expanded > .tree-branch {
    border-left-color: var(--cui-primary, #0d6efd);
}
/* project detail tree rendering */

.project-tree-soft {
    background-color: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(222, 226, 230, 0.75);
    border-radius: var(--cui-border-radius, 0.375rem);
    padding: 0.5rem 0.75rem;
    font-size: 0.925rem;
}

.project-tree-soft .list-group,
.project-tree-soft .list-group-tree {
    background-color: transparent;
}

.project-tree-soft .list-group-item {
    background-color: rgba(255, 255, 255, 0.35);
    border-color: rgba(222, 226, 230, 0.45);
}

.project-tree-soft .tree-branch .list-group-item {
    background-color: rgba(255, 255, 255, 0.20);
}

.project-tree-soft .tree-item {
    border-left: 3px solid transparent;
}

.project-tree-soft .tree-item:hover {
    background-color: rgba(var(--cui-primary-rgb, 13, 110, 253), 0.05);
}

.project-tree-soft .tree-node.is-expanded > .tree-item {
    background-color: rgba(var(--cui-primary-rgb, 13, 110, 253), 0.08);
    border-left-color: transparent;
}

.project-tree-soft .tree-node.has-open-descendant > .tree-item {
    background-color: rgba(var(--cui-primary-rgb, 13, 110, 253), 0.035);
}

.project-tree-soft .tree-branch {
    background-color: transparent;
    margin-left: 0.95rem;
    padding-left: 0.65rem;
    border-left: 1px solid rgba(222, 226, 230, 0.9);
}

.project-tree-soft .tree-node.is-expanded > .tree-branch {
    border-left-color: rgba(var(--cui-primary-rgb, 13, 110, 253), 0.55);
}

.project-tree-soft .tree-toggle,
.project-tree-soft .tree-toggle-spacer {
    width: 1.65rem;
    height: 1.65rem;
}

.project-tree-soft .tree-project-link {
    color: var(--cui-body-color, #212529);
}

.project-tree-soft .tree-project-link:hover {
    color: var(--cui-primary, #0d6efd);
    text-decoration: underline !important;
}

.project-tree-soft .tree-child-count {
    background-color: rgba(255, 255, 255, 0.45) !important;
    color: var(--cui-secondary-color, #6c757d) !important;
    border-color: rgba(222, 226, 230, 0.7) !important;
}
.tree-action-add {
    opacity: 0.25;
    transition:
        opacity 0.15s ease-in-out,
        color 0.15s ease-in-out,
        background-color 0.15s ease-in-out;
}
/* plus icon for adding sub projects on the tree */
.tree-action-add {
    width: 1.65rem;
    height: 1.65rem;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    opacity: 0.55;
    transition:
        opacity 0.15s ease-in-out,
        color 0.15s ease-in-out,
        background-color 0.15s ease-in-out,
        border-color 0.15s ease-in-out;
}

.tree-action-add:hover,
.tree-action-add:focus {
    opacity: 1;
    text-decoration: none !important;
}

.tree-item:hover .tree-action-add {
    opacity: 1;
}

@media (hover: none) {
    .tree-action-add {
        opacity: 0.75;
    }
}
.archived-project-path-tree {
    --archive-indent: 0.65rem;
    font-size: 0.925rem;
}

.archived-project-path-tree .archived-path-item {
    background-color: rgba(255, 255, 255, 0.35);
    border-color: rgba(222, 226, 230, 0.45);
    border-left: 3px solid transparent;
    padding-left: 0.25rem !important;
    transition:
        background-color 0.15s ease-in-out,
        border-color 0.15s ease-in-out;
}

.archived-project-path-tree .archived-path-item:hover {
    background-color: rgba(var(--cui-primary-rgb, 13, 110, 253), 0.045);
}

.archived-path-indent {
    display: inline-flex;
    flex: 0 0 auto;
}

.archived-path-indent-step {
    width: var(--archive-indent);
    display: inline-block;
}

.archived-path-icon {
    width: 1rem;
    margin-right: 0.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    opacity: 0.9;
}

.archived-path-link {
    color: var(--cui-body-color, #212529);
    text-decoration: none;
}

.archived-path-link:hover {
    color: var(--cui-primary, #0d6efd);
    text-decoration: underline;
}

.archived-path-link-muted {
    opacity: 0.55;
}

.archived-path-link-muted:hover {
    opacity: 0.9;
}

.archived-project-path-tree .archived-path-current {
    background-color: rgba(var(--cui-primary-rgb, 13, 110, 253), 0.08);
}

.archived-project-path-tree .archived-path-current .archived-path-link {
    font-weight: 600;
}
/* expand collapse buttons */
.tree-toggle-all-icon {
    display: inline-block;
    transition: transform 0.15s ease-in-out;
}

.tree-toggle-all.active .tree-toggle-all-icon {
    transform: rotate(-90deg);
}
/* breadcrump styling */
.breadcrumb {
    flex-wrap: nowrap;
    min-width: 0;
    overflow: visible;
}

.project-breadcrumb-item {
    min-width: 0;
    flex: 0 1 auto;
    white-space: nowrap;
    overflow: visible;
}

/* Ancestor project names */
.project-breadcrumb-link {
    display: inline-block;
    max-width: clamp(4rem, 14vw, 22rem);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: bottom;
}

/* Current project takes remaining space */
.project-breadcrumb-current-item {
    flex: 1 1 0;
    min-width: 3rem;
    overflow: visible;
}

.project-breadcrumb-current-form {
    display: inline-flex;
    max-width: 100%;
    min-width: 0;
    overflow: visible;
}

.project-breadcrumb-current-link {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    min-width: 0;
    text-decoration: none;
    overflow: visible;
}

/* Keep original CoreUI/Bootstrap dropdown arrow */
.project-breadcrumb-current-link.dropdown-toggle::after {
    flex: 0 0 auto;
    margin-left: 0.35rem;
}

/* Only the text itself truncates */
.project-breadcrumb-current-text {
    display: inline-block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: bottom;
}

@media (max-width: 768px) {
    .project-breadcrumb-link {
        max-width: clamp(3rem, 18vw, 8rem);
    }

    .project-breadcrumb-current-item {
        min-width: 2.5rem;
    }
}
/* Actual projects the regular user is involved in */
.tree-node.is-user-project > .tree-item {
    background-color: rgba(var(--cui-primary-rgb, 13, 110, 253), 0.10);
}

.tree-node.is-user-project > .tree-item .tree-project-link {
    font-weight: 600;
}

.tree-user-project-badge {
    font-weight: 500;
    white-space: nowrap;
}

/* Ancestor/context branches that contain one of the user's projects */
.tree-node.contains-user-project:not(.is-user-project) > .tree-item {
    background-color: rgba(var(--cui-primary-rgb, 13, 110, 253), 0.035);
}

.tree-user-descendant-count {
    color: var(--cui-primary, #0d6efd) !important;
    border-color: rgba(var(--cui-primary-rgb, 13, 110, 253), 0.35) !important;
    white-space: nowrap;
}
.tree-user-project-badge {
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
}
.tree-project-link {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tab {
  overflow: hidden;
  border: 1px solid #ccc;
  background-color: #fff;
  border-radius: 8px;
  /* 1. Use Flexbox to make children fill the width */
  display: flex; 
}

.tab button {
  background-color: inherit;
  /* 2. Remove float: left (Flexbox handles positioning now) */
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
  font-size: 17px;
  
  /* 3. Make buttons grow to fill available space equally */
  flex: 1; 
  
  /* 4. Add rounded corners */
  
  /* Optional: Add a little margin so they don't touch each other */
}

.tab button:hover {
  background-color: rgba(var(--cui-primary-rgb, 13, 110, 253), 0.10);
}

.tab button.active {
  background-color: rgba(var(--cui-primary-rgb, 13, 110, 253), 1);
  color: #fff;
}

.tabcontent {
  display: none;
  padding: 6px 12px;
  border-top: none;
}

.select {
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--cui-input-color, rgba(44, 56, 74, 0.95));
  background-color: var(--cui-input-bg, #fff);
  background-clip: padding-box;
  border: 1px solid var(--cui-input-border-color, #b1b7c1);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 0.375rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.search-options {
    display: none;
    position: absolute;
    background: white;
    max-height: 30vh;
    overflow-y: auto;
    width: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    padding: 6px;
    border-radius: 6px;
}

.search-option {
    padding: 3px;
    padding-left: 6px;
    cursor: pointer;
    display: flex;
    gap: 8px;
    align-items: center;
    border-radius: 3px;
}

.search-option.active,
.search-option:hover {
    background-color: #3584e3;
    color: white;
}