/* /Components/Layout/LoginLayout.razor.rz.scp.css */
/* ============================================================
   ScriptWise account pages — "Login component modern UI update" handoff.
   Faithful port of the handoff's login.css into the layout's scoped CSS.
   The shell + brand panel are layout markup; page content inside the form
   pane is styled via ::deep — both the handoff's sw-* classes (the ported
   sign-in pages) and the legacy account-page classes (.form-stack, .field,
   .btn-signin …) map onto the same design tokens, so every account screen
   wears the design without markup changes.
   Fonts: Montserrat 400/500/600/700 declared in app.css.
   ============================================================ */

/* ---- Design tokens (handoff) ---- */
.sw-login[b-9df8ycqukc] {
  --sw-ink:      #14161a;  /* near-black: brand panel, primary button, headings */
  --sw-ink-2:    #45494f;  /* field labels */
  --sw-muted:    #6f736f;  /* body / secondary text */
  --sw-muted-2:  #8b8f8b;  /* eyebrows, on-dark secondary */
  --sw-faint:    #9a9e9a;  /* fine print */
  --sw-paper:    #f6f6f4;  /* form-pane background */
  --sw-surface:  #ffffff;  /* inputs, cards */
  --sw-line:     #e4e4df;  /* dividers */
  --sw-line-2:   #e0e0da;  /* input borders */
  --sw-green:    #0f5c4a;  /* accent: focus, links, hover */
  --sw-green-2:  #0c4b3c;  /* accent pressed */
  --sw-mint:     #4ec49f;  /* on-dark accent rule */
  --sw-danger:   #b3261e;
  --sw-radius:   9px;

  display: flex;
  min-height: 100vh;
  width: 100%;
  background: var(--sw-paper);
  font-family: Montserrat, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: var(--sw-ink);
  -webkit-font-smoothing: antialiased;
}

/* ============================================================
   Brand panel (left)
   ============================================================ */
.sw-brand[b-9df8ycqukc] {
  position: relative;
  width: 620px;
  flex-shrink: 0;
  box-sizing: border-box;
  padding: 56px 60px;
  background: var(--sw-ink);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  overflow: hidden;
}
/* soft green glow, bottom-left */
.sw-brand[b-9df8ycqukc]::before {
  content: '';
  position: absolute;
  bottom: -180px; left: -140px;
  width: 620px; height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 92, 74, 0.55) 0%, rgba(15, 92, 74, 0) 68%);
}
.sw-brand > *[b-9df8ycqukc] { position: relative; }

/* ---- Stacked lockup: heavy geometric caps over light wide-tracked caps ---- */
.sw-lockup[b-9df8ycqukc] { display: flex; flex-direction: column; gap: 4px; }
.sw-lockup__name[b-9df8ycqukc] {
  color: #fff; font-size: 25px; font-weight: 700;
  letter-spacing: -0.02em; line-height: 1;
}
.sw-lockup__sub[b-9df8ycqukc] {
  color: var(--sw-muted-2); font-size: 9.5px; font-weight: 400;
  letter-spacing: 0.34em; line-height: 1;
}

.sw-brand__hero[b-9df8ycqukc] { display: flex; flex-direction: column; gap: 26px; }
.sw-rule[b-9df8ycqukc] { width: 56px; height: 4px; border-radius: 2px; background: var(--sw-mint); }
.sw-brand__hero h2[b-9df8ycqukc] {
  margin: 0; max-width: 460px; color: #fff;
  font-size: 43px; font-weight: 700; line-height: 1.12; letter-spacing: -0.03em;
  text-wrap: pretty;
}
.sw-brand__hero p[b-9df8ycqukc] {
  margin: 0; max-width: 420px; color: #a7aba7;
  font-size: 16px; font-weight: 400; line-height: 1.55;
  text-wrap: pretty;
}

