/* /Components/Layout/Layout.razor.rz.scp.css */
/* Print Styles - Hide sidebar and adjust layout */
@media print {
    /* Make main content full width */
    .content[b-g0m8zi8ss6] {
        margin-left: 0 !important;
        padding-left: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .content.sidebar-collapsed[b-g0m8zi8ss6] {
        margin-left: 0 !important;
    }

    /* Hide error UI */
    #blazor-error-ui[b-g0m8zi8ss6] {
        display: none !important;
    }

    /* Remove page padding */
    .page[b-g0m8zi8ss6] {
        padding: 0 !important;
        margin: 0 !important;
    }
}
/* /Components/Pages/Calendar.razor.rz.scp.css */
/* Remove focus outline when using keyboard shortcuts */
.categories-page:focus[b-9gixelhv72] {
    outline: none;
}

/* Calendar Header Section */
.calendar-header-section[b-9gixelhv72] {
    text-align: center;
    padding: 0.5rem 0;
}

.calendar-date-range[b-9gixelhv72] {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-gray-800);
    margin: 0;
}

/* Print Styles - Only show calendar when printing */
@media print {
    /* Hide the category details panel */
    .category-details[b-9gixelhv72] {
        display: none !important;
    }

    /* Make the categories-page full width for print */
    .categories-page[b-9gixelhv72] {
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Make properties-container full width */
    .properties-container[b-9gixelhv72] {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Make calendar-scroll-area full width and remove scrolling */
    .calendar-scroll-area[b-9gixelhv72] {
        overflow: visible !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Remove page breaks inside calendar months */
    .month-row[b-9gixelhv72] {
        page-break-inside: avoid;
        break-inside: avoid;
    }
}
/* /Components/Pages/ComingUp.razor.rz.scp.css */
/* Keep the upcoming-events list scrolling inside its own panel rather than growing the whole page.
   The grid cell is already bounded (categories-page is 97vh and properties-container uses a
   minmax(0,1fr) row), so making the panel a flex column with an internal scroll area is enough. */
.category-tree[b-5md18bzmcu] {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    overflow: auto;
}

/* Header (period selector + filter) stays put. */
.coming-up-header[b-5md18bzmcu] {
    flex: 0 0 auto;
}

/* The list takes the remaining height and scrolls; min-height:0 lets it shrink below its content. */
.coming-up-list[b-5md18bzmcu] {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding-right: 0.5rem; /* breathing room for the scrollbar */
    padding-top: 2px;
}

/* Empty-state message shouldn't stretch to fill the panel. */
.empty-state[b-5md18bzmcu] {
    flex: 0 0 auto;
}
/* /Components/Pages/CommunityOnboard.razor.rz.scp.css */
.onboard-container[b-4buy6xgx2h] {
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    background: var(--bg-primary, #fafafa);
}

.onboard-card[b-4buy6xgx2h] {
    width: 100%;
    max-width: 460px;
    background: var(--bg-secondary, #fff);
    border: 1px solid var(--border-color-light, #eee);
    border-radius: 18px;
    padding: 44px 40px;
    box-shadow: 0 18px 48px rgba(46, 33, 80, 0.10);
}

.onboard-header[b-4buy6xgx2h] {
    text-align: center;
    margin-bottom: 1.75rem;
}

.onboard-icon[b-4buy6xgx2h] {
    font-size: 2.5rem;
    color: #c75d8a;
    display: block;
    margin-bottom: 0.75rem;
}

.onboard-header h1[b-4buy6xgx2h] {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary, #1a1a1a);
    margin: 0 0 0.5rem;
}

.onboard-header p[b-4buy6xgx2h] {
    color: var(--text-secondary, #666);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.onboard-field[b-4buy6xgx2h] {
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.onboard-field .field-label[b-4buy6xgx2h] {
    font-weight: 600;
    color: var(--text-primary, #1a1a1a);
}

.onboard-field .field-description[b-4buy6xgx2h] {
    color: var(--text-secondary, #666);
    font-size: 0.85rem;
}

.onboard-cta[b-4buy6xgx2h] {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 14px 24px;
    border-radius: 12px;
    border: 2px solid transparent;
    font-weight: 600;
    font-size: 1rem;
    color: #fff;
    background: linear-gradient(135deg, #e2705f 0%, #c75d8a 100%);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.onboard-cta:hover:not(:disabled)[b-4buy6xgx2h] {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(199, 93, 138, 0.38);
}

.onboard-cta:disabled[b-4buy6xgx2h] {
    opacity: 0.6;
    cursor: default;
}

.onboard-note[b-4buy6xgx2h] {
    margin: 1rem 0 0;
    font-size: 0.825rem;
    text-align: center;
    line-height: 1.5;
    color: var(--text-muted, #888);
}

.onboard-loading[b-4buy6xgx2h] {
    text-align: center;
    padding: 2rem 0;
    color: var(--text-secondary, #666);
}

.onboard-loading .spinner[b-4buy6xgx2h] {
    margin: 0 auto 1rem;
    display: block;
}
/* /Components/Pages/Events.razor.rz.scp.css */
.events-footer[b-jl99xh8fum] {
    padding-top: 2em;
}

.events-actions[b-jl99xh8fum] {
    display: flex;
    gap: 4px;
    align-items: center;
}

/* ==========================================================================
   EVENTS PAGE
   ========================================================================== */


.events-header[b-jl99xh8fum] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    gap: 16px;
}


.events-period-info[b-jl99xh8fum] {
    flex: 1;
    color: var(--color-gray-500);
    font-size: 0.9rem;
    padding: 6px 12px;
    background: var(--color-gray-100);
    border-radius: var(--border-radius-sm);
}

.events-filter[b-jl99xh8fum] {
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    gap: 2em;
}

    .events-filter .form-input[b-jl99xh8fum] {
        max-width: 300px;
    }

.events-table-container[b-jl99xh8fum] {
    background: transparent;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color-light);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 200px);
}

.events-table[b-jl99xh8fum] {
    width: 100%;
    border-collapse: collapse;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

    .events-table thead[b-jl99xh8fum] {
        display: block;
        width: 100%;
    }

        .events-table thead tr[b-jl99xh8fum] {
            display: flex;
            width: 100%;
        }

    .events-table th[b-jl99xh8fum] {
        flex: 1;
        padding: 12px 16px;
        text-align: left;
        border-bottom: 1px solid var(--border-color-light);
        background: var(--color-gray-100);
        font-weight: var(--font-weight-semibold);
        color: var(--color-gray-600);
        font-size: 0.85rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

        .events-table th:nth-child(1)[b-jl99xh8fum] {
            /* Date */
            min-width: 160px;
            max-width: 180px;
        }

        .events-table th:nth-child(2)[b-jl99xh8fum] {
            /* Description - largest column */
            flex: 2;
            min-width: 200px;
        }

        .events-table th:nth-child(3)[b-jl99xh8fum] {
            /* Category */
            min-width: 150px;
            max-width: 180px;
        }

        .events-table th:nth-child(4)[b-jl99xh8fum] {
            /* Type */
            min-width: 120px;
            max-width: 120px;
        }

        .events-table th:nth-child(5)[b-jl99xh8fum] {
            /* Recurring */
            min-width: 100px;
            max-width: 100px;
        }

        .events-table th:nth-child(6)[b-jl99xh8fum] {
            /* Notes */
            min-width: 80px;
            max-width: 80px;
            text-align: center;
        }

    .events-table tbody[b-jl99xh8fum] {
        display: block;
        width: 100%;
        overflow-y: auto;
        overflow-x: hidden;
        flex: 1;
        min-height: 0;
    }

        .events-table tbody tr[b-jl99xh8fum] {
            display: flex;
            width: 100%;
            border-bottom: 1px solid var(--border-color-light);
            transition: background-color var(--transition-fast);
        }

            .events-table tbody tr:hover[b-jl99xh8fum] {
                background-color: var(--color-gray-100);
                cursor: pointer;
            }

            /* The closest upcoming event — highlighted and scrolled to on load. */
            .events-table tbody tr.closest-event[b-jl99xh8fum] {
                background-color: rgba(226, 112, 95, 0.10);
                border-left: 3px solid #e2705f;
            }

            .events-table tbody tr.selected[b-jl99xh8fum] {
                background-color: rgba(27, 110, 194, 0.1);
                border-left: 3px solid var(--color-primary);
            }

            .events-table tbody tr:last-child[b-jl99xh8fum] {
                border-bottom: none;
            }

    .events-table td[b-jl99xh8fum] {
        flex: 1;
        padding: 12px 16px;
        text-align: left;
    }

        .events-table td:nth-child(1)[b-jl99xh8fum] {
            /* Date */
            min-width: 160px;
            max-width: 180px;
        }

        .events-table td:nth-child(2)[b-jl99xh8fum] {
            /* Description - largest column */
            flex: 2;
            min-width: 200px;
        }

        .events-table td:nth-child(3)[b-jl99xh8fum] {
            /* Category */
            min-width: 150px;
            max-width: 180px;
        }

        .events-table td:nth-child(4)[b-jl99xh8fum] {
            /* Type */
            min-width: 120px;
            max-width: 120px;
        }

        .events-table td:nth-child(5)[b-jl99xh8fum] {
            /* Recurring */
            min-width: 100px;
            max-width: 100px;
        }

        .events-table td:nth-child(6)[b-jl99xh8fum] {
            /* Notes */
            min-width: 80px;
            max-width: 80px;
            text-align: center;
        }

    /* Notes indicator */
    .notes-indicator[b-jl99xh8fum] {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        color: var(--color-primary);
        cursor: pointer;
        padding: 4px 8px;
        border-radius: var(--border-radius-sm);
        transition: background-color var(--transition-fast);
    }

        .notes-indicator:hover[b-jl99xh8fum] {
            background-color: var(--color-primary-bg);
        }

        .notes-indicator i[b-jl99xh8fum] {
            font-size: 1rem;
        }

        .notes-indicator .notes-count[b-jl99xh8fum] {
            font-size: 0.85rem;
            font-weight: var(--font-weight-semibold);
        }

    .event-notes-cell[b-jl99xh8fum] {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    /* Category badge in events table */
    .events-table .category-badge[b-jl99xh8fum] {
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }

    .events-table .category-color-dot[b-jl99xh8fum] {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        flex-shrink: 0;
        border: 1px solid rgba(0, 0, 0, 0.1);
    }

    .events-table .category-name[b-jl99xh8fum] {
        font-size: 0.85rem;
        color: var(--color-gray-700);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .events-table .event-category[b-jl99xh8fum] {
        overflow: hidden;
    }

/* ==========================================================================
   PRINT
   ========================================================================== */

@media print {
    /* Hide the search box, Add button and admin menu — not useful on paper */
    .events-filter[b-jl99xh8fum] {
        display: none;
    }

    /* Let the table flow across pages instead of scrolling inside a fixed box */
    .events-table-container[b-jl99xh8fum] {
        max-height: none;
        overflow: visible;
        border: none;
    }

    .events-table tbody[b-jl99xh8fum] {
        overflow: visible;
    }

    /* Add breathing room above the footer on the printed page */
    .events-footer[b-jl99xh8fum] {
        padding-top: 4em;
    }
}

/* /Components/Pages/Filter.razor.rz.scp.css */
.filter-page[b-qs31iqzgzd] {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding: 0.5rem;
}

/* ============================ Gallery ============================ */

.gallery-header[b-qs31iqzgzd] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

    .gallery-header h2[b-qs31iqzgzd] {
        margin: 0;
        font-size: 1.6rem;
        font-weight: 700;
        color: var(--text-primary);
    }

.gallery-subtitle[b-qs31iqzgzd] {
    margin: 0.35rem 0 0 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    max-width: 60ch;
}

.filter-grid[b-qs31iqzgzd] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 1.25rem;
    align-content: start;
}

/* ---- Filter card ---- */
.filter-card[b-qs31iqzgzd] {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    min-height: 190px;
    padding: 1.25rem;
    background: var(--bg-primary);
    border: 1px solid var(--color-gray-300);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
    overflow: hidden;
}

    .filter-card[b-qs31iqzgzd]::before {
        content: "";
        position: absolute;
        inset: 0 auto 0 0;
        width: 4px;
        background: transparent;
        transition: background var(--transition-fast);
    }

    .filter-card:hover[b-qs31iqzgzd] {
        transform: translateY(-3px);
        box-shadow: var(--shadow-lg);
        border-color: var(--color-primary);
    }

    .filter-card:focus-visible[b-qs31iqzgzd] {
        outline: none;
        border-color: var(--color-primary);
        box-shadow: 0 0 0 3px rgba(33, 101, 244, 0.25);
    }

    .filter-card.active[b-qs31iqzgzd] {
        border-color: var(--color-primary);
    }

        .filter-card.active[b-qs31iqzgzd]::before {
            background: var(--color-primary);
        }

    .filter-card.built-in[b-qs31iqzgzd] {
        background: linear-gradient(160deg, var(--bg-primary) 60%, var(--bg-selected));
    }

    /* Non-navigable cards (My Events) can be activated but not opened/edited */
    .filter-card.non-nav[b-qs31iqzgzd] {
        cursor: default;
    }

        .filter-card.non-nav:hover[b-qs31iqzgzd] {
            transform: none;
            box-shadow: var(--shadow-md);
            border-color: var(--color-gray-300);
        }

        .filter-card.non-nav.active[b-qs31iqzgzd],
        .filter-card.non-nav.active:hover[b-qs31iqzgzd] {
            border-color: var(--color-primary);
        }

.card-top[b-qs31iqzgzd] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-icon[b-qs31iqzgzd] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(33, 101, 244, 0.1);
    color: var(--color-primary);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.built-in .card-icon[b-qs31iqzgzd] {
    background: rgba(33, 101, 244, 0.14);
}

.card-badges[b-qs31iqzgzd] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-left: auto;
}

/* Active selector (radio) */
.active-radio[b-qs31iqzgzd] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.28rem 0.7rem 0.28rem 0.35rem;
    border: 1px solid var(--color-gray-300);
    border-radius: 999px;
    background: var(--bg-primary);
    color: var(--text-secondary);
    font-size: 0.76rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

    .active-radio .radio-circle[b-qs31iqzgzd] {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 16px;
        height: 16px;
        border-radius: 50%;
        border: 2px solid var(--color-gray-400);
        color: #fff;
        font-size: 0.7rem;
        line-height: 1;
        transition: all var(--transition-fast);
    }

    .active-radio:hover:not(:disabled)[b-qs31iqzgzd] {
        border-color: var(--color-primary);
        color: var(--color-primary);
        background: rgba(33, 101, 244, 0.06);
    }

        .active-radio:hover:not(:disabled) .radio-circle[b-qs31iqzgzd] {
            border-color: var(--color-primary);
        }

    .active-radio.checked[b-qs31iqzgzd] {
        background: rgba(33, 101, 244, 0.1);
        border-color: var(--color-primary);
        color: var(--color-primary);
        cursor: default;
    }

        .active-radio.checked .radio-circle[b-qs31iqzgzd] {
            border-color: var(--color-primary);
            background: var(--color-primary);
        }

.badge[b-qs31iqzgzd] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

.badge-active[b-qs31iqzgzd] {
    background: var(--color-primary);
    color: #fff;
}

.badge-builtin[b-qs31iqzgzd] {
    background: var(--color-gray-200);
    color: var(--color-gray-700);
    border: 1px solid var(--color-gray-300);
}

.card-name[b-qs31iqzgzd] {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.25;
    word-break: break-word;
}

.card-meta[b-qs31iqzgzd] {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-top: auto;
}

.meta-row[b-qs31iqzgzd] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

    .meta-row i[b-qs31iqzgzd] {
        color: var(--color-primary);
        font-size: 0.95rem;
        flex-shrink: 0;
    }

.duration-pill[b-qs31iqzgzd] {
    margin-left: auto;
    padding: 0.1rem 0.5rem;
    border-radius: 999px;
    background: var(--bg-secondary);
    border: 1px solid var(--color-gray-300);
    color: var(--color-gray-700);
    font-size: 0.72rem;
    font-weight: 600;
}

.card-dots[b-qs31iqzgzd] {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    flex-wrap: wrap;
    padding-top: 0.75rem;
    border-top: 1px solid var(--color-gray-200);
    min-height: 22px;
}

.dot[b-qs31iqzgzd] {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08) inset;
    flex-shrink: 0;
}

.dot-more[b-qs31iqzgzd] {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-left: 0.15rem;
}

.dots-empty[b-qs31iqzgzd] {
    font-size: 0.8rem;
    color: var(--color-gray-500);
    font-style: italic;
}

/* ---- Add new card ---- */
.add-card[b-qs31iqzgzd] {
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 2px dashed var(--color-gray-400);
    box-shadow: none;
    color: var(--text-secondary);
}

    .add-card:hover[b-qs31iqzgzd] {
        border-color: var(--color-primary);
        color: var(--color-primary);
        background: rgba(33, 101, 244, 0.04);
    }

    .add-card[b-qs31iqzgzd]::before {
        display: none;
    }

.add-inner[b-qs31iqzgzd] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    text-align: center;
}

.add-plus[b-qs31iqzgzd] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(33, 101, 244, 0.1);
    color: var(--color-primary);
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.add-text[b-qs31iqzgzd] {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
}

.add-subtext[b-qs31iqzgzd] {
    font-size: 0.82rem;
    color: var(--text-secondary);
}

/* ============================ Editor ============================ */

.editor[b-qs31iqzgzd] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    background: var(--bg-primary);
    border: 1px solid var(--color-gray-300);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.editor-header[b-qs31iqzgzd] {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.5rem;
    border-bottom: 1px solid var(--color-gray-200);
}

.back-btn[b-qs31iqzgzd] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.9rem;
    border: 1px solid var(--color-gray-300);
    border-radius: 8px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

    .back-btn:hover[b-qs31iqzgzd] {
        background: var(--bg-hover);
        border-color: var(--color-primary);
    }

.editor-title[b-qs31iqzgzd] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    min-width: 0;
}

    .editor-title h2[b-qs31iqzgzd] {
        margin: 0;
        font-size: 1.35rem;
        font-weight: 700;
        color: var(--text-primary);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

.rename-btn[b-qs31iqzgzd] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid var(--color-gray-300);
    border-radius: 8px;
    background: var(--bg-primary);
    color: var(--color-gray-600);
    cursor: pointer;
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

    .rename-btn:hover[b-qs31iqzgzd] {
        background: var(--bg-hover);
        color: var(--text-primary);
        border-color: var(--color-primary);
    }

.editor-header-spacer[b-qs31iqzgzd] {
    margin-left: auto;
}

.editor-note[b-qs31iqzgzd] {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin: 1rem 1.5rem 0;
    padding: 0.85rem 1rem;
    border-radius: var(--border-radius-md);
    background: var(--bg-selected);
    color: var(--text-primary);
    font-size: 0.9rem;
    line-height: 1.4;
}

    .editor-note i[b-qs31iqzgzd] {
        color: var(--color-primary);
        font-size: 1.1rem;
        margin-top: 0.05rem;
    }

/* Segmented control */
.segmented[b-qs31iqzgzd] {
    display: inline-flex;
    gap: 0.25rem;
    margin: 1.25rem 1.5rem 0;
    padding: 0.25rem;
    background: var(--bg-secondary);
    border-radius: 10px;
    width: fit-content;
}

.seg-btn[b-qs31iqzgzd] {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 1.1rem;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.92rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

    .seg-btn:hover[b-qs31iqzgzd] {
        color: var(--text-primary);
    }

    .seg-btn.active[b-qs31iqzgzd] {
        background: var(--bg-primary);
        color: var(--color-primary);
        box-shadow: var(--shadow-md);
        font-weight: 600;
    }

.editor-body[b-qs31iqzgzd] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 1.5rem;
}

.filter-section h3[b-qs31iqzgzd] {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.period-controls[b-qs31iqzgzd] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 600px;
}

.control-row[b-qs31iqzgzd] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

    .control-row label[b-qs31iqzgzd] {
        font-weight: 500;
        color: var(--color-gray-700);
    }

.or-label[b-qs31iqzgzd] {
    font-weight: 500;
    color: var(--color-gray-500);
    margin: 0.25rem 0;
}

.manual-grid[b-qs31iqzgzd] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
}

.quick-buttons[b-qs31iqzgzd] {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.category-filter-controls[b-qs31iqzgzd] {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.category-tree-filter[b-qs31iqzgzd] {
    margin-top: 0.5rem;
}

.org-filter-row[b-qs31iqzgzd] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.25rem;
    cursor: pointer;
}

.org-filter-row input[type="checkbox"][b-qs31iqzgzd] {
    cursor: pointer;
}

.org-filter-tag[b-qs31iqzgzd] {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--color-gray-600);
    border: 1px solid currentColor;
    border-radius: 4px;
    padding: 0 0.3rem;
}

.loading[b-qs31iqzgzd], .empty-state[b-qs31iqzgzd] {
    padding: 2.5rem 1rem;
    text-align: center;
    color: var(--color-gray-600);
}

.empty-icon[b-qs31iqzgzd] {
    display: block;
    font-size: 2.5rem;
    color: var(--color-primary);
    opacity: 0.5;
    margin-bottom: 0.75rem;
}

/* Editor footer */
.editor-footer[b-qs31iqzgzd] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--color-gray-200);
    background: var(--bg-secondary);
}

.footer-summary[b-qs31iqzgzd] {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.summary-chip[b-qs31iqzgzd] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    background: var(--bg-primary);
    border: 1px solid var(--color-gray-300);
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
}

    .summary-chip i[b-qs31iqzgzd] {
        color: var(--color-primary);
    }

.footer-actions[b-qs31iqzgzd] {
    display: flex;
    gap: 0.5rem;
    margin-left: auto;
}

/* ============================ Modals ============================ */

.modal-backdrop[b-qs31iqzgzd] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    animation: fadeIn-b-qs31iqzgzd 0.15s ease-in;
}

@keyframes fadeIn-b-qs31iqzgzd {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-dialog-container[b-qs31iqzgzd] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1050;
    max-width: 500px;
    width: 90%;
    animation: slideIn-b-qs31iqzgzd 0.2s ease-out;
}

@keyframes slideIn-b-qs31iqzgzd {
    from {
        transform: translate(-50%, -48%);
        opacity: 0;
    }

    to {
        transform: translate(-50%, -50%);
        opacity: 1;
    }
}

.modal-content[b-qs31iqzgzd] {
    background-color: var(--bg-primary);
    border-radius: var(--border-radius-md);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.modal-header[b-qs31iqzgzd] {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--color-gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .modal-header .modal-title[b-qs31iqzgzd] {
        margin: 0;
        font-size: 1.25rem;
        font-weight: 600;
    }

    .modal-header .btn-close[b-qs31iqzgzd] {
        border: none;
        background: none;
        font-size: 1.5rem;
        cursor: pointer;
        padding: 0;
        color: var(--color-gray-600);
    }

        .modal-header .btn-close:hover[b-qs31iqzgzd] {
            color: var(--color-gray-800);
        }

        .modal-header .btn-close[b-qs31iqzgzd]::before {
            content: "×";
        }

.modal-body[b-qs31iqzgzd] {
    padding: 1.5rem;
}

    .modal-body .form-label[b-qs31iqzgzd] {
        font-weight: 500;
        margin-bottom: 0.5rem;
        display: block;
    }

    .modal-body .form-control[b-qs31iqzgzd] {
        width: 100%;
    }

    .modal-body p[b-qs31iqzgzd] {
        margin-bottom: 0.5rem;
    }

.modal-footer[b-qs31iqzgzd] {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--color-gray-200);
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

/* ============================ Responsive ============================ */

@media (max-width: 768px) {
    .filter-grid[b-qs31iqzgzd] {
        grid-template-columns: 1fr;
    }

    .editor-header[b-qs31iqzgzd] {
        flex-wrap: wrap;
    }

    .footer-actions[b-qs31iqzgzd] {
        width: 100%;
    }
}
/* /Components/Pages/Home.razor.rz.scp.css */
.loading-container[b-ei4gwn6hru] {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.loading-container p[b-ei4gwn6hru] {
    color: white;
    font-size: 1.2rem;
}

.home-container[b-ei4gwn6hru] {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
}

.home-content[b-ei4gwn6hru] {
    max-width: 600px;
    width: 100%;
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.home-header h1[b-ei4gwn6hru] {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 10px;
    font-weight: 700;
}

.tagline[b-ei4gwn6hru] {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
}

.home-image[b-ei4gwn6hru] {
    margin: 30px 0;
}

.calendar-illustration[b-ei4gwn6hru] {
    max-width: 400px;
    width: 100%;
    height: auto;
}

.home-actions[b-ei4gwn6hru] {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 30px 0;
    flex-wrap: wrap;
}

.btn[b-ei4gwn6hru] {
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.btn-lg[b-ei4gwn6hru] {
    min-width: 150px;
}

.btn-primary[b-ei4gwn6hru] {
    background: #4a90e2;
    color: white;
}

.btn-primary:hover[b-ei4gwn6hru] {
    background: #357abd;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.4);
}

.btn-secondary[b-ei4gwn6hru] {
    background: #f0f0f0;
    color: #333;
}

.btn-secondary:hover[b-ei4gwn6hru] {
    background: #e0e0e0;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.home-features[b-ei4gwn6hru] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
}

.feature[b-ei4gwn6hru] {
    text-align: center;
}

.feature-icon[b-ei4gwn6hru] {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.feature h3[b-ei4gwn6hru] {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 5px;
}

.feature p[b-ei4gwn6hru] {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

@media (max-width: 600px) {
    .home-content[b-ei4gwn6hru] {
        padding: 30px 20px;
    }

    .home-header h1[b-ei4gwn6hru] {
        font-size: 2rem;
    }

    .home-actions[b-ei4gwn6hru] {
        flex-direction: column;
    }

    .btn-lg[b-ei4gwn6hru] {
        width: 100%;
    }

    .home-features[b-ei4gwn6hru] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Pages/Logout.razor.rz.scp.css */
/* Full-screen, theme-aware sign-out splash (sits above any layout chrome). */
.logout-overlay[b-6za9wwof63] {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: var(--bg-primary, #ffffff);
}

.logout-card[b-6za9wwof63] {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    max-width: 360px;
    animation: logout-fade-in-b-6za9wwof63 0.25s ease both;
}

.logout-logo[b-6za9wwof63] {
    width: min(230px, 100%);
    height: auto;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.logout-spinner[b-6za9wwof63] {
    width: 38px;
    height: 38px;
    margin-top: 4px;
    border: 3px solid color-mix(in srgb, var(--color-primary, #2165F4) 25%, transparent);
    border-top-color: var(--color-primary, #2165F4);
    border-radius: 50%;
    animation: logout-spin-b-6za9wwof63 0.8s linear infinite;
}

.logout-title[b-6za9wwof63] {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary, #111111);
}

.logout-text[b-6za9wwof63] {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.45;
    color: var(--text-secondary, #666666);
}

@keyframes logout-spin-b-6za9wwof63 {
    to { transform: rotate(360deg); }
}

@keyframes logout-fade-in-b-6za9wwof63 {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    .logout-spinner[b-6za9wwof63] { animation-duration: 0s; }
    .logout-card[b-6za9wwof63] { animation: none; }
}
/* /Components/Pages/Settings.razor.rz.scp.css */
.settings-page[b-y1417px0f6] {
    /* A definite, viewport-relative height (minus the .content top padding) so the inner flex
       column can scroll the nav and keep Sign Out pinned to the bottom of the visible area.
       `height: 100%` here is unreliable: the ancestors (.page / main) only set min-height, so the
       percentage can't resolve and the column grows past the viewport, pushing Sign Out off-screen. */
    height: calc(100vh - 1.1rem);
    height: calc(100dvh - 1.1rem);
    display: flex;
    flex-direction: column;
}

.settings-layout[b-y1417px0f6] {
    display: grid;
    grid-template-columns: 232px 1fr;
    gap: 0;
    flex: 1;
    overflow: hidden;
}

/* ── Left rail / section nav ─────────────────────────────────────────────── */
.settings-selection-list[b-y1417px0f6] {
    display: flex;
    flex-direction: column;
    overflow: hidden; /* the nav area scrolls; the sign-out stays pinned */
    border-right: 1px solid var(--border-color-light);
}

/* Scrollable nav area — everything except the pinned Sign Out scrolls here. */
.settings-nav-scroll[b-y1417px0f6] {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 24px 16px;
}

/* Sign Out: pinned to the bottom of the rail, always visible, with a divider above. */
.settings-signout[b-y1417px0f6] {
    flex: 0 0 auto;
    padding: 8px 16px 16px;
    border-top: 1px solid var(--border-color-light);
    background: var(--bg-primary);
    z-index: 1;
}

    .settings-selection-list .section-divider[b-y1417px0f6] {
        margin: 24px 0 8px;
        padding: 0 12px;
        font-size: 0.72rem;
        font-weight: 600;
        /* Muted primary so the section headers track the brand colour in both light and dark,
           rather than inheriting the global --text-muted (grey in light, hacked blue in dark). */
        color: color-mix(in srgb, var(--color-primary) 55%, transparent);
        text-transform: uppercase;
        letter-spacing: 0.06em;
    }

    .settings-selection-list .section-divider:first-child[b-y1417px0f6] {
        margin-top: 0;
    }

    .settings-selection-list .menu-item[b-y1417px0f6] {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 9px 12px;
        min-height: 40px;
        border-radius: var(--border-radius-md);
        cursor: pointer;
        color: var(--text-secondary);
        font-size: 0.9375rem;
        transition: background-color 0.15s ease, color 0.15s ease;
    }

        .settings-selection-list .menu-item:hover[b-y1417px0f6] {
            background-color: var(--bg-hover);
            color: var(--text-primary);
        }

        .settings-selection-list .menu-item:focus-visible[b-y1417px0f6] {
            outline: 2px solid var(--color-primary);
            outline-offset: 2px;
        }

        /* The active item is the ONLY place the accent appears in the nav. */
        .settings-selection-list .menu-item.active[b-y1417px0f6] {
            background-color: color-mix(in srgb, var(--color-primary) 12%, transparent);
            color: var(--color-primary);
            font-weight: 600;
        }

        .settings-selection-list .menu-item i[b-y1417px0f6] {
            font-size: 16px;
            width: 16px;
            text-align: center;
            flex-shrink: 0;
        }

/* ── Detail pane ─────────────────────────────────────────────────────────── */
.settings-details[b-y1417px0f6] {
    overflow-y: auto;
    padding: 32px 40px;
}

.settings-details > *[b-y1417px0f6] {
    display: block;
    max-width: 640px;
}

@media (prefers-reduced-motion: reduce) {
    .settings-selection-list .menu-item[b-y1417px0f6] {
        transition: none;
    }
}

@media (max-width: 768px) {
    /* On mobile the rail stacks above the detail pane and the whole page scrolls normally,
       so drop the fixed height and let it flow. */
    .settings-page[b-y1417px0f6] {
        height: auto;
    }

    .settings-layout[b-y1417px0f6] {
        grid-template-columns: 1fr;
        overflow: visible;
    }

    .settings-selection-list[b-y1417px0f6] {
        display: block;
        overflow: visible;
        border-right: none;
        border-bottom: 1px solid var(--border-color-light);
        padding: 12px;
    }

    /* On mobile the rail isn't full-height, so let it flow normally rather than pin. */
    .settings-nav-scroll[b-y1417px0f6] {
        overflow: visible;
        padding: 0;
    }

    .settings-signout[b-y1417px0f6] {
        background: transparent;
        margin-top: 8px;
        padding: 8px 0 0;
    }

    .settings-details[b-y1417px0f6] {
        padding: 24px 16px;
    }
}
/* /Components/Pages/Welcome.razor.rz.scp.css */
/* ─────────────────────────────────────────────────────────────────────────
   Welcome page — sunset-branded hero.
   The left column is a warm dusk gradient (the "day ending" brand identity);
   the right column stays clean and tracks the app theme variables so it works
   in both light and dark.
   ───────────────────────────────────────────────────────────────────────── */

/* Brand sunset palette — fixed, intentional colours independent of theme. */
.welcome-container[b-92sr3wxhgl],
.loading-container[b-92sr3wxhgl] {
    --sunset: linear-gradient(160deg, #2e2150 0%, #5d3a86 24%, #a44a8d 48%, #e2705f 72%, #f6b25f 100%);
}

/* ── Loading screen ──────────────────────────────────────────────────────── */
.loading-container[b-92sr3wxhgl] {
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--sunset);
}

.loading-content[b-92sr3wxhgl] {
    text-align: center;
}

.spinner[b-92sr3wxhgl] {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
    border: 4px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin-b-92sr3wxhgl 1s linear infinite;
}

@keyframes spin-b-92sr3wxhgl {
    to { transform: rotate(360deg); }
}

.loading-container p[b-92sr3wxhgl] {
    color: #fff;
    font-size: 1.2rem;
    letter-spacing: 0.01em;
}

/* ── Two-column layout ───────────────────────────────────────────────────── */
.welcome-container[b-92sr3wxhgl] {
    min-height: 100dvh;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    background: var(--bg-primary, #fafafa);
}

/* ── Left column — sunset hero ───────────────────────────────────────────── */
.welcome-left[b-92sr3wxhgl] {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 64px 72px;
    background: var(--sunset);
    color: #fff;
    isolation: isolate;
}

/* Soft "sun" glow rising from the lower-left, reinforcing the brand mark. */
.welcome-left-glow[b-92sr3wxhgl] {
    position: absolute;
    left: -10%;
    bottom: -28%;
    width: 70%;
    aspect-ratio: 1;
    background: radial-gradient(circle, rgba(255, 224, 178, 0.55) 0%, rgba(255, 224, 178, 0) 68%);
    pointer-events: none;
    z-index: 0;
    animation: glow-rise-b-92sr3wxhgl 0.9s ease-out both;
}

.welcome-left-inner[b-92sr3wxhgl] {
    position: relative;
    z-index: 1;
    animation: rise-in-b-92sr3wxhgl 0.6s ease-out both;
}

.brand-section[b-92sr3wxhgl] {
    margin-bottom: 56px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.logo-container[b-92sr3wxhgl] {
    margin-bottom: 28px;
    width: 100%;
    display: flex;
    justify-content: center;
}

/* The logo artwork is dark line-art, so it sits on a frosted light badge to
   stay legible over the gradient. */
.brand-logo[b-92sr3wxhgl] {
    width: min(230px, 100%);
    height: auto;
    display: block;
    padding: 18px 22px;
    border-radius: 16px;
    background: rgb(255 255 255 / 48%);
    box-shadow: 0 12px 32px rgba(46, 33, 80, 0.28);
}

.brand-tagline[b-92sr3wxhgl] {
    font-size: 1.3rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
    margin: 0;
    line-height: 1.55;
    max-width: 30ch;
    text-shadow: 0 1px 2px rgba(46, 33, 80, 0.25);
}

/* ── Feature cards — glassmorphism over the gradient ─────────────────────── */
.features-grid[b-92sr3wxhgl] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.feature-card[b-92sr3wxhgl] {
    padding: 22px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover[b-92sr3wxhgl] {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 12px 28px rgba(46, 33, 80, 0.25);
}

.feature-icon[b-92sr3wxhgl] {
    font-size: 1.85rem;
    color: #ffe0b2;
    margin-bottom: 12px;
    display: block;
}

.feature-card h3[b-92sr3wxhgl] {
    font-size: 1.08rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 6px 0;
}

.feature-card p[b-92sr3wxhgl] {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    line-height: 1.5;
}

/* ── Right column — auth card ────────────────────────────────────────────── */
.welcome-right[b-92sr3wxhgl] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px;
    background: var(--bg-primary, #fafafa);
}

.welcome-right > *[b-92sr3wxhgl] {
    animation: rise-in-b-92sr3wxhgl 0.6s ease-out both;
}

.welcome-right .screenshot-preview[b-92sr3wxhgl] {
    animation-delay: 0.08s;
}

.auth-card[b-92sr3wxhgl] {
    width: 100%;
    max-width: 420px;
    background: var(--bg-secondary, #fff);
    border: 1px solid var(--border-color-light, #eee);
    border-radius: 18px;
    padding: 44px 40px;
    box-shadow: 0 18px 48px rgba(46, 33, 80, 0.10);
    margin-bottom: 36px;
}

/* ── Create-account card (Personal / Community Admin / Business) ─────────── */
.signup-card[b-92sr3wxhgl] {
    width: 100%;
    max-width: 420px;
    background: var(--bg-secondary, #fff);
    border: 1px solid var(--border-color-light, #eee);
    border-radius: 18px;
    padding: 28px 28px 30px;
    box-shadow: 0 18px 48px rgba(46, 33, 80, 0.10);
    margin-bottom: 36px;
}

.signup-header[b-92sr3wxhgl] {
    text-align: center;
    margin-bottom: 18px;
}

.signup-header h3[b-92sr3wxhgl] {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary, #1a1a1a);
    margin: 0 0 6px 0;
}

.signup-header p[b-92sr3wxhgl] {
    font-size: 0.9rem;
    color: var(--text-secondary, #666);
    margin: 0;
    line-height: 1.45;
}

.signup-options[b-92sr3wxhgl] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.signup-option[b-92sr3wxhgl] {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    border-radius: 14px;
    border: 1px solid var(--border-color, #ddd);
    background: var(--bg-secondary, #fff);
    text-decoration: none;
    color: var(--text-primary, #1a1a1a);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.signup-option:not(.is-disabled):hover[b-92sr3wxhgl] {
    border-color: #c75d8a;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(199, 93, 138, 0.18);
}

/* Icon chip — circular, brand-tinted. */
.signup-option-icon[b-92sr3wxhgl] {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(199, 93, 138, 0.10);
    color: #c75d8a;
    font-size: 1.25rem;
}

.signup-option:not(.is-disabled):hover .signup-option-icon[b-92sr3wxhgl] {
    background: linear-gradient(135deg, #e2705f 0%, #c75d8a 100%);
    color: #fff;
}

.signup-option-text[b-92sr3wxhgl] {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
    min-width: 0;
}

.signup-option-title[b-92sr3wxhgl] {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-primary, #1a1a1a);
}

.signup-option-sub[b-92sr3wxhgl] {
    font-size: 0.82rem;
    line-height: 1.4;
    color: var(--text-secondary, #666);
}

.signup-option-arrow[b-92sr3wxhgl] {
    align-self: center;
    color: var(--text-muted, #bbb);
    flex-shrink: 0;
    transition: transform 0.2s ease, color 0.2s ease;
}

.signup-option:not(.is-disabled):hover .signup-option-arrow[b-92sr3wxhgl] {
    color: #c75d8a;
    transform: translateX(3px);
}

/* Featured option (Community Admin) — subtle brand ring to draw the eye. */
.signup-option-featured[b-92sr3wxhgl] {
    border-color: rgba(199, 93, 138, 0.45);
    background: linear-gradient(180deg, rgba(199, 93, 138, 0.05) 0%, rgba(199, 93, 138, 0) 100%);
}

.signup-option.is-disabled[b-92sr3wxhgl] {
    opacity: 0.7;
    cursor: default;
}

.signup-option.is-disabled .signup-option-icon[b-92sr3wxhgl] {
    background: var(--bg-primary, #f2f2f2);
    color: var(--text-muted, #999);
}

.signup-option-badge[b-92sr3wxhgl] {
    align-self: center;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--text-muted, #888);
    background: var(--bg-primary, #f2f2f2);
    border: 1px solid var(--border-color-light, #e6e6e6);
    border-radius: 999px;
    padding: 4px 10px;
    flex-shrink: 0;
    white-space: nowrap;
}

.auth-header[b-92sr3wxhgl] {
    text-align: center;
    margin-bottom: 32px;
}

.auth-header h2[b-92sr3wxhgl] {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary, #1a1a1a);
    margin: 0 0 8px 0;
}

.auth-header p[b-92sr3wxhgl] {
    font-size: 1rem;
    color: var(--text-secondary, #666);
    margin: 0;
}

.auth-actions[b-92sr3wxhgl] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.btn[b-92sr3wxhgl] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn i[b-92sr3wxhgl] {
    font-size: 1.2rem;
}

/* Primary button uses the warm brand gradient to tie back to the hero. */
.btn-primary[b-92sr3wxhgl] {
    background: linear-gradient(135deg, #e2705f 0%, #c75d8a 100%);
    color: #fff;
}

.btn-primary:hover[b-92sr3wxhgl] {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(199, 93, 138, 0.38);
}

.btn-outline[b-92sr3wxhgl] {
    background: var(--bg-secondary, #fff);
    color: var(--text-primary, #1a1a1a);
    border-color: var(--border-color, #ddd);
}

.btn-outline:hover[b-92sr3wxhgl] {
    border-color: #c75d8a;
    color: #c75d8a;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.divider[b-92sr3wxhgl] {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 6px 0;
}

.divider[b-92sr3wxhgl]::before,
.divider[b-92sr3wxhgl]::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border-color-light, #e0e0e0);
}

.divider span[b-92sr3wxhgl] {
    padding: 0 16px;
    color: var(--text-muted, #999);
    font-size: 0.9rem;
    font-weight: 500;
}

.auth-footer[b-92sr3wxhgl] {
    margin-top: 30px;
    padding-top: 22px;
    border-top: 1px solid var(--border-color-light, #f0f0f0);
}

.help-text[b-92sr3wxhgl] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--text-secondary, #666);
    margin: 0;
}

.help-text i[b-92sr3wxhgl] {
    color: var(--color-success, #4CAF50);
    font-size: 1rem;
}

/* ── Screenshot preview ──────────────────────────────────────────────────── */
.screenshot-preview[b-92sr3wxhgl] {
    width: 100%;
    max-width: 420px;
}

.screenshot-label[b-92sr3wxhgl] {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted, #888);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.screenshot-frame[b-92sr3wxhgl] {
    background: var(--bg-secondary, #fff);
    border: 1px solid var(--border-color-light, #eee);
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 18px 48px rgba(46, 33, 80, 0.10);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.screenshot-frame:hover[b-92sr3wxhgl] {
    transform: translateY(-4px);
    box-shadow: 0 22px 56px rgba(46, 33, 80, 0.16);
}

.screenshot-image[b-92sr3wxhgl] {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* ── Entrance animations ─────────────────────────────────────────────────── */
@keyframes rise-in-b-92sr3wxhgl {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes glow-rise-b-92sr3wxhgl {
    from { opacity: 0; transform: translateY(40px) scale(0.9); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
    .welcome-left-inner[b-92sr3wxhgl],
    .welcome-left-glow[b-92sr3wxhgl],
    .welcome-right > *[b-92sr3wxhgl],
    .feature-card[b-92sr3wxhgl],
    .screenshot-frame[b-92sr3wxhgl],
    .btn[b-92sr3wxhgl] {
        animation: none !important;
        transition: none !important;
    }
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
    .welcome-container[b-92sr3wxhgl] {
        grid-template-columns: 1fr;
    }

    .welcome-left[b-92sr3wxhgl] {
        padding: 44px 40px;
    }

    .welcome-right[b-92sr3wxhgl] {
        padding: 40px;
        order: -1;
    }

    .features-grid[b-92sr3wxhgl] {
        grid-template-columns: 1fr 1fr;
    }

    .brand-section[b-92sr3wxhgl] {
        margin-bottom: 36px;
    }
}

@media (max-width: 768px) {
    .brand-tagline[b-92sr3wxhgl] {
        font-size: 1.1rem;
    }

    .welcome-left[b-92sr3wxhgl] {
        padding: 32px 20px;
    }

    .welcome-right[b-92sr3wxhgl] {
        padding: 24px 16px;
        gap: 0;
    }

    .auth-card[b-92sr3wxhgl] {
        padding: 28px 22px;
        margin-bottom: 20px;
    }

    .features-grid[b-92sr3wxhgl] {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .feature-card[b-92sr3wxhgl] {
        padding: 16px;
    }

    .screenshot-frame[b-92sr3wxhgl] {
        padding: 12px;
    }
}
/* /Components/UI/Calendar/CalendarComponent.razor.rz.scp.css */
/* ==========================================================================
   CALENDAR COMPONENT - SCOPED STYLES
   Extracted from app.css for component-specific styling
   ========================================================================== */

/* Calendar Navigation Tip */
.calendar-navigation-tip[b-yvco2pbz5v] {
    display: flex;
    justify-content: flex-start;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--color-gray-50);
    color: var(--color-gray-600);
    font-size: 0.8125rem;
    opacity: 0.6;
}

    .calendar-navigation-tip i[b-yvco2pbz5v] {
        color: var(--color-primary);
        font-size: 0.875rem;
    }

    .calendar-navigation-tip kbd[b-yvco2pbz5v] {
        display: inline-block;
        padding: 0.125rem 0.375rem;
        font-size: 0.75rem;
        font-weight: var(--font-weight-semibold);
        line-height: 1;
        color: var(--color-gray-800);
        background: var(--color-white);
        border: 1px solid var(--color-gray-400);
        border-radius: var(--border-radius-sm);
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
        font-family: 'Courier New', monospace;
    }

/* Year Calendar Container */
.year-calendar[b-yvco2pbz5v] {
    color: var(--text-primary);
    background-color: transparent;
    padding: 20px 0 0 0;
    max-width: 100%;
    margin: 0 auto;
    overflow-x: visible;
    box-sizing: border-box;
}

/* Calendar Header */
.calendar-header[b-yvco2pbz5v] {
    display: flex;
    border-bottom: 2px solid var(--color-muted);
    margin-bottom: 10px;
    padding-bottom: var(--spacing-md);
    background-color: var(--bg-primary);
    position: sticky;
    top: 0;
    left: 0;
    z-index: calc(var(--z-index-sticky) + 10); /* Higher than month-label */
    width: fit-content;
}

.month-label-column[b-yvco2pbz5v] {
    width: 170px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    padding: 0 10px;
    box-sizing: border-box;
    background-color: var(--bg-primary);
    position: sticky;
    left: 0;
    z-index: calc(var(--z-index-dropdown) + 1); /* Higher than calendar-header and month-label */
}

.week-group[b-yvco2pbz5v] {
    display: flex;
}

    .week-group.partial-week[b-yvco2pbz5v] {
        width: auto;
    }

.weekday-header[b-yvco2pbz5v] {
    width: 40px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    background-color: transparent;
    box-sizing: border-box;
    margin: 0 0 0 1px;
}

/* Calendar Body */
.calendar-body[b-yvco2pbz5v] {
    display: flex;
    flex-direction: column;
    gap: 1px;
    width: fit-content;
    padding-right: 10px;
}

.month-row[b-yvco2pbz5v] {
    display: flex;
    align-items: stretch;
    border-bottom: var(--border-width) solid var(--color-gray-400);
    min-height: 64px;
    width: fit-content;
    padding: 4px 0 5px 0;
}

.month-label[b-yvco2pbz5v] {
    width: 170px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    color: var(--text-muted);
    background-color: var(--bg-primary);
    box-sizing: border-box;
    position: sticky;
    left: 0;
    z-index: var(--z-index-sticky);
    /* Extend to cover the month-row padding (4px top + 5px bottom) */
    margin: -4px 0 -5px 0;
    padding-top: 4px;
    padding-bottom: 5px;
    min-height: 73px; /* 64px row min-height + 4px + 5px padding */
}

/* Day Cells */
.day-cell[b-yvco2pbz5v] {
    width: 40px;
    height: 60px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    border: var(--cell-border-width, var(--border-width)) solid var(--border-color-light);
    position: relative;
    cursor: pointer;
    transition: background-color var(--transition-fast) ease, border-color var(--transition-fast) ease;
    border-radius: var(--border-radius-sm);
    box-sizing: border-box;
    margin: 0 0 0 1px;
}

    .day-cell.empty[b-yvco2pbz5v] {
        background-color: transparent;
        border: none;
        cursor: default;
    }

    .day-cell.weekend[b-yvco2pbz5v] {
        background-color: #dedede52;;
    }

    .day-cell:hover:not(.empty)[b-yvco2pbz5v] {
        background-color: rgba(0, 27, 255, 0.1);
        border-color: var(--color-today);
    }

    .day-cell.today[b-yvco2pbz5v] {
        outline: var(--border-width) dashed var(--color-today);
        background-color: rgba(0, 27, 255, 0.05);
    }

.day-number[b-yvco2pbz5v] {
    color: var(--text-primary);
    position: relative;
    z-index: 30;
}

.event-count-badge[b-yvco2pbz5v] {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--color-primary);
    color: white;
    font-size: 0.65rem;
    font-weight: var(--font-weight-semibold);
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    z-index: 40;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    opacity: 0.5;
}

/* Selected Day */
.day-cell.selected[b-yvco2pbz5v] {
    background-color: rgba(0, 170, 68, 0.20);
    border-color: #00aa44;
    --cell-border-width: 2px;
    z-index: 20;
    animation: pulse-selected-b-yvco2pbz5v 1.5s ease-in-out infinite;
    box-shadow: 0 0 0 0 rgba(0, 170, 68, 0.6);
}

@keyframes pulse-selected-b-yvco2pbz5v {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 170, 68, 0.6);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(0, 170, 68, 0.0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 170, 68, 0.0);
    }
}

/* Event Layer */
.day-indicators[b-yvco2pbz5v] {
    position: absolute;
    inset: 0;
    overflow: visible;
}

.day-events[b-yvco2pbz5v] {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 25;
    overflow: visible;
}

    .day-events .event[b-yvco2pbz5v] {
        position: absolute;
        background: var(--event-color, var(--color-primary, #0066ff));
        pointer-events: auto;
        border: 1px solid #00000050;
    }

    /* Event Dots */
    .day-events .event-left-top-dot[b-yvco2pbz5v],
    .day-events .event-right-top-dot[b-yvco2pbz5v] {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        top: 13px;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    }

    .day-events .event-left-top-dot[b-yvco2pbz5v] {
        left: 3px;
    }

    .day-events .event-right-top-dot[b-yvco2pbz5v] {
        right: 2px;
    }

    /* Event Centre Square */
    .day-events .event-centre-square[b-yvco2pbz5v] {
        width: 12px;
        height: 12px;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        border-radius: 2px;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    }

    /* Event Bottom Square */
    .day-events .event-bottom-square[b-yvco2pbz5v] {
        width: 12px;
        height: 12px;
        left: 50%;
        bottom: 3px;
        transform: translateX(-50%);
        border-radius: 2px;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
        z-index: 20;
    }

    /* Gantt Chart Bar */
    .day-events .event-gantt[b-yvco2pbz5v] {
        height: 8px;
        top: 40px;
        left: 2px;
        right: 2px;
        opacity: 1;
        background: color-mix(in srgb, var(--event-color) 70%, transparent);
        border-radius: 0;
        z-index: 18;
        border: none;
    }

        .day-events .event-gantt.gantt-start[b-yvco2pbz5v] {
            left: 1px;
            right: -2px;
            border-top-left-radius: var(--border-radius-sm);
            border-bottom-left-radius: var(--border-radius-sm);
        }

        .day-events .event-gantt.gantt-mid[b-yvco2pbz5v] {
            left: -1px;
            right: -2px;
        }

        .day-events .event-gantt.gantt-end[b-yvco2pbz5v] {
            left: -1px;
            right: 1px;
            border-top-right-radius: var(--border-radius-sm);
            border-bottom-right-radius: var(--border-radius-sm);
        }

    /* Event Tooltips */
    .day-events .event[data-tooltip][b-yvco2pbz5v]::after {
        content: attr(data-tooltip);
        position: absolute;
        bottom: 120%;
        left: 50%;
        transform: translateX(-50%);
        background: #000;
        color: #fff;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
        padding: 4px 8px;
        border-radius: 4px;
        font-size: 12px;
        white-space: nowrap;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.15s ease;
        z-index: 10000;
    }

    .day-events .event[data-tooltip]:hover[b-yvco2pbz5v]::after {
        opacity: 1;
    }

.year-end[b-yvco2pbz5v] {
    border-bottom: 3px dashed var(--color-gray-400);
    margin-bottom: 5px;
}

/* Print Styles - Ensure colors appear when printing */
@media print {
    /* Force background colors and images to print */
    .day-cell[b-yvco2pbz5v],
    .day-events .event[b-yvco2pbz5v],
    .event-gantt[b-yvco2pbz5v],
    .event-left-top-dot[b-yvco2pbz5v],
    .event-right-top-dot[b-yvco2pbz5v],
    .event-centre-square[b-yvco2pbz5v],
    .event-bottom-square[b-yvco2pbz5v] {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
        color-adjust: exact !important;
    }

    /* Ensure calendar structure is preserved */
    .year-calendar[b-yvco2pbz5v] {
        background-color: white !important;
    }

    /* Hide interactive elements */
    .calendar-navigation-tip[b-yvco2pbz5v] {
        display: none;
    }

    /* Ensure day cells maintain their colors */
    .day-cell[style*="background-color"][b-yvco2pbz5v] {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    /* Remove interactive effects */
    .day-cell:hover:not(.empty)[b-yvco2pbz5v] {
        background-color: inherit;
        border-color: inherit;
    }

    .day-cell.selected[b-yvco2pbz5v] {
        animation: none;
    }
}
/* /Components/UI/Categories/CategoryFilterNode.razor.rz.scp.css */
.filter-tree-node[b-6ngwhdo35m] {
    margin-bottom: 0.25rem;
}

.filter-tree-item[b-6ngwhdo35m] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.4rem 0.75rem;
    border-radius: var(--border-radius-sm);
    transition: background-color 0.15s ease;
}

.filter-tree-item:hover[b-6ngwhdo35m] {
    background-color: var(--color-gray-50);
}

.tree-toggle[b-6ngwhdo35m] {
    width: 24px;
    min-width: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
    font-size: 0.875rem;
    color: var(--color-gray-600);
}

.tree-toggle span[b-6ngwhdo35m] {
    display: inline-block;
    width: 16px;
    text-align: center;
}

.tree-toggle .spacer[b-6ngwhdo35m] {
    width: 16px;
    display: inline-block;
}

.category-checkbox[b-6ngwhdo35m] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
    margin: 0;
}

.category-label[b-6ngwhdo35m] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    flex: 1;
    margin: 0;
}

.category-color-dot[b-6ngwhdo35m] {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 1px solid rgba(0, 0, 0, 0.15);
}

.category-name[b-6ngwhdo35m] {
    flex: 1;
}
/* /Components/UI/Common/ActionRunningButton.razor.rz.scp.css */
/* ActionRunningButton Component Styles */

.action-button[b-tca4gvfwhb] {
    padding: 0 1.5rem;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    min-width: 120px;
    height: 38px;
    overflow: hidden;
    box-sizing: border-box;
}

.action-button:disabled[b-tca4gvfwhb] {
    cursor: not-allowed;
    opacity: 0.6;
}

.action-button:not(:disabled):not(.loading):hover[b-tca4gvfwhb] {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.action-button:not(:disabled):not(.loading):active[b-tca4gvfwhb] {
    transform: translateY(0);
}

/* Button Content */
.button-content[b-tca4gvfwhb] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: opacity 0.3s ease;
}

.action-button.loading .button-content[b-tca4gvfwhb] {
    opacity: 0;
}

.button-text[b-tca4gvfwhb] {
    white-space: nowrap;
}

/* Loader Animation */
.loader[b-tca4gvfwhb] {
    position: absolute;
    width: 1.25rem;
    height: 1.25rem;
    border: 0.2rem solid transparent;
    border-right-color: currentColor;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.action-button.loading .loader[b-tca4gvfwhb] {
    opacity: 1;
    animation: loader-spin-b-tca4gvfwhb 0.7s linear infinite;
}

@keyframes loader-spin-b-tca4gvfwhb {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Button Variants - Using CSS Custom Properties */
.btn-primary[b-tca4gvfwhb] {
    background-color: var(--color-primary, #0d6efd);
    color: white;
}

    .btn-primary:not(:disabled):not(.loading):hover[b-tca4gvfwhb] {
        background-color: var(--color-primary-dark, #0b5ed7);
    }

.btn-secondary[b-tca4gvfwhb] {
    background-color: #6c757d;
    color: white;
}

.btn-secondary:not(:disabled):not(.loading):hover[b-tca4gvfwhb] {
    background-color: #5c636a;
}

.btn-success[b-tca4gvfwhb] {
    background-color: #198754;
    color: white;
}

.btn-success:not(:disabled):not(.loading):hover[b-tca4gvfwhb] {
    background-color: #157347;
}

.btn-danger[b-tca4gvfwhb] {
    background-color: #dc3545;
    color: white;
}

.btn-danger:not(:disabled):not(.loading):hover[b-tca4gvfwhb] {
    background-color: #bb2d3b;
}

.btn-warning[b-tca4gvfwhb] {
    background-color: #ffc107;
    color: #000;
}

.btn-warning:not(:disabled):not(.loading):hover[b-tca4gvfwhb] {
    background-color: #ffca2c;
}

.btn-info[b-tca4gvfwhb] {
    background-color: #0dcaf0;
    color: #000;
}

.btn-info:not(:disabled):not(.loading):hover[b-tca4gvfwhb] {
    background-color: #31d2f2;
}

/* State-based Button Colors - Using CSS Custom Properties */
.btn-state-success[b-tca4gvfwhb] {
    background-color: var(--color-success, #198754);
    color: white;
    transition: background-color 0.3s ease;
}

.btn-state-success:not(:disabled):not(.loading):hover[b-tca4gvfwhb] {
    background-color: var(--color-success-hover, #157347);
}

.btn-state-error[b-tca4gvfwhb] {
    background-color: var(--color-error, #dc3545);
    color: white;
    transition: background-color 0.3s ease;
}

.btn-state-error:not(:disabled):not(.loading):hover[b-tca4gvfwhb] {
    background-color: var(--color-error-hover, #bb2d3b);
}

/* Loading State */
.action-button.loading[b-tca4gvfwhb] {
    pointer-events: none;
}

/* Icon Styling */
.action-button i[b-tca4gvfwhb] {
    font-size: 1.125rem;
}

/* Small Button Variant */
.action-button.btn-sm[b-tca4gvfwhb] {
    padding: 0 1rem;
    font-size: 0.875rem;
    min-width: 100px;
    height: 38px;
}

.action-button.btn-sm .loader[b-tca4gvfwhb] {
    width: 1rem;
    height: 1rem;
    border-width: 0.15rem;
}

.action-button.btn-sm i[b-tca4gvfwhb] {
    font-size: 1rem;
}

/* Large Button Variant */
.action-button.btn-lg[b-tca4gvfwhb] {
    padding: 0 2rem;
    font-size: 1.25rem;
    min-width: 150px;
    height: 48px;
}

.action-button.btn-lg .loader[b-tca4gvfwhb] {
    width: 1.5rem;
    height: 1.5rem;
    border-width: 0.25rem;
}

.action-button.btn-lg i[b-tca4gvfwhb] {
    font-size: 1.375rem;
}

/* Focus State */
.action-button:focus[b-tca4gvfwhb] {
    outline: none;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.btn-success:focus[b-tca4gvfwhb],
.btn-state-success:focus[b-tca4gvfwhb] {
    box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.25);
}

.btn-danger:focus[b-tca4gvfwhb],
.btn-state-error:focus[b-tca4gvfwhb] {
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}

.btn-warning:focus[b-tca4gvfwhb] {
    box-shadow: 0 0 0 0.25rem rgba(255, 193, 7, 0.25);
}

/* Icon-only Button Variant */
.action-button.icon-only[b-tca4gvfwhb] {
    min-width: auto;
    padding: 0 0.75rem;
    height: 38px;
}

.action-button.icon-only .button-text:empty[b-tca4gvfwhb] {
    display: none;
}

/* Dropdown Item Action Style */
.action-button.dropdown-item-action[b-tca4gvfwhb] {
    width: 100%;
    justify-content: flex-start;
    padding: 0.5rem 1rem;
    border-radius: 0;
    background: transparent;
    color: var(--text-primary, #333);
    min-width: auto;
    font-weight: 400;
    text-align: left;
}

.action-button.dropdown-item-action:not(:disabled):not(.loading):hover[b-tca4gvfwhb] {
    background-color: var(--color-gray-100, #f8f9fa);
    transform: none;
    box-shadow: none;
}

.action-button.dropdown-item-action.loading[b-tca4gvfwhb] {
    background-color: var(--color-gray-100, #f8f9fa);
}

/* Smooth animation for better UX */
@media (prefers-reduced-motion: reduce) {
    .action-button[b-tca4gvfwhb],
    .button-content[b-tca4gvfwhb],
    .loader[b-tca4gvfwhb] {
        transition: none;
        animation: none;
    }
}
/* /Components/UI/Common/OptionToggle.razor.rz.scp.css */
/* Toggle Switch Component Styles */

.option-toggle-wrapper[b-ru7sin36cd] {
    display: inline-block;
    vertical-align: middle;
}

.switch-label[b-ru7sin36cd] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    position: relative;
    user-select: none;
    margin: 0;
    padding: 0;
}

.switch-label.disabled[b-ru7sin36cd] {
    cursor: not-allowed;
    opacity: 0.6;
}

.switch-input[b-ru7sin36cd] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.switch-slider[b-ru7sin36cd] {
    position: relative;
    display: inline-block;
    width: 38px;
    height: 20px;
    background-color: #ccc;
    border-radius: 24px;
    transition: background-color 0.3s ease;
    flex-shrink: 0;
}

.switch-slider[b-ru7sin36cd]::before {
    content: "";
    position: absolute;
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Checked state */
.switch-input:checked + .switch-slider[b-ru7sin36cd] {
    background-color: var(--color-primary);
}

.switch-input:checked + .switch-slider[b-ru7sin36cd]::before {
    transform: translateX(18px);
}

/* Disabled state */
.switch-input:disabled + .switch-slider[b-ru7sin36cd] {
    background-color: var(--color-primary);
    cursor: not-allowed;
}

.switch-input:disabled:checked + .switch-slider[b-ru7sin36cd] {
    background-color: #9db8e0;
}

/* Focus state for accessibility: 2px accent ring with 2px offset */
.switch-input:focus-visible + .switch-slider[b-ru7sin36cd] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Text label */
.switch-text[b-ru7sin36cd] {
    font-weight: 500;
    color: var(--text-primary, #212529);
    min-width: 30px;
    font-size: 0.9375rem;
    line-height: 1.5;
}

.switch-input:disabled ~ .switch-text[b-ru7sin36cd] {
    color: var(--text-secondary, #6c757d);
}

/* Hover effect */
.switch-label:not(.disabled):hover .switch-slider[b-ru7sin36cd] {
    xbackground-color: var(--color-primary);
}

.switch-label:not(.disabled):hover .switch-input:checked + .switch-slider[b-ru7sin36cd] {
    xbackground-color: var(--color-primary);
}

/* Smooth animation for better UX */
@media (prefers-reduced-motion: reduce) {
    .switch-slider[b-ru7sin36cd],
    .switch-slider[b-ru7sin36cd]::before {
        transition: none;
    }
}
/* /Components/UI/Events/InlineEventEditor.razor.rz.scp.css */
.tag-chip[b-rcf1vhtwlq] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    background: #d0aed2;
    color: #111827;
    border-radius: 16px;
    font-size: 13px;
    box-shadow: 0 1px 0 rgba(16, 24, 40, 0.03);
}

.tag-chip .tag-remove[b-rcf1vhtwlq] {
    background: transparent;
    border: none;
    color: rgba(0,0,0,0.6);
    font-weight: 700;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
}

.tag-chip .tag-remove:hover[b-rcf1vhtwlq] {
    color: rgba(0,0,0,0.9);
}

.tag-remove:focus[b-rcf1vhtwlq] {
    outline: 2px solid rgba(59,130,246,0.3);
    outline-offset: 2px;
}

.detail-row label + .tag-chip[b-rcf1vhtwlq] {
    margin-top: 4px;
}
:root[b-rcf1vhtwlq] {
}

/* Reuse viewer styles and add editor-specific tweaks */

.inline-editor .details-card[b-rcf1vhtwlq] {
    padding: 12px;
}

.inline-editor .detail-row[b-rcf1vhtwlq] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 10px;
}

.inline-editor .detail-row label[b-rcf1vhtwlq] {
    min-width: 90px;
}

.form-message[b-rcf1vhtwlq] {
    margin-top: 8px;
    padding: 8px;
    border-radius: var(--border-radius-sm);
}

/* Private / Share-with-organisation segmented control */
.visibility-toggle[b-rcf1vhtwlq] {
    display: inline-flex;
    border: 1px solid var(--border-color, #d1d5db);
    border-radius: 999px;
    overflow: hidden;
    background: var(--surface-color, #f3f4f6);
}

.visibility-toggle .visibility-option[b-rcf1vhtwlq] {
    border: none;
    background: transparent;
    padding: 4px 14px;
    font-size: 13px;
    line-height: 1.4;
    cursor: pointer;
    color: var(--text-muted, #6b7280);
    white-space: nowrap;
}

.visibility-toggle .visibility-option + .visibility-option[b-rcf1vhtwlq] {
    border-left: 1px solid var(--border-color, #d1d5db);
}

.visibility-toggle .visibility-option.active[b-rcf1vhtwlq] {
    background: var(--primary-color, #6c5ce7);
    color: #fff;
    font-weight: 600;
}

.visibility-toggle.disabled[b-rcf1vhtwlq] {
    opacity: 0.6;
}

.visibility-toggle .visibility-option:disabled[b-rcf1vhtwlq] {
    cursor: not-allowed;
}

.form-message-success[b-rcf1vhtwlq] {
    background: rgba(0, 170, 68, 0.06);
    color: #0a7a2b;
}

.form-message-error[b-rcf1vhtwlq] {
    background: rgba(255, 0, 0, 0.06);
    color: #a30000;
}

.checkbox-label[b-rcf1vhtwlq] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

/* Event Notes Section */
.notes-section[b-rcf1vhtwlq] {

}

.notes-header[b-rcf1vhtwlq] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.notes-header h5[b-rcf1vhtwlq] {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary, #212529);
}

.notes-list[b-rcf1vhtwlq] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-height: 400px;
    overflow-y: auto;
}

.note-item[b-rcf1vhtwlq] {
    padding: 0.875rem;
    background: var(--surface-secondary, #f8f9fa);
    border: 1px solid var(--border-color, #dee2e6);
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.note-item:hover[b-rcf1vhtwlq] {
    background: var(--surface-hover, #e9ecef);
    border-color: var(--border-hover, #adb5bd);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.note-item-header[b-rcf1vhtwlq] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.note-author[b-rcf1vhtwlq] {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-primary, #212529);
}

.note-date[b-rcf1vhtwlq] {
    font-size: 0.75rem;
    color: var(--text-secondary, #6c757d);
}

.note-snippet[b-rcf1vhtwlq] {
    font-size: 0.875rem;
    color: var(--text-secondary, #495057);
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Modal Styles */
.modal-backdrop[b-rcf1vhtwlq] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    animation: fadeIn-b-rcf1vhtwlq 0.2s ease;
}

@keyframes fadeIn-b-rcf1vhtwlq {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-dialog[b-rcf1vhtwlq] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1050;
    width: 90%;
    max-width: 700px;
    max-height: 80vh;
    animation: slideIn-b-rcf1vhtwlq 0.3s ease;
}

@keyframes slideIn-b-rcf1vhtwlq {
    from {
        opacity: 0;
        transform: translate(-50%, -48%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.modal-content[b-rcf1vhtwlq] {
    background: var(--surface-primary, #ffffff);
    border-radius: 0.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    max-height: 80vh;
}

.modal-header[b-rcf1vhtwlq] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-color, #dee2e6);
}

.modal-header h5[b-rcf1vhtwlq] {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary, #212529);
}

.modal-close-btn[b-rcf1vhtwlq] {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--text-secondary, #6c757d);
    cursor: pointer;
    padding: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.25rem;
    transition: all 0.2s ease;
}

.modal-close-btn:hover[b-rcf1vhtwlq] {
    background: var(--surface-hover, #e9ecef);
    color: var(--text-primary, #212529);
}

.modal-body[b-rcf1vhtwlq] {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
}

.note-editor[b-rcf1vhtwlq] {
    width: 100%;
    min-height: 300px;
    padding: 0.75rem;
    border: 1px solid var(--border-color, #dee2e6);
    border-radius: 0.375rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 0.9375rem;
    line-height: 1.6;
    resize: vertical;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.note-editor:focus[b-rcf1vhtwlq] {
    outline: none;
    border-color: var(--primary-color, #0d6efd);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.note-editor[b-rcf1vhtwlq]::placeholder {
    color: var(--text-muted, #adb5bd);
}

.modal-footer[b-rcf1vhtwlq] {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-color, #dee2e6);
}

.modal-footer .btn[b-rcf1vhtwlq] {
    padding: 0.5rem 1.25rem;
    font-size: 0.9375rem;
    border-radius: 0.375rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

/* Empty state */
.notes-list:empty[b-rcf1vhtwlq]::after {
    content: "No notes yet. Click 'Add Note' to create one.";
    display: block;
    padding: 2rem;
    text-align: center;
    color: var(--text-secondary, #6c757d);
    font-style: italic;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .modal-dialog[b-rcf1vhtwlq] {
        width: 95%;
        max-height: 90vh;
    }

    .modal-content[b-rcf1vhtwlq] {
        max-height: 90vh;
    }

    .note-editor[b-rcf1vhtwlq] {
        min-height: 250px;
    }

    .notes-header[b-rcf1vhtwlq] {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}

/* /Components/UI/Events/InlineEventViewer.razor.rz.scp.css */
:root[b-2drfmhx12w] {
    /* local component variables */
}

/* Panel title used in both viewer and editor */
.panel-title[b-2drfmhx12w] {
    font-size: 1.1rem;
    margin: 0 0 12px 0;
    font-weight: 600;
}

.details-card[b-2drfmhx12w] {
    box-sizing: border-box;
}

.detail-row[b-2drfmhx12w] {
    margin-bottom: 10px;
}

.detail-row label[b-2drfmhx12w] {
    min-width: 80px;
    color: var(--color-muted);
    font-size: 0.95rem;
}

.detail-row span[b-2drfmhx12w] {
    flex: 1 1 auto;
}

.detail-row.detail-row-full[b-2drfmhx12w] {
    flex-direction: column;
    align-items: stretch;
}

.detail-actions[b-2drfmhx12w] {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.no-selection[b-2drfmhx12w] {
    padding: 20px;
    text-align: center;
    color: var(--color-muted);
}

/*.event-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.event-list li {*/
/*    padding: 6px 0;
    xborder-bottom: 1px dashed rgba(0,0,0,0.04);*/
    /*display: flex;
    text-decoration: none;
}

.event-link {
    color: inherit;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .event-link:hover,
    .event-link:focus {
        text-decoration: none;
    }*/

.color-preview[b-2drfmhx12w] {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 2px;
    margin-right: 8px;
    vertical-align: middle;
    border: 1px solid rgba(0,0,0,0.06);
}

.event-type-badge[b-2drfmhx12w] {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
}

.desc[b-2drfmhx12w] {
    color: var(--color-muted);
    font-size: 0.85rem;
    margin-left: 6px;
}

.less-important-properties[b-2drfmhx12w] {
    margin-top: 12px;
    border-top: 1px dashed rgba(0,0,0,0.06);
    padding-top: 8px;
    color: var(--color-muted);
    font-size: 0.9rem;
}

/* Form controls used by editor and viewer */
.form-input[b-2drfmhx12w] {
    padding: 6px 8px;
    xborder-radius: var(--border-radius-sm);
    xborder: 1px solid var(--border-color-light);
    width: 100%;
    box-sizing: border-box;
}

.form-textarea[b-2drfmhx12w] {
    padding: 8px;
    xborder-radius: var(--border-radius-sm);
    xborder: 1px solid var(--border-color-light);
    width: 100%;
    box-sizing: border-box;
    resize: vertical;
}

/* Upload Modal Styles */
.upload-modal[b-2drfmhx12w] {
    width: 600px;
    max-width: 95vw;
}

.bulk-settings[b-2drfmhx12w] {
    background: var(--color-gray-100);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 16px;
    margin-bottom: 20px;
}

.bulk-settings-row[b-2drfmhx12w] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-field-inline[b-2drfmhx12w] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    .form-field-inline .form-label[b-2drfmhx12w] {
        font-size: 0.85rem;
        font-weight: var(--font-weight-medium);
        color: var(--color-gray-700);
        margin: 0;
    }

    .form-field-inline .form-select[b-2drfmhx12w] {
        padding: 8px 10px;
        border: 1px solid var(--border-color);
        border-radius: var(--border-radius-sm);
        background: var(--color-white);
        font-size: 0.85rem;
        color: var(--color-gray-800);
        transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    }

        .form-field-inline .form-select:focus[b-2drfmhx12w] {
            outline: none;
            border-color: var(--color-primary);
            box-shadow: 0 0 0 3px rgba(27, 110, 194, 0.1);
        }

    /* Ensure ColoredCategorySelect works well in the inline layout */
    .form-field-inline .colored-category-select[b-2drfmhx12w] {
        width: 100%;
    }

.upload-instructions[b-2drfmhx12w] {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 16px;
    margin-bottom: 20px;
}

.instructions-text[b-2drfmhx12w] {
    margin: 0 0 12px 0;
    font-weight: var(--font-weight-medium);
    color: var(--color-gray-700);
    display: flex;
    align-items: center;
    gap: 8px;
}

    .instructions-text i[b-2drfmhx12w] {
        color: var(--color-info);
        font-size: 1.1rem;
    }

.format-examples[b-2drfmhx12w] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.example-item[b-2drfmhx12w] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    background: var(--color-white);
    border-radius: var(--border-radius-sm);
    border-left: 3px solid var(--color-primary);
}

.format-code[b-2drfmhx12w] {
    flex: 1;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 0.85rem;
    color: var(--color-gray-800);
    background: rgba(27, 110, 194, 0.08);
    padding: 4px 8px;
    border-radius: 3px;
    border: 1px solid rgba(27, 110, 194, 0.15);
}

.example-label[b-2drfmhx12w] {
    font-size: 0.75rem;
    color: var(--color-gray-600);
    white-space: nowrap;
}

.format-hint[b-2drfmhx12w] {
    margin: 0;
    font-size: 0.8rem;
    color: var(--color-gray-600);
    padding: 8px 12px;
    background: var(--color-white);
    border-radius: var(--border-radius-sm);
    border: 1px dashed var(--border-color);
}

    .format-hint code[b-2drfmhx12w] {
        font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
        font-size: 0.75rem;
        color: var(--color-primary);
        background: rgba(27, 110, 194, 0.08);
        padding: 2px 6px;
        border-radius: 3px;
        white-space: nowrap;
    }

.upload-textarea[b-2drfmhx12w] {
    min-height: 180px;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 0.85rem;
    line-height: 1.6;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-md);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

    .upload-textarea:focus[b-2drfmhx12w] {
        outline: none;
        border-color: var(--color-primary);
        box-shadow: 0 0 0 3px rgba(27, 110, 194, 0.1);
    }

    .upload-textarea[b-2drfmhx12w]::placeholder {
        color: var(--color-gray-400);
        font-style: italic;
    }

.upload-errors[b-2drfmhx12w] {
    background: #fff5f5;
    border: 1px solid #feb2b2;
    border-left: 4px solid var(--color-danger);
    border-radius: var(--border-radius-md);
    padding: 14px 16px;
    margin-top: 16px;
}

.error-header[b-2drfmhx12w] {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-danger);
    margin-bottom: 10px;
    font-size: 0.9rem;
}

    .error-header i[b-2drfmhx12w] {
        font-size: 1.1rem;
    }

.error-list[b-2drfmhx12w] {
    margin: 0;
    padding-left: 24px;
    list-style: none;
}

    .error-list li[b-2drfmhx12w] {
        position: relative;
        padding: 4px 0;
        color: #742a2a;
        font-size: 0.85rem;
        line-height: 1.4;
    }

        .error-list li[b-2drfmhx12w]::before {
            content: '•';
            position: absolute;
            left: -14px;
            color: var(--color-danger);
            font-weight: bold;
        }
/* /Components/UI/FilterDropdown.razor.rz.scp.css */
.filter-dropdown-header[b-vn7wmbhagf] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0.5rem;
    gap: 1rem;
    flex-wrap: wrap;
    position: sticky;
    left: 0;
    background-color: var(--bg-primary);
    z-index: calc(var(--z-index-sticky) + 20);
}

.filter-selector-container[b-vn7wmbhagf] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.filter-label[b-vn7wmbhagf] {
    font-weight: 600;
    color: var(--color-gray-700);
    margin: 0;
    white-space: nowrap;
}

.filter-select[b-vn7wmbhagf] {
    min-width: 200px;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--color-gray-300);
    border-radius: 6px;
    background-color: white;
    font-size: 0.95rem;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

    .filter-select:focus[b-vn7wmbhagf] {
        outline: none;
        border-color: var(--color-primary);
        box-shadow: 0 0 0 3px rgba(33, 101, 244, 0.1);
    }

    .filter-select:hover[b-vn7wmbhagf] {
        border-color: var(--color-gray-400);
    }

.date-range-display[b-vn7wmbhagf] {
    font-weight: 500;
    color: var(--color-gray-700);
    padding: 0.5rem 0.75rem;
    background-color: var(--bg-primary);
    border-radius: 6px;
    white-space: nowrap;
}

/* Dark mode styles */
@media (prefers-color-scheme: dark) {
    .filter-select[b-vn7wmbhagf] {
        background-color: var(--bg-secondary, #1a1a2e);
        color: var(--text-primary, #f0f0f5);
        border-color: var(--color-gray-600, #4a5568);
    }

    .filter-select:hover[b-vn7wmbhagf] {
        border-color: var(--color-gray-500, #718096);
    }

    .filter-label[b-vn7wmbhagf] {
        color: var(--text-secondary, #a0aec0);
    }

    .date-range-display[b-vn7wmbhagf] {
        color: var(--text-primary, #f0f0f5);
    }
}

[data-theme="dark"] .filter-select[b-vn7wmbhagf],
.dark .filter-select[b-vn7wmbhagf] {
    background-color: var(--bg-secondary, #1a1a2e);
    color: var(--text-primary, #f0f0f5);
    border-color: var(--color-gray-600, #4a5568);
}

[data-theme="dark"] .filter-select:hover[b-vn7wmbhagf],
.dark .filter-select:hover[b-vn7wmbhagf] {
    border-color: var(--color-gray-500, #718096);
}

[data-theme="dark"] .filter-label[b-vn7wmbhagf],
.dark .filter-label[b-vn7wmbhagf] {
    color: var(--text-secondary, #a0aec0);
}

[data-theme="dark"] .date-range-display[b-vn7wmbhagf],
.dark .date-range-display[b-vn7wmbhagf] {
    color: var(--text-primary, #f0f0f5);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .filter-dropdown-header[b-vn7wmbhagf] {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-selector-container[b-vn7wmbhagf] {
        width: 100%;
    }

    .filter-select[b-vn7wmbhagf] {
        flex: 1;
        min-width: 0;
    }

    .date-range-display[b-vn7wmbhagf] {
        text-align: center;
    }
}
/* /Components/UI/Organisations/OrganisationPicker.razor.rz.scp.css */
/* Type-ahead organisation picker — matches the org "Move to parent" dialog. */

.move-dialog-backdrop[b-qz4pbtjrv6] {
    position: fixed;
    inset: 0;
    z-index: 1300;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 12vh;
    background: color-mix(in srgb, var(--bg-primary) 45%, transparent);
}

.move-dialog[b-qz4pbtjrv6] {
    width: min(440px, 92vw);
    max-height: 70vh;
    display: flex;
    flex-direction: column;
    padding: 18px 20px;
    border-radius: var(--border-radius-lg, 12px);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.move-dialog-title[b-qz4pbtjrv6] {
    margin: 0 0 2px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
}

.move-dialog-sub[b-qz4pbtjrv6] {
    margin: 0 0 12px;
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.move-dialog-input[b-qz4pbtjrv6] {
    width: 100%;
    box-sizing: border-box;
    padding: 8px 12px;
    margin-bottom: 10px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md, 8px);
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 0.92rem;
}

.move-dialog-input:focus-visible[b-qz4pbtjrv6] {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 25%, transparent);
}

.move-dialog-results[b-qz4pbtjrv6] {
    flex: 1 1 auto;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-height: 60px;
}

.move-dialog-result[b-qz4pbtjrv6] {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    text-align: left;
    padding: 8px 10px;
    border: none;
    border-radius: var(--border-radius-sm, 4px);
    background: transparent;
    color: var(--text-primary);
    cursor: pointer;
    font-size: 0.9rem;
}

.move-dialog-result:hover[b-qz4pbtjrv6] {
    background: var(--bg-hover);
}

.move-dialog-result:focus-visible[b-qz4pbtjrv6] {
    outline: 2px solid var(--color-primary);
    outline-offset: -2px;
}

.move-dialog-result.selected[b-qz4pbtjrv6] {
    background: var(--bg-hover);
    font-weight: var(--font-weight-semibold, 600);
}

.move-dialog-result .bi[b-qz4pbtjrv6] {
    color: var(--text-secondary);
    flex: 0 0 auto;
}

.move-dialog-empty[b-qz4pbtjrv6] {
    margin: 8px 4px;
    font-size: 0.85rem;
}

.move-dialog-actions[b-qz4pbtjrv6] {
    display: flex;
    justify-content: flex-end;
    margin-top: 12px;
}
/* /Components/UI/Organisations/OrganisationTreeNode.razor.rz.scp.css */
.node-icon[b-jhg97n2lou] {
    margin-right: 0.5rem;
    color: var(--color-primary);
    font-size: 0.9rem;
}

.user-icon[b-jhg97n2lou] {
    color: var(--color-secondary);
    font-size: 1rem;
}

.user-count-badge[b-jhg97n2lou] {
    display: inline-block;
    background: var(--color-primary);
    color: white;
    font-size: 0.7rem;
    padding: 0.1rem 0.4rem;
    border-radius: 10px;
    margin-left: 0.5rem;
    font-weight: 600;
}

.user-email-hint[b-jhg97n2lou] {
    font-size: 0.75rem;
    color: var(--color-gray-500);
    margin-left: 0.5rem;
}

.tree-item.user-item[b-jhg97n2lou] {
    cursor: move;
}

    .tree-item.user-item:hover[b-jhg97n2lou] {
        background-color: rgba(108, 117, 125, 0.15);
    }

/* Linked users are symbolic links from another (home) organisation — not draggable here,
   and set apart from home members with a link-coloured icon and italic label. */
.tree-item.linked-user-item[b-jhg97n2lou] {
    cursor: pointer;
}

.linked-user-item .tree-label[b-jhg97n2lou] {
    font-style: italic;
}

.linked-user-icon[b-jhg97n2lou] {
    color: var(--color-primary);
}

.tree-item[b-jhg97n2lou] {
    transition: background-color 0.15s ease, border-color 0.15s ease;
    border: 2px solid transparent;
    padding: 0.4rem 0.75rem;
}

    .tree-item.drag-over[b-jhg97n2lou] {
        background-color: var(--bs-primary-bg-subtle, #cfe2ff) !important;
        border-color: var(--bs-primary, #0d6efd);
        border-style: dashed;
    }

    .tree-item.dragging[b-jhg97n2lou] {
        opacity: 0.5;
    }
/* /Components/UI/Organisations/OrganisationTreePanel.razor.rz.scp.css */
/* Left-panel chrome for organisation management — shared by the admin and self-service views.
   Calm restyle: hairline dividers, no boxed cards/shadows, accent only on active/focus. */

/* Tree column — a single hairline separates it from the details column (set by the host). */
.org-tree[b-1wbxl89m3l] {
    border-radius: 0;
    display: flex;
    flex-direction: column;
    max-height: calc(87vh - 2rem);
}

/* ── Metrics ─────────────────────────────────────────────────────────────── */
.org-metrics[b-1wbxl89m3l] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 8px 0 4px;
}

.org-metric[b-1wbxl89m3l] {
    flex: 1 1 0;
    min-width: 64px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 12px;
    border: 1px solid var(--border-color-light, var(--border-color));
    border-radius: var(--border-radius-md, 8px);
    background: var(--bg-secondary);
}

.org-metric-value[b-1wbxl89m3l] {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-primary);
}

.org-metric-label[b-1wbxl89m3l] {
    margin-top: 2px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
}

/* ── Search organisations / people ───────────────────────────────────────── */
.org-search[b-1wbxl89m3l] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0 4px;
    padding: 6px 10px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md, 8px);
    background: var(--bg-primary);
}

.org-search:focus-within[b-1wbxl89m3l] {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 25%, transparent);
}

.org-search .bi-search[b-1wbxl89m3l] {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.org-search-input[b-1wbxl89m3l] {
    flex: 1 1 auto;
    min-width: 0;
    border: none;
    background: transparent;
    color: var(--text-primary);
    font-size: 0.9rem;
    outline: none;
}

.org-search-clear[b-1wbxl89m3l] {
    border: none;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    padding: 2px;
    line-height: 1;
}

.org-search-clear:hover[b-1wbxl89m3l] {
    color: var(--text-primary);
}

.search-group-label[b-1wbxl89m3l] {
    margin: 10px 0 4px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
}

.search-result[b-1wbxl89m3l] {
    display: flex;
    align-items: baseline;
    gap: 8px;
    width: 100%;
    text-align: left;
    padding: 8px 10px;
    border: none;
    border-radius: var(--border-radius-sm, 4px);
    background: transparent;
    color: var(--text-primary);
    cursor: pointer;
}

.search-result:hover[b-1wbxl89m3l] {
    background: var(--bg-hover);
}

.search-result.active[b-1wbxl89m3l] {
    background: color-mix(in srgb, var(--color-primary) 12%, transparent);
}

.search-result .bi[b-1wbxl89m3l] {
    color: var(--text-secondary);
    font-size: 0.85rem;
    flex: 0 0 auto;
}

.search-result-main[b-1wbxl89m3l] {
    font-weight: 500;
}

.search-result-sub[b-1wbxl89m3l] {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-left: auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 55%;
}

.search-result:focus-visible[b-1wbxl89m3l] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Root drop zone — neutral by default, accent only on hover/active drag. */
.root-drop-zone[b-1wbxl89m3l] {
    border: 2px dashed var(--border-color-light);
    border-radius: var(--border-radius-sm);
    background: var(--bg-secondary);
    color: var(--text-muted);
    transition: border-color var(--transition-fast), background var(--transition-fast);
}

.root-drop-zone:hover[b-1wbxl89m3l],
.root-drop-zone.drag-over[b-1wbxl89m3l] {
    border-color: var(--color-primary);
    color: var(--text-secondary);
    background: color-mix(in srgb, var(--color-primary) 6%, transparent);
}

@media (prefers-reduced-motion: reduce) {
    .root-drop-zone[b-1wbxl89m3l] {
        transition: none;
    }
}
/* /Components/UI/Organisations/RelatedOrganisationsEditor.razor.rz.scp.css */
.related-orgs-editor[b-vyn3kwc8t6] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.related-orgs-empty[b-vyn3kwc8t6] {
    margin: 0;
}

.related-orgs-table[b-vyn3kwc8t6] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.related-orgs-table th[b-vyn3kwc8t6],
.related-orgs-table td[b-vyn3kwc8t6] {
    padding: 0.35rem 0.5rem;
    border-bottom: 1px solid var(--border-color, #d0d7de);
    text-align: center;
}

.related-orgs-table th:first-child[b-vyn3kwc8t6],
.related-orgs-table td.related-orgs-name[b-vyn3kwc8t6] {
    text-align: left;
}

.related-orgs-table th[b-vyn3kwc8t6] {
    font-weight: 600;
    color: var(--text-muted, #6e7781);
    white-space: nowrap;
}

.related-orgs-name[b-vyn3kwc8t6] {
    word-break: break-word;
}

.related-orgs-actions[b-vyn3kwc8t6] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

/* Round, custom-styled access checkboxes — matches the linked-user access flags elsewhere. The
   native box is replaced; a tick can't be drawn with a pseudo-element on an <input>, so the
   checkmark is an SVG background on the checked state. */
.related-orgs-table input[type="checkbox"][b-vyn3kwc8t6] {
    appearance: none;
    -webkit-appearance: none;
    margin: 0;
    width: 1.15rem;
    height: 1.15rem;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    background: var(--bg-primary);
    cursor: pointer;
    vertical-align: middle;
    transition: background-color 0.12s ease, border-color 0.12s ease;
}

.related-orgs-table input[type="checkbox"]:hover:not(:disabled)[b-vyn3kwc8t6] {
    border-color: var(--color-primary);
}

.related-orgs-table input[type="checkbox"]:checked[b-vyn3kwc8t6] {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5l3 3 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 0.72rem 0.72rem;
}

.related-orgs-table input[type="checkbox"]:focus-visible[b-vyn3kwc8t6] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.related-orgs-table input[type="checkbox"]:disabled[b-vyn3kwc8t6] {
    opacity: 0.5;
    cursor: not-allowed;
}

@media (prefers-reduced-motion: reduce) {
    .related-orgs-table input[type="checkbox"][b-vyn3kwc8t6] {
        transition: none;
    }
}
/* /Components/UI/Organisations/UserRolesEditor.razor.rz.scp.css */
.roles-editor[b-k3c64t4udo] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.roles-current[b-k3c64t4udo] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* A chip per assigned role, with an inline remove control. */
.role-chip[b-k3c64t4udo] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.5rem 0.25rem 0.75rem;
    border: 1px solid var(--border-color, #dee2e6);
    border-radius: 1rem;
    background: var(--surface-primary, #ffffff);
    font-size: 0.875rem;
}

.role-chip-name[b-k3c64t4udo] {
    color: var(--text-primary, #212529);
}

.role-chip-remove[b-k3c64t4udo] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    cursor: pointer;
    color: var(--text-secondary, #6c757d);
    padding: 0;
    font-size: 0.75rem;
    line-height: 1;
}

    .role-chip-remove:hover:not(:disabled)[b-k3c64t4udo] {
        color: var(--color-danger, #dc3545);
    }

    .role-chip-remove:disabled[b-k3c64t4udo] {
        cursor: not-allowed;
        opacity: 0.5;
    }

.roles-add[b-k3c64t4udo] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

    .roles-add .form-input[b-k3c64t4udo] {
        max-width: 320px;
    }

.roles-hint[b-k3c64t4udo] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8125rem;
    margin: 0;
}

.save-whisper[b-k3c64t4udo] {
    color: var(--color-success, #198754);
    font-size: 0.8125rem;
}
/* /Components/UI/SettingsOrganisation/OrganisationSettings.razor.rz.scp.css */
/* Self-service organisation settings.
   The left tree column now uses the shared OrganisationTreePanel; this file keeps the page-level
   seat banner and styles the right-hand properties column to match the admin "calm" details card
   (hairline dividers, accent only on active/focus). */

/* ── Seat / capability banner (page-level, above the panel) ─────────────────── */
.seat-banner[b-y5nw9dob8a] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0.9rem;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color, #d0d7de);
    border-radius: 8px;
    background: var(--surface-muted, #f6f8fa);
}

.seat-banner-full[b-y5nw9dob8a] {
    border-color: #d1242f;
    background: rgba(209, 36, 47, 0.08);
}

.seat-banner-note[b-y5nw9dob8a] {
    color: #d1242f;
    font-size: 0.85rem;
}

/* ── Link contribution flags (used in link / linked-user forms) ─────────────── */

.detail-properties-page[b-y5nw9dob8a] {
    height: 78vh;
}



.link-flags[b-y5nw9dob8a] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    justify-content: space-around;
}

.link-flags label[b-y5nw9dob8a] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: normal;
    cursor: pointer;
}

/* Round, custom-styled access checkboxes (the native box is replaced; a tick can't be drawn with a
   pseudo-element on an <input>, so the checkmark is an SVG background on the checked state). */
.link-flags input[type="checkbox"][b-y5nw9dob8a] {
    appearance: none;
    -webkit-appearance: none;
    margin: 0;
    flex: 0 0 auto;
    width: 1.15rem;
    height: 1.15rem;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    background: var(--bg-primary);
    cursor: pointer;
    transition: background-color 0.12s ease, border-color 0.12s ease;
}

.link-flags input[type="checkbox"]:hover[b-y5nw9dob8a] {
    border-color: var(--color-primary);
}

.link-flags input[type="checkbox"]:checked[b-y5nw9dob8a] {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5l3 3 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 0.72rem 0.72rem;
}

.link-flags input[type="checkbox"]:focus-visible[b-y5nw9dob8a] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .link-flags input[type="checkbox"][b-y5nw9dob8a] {
        transition: none;
    }
}

/* ── Properties column ──────────────────────────────────────────────────────── */
/* Quiet panel title — sentence-case weight, no oversized chrome. */
.panel-title[b-y5nw9dob8a] {
    font-size: 1.125rem;
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    margin: 0 0 16px 0;
}

/* Calm hairline divider between the tree and the details, no coloured accent stripe. */
.org-properties[b-y5nw9dob8a] {
    padding: 0 0 0 2rem;
    border-left: 1px solid var(--border-color-light);
    border-radius: 0;
}

/* Detail rows — label + control with a hairline between each row. */
.detail-row[b-y5nw9dob8a] {
    padding: 16px 0;
    gap: 8px;
    border-bottom: 1px solid var(--border-color-light);
}

.detail-row:last-child[b-y5nw9dob8a] {
    border-bottom: none;
}

/* The action rail already carries its own top divider, so the final detail-row's separator
   would stack into a redundant second line. Drop it when a row is the last thing before the
   action rail (or the inline message that precedes it). */
.detail-row:has(+ .detail-actions)[b-y5nw9dob8a],
.detail-row:has(+ .form-message)[b-y5nw9dob8a] {
    border-bottom: none;
}

.detail-row label[b-y5nw9dob8a] {
    font-weight: var(--font-weight-medium);
    color: var(--text-primary);
}

.detail-row .text-muted[b-y5nw9dob8a] {
    color: var(--text-secondary);
}

/* Read-only value (e.g. linked user's email). */
.org-field-value[b-y5nw9dob8a] {
    min-width: 0;
    padding: 6px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--color-gray-800, #343a40);
}

/* Inputs — calm border, visible accent focus ring at 2px offset. */
.form-input[b-y5nw9dob8a],
select.form-input[b-y5nw9dob8a],
textarea.form-input[b-y5nw9dob8a] {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    background: var(--bg-primary);
    color: var(--text-primary);
}

.form-input:focus[b-y5nw9dob8a],
.form-input:focus-visible[b-y5nw9dob8a],
select.form-input:focus[b-y5nw9dob8a],
select.form-input:focus-visible[b-y5nw9dob8a],
textarea.form-input:focus[b-y5nw9dob8a],
textarea.form-input:focus-visible[b-y5nw9dob8a] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
    border-color: var(--color-primary);
}

/* Action rail — primary action and a grouped, quiet danger control. */
.detail-actions[b-y5nw9dob8a] {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color-light);
    gap: 12px;
}

.no-selection[b-y5nw9dob8a] {
    color: var(--text-muted);
    padding: 1.5rem 0.5rem;
    text-align: center;
}

@media (prefers-reduced-motion: reduce) {
    .form-input[b-y5nw9dob8a] {
        transition: none;
    }
}

@media (max-width: 768px) {
    .org-properties[b-y5nw9dob8a] {
        padding: 24px 0 0 0;
        border-left: none;
        border-top: 1px solid var(--border-color-light);
    }
}
/* /Components/UI/SettingsSystemAdmin/AdminAboutSettings.razor.rz.scp.css */
/* Calm admin restyle — consistent with the user-facing settings sections.
   Hairline dividers, no boxed cards / shadows, no gradient icons.
   Accent (--color-primary) only on active state and focus rings. */

.about-container[b-z4ng8e5n1q] {
    padding: 0;
}

/* Summary row — quiet cells separated by hairlines, no shadows or hover lift. */
.about-summary-row[b-z4ng8e5n1q] {
    gap: 0;
    margin-bottom: 40px;
    border-top: 1px solid var(--border-color-light);
}

.summary-card[b-z4ng8e5n1q] {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-color-light);
    border-radius: 0;
    box-shadow: none;
    padding: 16px 0;
    transition: none;
    align-items: flex-start;
}

.summary-card:hover[b-z4ng8e5n1q] {
    transform: none;
    box-shadow: none;
}

/* Monochrome icon — no gradient fill, no rounded chip. */
.summary-icon[b-z4ng8e5n1q] {
    width: auto;
    height: auto;
    background: none;
    border-radius: 0;
}

.summary-icon i[b-z4ng8e5n1q] {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

/* Sentence-case label, not uppercase letter-spaced. */
.summary-label[b-z4ng8e5n1q] {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    font-weight: var(--font-weight-medium);
    text-transform: none;
    letter-spacing: normal;
    margin-bottom: 0.25rem;
}

.summary-value[b-z4ng8e5n1q] {
    font-size: 1.125rem;
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
}

.summary-detail[b-z4ng8e5n1q] {
    color: var(--text-secondary);
}

/* Detail sections — hairline-separated, no boxed cards or shadows. */
.about-details-grid[b-z4ng8e5n1q] {
    gap: 40px 48px;
}

.about-section[b-z4ng8e5n1q] {
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
}

.about-section h3[b-z4ng8e5n1q] {
    font-size: 1.125rem;
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color-light);
    gap: 0.5rem;
}

.about-section h3 i[b-z4ng8e5n1q] {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Bootstrap's .table paints every cell with --bs-table-bg (the light body background), which
   fights the dark theme and leaves light text on a white cell. Force it transparent so the
   section's own theme background shows through. */
.about-section .table[b-z4ng8e5n1q] {
    --bs-table-bg: transparent;
    --bs-table-color: var(--text-primary);
    color: var(--text-primary);
    background-color: transparent;
}

.about-section .table th[b-z4ng8e5n1q],
.about-section .table td[b-z4ng8e5n1q] {
    background-color: transparent;
}

.about-section .table th[b-z4ng8e5n1q] {
    color: var(--text-secondary);
    font-weight: var(--font-weight-medium);
}

.about-section .table td[b-z4ng8e5n1q] {
    color: var(--text-primary);
}

.about-section code[b-z4ng8e5n1q] {
    color: var(--text-secondary);
    background: var(--bg-secondary);
    border-radius: var(--border-radius-sm);
    padding: 1px 6px;
}

@media (prefers-reduced-motion: reduce) {
    .summary-card[b-z4ng8e5n1q] {
        transition: none;
    }
}
/* /Components/UI/SettingsSystemAdmin/AdminCategoriesSettings.razor.rz.scp.css */
/* Calm admin restyle — consistent with the user-facing settings sections.
   Hairline dividers, no boxed cards / shadows, no left-border accent stripes.
   Accent (--color-primary) only on active state, focus rings and primary buttons. */

.category-tree[b-rv3a5eihy0] {
    border-radius: 0;
    display: flex;
    flex-direction: column;
    max-height: calc(87vh - 2rem);
}

/* Quiet panel title — sentence-case weight, no oversized chrome. */
.panel-title[b-rv3a5eihy0] {
    font-size: 1.125rem;
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    margin: 0 0 16px 0;
}

.categories-header[b-rv3a5eihy0] {
    margin-bottom: 4px;
}

/* Remove the left accent stripe; use a calm hairline divider instead. */
.category-properties[b-rv3a5eihy0] {
    padding: 0 0 0 2rem;
    border-left: 1px solid var(--border-color-light);
    border-radius: 0;
}

/* Root drop zone — neutral by default, accent only on hover/active drag. */
.root-drop-zone[b-rv3a5eihy0] {
    border: 2px dashed var(--border-color-light);
    border-radius: var(--border-radius-sm);
    background: var(--bg-secondary);
    color: var(--text-muted);
    transition: border-color var(--transition-fast), background var(--transition-fast);
}

.root-drop-zone:hover[b-rv3a5eihy0],
.root-drop-zone.drag-over[b-rv3a5eihy0] {
    border-color: var(--color-primary);
    color: var(--text-secondary);
    background: color-mix(in srgb, var(--color-primary) 6%, transparent);
}

/* Tabs — accent only on the active tab. */
.event-editor-tabs[b-rv3a5eihy0] {
    border-bottom: 1px solid var(--border-color-light);
}

.tab-btn[b-rv3a5eihy0] {
    color: var(--text-secondary);
}

.tab-btn:hover[b-rv3a5eihy0] {
    color: var(--text-primary);
}

.tab-btn.active[b-rv3a5eihy0] {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

.tab-btn:focus-visible[b-rv3a5eihy0] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
    border-radius: var(--border-radius-sm);
}

/* Detail rows — label + control with a hairline between each row. */
.detail-row[b-rv3a5eihy0] {
    padding: 16px 0;
    gap: 8px;
    border-bottom: 1px solid var(--border-color-light);
}

.detail-row:last-child[b-rv3a5eihy0] {
    border-bottom: none;
}

/* The action rail already carries its own top divider, so the final detail-row's separator
   would stack into a redundant second line just above the Save button. Drop it when a row is
   the last thing before the action rail (or the inline message that precedes it). */
.detail-row:has(+ .detail-actions)[b-rv3a5eihy0],
.detail-row:has(+ .form-message)[b-rv3a5eihy0] {
    border-bottom: none;
}

.detail-row label[b-rv3a5eihy0] {
    font-weight: var(--font-weight-medium);
    color: var(--text-primary);
}

.detail-row .text-muted[b-rv3a5eihy0] {
    color: var(--text-secondary);
}

.detail-row a[b-rv3a5eihy0] {
    color: var(--color-primary);
}

/* Inputs — calm border, visible accent focus ring at 2px offset. */
.form-input[b-rv3a5eihy0],
select.form-input[b-rv3a5eihy0],
textarea.form-input[b-rv3a5eihy0] {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    background: var(--bg-primary);
    color: var(--text-primary);
}

.form-input:focus[b-rv3a5eihy0],
.form-input:focus-visible[b-rv3a5eihy0],
select.form-input:focus[b-rv3a5eihy0],
select.form-input:focus-visible[b-rv3a5eihy0],
textarea.form-input:focus[b-rv3a5eihy0],
textarea.form-input:focus-visible[b-rv3a5eihy0] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
    border-color: var(--color-primary);
}

/* Action rail — primary action and a grouped, quiet danger control. */
.detail-actions[b-rv3a5eihy0] {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color-light);
    gap: 12px;
}

.no-selection[b-rv3a5eihy0] {
    color: var(--text-muted);
}

@media (prefers-reduced-motion: reduce) {
    .root-drop-zone[b-rv3a5eihy0],
    .tab-btn[b-rv3a5eihy0],
    .form-input[b-rv3a5eihy0] {
        transition: none;
    }
}

@media (max-width: 768px) {
    .category-properties[b-rv3a5eihy0] {
        padding: 24px 0 0 0;
        border-left: none;
        border-top: 1px solid var(--border-color-light);
    }
}
/* /Components/UI/SettingsSystemAdmin/AdminOrganisationsSettings.razor.rz.scp.css */
/* Calm admin restyle — consistent with the user-facing settings sections.
   Hairline dividers, no boxed cards / shadows, no left-border accent stripes.
   Accent (--color-primary) only on active state, focus rings and primary buttons. */

/* Read-only Organisation / Access Point value with a "Change…" button that opens the picker. */
.org-field[b-ny9m5mmiio] {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 400px;
}

.org-field-value[b-ny9m5mmiio] {
    flex: 1;
    min-width: 0;
    padding: 6px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--color-gray-800, #343a40);
}

/* "Moving …" overlay shown while an organisation/user move is in progress. */
.move-overlay[b-ny9m5mmiio] {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--bg-primary) 50%, transparent);
}

.move-overlay-box[b-ny9m5mmiio] {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: var(--border-radius-md, 8px);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 500;
}

.move-spinner[b-ny9m5mmiio] {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    border: 2px solid color-mix(in srgb, var(--color-primary) 28%, transparent);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: move-spin-b-ny9m5mmiio 0.7s linear infinite;
}

@keyframes move-spin-b-ny9m5mmiio {
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .move-spinner[b-ny9m5mmiio] { animation-duration: 0s; }
}

/* Inline "Move" button next to the Parent ID value. */
.detail-parent[b-ny9m5mmiio] {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-move-parent[b-ny9m5mmiio] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    font-size: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm, 4px);
    background: transparent;
    color: var(--color-primary);
    cursor: pointer;
}

.btn-move-parent:hover[b-ny9m5mmiio] {
    background: color-mix(in srgb, var(--color-primary) 10%, transparent);
    border-color: var(--color-primary);
}

.btn-move-parent:focus-visible[b-ny9m5mmiio] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Move-to-parent dialog. */
.move-dialog-backdrop[b-ny9m5mmiio] {
    position: fixed;
    inset: 0;
    z-index: 1300;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 12vh;
    background: color-mix(in srgb, var(--bg-primary) 45%, transparent);
}

.move-dialog[b-ny9m5mmiio] {
    width: min(440px, 92vw);
    max-height: 70vh;
    display: flex;
    flex-direction: column;
    padding: 18px 20px;
    border-radius: var(--border-radius-lg, 12px);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.move-dialog-title[b-ny9m5mmiio] {
    margin: 0 0 2px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
}

.move-dialog-sub[b-ny9m5mmiio] {
    margin: 0 0 12px;
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.move-dialog-input[b-ny9m5mmiio] {
    width: 100%;
    box-sizing: border-box;
    padding: 8px 12px;
    margin-bottom: 10px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md, 8px);
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 0.92rem;
}

.move-dialog-input:focus-visible[b-ny9m5mmiio] {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 25%, transparent);
}

.move-dialog-results[b-ny9m5mmiio] {
    flex: 1 1 auto;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-height: 60px;
}

.move-dialog-result[b-ny9m5mmiio] {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    text-align: left;
    padding: 8px 10px;
    border: none;
    border-radius: var(--border-radius-sm, 4px);
    background: transparent;
    color: var(--text-primary);
    cursor: pointer;
    font-size: 0.9rem;
}

.move-dialog-result:hover[b-ny9m5mmiio] {
    background: var(--bg-hover);
}

.move-dialog-result:focus-visible[b-ny9m5mmiio] {
    outline: 2px solid var(--color-primary);
    outline-offset: -2px;
}

.move-dialog-result .bi[b-ny9m5mmiio] {
    color: var(--text-secondary);
    flex: 0 0 auto;
}

.move-dialog-empty[b-ny9m5mmiio] {
    margin: 8px 4px;
    font-size: 0.85rem;
}

.move-dialog-actions[b-ny9m5mmiio] {
    display: flex;
    justify-content: flex-end;
    margin-top: 12px;
}

/* The left tree column + its metrics/search/drop-zone styling now live with the shared
   OrganisationTreePanel component (OrganisationTreePanel.razor.css). */

/* Quiet panel title — sentence-case weight, no oversized chrome. */
.panel-title[b-ny9m5mmiio] {
    font-size: 1.125rem;
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    margin: 0 0 16px 0;
}

.categories-header[b-ny9m5mmiio] {
    margin-bottom: 4px;
}

/* Remove the left accent stripe; use a calm hairline divider instead. */
.org-properties[b-ny9m5mmiio] {
    padding: 0 0 0 2rem;
    border-left: 1px solid var(--border-color-light);
    border-radius: 0;
}

/* Tabs — accent only on the active tab. */
.event-editor-tabs[b-ny9m5mmiio] {
    border-bottom: 1px solid var(--border-color-light);
}

.tab-btn[b-ny9m5mmiio] {
    color: var(--text-secondary);
}

.tab-btn:hover[b-ny9m5mmiio] {
    color: var(--text-primary);
}

.tab-btn.active[b-ny9m5mmiio] {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

.tab-btn:focus-visible[b-ny9m5mmiio] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
    border-radius: var(--border-radius-sm);
}

/* Detail rows — label + control with a hairline between each row. */
.detail-row[b-ny9m5mmiio] {
    padding: 16px 0;
    gap: 8px;
    border-bottom: 1px solid var(--border-color-light);
}

.detail-row:last-child[b-ny9m5mmiio] {
    border-bottom: none;
}

/* The action rail already carries its own top divider, so the final detail-row's separator
   would stack into a redundant second line just above the Save/Delete buttons. Drop it when a
   row is the last thing before the action rail (or the inline message that precedes it). */
.detail-row:has(+ .detail-actions)[b-ny9m5mmiio],
.detail-row:has(+ .form-message)[b-ny9m5mmiio] {
    border-bottom: none;
}

.detail-row label[b-ny9m5mmiio] {
    font-weight: var(--font-weight-medium);
    color: var(--text-primary);
}

.detail-row .text-muted[b-ny9m5mmiio] {
    color: var(--text-secondary);
}

/* Inputs — calm border, visible accent focus ring at 2px offset. */
.form-input[b-ny9m5mmiio],
select.form-input[b-ny9m5mmiio],
textarea.form-input[b-ny9m5mmiio] {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    background: var(--bg-primary);
    color: var(--text-primary);
}

.form-input:focus[b-ny9m5mmiio],
.form-input:focus-visible[b-ny9m5mmiio],
select.form-input:focus[b-ny9m5mmiio],
select.form-input:focus-visible[b-ny9m5mmiio],
textarea.form-input:focus[b-ny9m5mmiio],
textarea.form-input:focus-visible[b-ny9m5mmiio] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
    border-color: var(--color-primary);
}

/* Action rail — primary action and a grouped, quiet danger control. */
.detail-actions[b-ny9m5mmiio] {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color-light);
    gap: 12px;
}

.no-selection[b-ny9m5mmiio] {
    color: var(--text-muted);
}

@media (prefers-reduced-motion: reduce) {
    .tab-btn[b-ny9m5mmiio],
    .form-input[b-ny9m5mmiio] {
        transition: none;
    }
}

@media (max-width: 768px) {
    .org-properties[b-ny9m5mmiio] {
        padding: 24px 0 0 0;
        border-left: none;
        border-top: 1px solid var(--border-color-light);
    }
}
/* /Components/UI/SettingsSystemAdmin/FeaturesSettings.razor.rz.scp.css */
.group-description[b-eu64vmb043] {
    margin-top: -0.25rem;
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
}

.setting-row[b-eu64vmb043] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem 0;
}

.setting-label[b-eu64vmb043] {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.field-description[b-eu64vmb043] {
    font-size: 0.8rem;
}

.setting-control[b-eu64vmb043] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 480px;
}

.feature-toggle[b-eu64vmb043] {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.save-whisper[b-eu64vmb043] {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-success-text, var(--color-success));
    white-space: nowrap;
    animation: features-saved-fade-b-eu64vmb043 0.2s ease both;
}

@keyframes features-saved-fade-b-eu64vmb043 {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .save-whisper[b-eu64vmb043] { animation: none; }
}
/* /Components/UI/SettingsSystemAdmin/GlobalSettings.razor.rz.scp.css */
.group-description[b-ga20d549gf] {
    margin-top: -0.25rem;
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
}

.setting-row[b-ga20d549gf] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem 0;
}

.setting-label[b-ga20d549gf] {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.field-description[b-ga20d549gf] {
    font-size: 0.8rem;
}

.setting-control[b-ga20d549gf] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 480px;
}

.org-current[b-ga20d549gf] {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.org-current-name[b-ga20d549gf] {
    font-weight: 600;
}

.org-picker[b-ga20d549gf] {
    position: relative;
}

.org-suggestions[b-ga20d549gf] {
    list-style: none;
    margin: 0.25rem 0 0;
    padding: 0;
    border: 1px solid var(--color-border, #ccc);
    border-radius: 6px;
    background: var(--color-surface, #fff);
    max-height: 280px;
    overflow-y: auto;
    position: absolute;
    z-index: 1000;
    width: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.org-suggestion-item[b-ga20d549gf] {
    padding: 0.5rem 0.75rem;
    cursor: pointer;
}

.org-suggestion-item:hover[b-ga20d549gf] {
    background: var(--color-hover, rgba(0, 0, 0, 0.05));
}

.org-clear[b-ga20d549gf] {
    align-self: flex-start;
    background: none;
    border: none;
    padding: 0;
    color: var(--color-link, #0d6efd);
    cursor: pointer;
    font-size: 0.85rem;
    text-decoration: underline;
}

.save-whisper[b-ga20d549gf] {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-success-text, var(--color-success));
    white-space: nowrap;
    animation: global-saved-fade-b-ga20d549gf 0.2s ease both;
}

@keyframes global-saved-fade-b-ga20d549gf {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .save-whisper[b-ga20d549gf] { animation: none; }
}
/* /Components/UI/SettingsSystemAdmin/ReportsSettings.razor.rz.scp.css */
/* ── Tile grid ───────────────────────────────────────────────────────────── */
.report-tiles[b-lld1gsqeq7] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 1.25rem;
}

.report-tile[b-lld1gsqeq7] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    text-align: left;
    padding: 20px;
    border-radius: 14px;
    border: 1px solid var(--border-color, #ddd);
    background: var(--bg-secondary, #fff);
    color: var(--text-primary, #1a1a1a);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.report-tile:hover[b-lld1gsqeq7] {
    border-color: #c75d8a;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.report-tile-icon[b-lld1gsqeq7] {
    font-size: 1.6rem;
    color: #c75d8a;
}

.report-tile-title[b-lld1gsqeq7] {
    font-weight: 700;
    font-size: 1.05rem;
}

.report-tile-desc[b-lld1gsqeq7] {
    font-size: 0.85rem;
    color: var(--text-secondary, #666);
    line-height: 1.4;
}

/* ── Report view header ──────────────────────────────────────────────────── */
.report-header[b-lld1gsqeq7] {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 0.5rem;
}

.report-back[b-lld1gsqeq7] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    padding: 6px 10px;
    border-radius: 8px;
    color: var(--text-secondary, #666);
    cursor: pointer;
    font-weight: 600;
}

.report-back:hover[b-lld1gsqeq7] {
    color: #c75d8a;
    background: var(--bg-primary, #f4f4f4);
}

.report-intro[b-lld1gsqeq7] {
    margin-bottom: 1rem;
}

/* ── Weekly bars ─────────────────────────────────────────────────────────── */
.report-bars[b-lld1gsqeq7] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 0.5rem;
}

.report-bar-row[b-lld1gsqeq7] {
    display: grid;
    grid-template-columns: 84px 1fr 40px;
    align-items: center;
    gap: 12px;
}

.report-bar-label[b-lld1gsqeq7] {
    font-size: 0.85rem;
    color: var(--text-secondary, #666);
    white-space: nowrap;
}

.report-bar-track[b-lld1gsqeq7] {
    background: var(--bg-primary, #f0f0f0);
    border-radius: 6px;
    height: 18px;
    overflow: hidden;
}

.report-bar-fill[b-lld1gsqeq7] {
    height: 100%;
    border-radius: 6px;
    background: linear-gradient(135deg, #e2705f 0%, #c75d8a 100%);
    transition: width 0.3s ease;
}

.report-bar-value[b-lld1gsqeq7] {
    font-weight: 600;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.report-total[b-lld1gsqeq7] {
    margin-top: 1rem;
    font-size: 0.9rem;
}

/* ── Tables ──────────────────────────────────────────────────────────────── */
.report-table[b-lld1gsqeq7] {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0.5rem;
}

.report-table th[b-lld1gsqeq7],
.report-table td[b-lld1gsqeq7] {
    text-align: left;
    padding: 10px 12px;
    border-bottom: 1px solid var(--border-color-light, #eee);
    font-size: 0.9rem;
}

.report-table th[b-lld1gsqeq7] {
    color: var(--text-secondary, #666);
    font-weight: 600;
    white-space: nowrap;
}

.report-table tbody tr:hover[b-lld1gsqeq7] {
    background: var(--bg-primary, #f7f7f7);
}
/* /Components/UI/SettingsUser/AppearanceSettings.razor.rz.scp.css */
/* Appearance Settings
   Layout, labels and form controls are styled by the shared .settings-group
   rules in app.css so the section matches the rest of Settings. Only the
   inline save whisper is component-specific. */

.form-message[b-ffbl3scjwo] {
    margin-top: 1rem;
    font-size: 0.8125rem;
}

.form-message-success[b-ffbl3scjwo] {
    color: var(--color-success-text);
}

.form-message-error[b-ffbl3scjwo] {
    color: var(--color-danger);
}

.text-muted[b-ffbl3scjwo] {
    color: var(--text-secondary);
}

.text-danger[b-ffbl3scjwo] {
    color: var(--color-danger);
}

/* Accent colour picker */
.colour-options[b-ffbl3scjwo] {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.colour-swatch[b-ffbl3scjwo] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--border-primary);
    padding: 0;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

    .colour-swatch:hover[b-ffbl3scjwo] {
        transform: scale(1.1);
    }

    .colour-swatch.selected[b-ffbl3scjwo] {
        border-color: var(--text-primary);
        box-shadow: 0 0 0 2px var(--bg-secondary), 0 0 0 4px var(--text-primary);
    }

/* Custom colour picker swatch shows a rainbow and hides the native control */
.colour-custom[b-ffbl3scjwo] {
    position: relative;
    overflow: hidden;
    background: conic-gradient(red, orange, yellow, lime, aqua, blue, magenta, red);
}

    .colour-custom input[type="color"][b-ffbl3scjwo] {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        border: none;
        padding: 0;
        cursor: pointer;
    }
/* /Components/UI/SettingsUser/DebugSettings.razor.rz.scp.css */
.debug-hierarchy[b-2hm7dmlouw] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 1.5rem 0;
}

/* ── Change-user dialog — mirrors the org Move-to-parent dialog ── */
.move-dialog-backdrop[b-2hm7dmlouw] {
    position: fixed;
    inset: 0;
    z-index: 1300;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 12vh;
    background: color-mix(in srgb, var(--bg-primary) 45%, transparent);
}

.move-dialog[b-2hm7dmlouw] {
    width: min(440px, 92vw);
    max-height: 70vh;
    display: flex;
    flex-direction: column;
    padding: 18px 20px;
    border-radius: var(--border-radius-lg, 12px);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.move-dialog-title[b-2hm7dmlouw] {
    margin: 0 0 2px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
}

.move-dialog-sub[b-2hm7dmlouw] {
    margin: 0 0 12px;
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.move-dialog-input[b-2hm7dmlouw] {
    width: 100%;
    box-sizing: border-box;
    padding: 8px 12px;
    margin-bottom: 10px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md, 8px);
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 0.92rem;
}

.move-dialog-input:focus-visible[b-2hm7dmlouw] {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 25%, transparent);
}

.move-dialog-results[b-2hm7dmlouw] {
    flex: 1 1 auto;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-height: 60px;
}

.move-dialog-result[b-2hm7dmlouw] {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    text-align: left;
    padding: 8px 10px;
    border: none;
    border-radius: var(--border-radius-sm, 4px);
    background: transparent;
    color: var(--text-primary);
    cursor: pointer;
}

.move-dialog-result:hover[b-2hm7dmlouw] {
    background: var(--bg-hover);
}

.move-dialog-result:focus-visible[b-2hm7dmlouw] {
    outline: 2px solid var(--color-primary);
    outline-offset: -2px;
}

.move-dialog-result .bi[b-2hm7dmlouw] {
    color: var(--text-secondary);
    flex: 0 0 auto;
}

.move-dialog-empty[b-2hm7dmlouw] {
    margin: 8px 4px;
    font-size: 0.85rem;
}

.move-dialog-actions[b-2hm7dmlouw] {
    display: flex;
    justify-content: flex-end;
    margin-top: 12px;
}

.debug-org-row[b-2hm7dmlouw] {
    display: grid;
    grid-template-columns: 1fr minmax(0, 420px) 1fr;
    align-items: center;
    column-gap: 0.85rem;
    width: 100%;
}

.debug-org-row .debug-node[b-2hm7dmlouw] {
    grid-column: 2;
}

.debug-cat-box[b-2hm7dmlouw],
.debug-event-box[b-2hm7dmlouw] {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.4rem;
    min-width: 92px;
    max-width: 200px;
    padding: 0.5rem 0.7rem;
    border: 1px solid var(--border-color, #d0d5dd);
    border-radius: 10px;
    background: var(--bg-secondary);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
    position: relative;
    text-align: left;
}

.debug-cat-box[b-2hm7dmlouw] {
    grid-column: 1;
    justify-self: end;
}

.debug-event-box[b-2hm7dmlouw] {
    grid-column: 3;
    justify-self: start;
}

/* connector line from the category box (left) to the node */
.debug-cat-box[b-2hm7dmlouw]::after {
    content: "";
    position: absolute;
    left: 100%;
    top: 50%;
    width: 0.85rem;
    height: 1px;
    background: var(--border-color, #d0d5dd);
}

/* connector line from the node to the event box (right) */
.debug-event-box[b-2hm7dmlouw]::before {
    content: "";
    position: absolute;
    right: 100%;
    top: 50%;
    width: 0.85rem;
    height: 1px;
    background: var(--border-color, #d0d5dd);
}

.cat-icon[b-2hm7dmlouw] {
    font-size: 1.15rem;
    color: var(--color-warning);
    flex: 0 0 auto;
}

.event-icon[b-2hm7dmlouw] {
    font-size: 1.15rem;
    color: var(--color-info);
    flex: 0 0 auto;
}

.count-value[b-2hm7dmlouw] {
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1;
    flex: 0 0 auto;
}

.count-label[b-2hm7dmlouw] {
    font-size: 0.7rem;
    color: var(--text-muted, #667085);
    /* Allow the label to shrink and wrap inside the box rather than overflow it. */
    flex: 0 1 auto;
    min-width: 0;
    overflow-wrap: anywhere;
}

.debug-node[b-2hm7dmlouw] {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    width: 100%;
    max-width: 420px;
    padding: 0.85rem 1.1rem;
    border: 1px solid var(--border-color, #d0d5dd);
    border-radius: 10px;
    background: var(--bg-secondary);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.debug-node-user[b-2hm7dmlouw] {
    border-color: var(--color-primary);
    background: color-mix(in srgb, var(--color-primary) 12%, var(--bg-secondary));
}

/* Change-user button, sits at the right edge of the user box */
.debug-change-btn[b-2hm7dmlouw] {
    margin-left: auto;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--color-primary);
    border-radius: 8px;
    background: transparent;
    color: var(--color-primary);
    font-size: 1rem;
    cursor: pointer;
}

.debug-change-btn:hover[b-2hm7dmlouw] {
    background: var(--color-primary);
    color: #fff;
}

.debug-change-btn:focus-visible[b-2hm7dmlouw] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.debug-node-root[b-2hm7dmlouw] {
    border-color: var(--color-success);
    background: color-mix(in srgb, var(--color-success) 12%, var(--bg-secondary));
}

.node-icon[b-2hm7dmlouw] {
    font-size: 1.6rem;
    color: var(--color-primary);
    flex-shrink: 0;
}

.debug-node-root .node-icon[b-2hm7dmlouw] {
    color: var(--color-success);
}

.node-body[b-2hm7dmlouw] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.node-title[b-2hm7dmlouw] {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.node-sub[b-2hm7dmlouw] {
    font-size: 0.85rem;
    color: var(--text-muted, #667085);
}

.node-id[b-2hm7dmlouw] {
    font-size: 0.72rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    color: var(--text-muted, #98a2b3);
    word-break: break-all;
}

.node-tag[b-2hm7dmlouw] {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: var(--color-success);
    color: #fff;
    padding: 0.1rem 0.4rem;
    border-radius: 999px;
}

.debug-connector[b-2hm7dmlouw] {
    color: var(--text-muted, #98a2b3);
    font-size: 1.1rem;
    line-height: 1;
    padding: 0.35rem 0;
}
/* /Components/UI/SettingsUser/ProfileSettings.razor.rz.scp.css */
/* Display-name control + its inline auto-save confirmation. */
.field-control[b-kk70ox9hp0] {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.save-whisper[b-kk70ox9hp0] {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-success-text, var(--color-success));
    white-space: nowrap;
    animation: profile-saved-fade-b-kk70ox9hp0 0.2s ease both;
}

@keyframes profile-saved-fade-b-kk70ox9hp0 {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .save-whisper[b-kk70ox9hp0] { animation: none; }
}
/* /Components/UI/SettingsUser/SubscriptionSettings.razor.rz.scp.css */
/* ── Seat manager ────────────────────────────────────────────────────────── */
.sub-seats[b-kefftvss6r] {
    border-top: 1px solid var(--border-color, #e2e2e2);
    padding-top: 14px;
    margin-top: 4px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sub-seats-head[b-kefftvss6r] {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}

.sub-seats-title[b-kefftvss6r] {
    font-weight: 600;
}

.sub-seats-count[b-kefftvss6r] {
    color: var(--text-muted, #6e7781);
    font-size: 0.9rem;
}

.sub-seats-controls[b-kefftvss6r] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sub-seats-value[b-kefftvss6r] {
    min-width: 2.5rem;
    text-align: center;
    font-weight: 600;
    font-size: 1.05rem;
}

/* ── Banners ─────────────────────────────────────────────────────────────── */
.sub-banner[b-kefftvss6r] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: var(--border-radius-md, 8px);
    margin-bottom: 18px;
    font-size: 0.92rem;
    line-height: 1.35;
}

.sub-banner-pending[b-kefftvss6r] {
    background: color-mix(in srgb, var(--color-primary) 10%, var(--bg-primary));
    border: 1px solid color-mix(in srgb, var(--color-primary) 35%, transparent);
    color: var(--text-primary);
}

.sub-banner-error[b-kefftvss6r] {
    background: color-mix(in srgb, var(--color-danger, #dc3545) 10%, var(--bg-primary));
    border: 1px solid color-mix(in srgb, var(--color-danger, #dc3545) 35%, transparent);
    color: var(--color-danger, #dc3545);
}

.sub-banner-trial[b-kefftvss6r] {
    background: color-mix(in srgb, var(--color-primary) 10%, var(--bg-primary));
    border: 1px solid color-mix(in srgb, var(--color-primary) 35%, transparent);
    color: var(--text-primary);
}

.sub-banner-trial i[b-kefftvss6r] {
    color: var(--color-primary);
    font-size: 1.15rem;
}

.sub-banner-comp[b-kefftvss6r] {
    background: color-mix(in srgb, var(--color-success) 12%, var(--bg-primary));
    border: 1px solid color-mix(in srgb, var(--color-success) 38%, transparent);
    color: var(--text-primary);
}

.sub-banner-comp i[b-kefftvss6r] {
    color: var(--color-success);
    font-size: 1.15rem;
}

.sub-banner-warn[b-kefftvss6r] {
    background: color-mix(in srgb, var(--color-warning, #ffc107) 14%, var(--bg-primary));
    border: 1px solid color-mix(in srgb, var(--color-warning, #ffc107) 40%, transparent);
    color: var(--text-primary);
}

.sub-banner-warn i[b-kefftvss6r] {
    color: var(--color-warning, #b8860b);
    font-size: 1.1rem;
}

.sub-banner-sub[b-kefftvss6r] {
    color: var(--text-secondary);
    font-size: 0.84rem;
    margin-top: 2px;
}

/* ── Loading / spinner ───────────────────────────────────────────────────── */
.sub-loading[b-kefftvss6r] {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    padding: 16px 0;
    font-size: 0.92rem;
}

.spinner[b-kefftvss6r] {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    border: 2px solid color-mix(in srgb, var(--color-primary) 28%, transparent);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: sub-spin-b-kefftvss6r 0.7s linear infinite;
}

@keyframes sub-spin-b-kefftvss6r {
    to { transform: rotate(360deg); }
}

/* ── Current subscription card ───────────────────────────────────────────── */
.sub-card[b-kefftvss6r] {
    max-width: 560px;
    margin-bottom: 28px;
    padding: 20px 22px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg, 12px);
    background: var(--bg-secondary);
}

.sub-card-head[b-kefftvss6r] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.sub-card-title[b-kefftvss6r] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.sub-plan-name[b-kefftvss6r] {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.sub-status-pill[b-kefftvss6r] {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 3px 10px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--color-success) 18%, transparent);
    color: var(--color-success-text, var(--color-success));
    border: 1px solid color-mix(in srgb, var(--color-success) 40%, transparent);
    white-space: nowrap;
}

.sub-status-pill.is-warn[b-kefftvss6r] {
    background: color-mix(in srgb, var(--color-warning, #ffc107) 20%, transparent);
    color: var(--color-warning, #b8860b);
    border-color: color-mix(in srgb, var(--color-warning, #ffc107) 45%, transparent);
}

.sub-price[b-kefftvss6r] {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
}

.sub-meta[b-kefftvss6r] {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--border-color);
}

.sub-meta-item[b-kefftvss6r] {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.sub-meta-label[b-kefftvss6r] {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
}

.sub-meta-value[b-kefftvss6r] {
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--text-primary);
}

.sub-note[b-kefftvss6r] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 10px 12px;
    border-radius: var(--border-radius-md, 8px);
    font-size: 0.86rem;
    color: var(--text-primary);
}

.sub-note-warn[b-kefftvss6r] {
    background: color-mix(in srgb, var(--color-warning, #ffc107) 14%, transparent);
}

.sub-note i[b-kefftvss6r] {
    color: var(--color-warning, #b8860b);
}

.sub-card-actions[b-kefftvss6r] {
    margin-top: 20px;
}

.sub-card-actions .btn[b-kefftvss6r] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Auto-renew toggle (uses the shared OptionToggle for size/colour consistency) */
.sub-toggle-row[b-kefftvss6r] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid var(--border-color);
}

.sub-toggle-text[b-kefftvss6r] {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.sub-toggle-title[b-kefftvss6r] {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.sub-toggle-sub[b-kefftvss6r] {
    font-size: 0.82rem;
    color: var(--text-secondary);
}

/* Cancel */
.sub-danger-zone[b-kefftvss6r] {
    margin-top: 18px;
}

.sub-confirm[b-kefftvss6r] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px 14px;
    border-radius: var(--border-radius-md, 8px);
    background: color-mix(in srgb, var(--color-danger, #dc3545) 8%, transparent);
    border: 1px solid color-mix(in srgb, var(--color-danger, #dc3545) 30%, transparent);
}

.sub-confirm-body[b-kefftvss6r] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sub-confirm-title[b-kefftvss6r] {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--text-primary);
}

.sub-confirm-body p[b-kefftvss6r] {
    margin: 0;
    font-size: 0.86rem;
    line-height: 1.45;
    color: var(--text-primary);
}

.sub-confirm-body .sub-confirm-muted[b-kefftvss6r] {
    color: var(--text-secondary);
}

.sub-confirm-actions[b-kefftvss6r] {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.sub-action-msg[b-kefftvss6r] {
    margin-top: 12px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ── Inactive: plan chooser ──────────────────────────────────────────────── */
.sub-intro[b-kefftvss6r] {
    margin-bottom: 4px;
}

.sub-intro-title[b-kefftvss6r] {
    margin: 0 0 4px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.sub-intro-text[b-kefftvss6r] {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.sub-plan-grid[b-kefftvss6r] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.sub-plan[b-kefftvss6r] {
    display: flex;
    flex-direction: column;
    padding: 20px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg, 12px);
    background: var(--bg-secondary);
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.sub-plan:hover[b-kefftvss6r] {
    transform: translateY(-3px);
    border-color: var(--color-primary);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.10);
}

.sub-plan-top[b-kefftvss6r] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sub-plan .sub-plan-name[b-kefftvss6r] {
    font-size: 1.05rem;
}

.sub-plan-price[b-kefftvss6r] {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1.2;
}

.sub-plan-desc[b-kefftvss6r] {
    color: var(--text-secondary);
    font-size: 0.88rem;
    margin: 12px 0 16px;
    flex: 1 1 auto;
}

.sub-plan-cta[b-kefftvss6r] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: auto;
}

.sub-muted[b-kefftvss6r] {
    color: var(--text-muted);
    font-style: italic;
    font-size: 0.9rem;
}

/* The plan the user is currently on (read-only highlight, no hover-lift). */
.sub-plan.is-current[b-kefftvss6r] {
    border-color: var(--color-primary);
    background: color-mix(in srgb, var(--color-primary) 6%, var(--bg-secondary));
}

.sub-plan.is-current:hover[b-kefftvss6r] {
    transform: none;
    box-shadow: none;
}

.sub-plan-badge[b-kefftvss6r] {
    margin-top: auto;
    align-self: flex-start;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 4px 10px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--color-primary) 16%, transparent);
    color: var(--color-primary);
    border: 1px solid color-mix(in srgb, var(--color-primary) 35%, transparent);
}

/* Destructive action stays quiet until hover/confirm (per the design brief). */
.btn-quiet-danger[b-kefftvss6r] {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.btn-quiet-danger:hover:not(:disabled)[b-kefftvss6r],
.btn-quiet-danger:focus-visible[b-kefftvss6r] {
    border-color: var(--color-danger, #dc3545);
    color: var(--color-danger, #dc3545);
    background: color-mix(in srgb, var(--color-danger, #dc3545) 8%, transparent);
}

/* ── Stripe info note (top of page) ──────────────────────────────────────── */
.sub-info[b-kefftvss6r] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    margin-bottom: 20px;
    border-radius: var(--border-radius-md, 8px);
    background: color-mix(in srgb, var(--color-primary) 8%, var(--bg-primary));
    border: 1px solid color-mix(in srgb, var(--color-primary) 28%, transparent);
    color: var(--text-secondary);
    font-size: 0.86rem;
    line-height: 1.4;
}

.sub-info i[b-kefftvss6r] {
    color: var(--color-primary);
    font-size: 1.1rem;
    flex: 0 0 auto;
}

/* ── Payments list ───────────────────────────────────────────────────────── */
.sub-payments[b-kefftvss6r] {
    max-width: 560px;
    margin-top: 28px;
}

.sub-payment-list[b-kefftvss6r] {
    margin-top: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg, 12px);
    background: var(--bg-secondary);
    overflow: hidden;
}

.sub-payment[b-kefftvss6r] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
}

.sub-payment:last-child[b-kefftvss6r] {
    border-bottom: none;
}

.sub-payment-info[b-kefftvss6r] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.sub-payment-date[b-kefftvss6r] {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.sub-payment-desc[b-kefftvss6r] {
    font-size: 0.8rem;
    color: var(--text-secondary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sub-payment-right[b-kefftvss6r] {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
}

.sub-payment-amount[b-kefftvss6r] {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
}

.sub-payment-status[b-kefftvss6r] {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 3px 9px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--color-success) 18%, transparent);
    color: var(--color-success-text, var(--color-success));
    border: 1px solid color-mix(in srgb, var(--color-success) 40%, transparent);
    white-space: nowrap;
}

.sub-payment-status.is-warn[b-kefftvss6r] {
    background: color-mix(in srgb, var(--color-warning, #ffc107) 20%, transparent);
    color: var(--color-warning, #b8860b);
    border-color: color-mix(in srgb, var(--color-warning, #ffc107) 45%, transparent);
}

.sub-payment-receipt[b-kefftvss6r] {
    display: inline-flex;
    align-items: center;
    color: var(--text-secondary);
    font-size: 1rem;
    text-decoration: none;
}

.sub-payment-receipt:hover[b-kefftvss6r] {
    color: var(--color-primary);
}

@media (max-width: 520px) {
    .sub-meta[b-kefftvss6r] { gap: 18px; }
    .sub-card[b-kefftvss6r],
    .sub-plan[b-kefftvss6r] { padding: 16px; }
}
/* /Components/UI/SettingsUser/UlaSettings.razor.rz.scp.css */
.ula-content[b-0vlhrtctqx] {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color-light);
    border-radius: var(--border-radius-md);
    padding: 20px 22px;
    font-family: var(--font-family-base);
    line-height: 1.55;
    max-height: 65dvh;
    overflow-y: auto;
}

.ula-meta[b-0vlhrtctqx] {
    margin-top: 12px;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.ula-status[b-0vlhrtctqx] {
    margin-top: 12px;
    font-size: 0.9375rem;
}

.form-actions[b-0vlhrtctqx] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

.text-warning[b-0vlhrtctqx] {
    color: var(--color-warning);
}

.text-success[b-0vlhrtctqx] {
    color: var(--color-success-text);
}

.text-muted[b-0vlhrtctqx] {
    color: var(--text-secondary);
}

.text-danger[b-0vlhrtctqx] {
    color: var(--color-danger);
}
/* /Components/UI/Shared/AuditRecords.razor.rz.scp.css */
/* Audit Records Section */
.audit-section[b-qh65cvgurp] {
    display: flex;
    gap: 1.5rem;
    flex-direction: column;
    height: 75dvh;
}

.audit-empty[b-qh65cvgurp] {
    padding: 1rem;
    text-align: center;
    color: var(--text-secondary, #6c757d);
    font-style: italic;
}

.audit-list[b-qh65cvgurp] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    overflow-y: auto;
}

.audit-item[b-qh65cvgurp] {
    padding-top: 10px;
}

.audit-item:hover[b-qh65cvgurp] {
    border-color: var(--border-hover, #adb5bd);
}

.audit-header[b-qh65cvgurp] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.audit-timestamp[b-qh65cvgurp] {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-primary, #212529);
}

.audit-body[b-qh65cvgurp] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.audit-detail-row[b-qh65cvgurp] {
    display: flex;
    gap: 0.7rem;
    font-size: 0.875rem;
    flex-direction: column;
}

.audit-detail-row label[b-qh65cvgurp] {
    min-width: 70px;
    color: var(--text-secondary, #6c757d);
}

.audit-user[b-qh65cvgurp] {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.8125rem;
    color: var(--text-primary, #495057);
    word-break: break-all;
}

.audit-detail[b-qh65cvgurp] {
    flex: 1;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.8125rem;
    color: var(--text-primary, #495057);
    white-space: pre-wrap;
    word-break: break-word;
    background: var(--surface-primary, #ffffff);
    padding: 0.5rem;
    border-radius: 0.25rem;
    border: 1px solid var(--border-color, #dee2e6);
}
/* /Components/UI/Shared/ColorPickerWithOpacity.razor.rz.scp.css */
/* Root */
.cp[b-r105lntgzh] {
    width: 100%;
    background: #ffffff87;
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.10);
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    max-width: 400px;
}

/* Square */
.cp-squareWrap[b-r105lntgzh] {
    position: relative;
    margin-bottom: 14px;
    display: flex;
    justify-content: center;
}

.cp-square[b-r105lntgzh] {
    position: relative;
    width: 100%;
    max-width: 520px; /* controls size of the square */
    height: 150px;
    border-radius: 18px;
    overflow: hidden;
    cursor: crosshair;
    user-select: none;
    touch-action: none;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.10);
    background: linear-gradient(to top, rgba(0,0,0,1), rgba(0,0,0,0)), linear-gradient(to right, rgba(255,255,255,1), rgba(255,255,255,0)), hsl(var(--cp-h), 100%, 50%);
}

.cp-thumb[b-r105lntgzh] {
    position: absolute;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    border: 3px solid #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.35);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

/* Rows and sliders */
.cp-row[b-r105lntgzh] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
}

.cp-slider[b-r105lntgzh] {
    width: 100%;
    height: 10px;
    -webkit-appearance: none;
    appearance: none;
    border-radius: 999px;
    outline: none;
    background: transparent;
    margin: 0;
    padding: 0;
}

WebKit track
.cp-slider[b-r105lntgzh]::-webkit-slider-runnable-track {
    height: 10px;
    border-radius: 999px;
}

Firefox track
.cp-slider[b-r105lntgzh]::-moz-range-track {
    height: 10px;
    border-radius: 999px;
}

.cp-slider[b-r105lntgzh]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 999px;
    background: #fff;
    border: 3px solid #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.25), inset 0 0 0 1px rgba(0,0,0,0.12);
    cursor: pointer;
    margin-top: -3px; /* centres 24px thumb on a 10px track */
}

.cp-slider[b-r105lntgzh]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 999px;
    background: #fff;
    border: 3px solid #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.25), inset 0 0 0 1px rgba(0,0,0,0.12);
    cursor: pointer;
}

/* Hue track */
.cp-hue[b-r105lntgzh] {
    background: linear-gradient(to right, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.10), 0 4px 14px rgba(0,0,0,0.10);
}

/* Opacity */
.cp-opacityRow[b-r105lntgzh] {
    margin-top: 10px;
}

.cp-dropper[b-r105lntgzh] {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    color: rgba(0,0,0,0.55);
}

.cp-opacityTrack[b-r105lntgzh] {
    position: relative;
    flex: 1;
    height: 10px; /* match track height */
    border-radius: 999px;
    overflow: visible; /* important: do not crop the thumb */
    background-image: repeating-conic-gradient(#e5e5ea 0% 25%, #ffffff 0% 50%);
    background-size: 12px 12px;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.10), 0 4px 14px rgba(0,0,0,0.10);
    padding: 0; /* keep clean */
}

/* Clip only the visual fills so the rounded bar still looks right */
.cp-opacityFill[b-r105lntgzh] {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    overflow: hidden;
    pointer-events: none;
}

/* Make sure the input sits above the fill */
.cp-opacity[b-r105lntgzh] {
    position: relative;
    z-index: 1;
}

/* Values */
.cp-values[b-r105lntgzh] {
    display: grid;
    grid-template-columns : 1fr 1fr 1fr 1fr 0.5fr 0.5fr;
    gap: 12px;
    margin-top: 18px;
    align-items: end;
}

.cp-valLabel[b-r105lntgzh] {
    font-size: 12px;
    color: rgba(0,0,0,0.45);
    margin-bottom: 6px;
    text-align: center;
    font-weight: 600;
}

.cp-valBox[b-r105lntgzh] {
    background: #f2f2f7;
    border-radius: 14px;
    min-height: 22px;
    display: grid;
    place-items: center;
    xfont-size: 30px;
    xfont-weight: 650;
    color: rgba(0,0,0,0.80);
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06);
}

.cp-slider[b-r105lntgzh]::-moz-range-thumb {
    transform: translateY(-1px);
}

.cp-slider[b-r105lntgzh]::-webkit-slider-thumb {
    margin-top: -5px;
}

/* Icon buttons */
.cp-iconBtn[b-r105lntgzh] {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: none;
    background: transparent;
    color: rgba(0,0,0,0.55);
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.15s ease;
}

.cp-iconBtn:hover[b-r105lntgzh] {
    background: rgba(0,0,0,0.05);
    color: rgba(0,0,0,0.75);
}

.cp-iconBtn:active[b-r105lntgzh] {
    background: rgba(0,0,0,0.08);
    transform: scale(0.95);
}

.cp-iconBtn svg[b-r105lntgzh] {
    display: block;
}
/* /Components/UI/Shared/LoadingOverlay.razor.rz.scp.css */
.loading-overlay[b-9n6yx9ns3b] {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 12, 16, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    animation: lo-fade-in-b-9n6yx9ns3b 0.2s ease;
}

.loading-overlay-inner[b-9n6yx9ns3b] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    padding: 2.5rem 3rem;
    box-sizing: border-box;
    /* Constant card size everywhere: fixed width AND height so it never resizes as the
       rotating quips change length or when a page omits the title. Caps to the viewport
       on very small screens; contents stay centred. */
    flex: 0 0 auto;
    width: 440px;
    height: 280px;
    max-width: calc(100vw - 2rem);
    overflow: hidden;
    text-align: center;
    border-radius: 18px;
    background: var(--bg-secondary, #fff);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.loading-spinner[b-9n6yx9ns3b] {
    width: 56px;
    height: 56px;
    border: 5px solid rgba(199, 93, 138, 0.22);
    border-top-color: #c75d8a;
    border-radius: 50%;
    animation: lo-spin-b-9n6yx9ns3b 0.9s linear infinite;
}

.loading-title[b-9n6yx9ns3b] {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary, #1a1a1a);
}

.loading-quip[b-9n6yx9ns3b] {
    margin: 0;
    width: 100%;
    /* Fixed two-line block (clamped) so a short or long quip occupies the same space. */
    height: 2.8em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    text-align: center;
    font-size: 0.95rem;
    line-height: 1.4;
    color: var(--text-secondary, #666);
}

@keyframes lo-spin-b-9n6yx9ns3b {
    to { transform: rotate(360deg); }
}

@keyframes lo-fade-in-b-9n6yx9ns3b {
    from { opacity: 0; }
    to { opacity: 1; }
}
/* /Components/UI/Shared/LogoNav.razor.rz.scp.css */
.logo[b-06l6jq40d2] {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: var(--shadow-sm);
}

.nav-menu-item[b-06l6jq40d2] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 2px;
    color: var(--color-gray-700);
    text-decoration: none;
    border-radius: var(--border-radius-sm);
/*    transition: all 0.2s ease;*/
    cursor: pointer;
    margin-bottom: 4px;
}
/* /Components/UI/Shared/Maps/MapView.razor.rz.scp.css */
/* Light theme (default). Accent follows the app's primary colour. */
.map-view[b-1xmps8l2cn] {
    --map-bg: #f4f6fb;
    --map-ink: #1a2238;
    --map-muted: #5b6680;
    --map-card: #ffffff;
    --map-card-border: rgba(20, 40, 90, .14);
    --map-li-bg: #eef2fb;
    --map-li-ink: #2a3550;
    --map-line: #8497c2;
    --map-grid: rgba(40, 70, 140, .06);
    --map-head: rgba(255, 255, 255, .9);
    --map-shadow: rgba(30, 50, 90, .14);
    --map-accent: var(--color-primary, #2165f4);

    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 480px;
    overflow: hidden;
    border: 1px solid var(--map-card-border);
    border-radius: var(--border-radius-lg, 12px);
    background: var(--map-bg);
    color: var(--map-ink);
    font-family: 'Segoe UI', Inter, system-ui, sans-serif;
    -webkit-user-select: none;
    user-select: none;
}

/* Dark theme — keyed on the app's documentElement attribute. */
:global([data-theme="dark"]) .map-view[b-1xmps8l2cn] {
    --map-bg: #0b1020;
    --map-ink: #e8edff;
    --map-muted: #9aa6c8;
    --map-card: rgba(255, 255, 255, .04);
    --map-card-border: rgba(255, 255, 255, .10);
    --map-li-bg: rgba(255, 255, 255, .05);
    --map-li-ink: #cdd6f4;
    --map-line: #5570b0;
    --map-grid: rgba(120, 150, 220, .07);
    --map-head: rgba(10, 14, 30, .85);
    --map-shadow: rgba(0, 0, 0, .45);
}

.map-empty[b-1xmps8l2cn] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex: 1;
    color: var(--map-muted);
    font-size: 0.95rem;
}

.map-empty i[b-1xmps8l2cn] { font-size: 2rem; opacity: .6; }

/* ── Header ─────────────────────────────────────────────── */
.map-head[b-1xmps8l2cn] {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    padding: 10px 16px;
    background: var(--map-head);
    border-bottom: 1px solid var(--map-card-border);
    backdrop-filter: blur(8px);
    z-index: 2;
}

.map-title h2[b-1xmps8l2cn] {
    margin: 0;
    font-size: 0.98rem;
    font-weight: 650;
    color: var(--map-ink);
}

.map-title small[b-1xmps8l2cn] {
    display: block;
    margin-top: 2px;
    font-size: 0.72rem;
    color: var(--map-muted);
}

.map-legend[b-1xmps8l2cn] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 13px;
}

.map-legend span[b-1xmps8l2cn] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    color: var(--map-muted);
}

.map-legend i[b-1xmps8l2cn] {
    width: 11px;
    height: 11px;
    border-radius: 3px;
    display: inline-block;
}

.map-spacer[b-1xmps8l2cn] { flex: 1; }

.map-ctrls[b-1xmps8l2cn] { display: flex; gap: 6px; }

.map-ctrls button[b-1xmps8l2cn] {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    cursor: pointer;
    font-size: 15px;
    line-height: 1;
    background: var(--map-card);
    border: 1px solid var(--map-card-border);
    color: var(--map-ink);
    transition: border-color .15s, color .15s;
}

.map-ctrls button:hover[b-1xmps8l2cn] {
    border-color: var(--map-accent);
    color: var(--map-accent);
}

/* ── Viewport / canvas ──────────────────────────────────── */
.map-viewport[b-1xmps8l2cn] {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    cursor: grab;
}

.map-viewport.dragging[b-1xmps8l2cn] { cursor: grabbing; }

.map-canvas[b-1xmps8l2cn] {
    position: absolute;
    top: 0;
    left: 0;
    transform-origin: 0 0;
    background-image:
        linear-gradient(var(--map-grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--map-grid) 1px, transparent 1px);
    background-size: 40px 40px;
}

.map-edges[b-1xmps8l2cn] {
    position: absolute;
    top: 0;
    left: 0;
    overflow: visible;
    pointer-events: none;
}

/* ── Lanes ──────────────────────────────────────────────── */
.map-lane[b-1xmps8l2cn] {
    position: absolute;
    border: 1px dashed var(--map-card-border);
    border-radius: 18px;
    background: color-mix(in srgb, var(--map-ink) 2%, transparent);
}

.map-lane b[b-1xmps8l2cn] {
    position: absolute;
    top: 10px;
    left: 16px;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--map-muted);
    font-weight: 600;
}

/* ── Nodes ──────────────────────────────────────────────── */
.map-node[b-1xmps8l2cn] {
    position: absolute;
    padding: 11px 13px;
    border-radius: 13px;
    background: var(--map-card);
    border: 1px solid var(--map-card-border);
    border-left: 4px solid var(--map-line);
    box-shadow: 0 8px 26px var(--map-shadow);
    transition: transform .12s, box-shadow .12s, opacity .12s;
}

.map-node:hover[b-1xmps8l2cn] {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px var(--map-shadow);
    z-index: 20;
}

.map-node.dim[b-1xmps8l2cn] { opacity: .16; }

.map-node-title[b-1xmps8l2cn] {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 650;
    color: var(--map-ink);
}

.map-dot[b-1xmps8l2cn] {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    flex: none;
}

.map-node-sub[b-1xmps8l2cn] {
    margin-top: 3px;
    font-size: 11px;
    line-height: 1.45;
    color: var(--map-muted);
}

.map-node ul[b-1xmps8l2cn] {
    margin: 9px 0 1px;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.map-node li[b-1xmps8l2cn] {
    font-size: 11.5px;
    color: var(--map-li-ink);
    padding: 3px 8px;
    background: var(--map-li-bg);
    border-radius: 6px;
    border: 1px solid var(--map-card-border);
}

.map-node li[b-1xmps8l2cn]  b { color: var(--map-ink); font-weight: 600; }

.map-node[b-1xmps8l2cn]  .path {
    font-family: Consolas, monospace;
    font-size: 10.5px;
    color: var(--map-accent);
}

/* ── Hint pill ──────────────────────────────────────────── */
.map-hint[b-1xmps8l2cn] {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    font-size: 11.5px;
    color: var(--map-muted);
    background: var(--map-head);
    border: 1px solid var(--map-card-border);
    padding: 6px 14px;
    border-radius: 20px;
    backdrop-filter: blur(6px);
}
/* /Components/UI/Shared/MarkdownDisplay.razor.rz.scp.css */
.markdown-display[b-tsiu8t85pm] {
    /* No border or additional chrome - just clean markdown rendering */
}
/* /Components/UI/Shared/Sidebar.razor.rz.scp.css */
.sidebar[b-axcgqlf75s] {
    min-width: 270px;
    width: 270px;
    height: 100vh; /* fallback for browsers without dvh */
    height: 100dvh; /* dynamic viewport height: excludes mobile browser chrome */
    padding: 12px 8px;
    background: var(--bg-secondary);
    border-right: 1px solid var(--border-primary);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    overflow: hidden;
    transition: width 0.2s ease, min-width 0.2s ease, background-color var(--transition-base), border-color var(--transition-base);
    z-index: var(--z-index-sticky);
}

    .sidebar.collapsed[b-axcgqlf75s] {
        min-width: 63px;
        width: 63px;
    }

    /* Collapsing only hides the labels — the icon box keeps its size and position, so nothing
       shifts vertically or horizontally between states. */
    .sidebar.collapsed .nav-text[b-axcgqlf75s] {
        display: none;
    }

.nav-menu[b-axcgqlf75s] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0;
}

.nav-menu-item[b-axcgqlf75s] {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 44px;        /* fixed height in both states */
    padding: 0 13px;     /* horizontal only; the icon box anchors the left edge */
    color: var(--color-gray-700);
    text-decoration: none;
    border-radius: var(--border-radius-sm);
    transition: background-color 0.2s ease, color 0.2s ease;
    cursor: pointer;
    overflow: hidden;
    white-space: nowrap;
}

    .nav-menu-item:hover[b-axcgqlf75s] {
        background: var(--color-gray-200);
        color: var(--color-gray-900);
    }

    .nav-menu-item.active[b-axcgqlf75s] {
        background: var(--color-primary);
        color: #fff;
    }

.nav-icon[b-axcgqlf75s] {
    flex: 0 0 auto;      /* never shrink — keeps the icon in the same spot */
    width: 20px;
    font-size: 1.3rem;
    text-align: center;
}

.nav-text[b-axcgqlf75s] {
    font-size: 0.9rem;
    font-weight: var(--font-weight-medium);
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-bottom[b-axcgqlf75s] {
    margin-top: auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Button lives in the child SidebarToggle component, so reach it with ::deep. */
.sidebar-bottom[b-axcgqlf75s]  .collapse-btn {
    background: transparent;
    color: var(--text-primary);
    border: none;
    border-radius: var(--border-radius-sm);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: none;
    font-size: 1.2rem;
    margin-left: 0;
}

    .sidebar-bottom[b-axcgqlf75s]  .collapse-btn:hover {
        background: var(--color-primary-dark, #0052a3);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        transform: scale(1.05);
        color: white;
    }

    .sidebar-bottom[b-axcgqlf75s]  .collapse-btn:active {
        transform: scale(0.95);
    }

    .sidebar-bottom[b-axcgqlf75s]  .collapse-btn .sidebar-toggle-icon {
        transition: transform 0.3s ease;
    }

/* User Icon Status Colors */
.user-icon-error[b-axcgqlf75s] {
    color: var(--color-danger) !important;
}

/* Print Styles - Hide sidebar when printing */
@media print {
    .sidebar[b-axcgqlf75s] {
        display: none !important;
    }
}
/* /Components/UI/SpotlightCard.razor.rz.scp.css */
/* ===== SPOTLIGHT FEATURE ===== */

/* CSS Variables - change colors in one place */
:root[b-45hfpentig] {
    --spotlight-primary: var(--color-primary);
    --spotlight-primary-dark: #c2185b;
    --spotlight-border-radius: 24px;
    --spotlight-content-bg: white;
    --spotlight-content-bg-dark: #1a1a2e;
    --spotlight-text-primary: #2d3748;
    --spotlight-text-primary-dark: #f0f0f5;
    --spotlight-text-secondary: #718096;
    --spotlight-text-secondary-dark: #a0aec0;
    --spotlight-event-bg: #f7fafc;
    --spotlight-event-bg-hover: #edf2f7;
    --spotlight-event-bg-dark: #252542;
    --spotlight-event-bg-dark-hover: #2d2d4a;
    --spotlight-border-color: #e2e8f0;
    --spotlight-border-color-dark: #3d3d5c;
    --spotlight-tag-bg: #e2e8f0;
    --spotlight-tag-color: #4a5568;
    --spotlight-tag-bg-dark: #3d3d5c;
    --spotlight-tag-color-dark: #cbd5e1;
}

.spotlight-overlay[b-45hfpentig] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: spotlightFadeIn-b-45hfpentig 0.3s ease-out;
}

/* Position card on the right side (for days 1-15, so left side of calendar is visible) */
.spotlight-overlay.position-right[b-45hfpentig] {
    justify-content: flex-end;
    padding-right: 8rem;
}

/* Position card on the left side (for days 16-31, so right side of calendar is visible) */
.spotlight-overlay.position-left[b-45hfpentig] {
    justify-content: flex-start;
    padding-left: 8rem;
}

.spotlight-backdrop[b-45hfpentig] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.spotlight-card[b-45hfpentig] {
    position: relative;
    background: var(--color-primary) !important;
    border-radius: 24px;
    padding: 0;
    max-width: 600px;
    width: 90%;
    max-height: 85vh;
    overflow: visible;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
    animation: spotlightSlideIn-b-45hfpentig 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
}

/* Slide from right when card is on the right */
.spotlight-overlay.position-right .spotlight-card[b-45hfpentig] {
    animation: spotlightSlideFromRight-b-45hfpentig 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Slide from left when card is on the left */
.spotlight-overlay.position-left .spotlight-card[b-45hfpentig] {
    animation: spotlightSlideFromLeft-b-45hfpentig 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Navigation arrows - visible on hover */
.spotlight-arrow[b-45hfpentig] {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10000;
    background: var(--color-primary) !important;
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    font-size: 1.5rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.spotlight-arrow-left[b-45hfpentig] {
    left: -70px;
}

.spotlight-arrow-right[b-45hfpentig] {
    right: -70px;
}

.spotlight-card:hover .spotlight-arrow[b-45hfpentig] {
    opacity: 0.7;
}

.spotlight-arrow:hover[b-45hfpentig] {
    opacity: 1 !important;
    background: #c2185b !important;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.spotlight-arrow:active[b-45hfpentig] {
    transform: translateY(-50%) scale(0.95);
}

.spotlight-header[b-45hfpentig] {
    background: var(--color-primary) !important;
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px 24px 0 0;
}

.spotlight-controls[b-45hfpentig] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.spotlight-progress[b-45hfpentig] {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    min-width: 80px;
    text-align: center;
}

.spotlight-counter[b-45hfpentig] {
    font-variant-numeric: tabular-nums;
}

.spotlight-date[b-45hfpentig] {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: white;
}

.spotlight-day-number[b-45hfpentig] {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.spotlight-date-text[b-45hfpentig] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.spotlight-month[b-45hfpentig] {
    font-size: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.spotlight-year[b-45hfpentig] {
    font-size: 1rem;
    opacity: 0.9;
}

.spotlight-weekday[b-45hfpentig] {
    font-size: 0.875rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.spotlight-close[b-45hfpentig] {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1.5rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spotlight-close:hover[b-45hfpentig] {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.spotlight-content[b-45hfpentig] {
    background: #ffffff !important;
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
    border-radius: 0;
}

.spotlight-events-header[b-45hfpentig] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--spotlight-text-primary);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--spotlight-border-color);
}

.spotlight-events-header i[b-45hfpentig] {
    color: var(--spotlight-primary);
    font-size: 1.5rem;
}

.spotlight-events-list[b-45hfpentig] {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.spotlight-event-item[b-45hfpentig] {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: #f7fafc !important;
    border-radius: 12px;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.spotlight-event-item:hover[b-45hfpentig] {
    background: var(--spotlight-event-bg-hover);
    border-color: var(--spotlight-primary);
    transform: translateX(4px);
}

.spotlight-event-marker[b-45hfpentig] {
    width: 6px;
    min-width: 6px;
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.spotlight-event-details[b-45hfpentig] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.spotlight-event-description[b-45hfpentig] {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--spotlight-text-primary);
    line-height: 1.5;
}

.spotlight-event-category[b-45hfpentig] {
    margin-top: 0.25rem;
}

.spotlight-category-badge[b-45hfpentig] {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.spotlight-event-meta[b-45hfpentig] {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.875rem;
    color: var(--spotlight-text-secondary);
}

.spotlight-event-type[b-45hfpentig],
.spotlight-event-recurring[b-45hfpentig] {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.spotlight-event-type i[b-45hfpentig],
.spotlight-event-recurring i[b-45hfpentig] {
    font-size: 1rem;
}

.spotlight-event-tags[b-45hfpentig] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.spotlight-tag[b-45hfpentig] {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--spotlight-tag-bg);
    color: var(--spotlight-tag-color);
    border-radius: 12px;
    font-size: 0.8125rem;
    font-weight: 500;
}

.spotlight-footer[b-45hfpentig] {
    background: var(--color-primary) !important;
    padding: 1.25rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border-radius: 0 0 24px 24px;
}

/* Day Info Section */
.spotlight-day-info[b-45hfpentig] {
    color: white;
}

.day-info-grid[b-45hfpentig] {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.day-info-item[b-45hfpentig] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    font-size: 0.9rem;
}

.day-info-item i[b-45hfpentig] {
    font-size: 1rem;
    opacity: 0.9;
}

.day-info-value[b-45hfpentig] {
    font-weight: 700;
    font-size: 1.1rem;
}

.day-info-label[b-45hfpentig] {
    opacity: 0.9;
}

.day-info-highlight[b-45hfpentig] {
    background: rgba(76, 175, 80, 0.3);
    border: 1px solid rgba(76, 175, 80, 0.5);
}

.day-info-past[b-45hfpentig] {
    background: rgba(158, 158, 158, 0.2);
    opacity: 0.8;
}

.day-info-weekend[b-45hfpentig] {
    background: rgba(255, 193, 7, 0.25);
    border: 1px solid rgba(255, 193, 7, 0.4);
}

/* Animations */
@keyframes spotlightFadeIn-b-45hfpentig {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes spotlightSlideIn-b-45hfpentig {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes spotlightSlideFromRight-b-45hfpentig {
    from {
        opacity: 0;
        transform: scale(0.9) translateX(100px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateX(0);
    }
}

@keyframes spotlightSlideFromLeft-b-45hfpentig {
    from {
        opacity: 0;
        transform: scale(0.9) translateX(-100px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateX(0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    /* On mobile, always center the card */
    .spotlight-overlay.position-left[b-45hfpentig],
    .spotlight-overlay.position-right[b-45hfpentig] {
        justify-content: center;
        padding-left: 0;
        padding-right: 0;
    }

    .spotlight-card[b-45hfpentig] {
        max-width: 95%;
        max-height: 90vh;
    }

    .spotlight-header[b-45hfpentig] {
        padding: 1.5rem;
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .spotlight-controls[b-45hfpentig] {
        width: 100%;
        justify-content: space-between;
    }

    .spotlight-day-number[b-45hfpentig] {
        font-size: 3rem;
    }

    .spotlight-month[b-45hfpentig] {
        font-size: 1.25rem;
    }

    .spotlight-content[b-45hfpentig] {
        padding: 1.5rem;
    }

    .spotlight-event-item[b-45hfpentig] {
        padding: 1rem;
    }

    .spotlight-event-description[b-45hfpentig] {
        font-size: 1rem;
    }

    .spotlight-arrow[b-45hfpentig] {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    .spotlight-arrow-left[b-45hfpentig] {
        left: -50px;
    }

    .spotlight-arrow-right[b-45hfpentig] {
        right: -50px;
    }
}

/* ===== DARK MODE STYLES ===== */
@media (prefers-color-scheme: dark) {
    .spotlight-content[b-45hfpentig] {
        background: #1a1a2e !important;
    }

    .spotlight-events-header[b-45hfpentig] {
        color: var(--spotlight-text-primary-dark);
        border-bottom-color: var(--spotlight-border-color-dark);
    }

    .spotlight-event-item[b-45hfpentig] {
        background: #252542 !important;
        border-color: #3d3d5c;
    }

    .spotlight-event-item:hover[b-45hfpentig] {
        background: #2d2d4a !important;
        border-color: var(--color-primary);
    }

    .spotlight-event-description[b-45hfpentig] {
        color: var(--spotlight-text-primary-dark);
    }

    .spotlight-event-meta[b-45hfpentig] {
        color: var(--spotlight-text-secondary-dark);
    }

    .spotlight-tag[b-45hfpentig] {
        background: var(--spotlight-tag-bg-dark);
        color: var(--spotlight-tag-color-dark);
    }
}

/* Also support data-theme attribute for manual dark mode toggle */
[data-theme="dark"] .spotlight-content[b-45hfpentig],
.dark .spotlight-content[b-45hfpentig] {
    background: #1a1a2e !important;
}

[data-theme="dark"] .spotlight-events-header[b-45hfpentig],
.dark .spotlight-events-header[b-45hfpentig] {
    color: var(--spotlight-text-primary-dark);
    border-bottom-color: var(--spotlight-border-color-dark);
}

[data-theme="dark"] .spotlight-event-item[b-45hfpentig],
.dark .spotlight-event-item[b-45hfpentig] {
    background: #252542 !important;
    border-color: #3d3d5c;
}

[data-theme="dark"] .spotlight-event-item:hover[b-45hfpentig],
.dark .spotlight-event-item:hover[b-45hfpentig] {
    background: #2d2d4a !important;
    border-color: var(--color-primary);
}

[data-theme="dark"] .spotlight-event-description[b-45hfpentig],
.dark .spotlight-event-description[b-45hfpentig] {
    color: var(--spotlight-text-primary-dark);
}

[data-theme="dark"] .spotlight-event-meta[b-45hfpentig],
.dark .spotlight-event-meta[b-45hfpentig] {
    color: var(--spotlight-text-secondary-dark);
}

[data-theme="dark"] .spotlight-tag[b-45hfpentig],
.dark .spotlight-tag[b-45hfpentig] {
    background: var(--spotlight-tag-bg-dark);
    color: var(--spotlight-tag-color-dark);
}

/* Focus outline for accessibility */
.categories-page:focus[b-45hfpentig] {
    outline: none;
}
