/* /Components/Layout/AdminLayout.razor.rz.scp.css */
/* All styles moved to unscoped <style> block in AdminLayout.razor
   to avoid Blazor scoped CSS specificity conflicts */
/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* MOL Group Cards Theme */
/* Sidebar gray, content area light gray, MOL red accents */

.page[b-mnbe09xjpb] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #E7E7E7;
}

main[b-mnbe09xjpb] {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.sidebar[b-mnbe09xjpb] {
    background: #676767;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.top-row[b-mnbe09xjpb] {
    background: #E7E7E7;
    border-bottom: 1px solid #C4C4C4;
    justify-content: flex-end;
    height: 3rem;
    display: flex;
    align-items: center;
}

    .top-row[b-mnbe09xjpb]  a, .top-row[b-mnbe09xjpb]  .btn-link {
        white-space: nowrap;
        margin-left: 1rem;
        text-decoration: none;
        color: #6b7280;
        font-weight: 500;
        font-size: 0.9rem;
        transition: all 0.2s ease;
    }

    .top-row[b-mnbe09xjpb]  .nav-item {
        color: #6b7280;
        font-weight: 500;
        font-size: 0.9rem;
    }

    .top-row[b-mnbe09xjpb]  a:hover, .top-row[b-mnbe09xjpb]  .btn-link:hover {
        text-decoration: none;
        color: #1a1a1a;
    }

    .top-row[b-mnbe09xjpb]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

.content[b-mnbe09xjpb] {
    flex: 1;
    padding: 0 !important;
}

@media (max-width: 640.98px) {
    .top-row[b-mnbe09xjpb] {
        justify-content: space-between;
    }

    .top-row[b-mnbe09xjpb]  a, .top-row[b-mnbe09xjpb]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-mnbe09xjpb] {
        flex-direction: row;
    }

    .sidebar[b-mnbe09xjpb] {
        width: 280px;
        height: 100vh;
        position: sticky;
        top: 0;
        flex-shrink: 0;
    }

    .top-row[b-mnbe09xjpb] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-mnbe09xjpb]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-mnbe09xjpb], article[b-mnbe09xjpb] {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

#blazor-error-ui[b-mnbe09xjpb] {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-top: 3px solid #f59e0b;
    bottom: 0;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.15);
    display: none;
    left: 0;
    padding: 1rem 1.5rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    color: #92400e;
}

    #blazor-error-ui .dismiss[b-mnbe09xjpb] {
        cursor: pointer;
        position: absolute;
        right: 1rem;
        top: 0.75rem;
        color: #92400e;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* MOL Group Cards Theme - Navigation Menu */
/* Gray background with red accents */

.navbar-toggler[b-smkw1v2ymf] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    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.9%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, 0.05);
    transition: background-color 0.2s ease;
}

.navbar-toggler:checked[b-smkw1v2ymf] {
    background-color: rgba(255, 255, 255, 0.2);
}

.navbar-toggler:hover[b-smkw1v2ymf] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-smkw1v2ymf] {
    min-height: 3rem;
    background: transparent;
    border-bottom: none;
    display: flex;
    align-items: center;
    padding: 0 1rem;
}

.top-row .container-fluid[b-smkw1v2ymf] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.navbar-brand[b-smkw1v2ymf] {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.02em;
}

.nav-user-section[b-smkw1v2ymf] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8rem;
}

.nav-user-section[b-smkw1v2ymf]  a,
.nav-user-section[b-smkw1v2ymf]  .btn-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-user-section[b-smkw1v2ymf]  a:hover,
.nav-user-section[b-smkw1v2ymf]  .btn-link:hover {
    color: #ffffff;
}

.nav-about-link[b-smkw1v2ymf] {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-about-link:hover[b-smkw1v2ymf] {
    color: #ffffff;
}

.nav-scrollable[b-smkw1v2ymf] {
    display: none;
    padding: 0.5rem 0;
}

.navbar-toggler:checked ~ .nav-scrollable[b-smkw1v2ymf] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-smkw1v2ymf] {
        display: none;
    }

    .nav-scrollable[b-smkw1v2ymf] {
        display: block;
        height: calc(100vh - 4rem);
        overflow-y: auto;
    }
}

/* Training Navigation Link */
.training-nav-link[b-smkw1v2ymf] {
    padding: 0.5rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.training-nav-link a[b-smkw1v2ymf] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0.75rem;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.15s ease;
}

.training-nav-link a:hover[b-smkw1v2ymf] {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.training-nav-link a.active[b-smkw1v2ymf] {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-left: 3px solid #DF091F;
}

/* Conversation Section Styles */
.conversation-section[b-smkw1v2ymf] {
    padding: 0.75rem 0;
}

.conversation-header[b-smkw1v2ymf] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.25rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.btn-new-chat[b-smkw1v2ymf] {
    background: #DF091F;
    border: none;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.25rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
}

.btn-new-chat:hover[b-smkw1v2ymf] {
    background: #c40819;
}

.conversation-list[b-smkw1v2ymf] {
    max-height: calc(100vh - 180px);
    overflow-y: auto;
    padding: 0 0.5rem;
}

.conversation-list[b-smkw1v2ymf]::-webkit-scrollbar {
    width: 4px;
}

.conversation-list[b-smkw1v2ymf]::-webkit-scrollbar-track {
    background: transparent;
}

.conversation-list[b-smkw1v2ymf]::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
}

