/* /Components/Layout/Footer.razor.rz.scp.css */
.bottombar[b-gb8e5tj2uc] {
  color: var(--samba-gray-dim);
  background-image: linear-gradient(270deg, var(--samba-bottombar-gradient-start) 0%, var(--samba-bottombar-gradient-end) 70%);
  margin-left: var(--samba-sidebar-width);
  margin-right: 40px;
  margin-bottom: 5px;
  padding-top: 3px;
  height: 25px;
  border-radius: var(--samba-border-radius-sm);
  box-shadow: var(--samba-shadow-md);
  transition: margin-left 0.3s ease;
}

@media (min-width: 641px) {
  /* Bottom bar adjustment for collapsed sidebar */
  .bottombar-expanded[b-gb8e5tj2uc] {
    margin-left: var(--samba-sidebar-width-collapsed) !important;
  }
}

/* /Components/Layout/Header.razor.rz.scp.css */
.topbar[b-ag4b1nvf7q] {
  background-color: var(--samba-topbar-bg);
}

.top-row-bottom-border[b-ag4b1nvf7q] {
  border-bottom: 2px solid var(--samba-primary-blue-navy);
  background-color: var(--samba-white);
}

.top-row h5[b-ag4b1nvf7q] {
  font-family: var(--samba-font-family) !important;
  font-weight: var(--samba-font-weight-normal) !important; /* Not bold - match Samba V1 */
  font-size: var(--samba-font-size-base) !important;
  color: var(--samba-primary-blue-navy) !important;
}

.top-row[b-ag4b1nvf7q] {
  justify-content: space-between;
  height: 3.5rem;
  display: flex;
  align-items: center;
  padding-left: var(--samba-spacing-xl) !important; /* Match content padding */
  padding-right: var(--samba-spacing-xl) !important; /* Match content padding */
}

.top-row[b-ag4b1nvf7q]  a, .top-row[b-ag4b1nvf7q]  .btn-link {
  white-space: nowrap;
  margin-left: 1.5rem;
  text-decoration: none;
}

.top-row[b-ag4b1nvf7q]  a:hover, .top-row[b-ag4b1nvf7q]  .btn-link:hover {
  text-decoration: underline;
}

.top-row[b-ag4b1nvf7q]  a:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 640.98px) {
  .top-row:not(.auth)[b-ag4b1nvf7q] {
    display: none;
  }

  .top-row.auth[b-ag4b1nvf7q] {
    justify-content: space-between;
  }

  .top-row[b-ag4b1nvf7q]  a, .top-row[b-ag4b1nvf7q]  .btn-link {
    margin-left: 0;
  }
}

@media (min-width: 641px) {
  .top-row[b-ag4b1nvf7q] {
    position: sticky;
    top: 0;
    z-index: 1;
  }

  .top-row.auth[b-ag4b1nvf7q]  a:first-child {
    flex: 1;
    text-align: right;
    width: 0;
  }

  .top-row[b-ag4b1nvf7q] {
    padding-left: var(--samba-spacing-xl) !important; /* Match content padding */
    padding-right: var(--samba-spacing-xl) !important; /* Match content padding */
  }
  
  article[b-ag4b1nvf7q] {
    padding-left: var(--samba-spacing-xl) !important;
    padding-right: var(--samba-spacing-xl) !important;
  }
}

/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-f34u9oq2qb] {
    display: flex;
    flex-direction: column;
}

main[b-f34u9oq2qb] {
    flex: 1;
  transition: margin-left 0.3s ease;
  background-color: var(--samba-gray-muted-30) !important; /* bg-muted/30 from Samba V1 */
  overflow-y: auto;
  isolation: isolate; /* Create stacking context barrier so sidebar flyouts appear above */
}

.content[b-f34u9oq2qb] {
  padding: var(--samba-spacing-xl) !important; /* p-8 = 32px from Samba V1 */
  min-height: 100%;
}

.main-expanded[b-f34u9oq2qb] {
  margin-left: calc(var(--samba-sidebar-width-collapsed) - var(--samba-sidebar-width));
}

@media (min-width: 641px) {
    .page[b-f34u9oq2qb] {
        flex-direction: row;
    }

  main[b-f34u9oq2qb] {
    margin-left: 0;
    }

  .main-expanded[b-f34u9oq2qb] {
    margin-left: 0;
    }
}

#blazor-error-ui[b-f34u9oq2qb] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-f34u9oq2qb] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

/* /Components/Layout/NavMenu.razor.rz.scp.css */
.top-row[b-70nijlpmvq] {
  margin-top: 10px;
  height: 2.5rem;
  margin-left: 10px;
}

/* Hide text in menu items when sidebar is collapsed, show only icons */
.sidebar-collapsed .samba-menu-item-content > p[b-70nijlpmvq] {
  display: none !important;
}