.sw-stats[b-9df8ycqukc] { display: flex; gap: 40px; margin: 0; padding-top: 8px; }
.sw-stats div[b-9df8ycqukc] { display: flex; flex-direction: column; gap: 5px; }
.sw-stats dt[b-9df8ycqukc] { color: #fff; font-size: 21px; font-weight: 700; letter-spacing: -0.02em; }
.sw-stats dd[b-9df8ycqukc] { margin: 0; color: #7d817d; font-size: 9px; font-weight: 500; letter-spacing: 0.2em; }

.sw-brand__foot[b-9df8ycqukc] {
  margin: 0; display: flex; align-items: center; gap: 14px;
  color: #6c706c; font-size: 11px; font-weight: 500;
}
.sw-divider[b-9df8ycqukc] { width: 1px; height: 10px; background: #2b2e32; }

/* ============================================================
   Form pane (right)
   ============================================================ */
.sw-pane[b-9df8ycqukc] {
  flex: 1; min-width: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--sw-paper);
  padding: 40px 24px;
  box-sizing: border-box;
}
.sw-pane__inner[b-9df8ycqukc] {
  width: 400px; max-width: 100%;
  display: flex; flex-direction: column; gap: 26px;
}

.sw-lockup--pane[b-9df8ycqukc] { display: none; }          /* desktop: brand panel carries it */
.sw-lockup--pane .sw-lockup__name[b-9df8ycqukc] { color: var(--sw-ink); }
.sw-lockup--pane .sw-lockup__sub[b-9df8ycqukc]  { color: var(--sw-muted-2); }

/* ---- Page content: the handoff form idiom ---- */
.sw-pane[b-9df8ycqukc]  .sw-form,
.sw-pane[b-9df8ycqukc]  .form-stack { display: flex; flex-direction: column; gap: 26px; }

.sw-pane[b-9df8ycqukc]  .sw-head,
.sw-pane[b-9df8ycqukc]  .form-head { display: flex; flex-direction: column; gap: 8px; }

.sw-pane[b-9df8ycqukc]  .sw-eyebrow {
  margin: 0; font-size: 9.5px; font-weight: 600;
  letter-spacing: 0.3em; color: var(--sw-muted-2); text-transform: uppercase;
}
.sw-pane[b-9df8ycqukc]  .sw-head h1,
.sw-pane[b-9df8ycqukc]  .form-head h3 {
  margin: 0; font-size: 30px; font-weight: 700; color: var(--sw-ink);
  letter-spacing: -0.025em; line-height: 1.1;
}
.sw-pane[b-9df8ycqukc]  .sw-sub,
.sw-pane[b-9df8ycqukc]  .form-head p {
  margin: 0; font-size: 13.5px; font-weight: 500; color: var(--sw-muted); line-height: 1.5;
}

/* ---- Failed-authentication alert (StatusMessage renders .alert) ---- */
.sw-pane[b-9df8ycqukc]  .sw-alert,
.sw-pane[b-9df8ycqukc]  .alert {
  margin: 0;
  border: 1px solid #f0c4bf;
  border-left: 4px solid var(--sw-danger);
  border-radius: var(--sw-radius);
  background: #fdf2f0;
  padding: 12px 15px;
  font-size: 12.5px; font-weight: 600; color: #8f1d16;
}
.sw-pane[b-9df8ycqukc]  .alert-success {
  border-color: #bfe0c8;
  border-left-color: var(--sw-green);
  background: #f0f7f1;
  color: var(--sw-green-2);
}

/* ---- Fields ---- */
.sw-pane[b-9df8ycqukc]  form { display: flex; flex-direction: column; gap: 26px; }
.sw-pane[b-9df8ycqukc]  .sw-fields,
.sw-pane[b-9df8ycqukc]  .fields { display: flex; flex-direction: column; gap: 18px; }
.sw-pane[b-9df8ycqukc]  .sw-field,
.sw-pane[b-9df8ycqukc]  .field { display: flex; flex-direction: column; gap: 7px; }
.sw-pane[b-9df8ycqukc]  .sw-field__row { display: flex; align-items: baseline; justify-content: space-between; }
.sw-pane[b-9df8ycqukc]  .sw-field label,
.sw-pane[b-9df8ycqukc]  .field label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.06em; color: var(--sw-ink-2);
  text-transform: uppercase;
}

.sw-pane[b-9df8ycqukc]  .sw-field input,
.sw-pane[b-9df8ycqukc]  .field input:not([type='checkbox']) {
  box-sizing: border-box;
  width: 100%; height: 48px; padding: 0 15px;
  font-family: inherit; font-size: 14px; font-weight: 500; color: var(--sw-ink);
  background: var(--sw-surface);
  border: 1px solid var(--sw-line-2);
  border-radius: var(--sw-radius);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.sw-pane[b-9df8ycqukc]  .sw-field input::placeholder,
.sw-pane[b-9df8ycqukc]  .field input::placeholder { color: #a4a8a4; }
.sw-pane[b-9df8ycqukc]  .sw-field input:focus,
.sw-pane[b-9df8ycqukc]  .field input:not([type='checkbox']):focus {
  border-color: var(--sw-green);
  box-shadow: 0 0 0 3px rgba(15, 92, 74, 0.14);
}
.sw-pane[b-9df8ycqukc]  .sw-field input[aria-invalid="true"],
.sw-pane[b-9df8ycqukc]  .field input[aria-invalid="true"] {
  border-color: #e3b3ad;
  box-shadow: 0 0 0 3px rgba(179, 38, 30, 0.10);
}

/* ---- Checkbox ---- */
.sw-pane[b-9df8ycqukc]  .sw-check,
.sw-pane[b-9df8ycqukc]  .field label:has(input[type='checkbox']) {
  display: flex; align-items: center; gap: 9px;
  font-size: 12.5px; font-weight: 500; color: var(--sw-ink-2); cursor: pointer;
  text-transform: none; letter-spacing: normal;
}
.sw-pane[b-9df8ycqukc]  .sw-check input,
.sw-pane[b-9df8ycqukc]  .field input[type='checkbox'] {
  width: 16px; height: 16px; margin: 0; accent-color: var(--sw-green);
}

/* ---- Buttons ---- */
.sw-pane[b-9df8ycqukc]  .sw-submit,
.sw-pane[b-9df8ycqukc]  .btn-signin {
  height: 50px; font-family: inherit;
  font-size: 14.5px; font-weight: 600; letter-spacing: 0.01em;
  color: #fff; background: var(--sw-ink);
  border: none; border-radius: var(--sw-radius);
  cursor: pointer; transition: background 0.15s;
}
.sw-pane[b-9df8ycqukc]  .sw-submit:hover,
.sw-pane[b-9df8ycqukc]  .btn-signin:hover  { background: var(--sw-green); }
.sw-pane[b-9df8ycqukc]  .sw-submit:active,
.sw-pane[b-9df8ycqukc]  .btn-signin:active { background: var(--sw-green-2); }
.sw-pane[b-9df8ycqukc]  .sw-submit:focus-visible,
.sw-pane[b-9df8ycqukc]  .btn-signin:focus-visible {
  outline: 2px solid var(--sw-green);
  outline-offset: 2px;
}

/* ---- Links ---- */
.sw-pane[b-9df8ycqukc]  .sw-link { font-size: 11.5px; font-weight: 600; color: var(--sw-green); text-decoration: none; }
.sw-pane[b-9df8ycqukc]  .sw-link:hover { color: var(--sw-ink); text-decoration: underline; }

/* ---- Footer / aux links / body copy on confirmation pages ---- */
.sw-pane[b-9df8ycqukc]  .sw-foot {
  border-top: 1px solid var(--sw-line);
  padding-top: 18px;
  display: flex; flex-direction: column; gap: 10px;
}
.sw-pane[b-9df8ycqukc]  .sw-foot p { margin: 0; font-size: 12.5px; font-weight: 500; color: var(--sw-muted); }
.sw-pane[b-9df8ycqukc]  .sw-foot .sw-link { font-size: inherit; }
.sw-pane[b-9df8ycqukc]  .sw-fineprint {
  font-size: 10.5px !important; font-weight: 500 !important;
  color: var(--sw-faint) !important; line-height: 1.5;
}

.sw-pane[b-9df8ycqukc]  .form-text { margin: 0; font-size: 13.5px; font-weight: 500; color: var(--sw-muted); line-height: 1.6; }
.sw-pane[b-9df8ycqukc]  .form-text strong { color: var(--sw-ink); }
.sw-pane[b-9df8ycqukc]  .form-text a,
.sw-pane[b-9df8ycqukc]  .aux-links a { font-weight: 600; color: var(--sw-green); text-decoration: none; }
.sw-pane[b-9df8ycqukc]  .form-text a:hover,
.sw-pane[b-9df8ycqukc]  .aux-links a:hover { color: var(--sw-ink); text-decoration: underline; }
.sw-pane[b-9df8ycqukc]  .aux-links { display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 500; }
.sw-pane[b-9df8ycqukc]  .aux-links a.muted { color: var(--sw-muted); }
.sw-pane[b-9df8ycqukc]  .danger-text { color: var(--sw-danger); }

/* ---- Validation ---- */
.sw-pane[b-9df8ycqukc]  .validation-errors {
  margin: 0; padding-left: 18px;
  color: var(--sw-danger); font-size: 12.5px; font-weight: 500;
}
.sw-pane[b-9df8ycqukc]  .validation-message {
  color: var(--sw-danger); font-size: 12px; font-weight: 500;
}

/* ============================================================
   Responsive — collapse to a single column
   ============================================================ */
@media (max-width: 1180px) {
  .sw-brand[b-9df8ycqukc] { width: 45%; padding: 48px 40px; }
  .sw-brand__hero h2[b-9df8ycqukc] { font-size: 34px; }
  .sw-stats[b-9df8ycqukc] { gap: 28px; }
}

@media (max-width: 900px) {
  .sw-brand[b-9df8ycqukc] { display: none; }
  .sw-lockup--pane[b-9df8ycqukc] { display: flex; }
}

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .sw-login *[b-9df8ycqukc], .sw-pane[b-9df8ycqukc]  * { transition: none !important; }
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-0afyx60w3s] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-0afyx60w3s] {
    flex: 1;
}

.sidebar[b-0afyx60w3s] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-0afyx60w3s] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-0afyx60w3s]  a, .top-row[b-0afyx60w3s]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-0afyx60w3s]  a:hover, .top-row[b-0afyx60w3s]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-0afyx60w3s]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-0afyx60w3s] {
        justify-content: space-between;
    }

    .top-row[b-0afyx60w3s]  a, .top-row[b-0afyx60w3s]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-0afyx60w3s] {
        flex-direction: row;
    }

    .sidebar[b-0afyx60w3s] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-0afyx60w3s] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-0afyx60w3s]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-0afyx60w3s], article[b-0afyx60w3s] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