.conversation-list[b-smkw1v2ymf]::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

.conversation-item[b-smkw1v2ymf] {
    padding: 0.75rem 1rem;
    margin-bottom: 0.25rem;
    cursor: pointer;
    border-radius: 8px;
    position: relative;
    transition: all 0.15s ease;
    background: transparent;
}

.conversation-item:hover[b-smkw1v2ymf] {
    background: rgba(255, 255, 255, 0.08);
}

.conversation-item.active[b-smkw1v2ymf] {
    background: rgba(255, 255, 255, 0.1);
}

.conversation-title[b-smkw1v2ymf] {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 24px;
    line-height: 1.4;
}

.conversation-date[b-smkw1v2ymf] {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.7rem;
    margin-top: 4px;
}

.btn-delete[b-smkw1v2ymf] {
    position: absolute;
    top: 50%;
    right: 0.5rem;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    font-size: 1.1rem;
    line-height: 1;
    opacity: 0;
    transition: all 0.15s ease;
    padding: 4px 8px;
    border-radius: 4px;
}

.conversation-item:hover .btn-delete[b-smkw1v2ymf] {
    opacity: 1;
}

.btn-delete:hover[b-smkw1v2ymf] {
    color: #f87171;
    background: rgba(248, 113, 113, 0.15);
}

/* Delete chat button */
.btn-delete-chat[b-smkw1v2ymf] {
    position: absolute;
    top: 50%;
    right: 0.5rem;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    opacity: 0;
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.conversation-item:hover .btn-delete-chat[b-smkw1v2ymf] {
    opacity: 1;
}

.btn-delete-chat:hover[b-smkw1v2ymf] {
    color: #f87171;
    background: rgba(248, 113, 113, 0.15);
}

/* Context menu */
.context-menu-backdrop[b-smkw1v2ymf] {
    position: fixed;
    inset: 0;
    z-index: 9998;
}

.context-menu[b-smkw1v2ymf] {
    position: fixed;
    z-index: 9999;
    background: #555555;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 4px;
    min-width: 140px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.context-menu-item[b-smkw1v2ymf] {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 8px 12px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.1s ease;
}

.context-menu-item:hover[b-smkw1v2ymf] {
    background: rgba(255, 255, 255, 0.1);
}

.context-menu-item-danger:hover[b-smkw1v2ymf] {
    background: rgba(248, 113, 113, 0.15);
    color: #f87171;
}

/* Gamification nav links */
.nav-bottom-links[b-smkw1v2ymf] {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.75rem 0.75rem;
    margin-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-bottom-link[b-smkw1v2ymf] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    color: #B0B0B0;
    text-decoration: none;
    font-size: 0.85rem;
    border-radius: 6px;
    transition: all 0.15s;
}

.nav-bottom-link:hover[b-smkw1v2ymf] {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.nav-bottom-link svg[b-smkw1v2ymf] {
    flex-shrink: 0;
}

/* Inline rename input */
.rename-input[b-smkw1v2ymf] {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    color: #ffffff;
    font-size: 0.875rem;
    padding: 4px 8px;
    outline: none;
}

.rename-input:focus[b-smkw1v2ymf] {
    border-color: #DF091F;
    box-shadow: 0 0 0 2px rgba(223, 9, 31, 0.3);
}
/* /Components/Layout/TrainingLayout.razor.rz.scp.css */
.training-layout[b-wb6cvhs8g7] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #E7E7E7;
}

.training-top-bar[b-wb6cvhs8g7] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 3rem;
    padding: 0 1.25rem;
    background: #E7E7E7;
    border-bottom: 1px solid #C4C4C4;
    flex-shrink: 0;
}

.back-link[b-wb6cvhs8g7] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #6b7280;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.back-link:hover[b-wb6cvhs8g7] {
    color: #1a1a1a;
}

.top-bar-right[b-wb6cvhs8g7] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.top-bar-right[b-wb6cvhs8g7]  a,
.top-bar-right[b-wb6cvhs8g7]  .btn-link {
    white-space: nowrap;
    text-decoration: none;
    color: #6b7280;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.top-bar-right[b-wb6cvhs8g7]  a:hover,
.top-bar-right[b-wb6cvhs8g7]  .btn-link:hover {
    color: #1a1a1a;
}

.training-content[b-wb6cvhs8g7] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

#blazor-error-ui[b-wb6cvhs8g7] {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-top: 3px solid #f59e0b;
    bottom: 0;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.15);
    display: none;
    left: 0;
    padding: 1rem 1.5rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    color: #92400e;
}

    #blazor-error-ui .dismiss[b-wb6cvhs8g7] {
        cursor: pointer;
        position: absolute;
        right: 1rem;
        top: 0.75rem;
        color: #92400e;
    }