/* Center icons when sidebar is collapsed */
.sidebar-collapsed .samba-menu-item-content[b-70nijlpmvq] {
  justify-content: center !important;
  align-items: center !important;
  flex-direction: row !important; /* Keep row layout but center icon */
  width: 100% !important;
  margin: 0 !important;
  gap: 0 !important; /* Remove gap when collapsed since text is hidden */
}

/* Remove any inline margins that might offset icons */
.sidebar-collapsed .samba-menu-item-content[style*="margin-left"][b-70nijlpmvq] {
  margin-left: 0 !important;
}

/* Adjust menu item padding when collapsed to center icons */
.sidebar-collapsed .dxbl-menu-item[b-70nijlpmvq] {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  width: 100% !important;
}

/* Ensure the menu item text container is also centered */
.sidebar-collapsed .dxbl-menu-item-text-container[b-70nijlpmvq] {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  margin: 0 !important;
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-isz3ebs4su],
.components-reconnect-repeated-attempt-visible[b-isz3ebs4su],
.components-reconnect-failed-visible[b-isz3ebs4su],
.components-pause-visible[b-isz3ebs4su],
.components-resume-failed-visible[b-isz3ebs4su],
.components-rejoining-animation[b-isz3ebs4su] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-isz3ebs4su],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-isz3ebs4su],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-isz3ebs4su],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-isz3ebs4su],
#components-reconnect-modal.components-reconnect-retrying[b-isz3ebs4su],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-isz3ebs4su],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-isz3ebs4su],
#components-reconnect-modal.components-reconnect-failed[b-isz3ebs4su],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-isz3ebs4su] {
    display: block;
}


#components-reconnect-modal[b-isz3ebs4su] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-isz3ebs4su 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-isz3ebs4su 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-isz3ebs4su 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-isz3ebs4su]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-isz3ebs4su 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-isz3ebs4su {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-isz3ebs4su {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-isz3ebs4su {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-isz3ebs4su] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-isz3ebs4su] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-isz3ebs4su] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-isz3ebs4su] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-isz3ebs4su] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-isz3ebs4su] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-isz3ebs4su] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-isz3ebs4su 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-isz3ebs4su] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-isz3ebs4su {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Layout/Sidebar.razor.rz.scp.css */
.sidebar[b-04q5uov7ul] {
  background-color: var(--samba-white);
  border-right: 1px solid rgba(26, 52, 86, 0.2);
  transition: width 0.3s ease, min-width 0.3s ease;
  overflow: visible;
  position: relative;
  display: flex;
  flex-direction: column;
  z-index: 1000; /* Very high z-index so sidebar and its children (flyouts) appear above main content */
}

/* Logo + Branding Header */
.sidebar-branding[b-04q5uov7ul] {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem 1.5rem 2rem 1.5rem;
  transition: padding 0.3s ease;
  position: relative;
}

.sidebar-branding-collapsed[b-04q5uov7ul] {
  justify-content: center;
  padding: 1.5rem 0 2rem 0;
}

.sidebar-logo[b-04q5uov7ul] {
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
}

.sidebar-brand-text[b-04q5uov7ul] {
  color: var(--samba-primary-blue-navy);
  font-weight: var(--samba-font-weight-bold);
  letter-spacing: 0.05em;
  font-size: 0.875rem;
  line-height: 1.3;
  flex: 1;
  word-wrap: break-word;
}

