@import '_content/BlogRazor/BlogRazor.r5xm349as2.bundle.scp.css';
@import '_content/CoursesRazor/CoursesRazor.5fo84vr7ju.bundle.scp.css';
@import '_content/GamesRazor/GamesRazor.56ur3omzu4.bundle.scp.css';
@import '_content/Microsoft.AspNetCore.Components.QuickGrid/Microsoft.AspNetCore.Components.QuickGrid.boiwgh0w5b.bundle.scp.css';

/* /Components/Layout/CourseTutor.razor.rz.scp.css */
/* Floating course tutor - same dark glass + gold accent as the rest of the site. */

.tutor-launcher[b-p6xm12n453] {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 1040;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.1rem;
    border: none;
    border-radius: 999px;
    background: #ffeb8a;
    color: #1b1b2f;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
    cursor: pointer;
}

.tutor-launcher:has(.tutor-launcher-avatar)[b-p6xm12n453] {
    padding-left: 0.35rem;
}

.tutor-launcher:hover[b-p6xm12n453],
.tutor-launcher:focus-visible[b-p6xm12n453] {
    background: #fff3b8;
}

.tutor-launcher-avatar[b-p6xm12n453] {
    width: 34px;
    height: 34px;
    border-radius: 50%;
}

.tutor-launcher-badge[b-p6xm12n453] {
    min-width: 1.3rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    background: #1b1b2f;
    color: #ffeb8a;
    font-size: 0.75rem;
    line-height: 1.3rem;
    text-align: center;
}

.tutor-panel[b-p6xm12n453] {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 1040;
    display: flex;
    flex-direction: column;
    width: min(380px, calc(100vw - 32px));
    height: min(560px, calc(100vh - 32px));
    border: 1px solid rgba(255, 235, 138, 0.35);
    border-radius: 14px;
    background: rgba(14, 16, 34, 0.97);
    color: #f1f1f4;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
    overflow: hidden;
}

.tutor-header[b-p6xm12n453] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.65rem 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tutor-identity[b-p6xm12n453] {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
}

.tutor-title[b-p6xm12n453] {
    color: #ffeb8a;
    font-weight: 700;
}

.tutor-subtitle[b-p6xm12n453] {
    font-size: 0.72rem;
    color: rgba(241, 241, 244, 0.65);
}

.tutor-header-actions[b-p6xm12n453] {
    display: flex;
    flex-shrink: 0;
    gap: 0.3rem;
}

.tutor-toolbar[b-p6xm12n453] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    padding: 0.4rem 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tutor-icon-button[b-p6xm12n453] {
    padding: 0.15rem 0.45rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    background: transparent;
    color: inherit;
    font-size: 0.78rem;
    line-height: 1.4;
}

.tutor-icon-button:disabled[b-p6xm12n453] {
    opacity: 0.4;
}

.tutor-avatar-lg[b-p6xm12n453] {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(255, 235, 138, 0.5);
}

.tutor-avatar-sm[b-p6xm12n453] {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    margin-top: 0.1rem;
}

/* column-reverse keeps the view pinned to the newest message as replies stream in, with no JS. */
.tutor-scroll[b-p6xm12n453] {
    flex: 1;
    display: flex;
    flex-direction: column-reverse;
    overflow-y: auto;
    padding: 0.75rem;
}

/* The persona picker reads top-down, unlike the chat. */
.tutor-scroll-top[b-p6xm12n453] {
    flex-direction: column;
}

/* The persona picker. */
.tutor-picker[b-p6xm12n453] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tutor-picker-intro[b-p6xm12n453] {
    margin: 0 0 0.25rem;
    font-size: 0.85rem;
    color: rgba(241, 241, 244, 0.8);
}

.tutor-persona[b-p6xm12n453] {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.55rem 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    color: inherit;
    text-align: left;
}

.tutor-persona:hover[b-p6xm12n453],
.tutor-persona:focus-visible[b-p6xm12n453] {
    border-color: rgba(255, 235, 138, 0.6);
    background: rgba(255, 235, 138, 0.08);
}