/* Footer attribution: "Powered by" alongside the DORDLE wordmark.
   Sized off the asset's 4:1 ratio — 18px tall renders about 72px wide. Held slightly
   back from full strength so it reads as a credit rather than competing with the
   ScriptWise name directly above it, and lifting to full opacity on hover. */
.sw-powered-by[b-0afyx60w3s] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 0.35rem;
}

    .sw-powered-by span[b-0afyx60w3s] {
        font-size: 0.6875rem;
        letter-spacing: 0.02em;
        color: var(--rz-text-disabled-color);
    }

    .sw-powered-by img[b-0afyx60w3s] {
        height: 18px;
        width: auto;
        display: block;
        opacity: 0.75;
        transition: opacity 0.15s ease-in-out;
    }

    .sw-powered-by:hover img[b-0afyx60w3s] {
        opacity: 1;
    }

#blazor-error-ui[b-0afyx60w3s] {
    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-0afyx60w3s] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-g41jkwrzyk],
.components-reconnect-repeated-attempt-visible[b-g41jkwrzyk],
.components-reconnect-failed-visible[b-g41jkwrzyk],
.components-pause-visible[b-g41jkwrzyk],
.components-resume-failed-visible[b-g41jkwrzyk],
.components-rejoining-animation[b-g41jkwrzyk] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-g41jkwrzyk],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-g41jkwrzyk],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-g41jkwrzyk],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-g41jkwrzyk],
#components-reconnect-modal.components-reconnect-retrying[b-g41jkwrzyk],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-g41jkwrzyk],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-g41jkwrzyk],
#components-reconnect-modal.components-reconnect-failed[b-g41jkwrzyk],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-g41jkwrzyk] {
    display: block;
}


#components-reconnect-modal[b-g41jkwrzyk] {
    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-g41jkwrzyk 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-g41jkwrzyk 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-g41jkwrzyk 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-g41jkwrzyk]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-g41jkwrzyk 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-g41jkwrzyk {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-g41jkwrzyk {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-g41jkwrzyk {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-g41jkwrzyk] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-g41jkwrzyk] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-g41jkwrzyk] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-g41jkwrzyk] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-g41jkwrzyk] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-g41jkwrzyk] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-g41jkwrzyk] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-g41jkwrzyk 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-g41jkwrzyk] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-g41jkwrzyk {
    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;
    }
}