/* Toggle Button */
.sidebar-toggle-btn[b-04q5uov7ul] {
  position: absolute;
  right: -0.75rem;
  top: 5.5rem;
  width: 1.5rem;
  height: 1.5rem;
  background-color: var(--samba-white);
  border: 1px solid rgba(26, 52, 86, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 101;
  color: var(--samba-primary-blue-navy);
  transition: all 0.2s ease;
  padding: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.sidebar-toggle-btn:hover[b-04q5uov7ul] {
  background-color: var(--samba-gray-light);
}

.sidebar-toggle-btn span[b-04q5uov7ul] {
  font-size: 0.875rem;
}

/* Sidebar Footer */
.sidebar-footer[b-04q5uov7ul] {
  margin-top: auto;
  padding: var(--samba-spacing-md) var(--samba-spacing-lg);
  padding-bottom: var(--samba-spacing-md);
  border-top: 1px solid rgba(26, 52, 86, 0.2);
}

.sidebar-footer-content[b-04q5uov7ul] {
  display: flex;
  flex-direction: column;
  gap: var(--samba-spacing-sm);
}

.sidebar-footer-text[b-04q5uov7ul] {
  font-size: 0.75rem;
  color: var(--samba-primary-blue-navy) !important; /* text-muted-foreground from Samba V1 */
  line-height: 1.4;
}

/* Collapsed state */
.sidebar-collapsed[b-04q5uov7ul] {
  width: var(--samba-sidebar-width-collapsed) !important;
  min-width: var(--samba-sidebar-width-collapsed) !important;
}

/* Keep menu visible when collapsed, but hide text */
.sidebar-collapsed .samba-sidebar-nav[b-04q5uov7ul] {
  opacity: 1;
  pointer-events: auto;
}

/* Adjust NavMenu container padding when collapsed - keep some padding for spacing */
.sidebar-collapsed[b-04q5uov7ul] (div[style*="padding-top: 20px"]) {
  padding-left: var(--samba-spacing-xs) !important;
  padding-right: var(--samba-spacing-xs) !important;
}

@media (min-width: 641px) {
  .sidebar[b-04q5uov7ul] {
    width: var(--samba-sidebar-width);
    min-width: var(--samba-sidebar-width);
    height: 100vh;
    position: sticky;
    top: 0;
    overflow: visible;
    z-index: 1000; /* Very high z-index so sidebar and its children (flyouts) appear above main content */
  }

  /* Collapsed sidebar on desktop */
  .sidebar-collapsed[b-04q5uov7ul] {
    width: var(--samba-sidebar-width-collapsed) !important;
    min-width: var(--samba-sidebar-width-collapsed) !important;
  }
}

/* /Components/Layout/UserProfile.razor.rz.scp.css */
.user-profile-container[b-dee274dgy0] {
  position: relative;
  display: inline-block;
}

.user-profile-trigger[b-dee274dgy0] {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.75rem;
  background-color: transparent;
  border: none;
  border-radius: var(--samba-border-radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--samba-primary-blue-navy);
}

.user-profile-trigger:hover[b-dee274dgy0] {
  background-color: var(--samba-gray-light);
}

.user-profile-avatar[b-dee274dgy0] {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background-color: var(--samba-primary-blue-navy);
  color: var(--samba-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: var(--samba-font-weight-bold);
  flex-shrink: 0;
}

.user-profile-name[b-dee274dgy0] {
  font-size: 0.875rem;
  font-weight: var(--samba-font-weight-medium);
  white-space: nowrap;
}

/* Flyout Content */
.user-profile-flyout .dxbl-flyout-content[b-dee274dgy0] {
  padding: 0 !important;
  border-radius: var(--samba-border-radius-md) !important;
  box-shadow: var(--samba-shadow-md) !important;
  border: 1px solid rgba(26, 52, 86, 0.2) !important;
}

.user-profile-content[b-dee274dgy0] {
  padding: 0;
  min-width: 16rem;
}

.user-profile-header[b-dee274dgy0] {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
}

.user-profile-avatar-large[b-dee274dgy0] {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: var(--samba-primary-blue-navy);
  color: var(--samba-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: var(--samba-font-weight-bold);
  flex-shrink: 0;
}

.user-profile-info[b-dee274dgy0] {
  flex: 1;
  min-width: 0;
}

.user-profile-fullname[b-dee274dgy0] {
  font-size: 0.875rem;
  font-weight: var(--samba-font-weight-bold);
  color: var(--samba-primary-blue-navy);
  margin: 0;
  margin-bottom: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-profile-email[b-dee274dgy0] {
  font-size: 0.75rem;
  color: var(--samba-gray-medium);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-profile-separator[b-dee274dgy0] {
  height: 1px;
  background-color: rgba(26, 52, 86, 0.1);
  margin: 0;
}

.user-profile-actions[b-dee274dgy0] {
  padding: 0.5rem;
}

.user-profile-logout-btn[b-dee274dgy0] {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background-color: transparent;
  border: none;
  border-radius: var(--samba-border-radius-sm);
  color: var(--samba-primary-blue-navy);
  font-size: 0.875rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
  text-align: left;
}

.user-profile-logout-btn:hover[b-dee274dgy0] {
  background-color: var(--samba-gray-light);
}

.user-profile-logout-btn .oi[b-dee274dgy0] {
  font-size: 1rem;
}

/* Login button when not authenticated */
.user-profile-login-btn[b-dee274dgy0] {
  display: flex;
  align-items: center;
  gap: var(--samba-spacing-sm);
  padding: var(--samba-spacing-sm) var(--samba-spacing-md);
  background-color: transparent;
  border: none;
  border-radius: var(--samba-border-radius-sm);
  color: var(--samba-primary-blue-navy);
  font-size: var(--samba-font-size-sm);
  font-weight: var(--samba-font-weight-medium);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.user-profile-login-btn:hover[b-dee274dgy0] {
  background-color: var(--samba-gray-muted);
  color: var(--samba-primary-blue-navy);
  text-decoration: none;
}

.user-profile-login-btn .bi-icon[b-dee274dgy0],
.user-profile-login-btn .bi[b-dee274dgy0] {
  font-size: 1rem;
}

