/* _content/Xeekers.Web/Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-ol509htlf0] {
    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-ol509htlf0] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* _content/Xeekers.Web/Pages/Creator/CourseEditor.razor.rz.scp.css */

/* ── Animations ── */
@keyframes xk-slideUp-b-6mclq931yc {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes xk-fadeIn-b-6mclq931yc {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ── Root wrapper ── */
.xk-course-editor[b-6mclq931yc] {
    animation: xk-fadeIn-b-6mclq931yc 0.3s ease;
}

/* ── Loading ── */
.xk-loading-wrapper[b-6mclq931yc] {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

/* ── Header ── */
.xk-ce-header[b-6mclq931yc] {
    margin-bottom: 28px;
    animation: xk-slideUp-b-6mclq931yc 0.45s ease;
}
.xk-ce-header-top[b-6mclq931yc] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 4px;
}
.xk-ce-title[b-6mclq931yc] {
    font-family: 'Outfit', 'DM Sans', sans-serif;
    font-size: 26px;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--xk-text, #efefef) 40%, var(--xk-primary, #a1c8ff));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.xk-ce-subtitle[b-6mclq931yc] {
    font-size: 13px;
    color: var(--xk-text-muted, #666);
    margin: 0;
    padding-left: 48px;
}

/* ── Back button ── */
[b-6mclq931yc] .xk-back-btn {
    color: var(--xk-text-muted, #666) !important;
    border-radius: 10px !important;
    width: 36px;
    height: 36px;
    transition: all 0.2s !important;
}
[b-6mclq931yc] .xk-back-btn:hover {
    background: rgba(161, 200, 255, 0.08) !important;
    color: var(--xk-primary, #a1c8ff) !important;
}

/* ── Status tags ── */
[b-6mclq931yc] .xk-status-tag {
    border: none !important;
    border-radius: 50px !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    padding: 2px 12px !important;
}

/* ── Tabs ── */
[b-6mclq931yc] .xk-tabs .ant-tabs-nav {
    margin-bottom: 24px !important;
}
[b-6mclq931yc] .xk-tabs .ant-tabs-nav::before {
    border-bottom-color: rgba(255, 255, 255, 0.04) !important;
}
[b-6mclq931yc] .xk-tabs .ant-tabs-tab {
    padding: 10px 20px !important;
    border-radius: 12px !important;
    margin: 0 2px !important;
    transition: all 0.25s !important;
    font-size: 13px !important;
    font-weight: 500 !important;
}
[b-6mclq931yc] .xk-tabs .ant-tabs-tab:hover {
    color: var(--xk-primary, #a1c8ff) !important;
}
[b-6mclq931yc] .xk-tabs .ant-tabs-tab-active .ant-tabs-tab-btn {
    color: var(--xk-text, #efefef) !important;
    font-weight: 600 !important;
}
[b-6mclq931yc] .xk-tabs .ant-tabs-ink-bar {
    background: linear-gradient(90deg, var(--xk-primary, #a1c8ff), var(--xk-accent, #bd50c3)) !important;
    height: 3px !important;
    border-radius: 3px !important;
}

/* ── Content Layout (split pane) ── */
.xk-content-layout[b-6mclq931yc] {
    display: flex;
    gap: 22px;
    animation: xk-slideUp-b-6mclq931yc 0.45s ease 0.1s both;
}

/* ── Chapter Sidebar ── */
.xk-chapter-sidebar[b-6mclq931yc] {
    width: 270px;
    flex-shrink: 0;
}
[b-6mclq931yc] .xk-chapter-card {
    background: rgba(255, 255, 255, 0.025) !important;
    border: none !important;
    border-radius: 20px !important;
    position: sticky;
    top: 24px;
}
[b-6mclq931yc] .xk-chapter-card .ant-card-head {
    border-bottom-color: rgba(255, 255, 255, 0.04) !important;
    padding: 12px 18px !important;
    min-height: auto !important;
}
[b-6mclq931yc] .xk-chapter-card .ant-card-head-title {
    font-family: 'Outfit', sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    color: var(--xk-text-muted, #666) !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
}
[b-6mclq931yc] .xk-chapter-card .ant-card-body {
    padding: 8px !important;
}

/* ── Add chapter button ── */
[b-6mclq931yc] .xk-add-chapter-btn {
    border-radius: 9px !important;
    font-size: 11px !important;
    height: 28px !important;
    padding: 0 12px !important;
    background: linear-gradient(135deg, var(--xk-primary, #a1c8ff), var(--xk-accent, #bd50c3)) !important;
    border: none !important;
}
[b-6mclq931yc] .xk-add-chapter-btn:hover {
    box-shadow: 0 4px 14px rgba(161, 200, 255, 0.25) !important;
    transform: translateY(-1px);
}

/* ── Chapter menu ── */
[b-6mclq931yc] .xk-chapter-menu {
    background: transparent !important;
    border: none !important;
}
[b-6mclq931yc] .xk-chapter-menu .ant-menu-item {
    border-radius: 14px !important;
    margin-bottom: 2px !important;
    padding-left: 14px !important;
    height: auto !important;
    line-height: 1.4 !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    transition: all 0.2s !important;
}
[b-6mclq931yc] .xk-chapter-menu .ant-menu-item:hover {
    background: rgba(255, 255, 255, 0.03) !important;
}
[b-6mclq931yc] .xk-chapter-menu .ant-menu-item-selected {
    background: linear-gradient(135deg, rgba(161, 200, 255, 0.1), rgba(189, 80, 195, 0.06)) !important;
    border-left: 3px solid !important;
    border-image: linear-gradient(180deg, var(--xk-primary, #a1c8ff), var(--xk-accent, #bd50c3)) 1 !important;
}
.xk-chapter-item-inner[b-6mclq931yc] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 8px;
}
.xk-chapter-title[b-6mclq931yc] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    font-size: 13px;
}

/* ── Content Area ── */
.xk-content-area[b-6mclq931yc] {
    flex: 1;
    min-width: 0;
}

/* ── Empty state ── */
.xk-empty-chapter[b-6mclq931yc] {
    text-align: center;
    padding: 60px 0;
}
.xk-empty-icon[b-6mclq931yc] {
    font-size: 36px;
    opacity: 0.25;
    margin-bottom: 12px;
    color: var(--xk-text-muted, #666);
}
.xk-empty-text[b-6mclq931yc] {
    font-size: 14px;
    color: var(--xk-text-muted, #555);
}
.xk-empty-hint[b-6mclq931yc] {
    font-size: 12px;
    color: var(--xk-text-muted, #444);
    margin-top: 4px;
}

/* ── Chapter header ── */
.xk-chapter-header[b-6mclq931yc] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}
.xk-chapter-heading[b-6mclq931yc] {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    color: var(--xk-text, #efefef);
}
.xk-chapter-desc[b-6mclq931yc] {
    font-size: 13px;
    color: var(--xk-text-secondary, #999);
    margin: 4px 0 0;
}

/* ── Ghost buttons ── */
[b-6mclq931yc] .xk-ghost-btn {
    background: rgba(255, 255, 255, 0.04) !important;
    border: none !important;
    border-radius: 10px !important;
    color: var(--xk-text-secondary, #888) !important;
    transition: all 0.2s !important;
    font-size: 12px !important;
}
[b-6mclq931yc] .xk-ghost-btn:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    color: var(--xk-primary, #a1c8ff) !important;
}
[b-6mclq931yc] .xk-danger-ghost-btn {
    background: rgba(255, 70, 70, 0.06) !important;
    border: none !important;
    border-radius: 10px !important;
    color: #ff6666 !important;
    transition: all 0.2s !important;
    font-size: 12px !important;
}
[b-6mclq931yc] .xk-danger-ghost-btn:hover {
    background: rgba(255, 70, 70, 0.14) !important;
}

/* ── Subtle divider ── */
[b-6mclq931yc] .xk-subtle-divider {
    border-color: rgba(255, 255, 255, 0.04) !important;
    margin: 14px 0 !important;
}

/* ── Content toolbar ── */
.xk-content-toolbar[b-6mclq931yc] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}
.xk-content-count[b-6mclq931yc] {
    font-size: 13px;
    font-weight: 600;
    color: var(--xk-text-secondary, #999);
}
[b-6mclq931yc] .xk-add-content-btn {
    border-radius: 10px !important;
    font-size: 12px !important;
    height: 30px !important;
}

/* ── Content list ── */
.xk-content-list[b-6mclq931yc] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* ── Content card ── */
.xk-content-card[b-6mclq931yc] {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.018);
    transition: all 0.25s ease;
    cursor: pointer;
}
.xk-content-card:hover[b-6mclq931yc] {
    background: rgba(255, 255, 255, 0.04);
}
.xk-content-card:hover .xk-content-actions[b-6mclq931yc] {
    opacity: 1;
}

/* ── Type icons ── */
.xk-type-icon[b-6mclq931yc] {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
    transition: transform 0.2s;
}
.xk-content-card:hover .xk-type-icon[b-6mclq931yc] {
    transform: scale(1.08);
}
.xk-type-video[b-6mclq931yc] {
    background: rgba(189, 80, 195, 0.12);
    color: #bd50c3;
}
.xk-type-text[b-6mclq931yc] {
    background: rgba(161, 200, 255, 0.12);
    color: #a1c8ff;
}
.xk-type-file[b-6mclq931yc] {
    background: rgba(237, 245, 124, 0.12);
    color: #edf57c;
}

/* ── Content info ── */
.xk-content-info[b-6mclq931yc] {
    flex: 1;
    min-width: 0;
}
.xk-content-title[b-6mclq931yc] {
    font-size: 14px;
    font-weight: 500;
    color: var(--xk-text, #efefef);
    margin-bottom: 3px;
}
.xk-content-desc[b-6mclq931yc] {
    font-size: 12px;
    color: var(--xk-text-muted, #555);
    line-height: 1.4;
    margin-bottom: 6px;
}
.xk-content-tags[b-6mclq931yc] {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
[b-6mclq931yc] .xk-tiny-tag {
    border: none !important;
    border-radius: 50px !important;
    font-size: 10px !important;
    padding: 0 10px !important;
    height: 20px !important;
    line-height: 20px !important;
    font-weight: 600 !important;
}

/* ── Content actions (hover reveal) ── */
.xk-content-actions[b-6mclq931yc] {
    display: flex;
    gap: 4px;
    opacity: 0;
    transition: opacity 0.2s;
    flex-shrink: 0;
}

/* ── Settings panel ── */
.xk-settings-panel[b-6mclq931yc] {
    max-width: 580px;
    animation: xk-slideUp-b-6mclq931yc 0.4s ease;
}
[b-6mclq931yc] .xk-settings-card {
    background: rgba(255, 255, 255, 0.025) !important;
    border: none !important;
    border-radius: 22px !important;
    padding: 8px !important;
}

/* ── Pricing panel ── */
.xk-pricing-panel[b-6mclq931yc] {
    max-width: 650px;
    animation: xk-slideUp-b-6mclq931yc 0.4s ease;
}
[b-6mclq931yc] .xk-pricing-card {
    background: rgba(255, 255, 255, 0.025) !important;
    border: none !important;
    border-radius: 22px !important;
}
[b-6mclq931yc] .xk-pricing-card .ant-card-head {
    border-bottom-color: rgba(255, 255, 255, 0.04) !important;
}
.xk-pricing-hint[b-6mclq931yc] {
    font-size: 13px;
    color: var(--xk-text-muted, #666);
    margin-bottom: 20px;
}

/* ── Pricing table ── */
[b-6mclq931yc] .xk-pricing-table .ant-table {
    background: transparent !important;
}
[b-6mclq931yc] .xk-pricing-table .ant-table-thead > tr > th {
    background: rgba(255, 255, 255, 0.02) !important;
    border-bottom-color: rgba(255, 255, 255, 0.04) !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    color: var(--xk-text-muted, #555) !important;
    padding: 12px 16px !important;
}
[b-6mclq931yc] .xk-pricing-table .ant-table-tbody > tr > td {
    border-bottom-color: rgba(255, 255, 255, 0.03) !important;
    padding: 14px 16px !important;
    transition: background 0.2s !important;
}
[b-6mclq931yc] .xk-pricing-table .ant-table-tbody > tr:hover > td {
    background: rgba(255, 255, 255, 0.02) !important;
}
.xk-tier-name[b-6mclq931yc] {
    font-size: 14px;
    font-weight: 500;
}
.xk-tier-public[b-6mclq931yc] {
    color: var(--xk-primary, #a1c8ff);
    font-weight: 600;
}
.xk-included-badge[b-6mclq931yc] {
    display: inline-block;
    padding: 3px 14px;
    border-radius: 50px;
    background: rgba(237, 245, 124, 0.1);
    color: #edf57c;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
}
[b-6mclq931yc] .xk-price-input {
    width: 110px !important;
    border-radius: 10px !important;
}
[b-6mclq931yc] .xk-price-input .ant-input-number-input {
    text-align: right !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 600 !important;
    font-size: 15px !important;
}

/* ── Save button ── */
[b-6mclq931yc] .xk-save-btn {
    border-radius: 50px !important;
    padding: 0 32px !important;
    height: 40px !important;
    font-weight: 600 !important;
    background: linear-gradient(135deg, var(--xk-primary, #a1c8ff), var(--xk-accent, #bd50c3)) !important;
    border: none !important;
    transition: transform 0.2s, box-shadow 0.2s !important;
}
[b-6mclq931yc] .xk-save-btn:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 8px 24px rgba(161, 200, 255, 0.2) !important;
}

/* ── Forms inside this page ── */
[b-6mclq931yc] .xk-form .ant-form-item-label > label {
    font-family: 'Outfit', sans-serif !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    color: var(--xk-text-muted, #555) !important;
}
[b-6mclq931yc] .xk-form .ant-input,
[b-6mclq931yc] .xk-form .ant-input-affix-wrapper,
[b-6mclq931yc] .xk-form textarea.ant-input {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 14px !important;
    color: var(--xk-text, #efefef) !important;
    transition: border-color 0.25s !important;
}
[b-6mclq931yc] .xk-form .ant-input:focus,
[b-6mclq931yc] .xk-form .ant-input-affix-wrapper-focused,
[b-6mclq931yc] .xk-form textarea.ant-input:focus {
    border-color: rgba(161, 200, 255, 0.3) !important;
    box-shadow: 0 0 0 2px rgba(161, 200, 255, 0.06) !important;
}

/* ── Modals ── */
[b-6mclq931yc] .xk-modal .ant-modal-content {
    background: var(--xk-surface, #222228) !important;
    border: none !important;
    border-radius: 22px !important;
}
[b-6mclq931yc] .xk-modal .ant-modal-header {
    background: transparent !important;
    border-bottom-color: rgba(255, 255, 255, 0.04) !important;
}
[b-6mclq931yc] .xk-modal .ant-modal-title {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700 !important;
    color: var(--xk-text, #efefef) !important;
}
[b-6mclq931yc] .xk-modal .ant-modal-footer {
    border-top-color: rgba(255, 255, 255, 0.04) !important;
}
[b-6mclq931yc] .xk-modal .ant-modal-footer .ant-btn-primary {
    border-radius: 50px !important;
    background: linear-gradient(135deg, var(--xk-primary, #a1c8ff), var(--xk-accent, #bd50c3)) !important;
    border: none !important;
}
