/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* ── Layout shell ─────────────────────────────────────────── */
.page[b-d6xy3tsq7x] {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main[b-d6xy3tsq7x] {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--body-bg, #f0f4f8);
}

/* ── Sidebar ──────────────────────────────────────────────── */
.sidebar[b-d6xy3tsq7x] {
  background: #0a2240;
  box-shadow: 2px 0 8px rgba(0,0,0,.18);
}

/* ── Top bar ──────────────────────────────────────────────── */
.top-row[b-d6xy3tsq7x] {
  background: #ffffff;
  border-bottom: 1px solid #dce3ed;
  justify-content: flex-end;
  height: 3.25rem;
  display: flex;
  align-items: center;
  box-shadow: 0 1px 3px rgba(0,0,0,.05);
}

.top-row[b-d6xy3tsq7x]  a,
.top-row[b-d6xy3tsq7x]  .btn-link {
  white-space: nowrap;
  margin-left: 1.5rem;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  color: #4a5568;
  transition: color .15s;
}
.top-row[b-d6xy3tsq7x]  a:hover,
.top-row[b-d6xy3tsq7x]  .btn-link:hover {
  color: #0057a8;
  text-decoration: none;
}
.top-row[b-d6xy3tsq7x]  a:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 640.98px) {
  .top-row[b-d6xy3tsq7x] {
    justify-content: space-between;
    padding: 0 1rem;
  }
  .top-row[b-d6xy3tsq7x]  a,
  .top-row[b-d6xy3tsq7x]  .btn-link {
    margin-left: 0;
  }
}

@media (min-width: 641px) {
  .page[b-d6xy3tsq7x] {
    flex-direction: row;
  }
  .sidebar[b-d6xy3tsq7x] {
    width: 240px;
    height: 100vh;
    position: sticky;
    top: 0;
  }
  .top-row[b-d6xy3tsq7x] {
    position: sticky;
    top: 0;
    z-index: 1;
  }
  .top-row.auth[b-d6xy3tsq7x]  a:first-child {
    flex: 1;
    text-align: right;
    width: 0;
  }
  .top-row[b-d6xy3tsq7x],
  article[b-d6xy3tsq7x] {
    padding-left: 2rem !important;
    padding-right: 1.5rem !important;
  }
}

/* ── Blazor error UI ──────────────────────────────────────── */
#blazor-error-ui[b-d6xy3tsq7x] {
  color-scheme: light only;
  background: #fff8e1;
  border-top: 2px solid #f0b429;
  bottom: 0;
  box-shadow: 0 -2px 8px rgba(0,0,0,.12);
  box-sizing: border-box;
  display: none;
  left: 0;
  padding: .6rem 1.25rem .7rem 1.25rem;
  position: fixed;
  width: 100%;
  z-index: 1000;
  font-size: 13px;
  color: #7a4f00;
}
#blazor-error-ui .dismiss[b-d6xy3tsq7x] {
  cursor: pointer;
  position: absolute;
  right: .75rem;
  top: .5rem;
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* ── Mobile toggle ────────────────────────────────────────── */
.navbar-toggler[b-6o4d29q2zp] {
  appearance: none;
  cursor: pointer;
  width: 3.5rem;
  height: 2.5rem;
  color: white;
  position: absolute;
  top: .5rem;
  right: 1rem;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 4px;
  background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255,255,255,.06);
  transition: background-color .15s;
}
.navbar-toggler:checked[b-6o4d29q2zp] {
  background-color: rgba(255,255,255,.15);
}

/* ── Brand header strip ───────────────────────────────────── */
.top-row[b-6o4d29q2zp] {
  min-height: 3.25rem;
  background: #061829;
  border-bottom: 1px solid rgba(255,255,255,.07);
  display: flex;
  align-items: center;
  padding: 0 1rem;
}

.navbar-brand[b-6o4d29q2zp] {
  font-size: .9rem;
  font-weight: 700;
  color: #ffffff !important;
  letter-spacing: .03em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.navbar-brand[b-6o4d29q2zp]::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 20px;
  background: #0693e3;
  border-radius: 2px;
  flex-shrink: 0;
}

/* ── Nav icons ────────────────────────────────────────────── */
.bi[b-6o4d29q2zp] {
  display: inline-block;
  position: relative;
  width: 1.05rem;
  height: 1.05rem;
  margin-right: .6rem;
  top: -1px;
  opacity: .6;
  background-size: cover;
  flex-shrink: 0;
  transition: opacity .15s;
}

