/* AUTO-GENERATED — do not edit by hand.
 * Regenerate: python scripts/build_app_shell_bundle.py
 * Sources: assets/css/app_shell/platform/modules/statistics/index.css, assets/css/app_shell/platform/modules/tool-plugin-panel/index.css
 */

/* === import from ./req-stats/index.css (index.css) */

/* === import from ./page.css (page.css) */
.stats-page-container {
    padding: 24px;
    background: var(--bg);
}

.req-stats-container {
    background: var(--panel);
    border-radius: 12px;
    padding: 32px;
    box-shadow: var(--shadow);
    /* Extremely soft, premium shadow */
}

.req-stats-header {
    margin-bottom: 24px;
}

.req-stats-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    margin: 0;
}



/* === import from ./grid.css (grid.css) */
/* 2 columns matching the design layout */
.req-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}



/* === import from ./card.css (card.css) */
.req-stat-card {
    background: var(--panel);
    border: 1px solid var(--border);
    /* Light gray border base */
    border-radius: 8px;
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.01);
}

.req-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    /* Stronger premium float effect */
    border-color: var(--brand1, #4B7CFF);
    /* Brand color highlight on hover */
}

.req-stat-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.req-stat-label {
    font-size: 14px;
    color: var(--muted);
    font-weight: 400;
}

.req-stat-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--text);
    line-height: 1;
}

.req-stat-footer {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 8px;
}

.req-stat-footer-text {
    font-size: 13px;
    color: var(--muted);
}

.stats-trend {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
}

/* The UP Trend with soft red background + red text */
.stats-trend.up {
    color: var(--danger);
    /* A soft bright coral red */
    background: rgba(var(--brand3-rgb), 0.08);
}

/* The DOWN Trend with soft green background + green text */
.stats-trend.down {
    color: var(--ok);
    /* A clean soft green */
    background: rgba(var(--brand5-rgb), 0.08);
}

.stats-trend i {
    font-size: 12px;
}

.req-stat-arrow {
    color: var(--muted2);
    font-size: 16px;
    transition: color 0.2s, transform 0.2s;
}

.req-stat-card:hover .req-stat-arrow {
    color: var(--brand1, #4B7CFF);
    transform: translateX(4px);
    /* Pushes arrow slightly right to imply clickability */
}





/* === import from ./charts/index.css (index.css) */

/* === import from ./card.css (card.css) */
.stats-chart-card {
    background: var(--panel);
    border-radius: 12px;
    padding: 32px;
    box-shadow: var(--shadow);
}

.stats-chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.stats-chart-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    margin: 0;
}

.stats-chart-controls {
    display: flex;
    gap: 16px;
    align-items: center;
}

.stats-date-range-picker {
    width: 260px;
}



.stats-primary-btn {
    padding: 6px 20px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    background-color: var(--brand1, #4B7CFF);
    color: white;
    transition: background-color 0.2s, opacity 0.2s;
}

.stats-primary-btn:hover {
    opacity: 0.9;
}



/* === import from ./trend.css (trend.css) */
/* Trend Chart specific */
.stats-chart-body {
    position: relative;
    height: 320px;
}

.stats-chart-body.distribution-body {
    height: auto;
    padding-top: 16px;
}

.stats-grid-background {
    position: absolute;
    top: 50px;
    left: 4%;
    right: 4%;
    bottom: 30px;
    background-image: linear-gradient(to bottom, var(--border) 1px, transparent 1px);
    background-size: 100% 40px;
    /* Horizon lines acting as y-axis grid */
}

.stats-svg-trend {
    position: absolute;
    top: 0;
    left: 4%;
    width: 92%;
    height: calc(100% - 30px);
}

.stats-x-axis {
    position: absolute;
    bottom: 0;
    left: 6%;
    right: 8%;
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--muted);
}



/* === import from ./distribution.css (distribution.css) */
/* Distribution Bars specific */
.stats-bars-wrapper {
    display: flex;
    flex-direction: column;
    gap: 32px;
    /* Increased gap for cleaner breathing space */
    padding: 20px 8%;
}

.stats-bar-row {
    display: flex;
    align-items: center;
    gap: 24px;
}

.stats-bar-name {
    width: 64px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    letter-spacing: 1px;
    color: var(--stats-bar-name-color, inherit);
}

.stats-bar-count {
    width: 60px;
    color: #6B7280;
    /* Elegant slate gray */
    font-size: 14px;
    font-weight: 500;
}

.stats-bar-container {
    flex: 1;
    height: 12px;
    background: var(--bg1);
    /* Minimalist bright light gray */
    border-radius: 6px;
    overflow: hidden;
}

.stats-bar-fill {
    height: 100%;
    border-radius: 6px;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
    width: var(--stats-bar-width, 0%);
    background-color: var(--stats-bar-color, var(--brand1));
}

.stats-bar-pct {
    width: 48px;
    text-align: right;
    font-size: 15px;
    font-weight: 700;
    /* Bold numerical percentage */
    color: #111827;
    /* Near black high contrast */
}





/* === import from ./panel.css (panel.css) */
.tool-panel {
    max-width: 1280px;
    margin: 0 auto;
    padding-bottom: 24px;
}

.tool-panel--narrow {
    max-width: 1180px;
}

.tool-panel--compact {
    max-width: 980px;
}

.tool-panel__title {
    margin: 0;
}

.tool-hidden-input {
    display: none;
}



/* === import from ./grid.css (grid.css) */
.tool-panel__grid {
    width: 100%;
    height: 600px;
    margin-top: 10px;
}

.tool-panel__grid--560 {
    height: 560px;
    margin-top: 12px;
}

.tool-panel__grid--480 {
    height: 480px;
    width: 100%;
}

.tool-panel__grid--rel {
    position: relative;
}

.tool-ag-grid-fill {
    height: 100%;
    width: 100%;
}

.tool-ag-grid-fill--min {
    height: 100%;
    min-height: 520px;
}



/* === import from ./utilities.css (utilities.css) */
.tool-filter-flex {
    flex: 1;
}

.tool-filter-w280 {
    width: 280px;
}

.tool-warn-icon {
    color: #fa5252;
}

.tool-head-minw {
    min-width: 220px;
}

.tool-action-msg {
    margin-top: 12px;
}

.tool-feedback-min {
    min-height: 0;
}

.tool-section-mt {
    margin-top: 16px;
}

.tool-icon-brand {
    color: #228be6;
}

.tool-hidden-wrap {
    display: none;
}

.tool-hidden-wrap--block {
    display: none;
}