.tutor-persona-current[b-p6xm12n453] {
    border-color: rgba(255, 235, 138, 0.6);
}

.tutor-persona-text[b-p6xm12n453] {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.tutor-persona-name[b-p6xm12n453] {
    color: #ffeb8a;
    font-weight: 700;
}

.tutor-persona-role[b-p6xm12n453] {
    margin-left: 0.3rem;
    color: rgba(241, 241, 244, 0.6);
    font-size: 0.75rem;
    font-weight: 400;
}

.tutor-persona-blurb[b-p6xm12n453] {
    font-size: 0.82rem;
    line-height: 1.35;
}

/* The chat. */
.tutor-log[b-p6xm12n453] {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.tutor-row[b-p6xm12n453] {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    max-width: 94%;
}

.tutor-msg[b-p6xm12n453] {
    padding: 0.5rem 0.7rem;
    border-radius: 10px;
    font-size: 0.9rem;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.tutor-text[b-p6xm12n453],
.tutor-msg-learner[b-p6xm12n453] {
    white-space: pre-wrap;
}

.tutor-msg-tutor[b-p6xm12n453] {
    min-width: 0;
    border-top-left-radius: 3px;
    background: rgba(255, 255, 255, 0.07);
}

.tutor-msg-learner[b-p6xm12n453] {
    align-self: flex-end;
    max-width: 85%;
    border-top-right-radius: 3px;
    background: rgba(255, 235, 138, 0.16);
}

.tutor-msg[b-p6xm12n453]  a,
.tutor-msg a[b-p6xm12n453],
.tutor-notice a[b-p6xm12n453],
.tutor-upsell-link[b-p6xm12n453] {
    color: #ffeb8a;
    text-decoration: underline;
}

.tutor-recorded[b-p6xm12n453] {
    margin-top: 0.45rem;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    background: rgba(255, 235, 138, 0.1);
    color: #ffeb8a;
    font-size: 0.78rem;
}

.tutor-status[b-p6xm12n453] {
    margin-top: 0.2rem;
    font-size: 0.82rem;
    font-style: italic;
    color: rgba(241, 241, 244, 0.75);
}

/* Typing indicator: three dots that bounce in turn. */
.tutor-dots[b-p6xm12n453] {
    display: inline-flex;
    gap: 3px;
    margin-left: 0.2rem;
    vertical-align: middle;
}

.tutor-dots span[b-p6xm12n453] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(241, 241, 244, 0.7);
    animation: tutor-dot-b-p6xm12n453 1.2s infinite ease-in-out;
}

.tutor-dots span:nth-child(2)[b-p6xm12n453] {
    animation-delay: 0.15s;
}

.tutor-dots span:nth-child(3)[b-p6xm12n453] {
    animation-delay: 0.3s;
}

@keyframes tutor-dot-b-p6xm12n453 {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.4;
    }

    30% {
        transform: translateY(-4px);
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tutor-dots span[b-p6xm12n453] {
        animation: none;
    }
}

/* "Good news, I found resources" for earlier requests. */
.tutor-ready[b-p6xm12n453] {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin-top: 0.5rem;
    padding-top: 0.4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.tutor-ready-topic[b-p6xm12n453] {
    font-weight: 700;
}

.tutor-ready-later[b-p6xm12n453] {
    margin-top: 0.5rem;
    font-size: 0.78rem;
    color: rgba(241, 241, 244, 0.65);
}

/* "My research": the learner's requests and their packages. */
.tutor-research[b-p6xm12n453] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tutor-research-head[b-p6xm12n453] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.25rem;
}

.tutor-research-item[b-p6xm12n453] {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.5rem 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    font-size: 0.88rem;
}

.tutor-research-item a[b-p6xm12n453] {
    color: #ffeb8a;
    text-decoration: underline;
}

/* "Request research" form at the top of My research. */
.tutor-request[b-p6xm12n453] {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 0.6rem 0.65rem;
    border: 1px solid rgba(255, 235, 138, 0.35);
    border-radius: 10px;
    margin-bottom: 0.25rem;
}

.tutor-request-label[b-p6xm12n453] {
    color: #ffeb8a;
    font-size: 0.85rem;
    font-weight: 700;
}

.tutor-request .tutor-send[b-p6xm12n453] {
    align-self: flex-start;
}

.tutor-research-status[b-p6xm12n453] {
    font-size: 0.8rem;
    color: rgba(241, 241, 244, 0.65);
}

.tutor-suggestions[b-p6xm12n453] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-top: 0.6rem;
}

.tutor-suggestion[b-p6xm12n453] {
    padding: 0.35rem 0.6rem;
    border: 1px solid rgba(255, 235, 138, 0.35);
    border-radius: 8px;
    background: transparent;
    color: inherit;
    font-size: 0.82rem;
    text-align: left;
}

.tutor-suggestion:hover[b-p6xm12n453] {
    background: rgba(255, 235, 138, 0.1);
}

.tutor-notice[b-p6xm12n453] {
    align-self: stretch;
    padding: 0.45rem 0.6rem;
    border-left: 3px solid #ffeb8a;
    background: rgba(255, 235, 138, 0.08);
    font-size: 0.85rem;
}

.tutor-upsell[b-p6xm12n453] {
    padding: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.88rem;
}

.tutor-upsell-link[b-p6xm12n453] {
    display: inline-block;
    margin-top: 0.35rem;
    font-weight: 600;
}

/* Guests: "Sign in" button plus "See plans" link. */
.tutor-upsell-actions[b-p6xm12n453] {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-top: 0.5rem;
}

.tutor-upsell-actions .tutor-send[b-p6xm12n453] {
    text-decoration: none;
}

.tutor-upsell-actions .tutor-upsell-link[b-p6xm12n453] {
    margin-top: 0;
}

/* Marks guest replies as written ahead of time, not live. */
.tutor-sample-label[b-p6xm12n453] {
    margin-top: 0.45rem;
    font-size: 0.72rem;
    color: rgba(241, 241, 244, 0.55);
}

.tutor-form[b-p6xm12n453] {
    display: flex;
    gap: 0.4rem;
    padding: 0.6rem 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.tutor-input[b-p6xm12n453] {
    flex: 1;
    min-width: 0;
    padding: 0.45rem 0.6rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    color: inherit;
    font-size: 0.9rem;
}

.tutor-input[b-p6xm12n453]::placeholder {
    color: rgba(241, 241, 244, 0.5);
}

.tutor-send[b-p6xm12n453] {
    padding: 0.45rem 0.85rem;
    border: none;
    border-radius: 8px;
    background: #ffeb8a;
    color: #1b1b2f;
    font-weight: 700;
}

.tutor-send:disabled[b-p6xm12n453] {
    opacity: 0.45;
}

.tutor-footer[b-p6xm12n453] {
    padding: 0 0.75rem 0.55rem;
    font-size: 0.72rem;
    color: rgba(241, 241, 244, 0.6);
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-xjs2y397vo] {
    position: relative;
    display: flex;
    flex-direction: column;
}

.main[b-xjs2y397vo] {
    flex: 1;
}

.sidebar[b-xjs2y397vo] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-xjs2y397vo] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-xjs2y397vo]  a, .top-row .btn-link[b-xjs2y397vo] {
        white-space: nowrap;
        margin-left: 1.5rem;
    }

    .top-row a:first-child[b-xjs2y397vo] {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row:not(.auth)[b-xjs2y397vo] {
        display: none;
    }

    .top-row.auth[b-xjs2y397vo] {
        justify-content: space-between;
    }

    .top-row a[b-xjs2y397vo], .top-row .btn-link[b-xjs2y397vo] {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-xjs2y397vo] {
        flex-direction: row;
    }

    .sidebar[b-xjs2y397vo] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-xjs2y397vo] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .main > div[b-xjs2y397vo] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