.bi-house-door-fill-nav-menu[b-6o4d29q2zp] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23a8c4e0' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}
.bi-plus-square-fill-nav-menu[b-6o4d29q2zp] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23a8c4e0' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}
.bi-list-nested-nav-menu[b-6o4d29q2zp] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23a8c4e0' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}
.bi-gear-nav-menu[b-6o4d29q2zp] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23a8c4e0' viewBox='0 0 16 16'%3E%3Cpath d='M8 4.754a3.246 3.246 0 1 0 0 6.492 3.246 3.246 0 0 0 0-6.492zM5.754 8a2.246 2.246 0 1 1 4.492 0 2.246 2.246 0 0 1-4.492 0z'/%3E%3Cpath d='M9.796 1.343c-.527-1.79-3.065-1.79-3.592 0l-.094.319a.873.873 0 0 1-1.255.52l-.292-.16c-1.64-.892-3.433.902-2.54 2.541l.159.292a.873.873 0 0 1-.52 1.255l-.319.094c-1.79.527-1.79 3.065 0 3.592l.319.094a.873.873 0 0 1 .52 1.255l-.16.292c-.892 1.64.901 3.434 2.541 2.54l.292-.159a.873.873 0 0 1 1.255.52l.094.319c.527 1.79 3.065 1.79 3.592 0l.094-.319a.873.873 0 0 1 1.255-.52l.292.16c1.64.892 3.433-.902 2.54-2.541l-.159-.292a.873.873 0 0 1 .52-1.255l.319-.094c1.79-.527 1.79-3.065 0-3.592l-.319-.094a.873.873 0 0 1-.52-1.255l.16-.292c.892-1.64-.901-3.433-2.541-2.54l-.292.159a.873.873 0 0 1-1.255-.52l-.094-.319zm-2.633.283c.246-.835 1.428-.835 1.674 0l.094.319a1.873 1.873 0 0 0 2.693 1.115l.291-.16c.764-.415 1.6.42 1.184 1.185l-.159.292a1.873 1.873 0 0 0 1.116 2.692l.318.094c.835.246.835 1.428 0 1.674l-.319.094a1.873 1.873 0 0 0-1.115 2.693l.16.291c.415.764-.42 1.6-1.185 1.184l-.291-.159a1.873 1.873 0 0 0-2.693 1.116l-.094.318c-.246.835-1.428.835-1.674 0l-.094-.319a1.873 1.873 0 0 0-2.692-1.115l-.292.16c-.764.415-1.6-.42-1.184-1.185l.159-.291A1.873 1.873 0 0 0 1.945 8.93l-.319-.094c-.835-.246-.835-1.428 0-1.674l.319-.094A1.873 1.873 0 0 0 3.06 4.377l-.16-.292c-.415-.764.42-1.6 1.185-1.184l.292.159a1.873 1.873 0 0 0 2.692-1.115l.094-.319z'/%3E%3C/svg%3E");
}

/* Settings item pushed to bottom with a top separator */
.nav-item-settings[b-6o4d29q2zp] {
  margin-top: auto;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: .6rem !important;
}

/* ── Nav items ────────────────────────────────────────────── */
.nav-item[b-6o4d29q2zp] {
  font-size: .875rem;
  padding: .1rem .75rem;
}
.nav-item:first-of-type[b-6o4d29q2zp] { padding-top: .75rem; }
.nav-item:last-of-type[b-6o4d29q2zp]  { padding-bottom: 1rem; }

.nav-item[b-6o4d29q2zp]  .nav-link {
  color: #b0c4da;
  background: transparent;
  border: none;
  border-radius: 5px;
  height: 2.6rem;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0 .85rem;
  font-weight: 500;
  transition: background .15s, color .15s;
  position: relative;
}
.nav-item[b-6o4d29q2zp]  .nav-link:hover {
  background: rgba(255,255,255,.07);
  color: #ffffff;
}
.nav-item[b-6o4d29q2zp]  .nav-link:hover .bi {
  opacity: .9;
}

/* Active state — accent left-border pill */
.nav-item[b-6o4d29q2zp]  a.active {
  background: rgba(6,147,227,.16);
  color: #ffffff;
}
.nav-item[b-6o4d29q2zp]  a.active .bi {
  opacity: 1;
}
.nav-item[b-6o4d29q2zp]  a.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 1.3rem;
  background: #0693e3;
  border-radius: 0 2px 2px 0;
}

/* ── Scrollable area ──────────────────────────────────────── */
.nav-scrollable[b-6o4d29q2zp] {
  display: none;
}
.navbar-toggler:checked ~ .nav-scrollable[b-6o4d29q2zp] {
  display: block;
}

@media (min-width: 641px) {
  .navbar-toggler[b-6o4d29q2zp] {
    display: none;
  }
  .nav-scrollable[b-6o4d29q2zp] {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 3.25rem);
    overflow-y: auto;
    padding-top: .5rem;
  }
  .nav-scrollable nav[b-6o4d29q2zp] {
    flex: 1;
    display: flex;
    flex-direction: column;
  }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-9lig02vrzq],
.components-reconnect-repeated-attempt-visible[b-9lig02vrzq],
.components-reconnect-failed-visible[b-9lig02vrzq],
.components-pause-visible[b-9lig02vrzq],
.components-resume-failed-visible[b-9lig02vrzq],
.components-rejoining-animation[b-9lig02vrzq] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-9lig02vrzq],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-9lig02vrzq],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-9lig02vrzq],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-9lig02vrzq],
#components-reconnect-modal.components-reconnect-retrying[b-9lig02vrzq],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-9lig02vrzq],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-9lig02vrzq],
#components-reconnect-modal.components-reconnect-failed[b-9lig02vrzq],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-9lig02vrzq] {
    display: block;
}


#components-reconnect-modal[b-9lig02vrzq] {
    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-9lig02vrzq 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-9lig02vrzq 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-9lig02vrzq 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-9lig02vrzq]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-9lig02vrzq 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-9lig02vrzq {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-9lig02vrzq {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-9lig02vrzq {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-9lig02vrzq] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-9lig02vrzq] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-9lig02vrzq] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-9lig02vrzq] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-9lig02vrzq] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-9lig02vrzq] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-9lig02vrzq] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-9lig02vrzq 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-9lig02vrzq] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-9lig02vrzq {
    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;
    }
}
