/* /Components/Pages/Dashboard.razor.rz.scp.css */
.dashboard-page[b-tzcq5td5z0] {
    height: 100%;
}

@media (min-width: 1024px) and (max-width: 1200px) {
    .dashboard-tablet[b-tzcq5td5z0] {
        min-width: 0;
    }

    .dashboard-tablet :deep(.mud-card)[b-tzcq5td5z0] {
        min-width: 0;
        overflow: hidden;
    }

    .dashboard-tablet :deep(.mud-card-header)[b-tzcq5td5z0] {
        gap: 8px;
    }

    .dashboard-tablet :deep(.mud-card-content)[b-tzcq5td5z0] {
        padding-right: 8px;
    }
}
/* /Components/Pages/Docs.razor.rz.scp.css */
/* ===== Headings ===== */
[b-47zusqa4e0] .docs-content h1 {
    font-size: 2rem;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--mud-palette-lines-default);
    padding-bottom: 0.5rem;
}

[b-47zusqa4e0] .docs-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid var(--mud-palette-lines-default);
    padding-bottom: 0.4rem;
}

[b-47zusqa4e0] .docs-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

[b-47zusqa4e0] .docs-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1.25rem;
    margin-bottom: 0.4rem;
}

/* ===== Paragraphs & text ===== */
[b-47zusqa4e0] .docs-content p {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

[b-47zusqa4e0] .docs-content strong {
    font-weight: 700;
}

/* ===== Lists (ul / ol) ===== */
[b-47zusqa4e0] .docs-content ul,
[b-47zusqa4e0] .docs-content ol {
    margin-top: 0.25rem;
    margin-bottom: 1rem;
    padding-left: 2rem;
}

[b-47zusqa4e0] .docs-content ul {
    list-style-type: disc;
}

[b-47zusqa4e0] .docs-content ol {
    list-style-type: decimal;
}

[b-47zusqa4e0] .docs-content li {
    margin-bottom: 0.35rem;
    line-height: 1.7;
}

[b-47zusqa4e0] .docs-content li > ul,
[b-47zusqa4e0] .docs-content li > ol {
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
}

[b-47zusqa4e0] .docs-content li > ul {
    list-style-type: circle;
}

/* ===== Links ===== */
[b-47zusqa4e0] .docs-content a {
    color: var(--mud-palette-primary);
    text-decoration: none;
}

[b-47zusqa4e0] .docs-content a:hover {
    text-decoration: underline;
}

/* ===== Code (inline + block) ===== */
[b-47zusqa4e0] .docs-content code {
    font-family: 'Cascadia Code', 'Consolas', monospace;
    font-size: 0.875rem;
}

[b-47zusqa4e0] .docs-content :not(pre) > code {
    background: var(--mud-palette-surface);
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 4px;
    padding: 0.15rem 0.4rem;
}

[b-47zusqa4e0] .docs-content pre {
    background: var(--mud-palette-background-gray);
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 8px;
    padding: 1rem;
    overflow-x: auto;
    margin: 1rem 0;
    line-height: 1.5;
}

/* ===== Blockquotes ===== */
[b-47zusqa4e0] .docs-content blockquote {
    border-left: 4px solid var(--mud-palette-primary);
    margin: 1rem 0;
    padding: 0.5rem 1rem;
    background: var(--mud-palette-surface);
    border-radius: 0 8px 8px 0;
}

[b-47zusqa4e0] .docs-content blockquote p {
    margin-bottom: 0.25rem;
}

/* ===== Horizontal rules ===== */
[b-47zusqa4e0] .docs-content hr {
    border: none;
    border-top: 1px solid var(--mud-palette-lines-default);
    margin: 2rem 0;
}

/* ===== Tables ===== */
[b-47zusqa4e0] .docs-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    overflow-x: auto;
    display: block;
}

[b-47zusqa4e0] .docs-content th,
[b-47zusqa4e0] .docs-content td {
    border: 1px solid var(--mud-palette-lines-default);
    padding: 0.5rem 0.75rem;
    text-align: left;
}

[b-47zusqa4e0] .docs-content th {
    background: var(--mud-palette-surface);
    font-weight: 600;
}

[b-47zusqa4e0] .docs-content tr:nth-child(even) {
    background: var(--mud-palette-surface);
}

/* ===== Images ===== */
[b-47zusqa4e0] .docs-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
}

/* ===== Checkboxes (task lists) ===== */
[b-47zusqa4e0] .docs-content input[type="checkbox"] {
    margin-right: 0.5rem;
}   

.docfx-frame-container[b-47zusqa4e0] {
    width: 100%;
    height: calc(100vh - 92px);
    background: transparent; /* was a gradient that covered embedded page */
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 24px;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.18);
    overflow: hidden;
}

.docfx-frame[b-47zusqa4e0] {
    width: 100%;
    height: 100%;
    border: none;
    background: transparent;
}

@media (max-width: 960px) {
    .docfx-frame-container[b-47zusqa4e0] {
        height: calc(100vh - 84px);
        border-radius: 18px;
    }
}
/* /Components/Pages/Goodbye.razor.rz.scp.css */
.goodbye[b-ns1rdeisym] {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.form[b-ns1rdeisym] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.625rem;
    width: 20rem;
}

.goodbye-title[b-ns1rdeisym] {
    color: var(--heading-primary);
    font-size: var(--text-4xl);
    font-weight: var(--font-weight-extrabold);
}

button[b-ns1rdeisym] {
    display: inline-flex;
    padding: 12px 24px;
    justify-content: center;
    align-items: center;
    border-radius: 16px;
    border: 2px solid transparent;
    background-image: radial-gradient(circle at 30% 30%, #8e3ff2, #4facfe);
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-position 0.5s ease;
    background-size: 200% 200%;
}

    button:hover[b-ns1rdeisym] {
        transform: translateY(-3px);
        box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
        background-position: 70% 30%;
    }

    button:active[b-ns1rdeisym] {
        transform: translateY(0);
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    }
/* /Components/Pages/MyPlants.razor.rz.scp.css */
.plant-card[b-pcriy713bv] {
    border-radius: 18px;
    overflow: hidden;
}

.plant-media[b-pcriy713bv] {
    object-fit: cover;
}

.plant-card-content[b-pcriy713bv] {
    min-height: 180px;
}

.meta-row[b-pcriy713bv] {
    opacity: .85;
}

.plant-card :deep(.mud-card-header)[b-pcriy713bv] {
    padding-top: 8px;
    padding-bottom: 0;
}

.plant-card :deep(.mud-card-header-content .mud-typography)[b-pcriy713bv] {
    line-height: 1.15;
}

.plant-card :deep(.mud-chip-root)[b-pcriy713bv] {
    margin-top: 2px;
    margin-bottom: 2px;
}
/* /Components/Pages/Nodes.razor.rz.scp.css */
/* ─────────────────────────────────────────────
   Overview panel layout
───────────────────────────────────────────── */

.ng-overview-inner[b-arrzmu8w3y] {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

/* Search field wrapper = natural height only */
.ng-search-wrap[b-arrzmu8w3y] {
    flex: 0 0 auto;
    margin-bottom: 12px;
}

/* Scrollable card area */
.ng-scroll[b-arrzmu8w3y] {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 4px;
    align-content: start;
}

    .ng-scroll[b-arrzmu8w3y]::-webkit-scrollbar {
        width: 4px;
    }

    .ng-scroll[b-arrzmu8w3y]::-webkit-scrollbar-track {
        background: transparent;
    }

    .ng-scroll[b-arrzmu8w3y]::-webkit-scrollbar-thumb {
        background: var(--mud-palette-divider);
        border-radius: 4px;
    }

/* ─────────────────────────────────────────────
   Responsive card grid
───────────────────────────────────────────── */

.ng-cards-wrap[b-arrzmu8w3y] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 12px;
    align-content: start;
}

.ng-card-fixed[b-arrzmu8w3y] {
    cursor: pointer;
    min-width: 0;
}

/* ─────────────────────────────────────────────
   Node card
───────────────────────────────────────────── */

.ng-node-card[b-arrzmu8w3y] {
    border-radius: 10px !important;
    height: 100%;
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}

    .ng-node-card:hover[b-arrzmu8w3y] {
        transform: translateY(-2px);
        box-shadow: 0 4px 14px rgba(0,0,0,0.08) !important;
    }

.ng-card-content[b-arrzmu8w3y] {
    padding: 10px 12px !important;
}

/* ─────────────────────────────────────────────
   Layout helpers
───────────────────────────────────────────── */

.ng-row[b-arrzmu8w3y] {
    display: flex;
    align-items: center;
}

.ng-row-between[b-arrzmu8w3y] {
    justify-content: space-between;
}

.ng-node-name[b-arrzmu8w3y] {
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
}

/* ─────────────────────────────────────────────
   Status badges
───────────────────────────────────────────── */

.ng-badge[b-arrzmu8w3y] {
    font-size: 0.68rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 20px;
    flex-shrink: 0;
    letter-spacing: 0.02em;
}

.ng-badge-active[b-arrzmu8w3y] {
    color: var(--mud-palette-success);
    background: rgba(76, 175, 80, 0.12);
}

.ng-badge-inactive[b-arrzmu8w3y] {
    color: var(--mud-palette-error);
    background: rgba(244, 67, 54, 0.12);
}

/* ─────────────────────────────────────────────
   Info grid
───────────────────────────────────────────── */

.ng-info-grid[b-arrzmu8w3y] {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3px 10px;
    align-items: baseline;
}

.ng-info-label[b-arrzmu8w3y] {
    font-size: 0.68rem;
    color: var(--mud-palette-text-secondary);
    white-space: nowrap;
}

.ng-info-value[b-arrzmu8w3y] {
    font-size: 0.68rem;
    color: var(--mud-palette-text-primary);
    text-align: right;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ng-mono[b-arrzmu8w3y] {
    font-family: Consolas, monospace;
}

/* ─────────────────────────────────────────────
   Metrics
───────────────────────────────────────────── */

.ng-metric-row[b-arrzmu8w3y] {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ─────────────────────────────────────────────
   Group row
───────────────────────────────────────────── */

.ng-group-row[b-arrzmu8w3y] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--mud-palette-divider);
    margin-top: 4px;
}

.ng-group-dot[b-arrzmu8w3y] {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    flex-shrink: 0;
    display: inline-block;
}

/* /Components/Pages/Settinggs.razor.rz.scp.css */
/* === Settings Page Modern Mockup Style === */

.settings-page[b-vhax9mj3eu] {
    display: flex;
    height: 100vh;
    width: 100%;
    background: #ffffff;
    transition: all 0.3s ease;
}

/* === Sidebar === */
.sidebar[b-vhax9mj3eu] {
    width: 250px;
    background: #ffffff;
    border-right: 1px solid #e5e7eb;
    padding: 2rem 1rem;
    transition: all 0.3s ease;
}

    .sidebar h2[b-vhax9mj3eu] {
        font-size: 1.2rem;
        font-weight: 600;
        margin-bottom: 1.5rem;
        color: #111827;
        transition: color 0.3s ease;
    }

.sidebar-menu[b-vhax9mj3eu] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.sidebar-item[b-vhax9mj3eu] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 1rem;
    border-radius: 8px;
    color: #4b5563;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
}

    .sidebar-item .mud-icon-root[b-vhax9mj3eu] {
        color: inherit;
    }

    .sidebar-item span[b-vhax9mj3eu] {
        color: inherit;
    }

    .sidebar-item:hover[b-vhax9mj3eu] {
        background: #f3f4f6;
    }

    .sidebar-item.active[b-vhax9mj3eu] {
        background: #e8f0ff;
        color: #2563eb;
        position: relative;
    }

        .sidebar-item.active[b-vhax9mj3eu]::before {
            content: "";
            position: absolute;
            left: -8px;
            top: 6px;
            bottom: 6px;
            width: 4px;
            border-radius: 4px;
            background: #3b82f6;
        }

/* === Content === */
.content[b-vhax9mj3eu] {
    flex: 1;
    padding: 3rem 4rem;
    overflow-y: auto;
    background: #f9fafb;
    transition: background 0.3s ease;
}

.content-inner[b-vhax9mj3eu] {
    background: #fff;
    border-radius: 14px;
    padding: 2.5rem 3rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    max-width: 900px;
    margin: 0 auto;
    transition: all 0.3s ease;
}

/* === Sections === */
.section[b-vhax9mj3eu] {
    padding-bottom: 2rem;
}

    .section + .section[b-vhax9mj3eu] {
        border-top: 1px solid rgba(210, 215, 220, 0.6);
        margin-top: 2rem;
        padding-top: 2rem;
        transition: border-color 0.3s ease;
    }

    .section h3[b-vhax9mj3eu] {
        font-weight: 600;
        font-size: 1rem;
        color: #111827;
        margin-bottom: 0.4rem;
        padding-left: 1rem;
        position: relative;
        transition: color 0.3s ease;
    }

        .section h3[b-vhax9mj3eu]::before {
            content: "";
            position: absolute;
            left: 0;
            top: 3px;
            width: 3px;
            height: 18px;
            border-radius: 4px;
            background: #3b82f6;
        }

    .section p[b-vhax9mj3eu] {
        color: #6b7280;
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
        transition: color 0.3s ease;
    }

/* === Language Select === */
.language-select[b-vhax9mj3eu] {
    max-width: 300px;
}

/* === Theme Buttons === */
.theme-buttons[b-vhax9mj3eu] {
    display: flex;
    gap: 1rem;
}

    .theme-buttons .mud-button-root[b-vhax9mj3eu] {
        min-width: 120px;
        padding: 0.6rem 1.8rem;
        border-radius: 8px;
        font-weight: 500;
        text-transform: none;
        transition: all 0.2s ease;
        border: 1px solid #d1d5db;
        background: white;
        color: #374151;
    }

        .theme-buttons .mud-button-root:hover[b-vhax9mj3eu] {
            background: #f9fafb;
        }

    .theme-buttons .active-theme[b-vhax9mj3eu] {
        background: #3b82f6 !important;
        color: white !important;
        border-color: #3b82f6 !important;
    }

/* === Notifications === */
.notification-grid[b-vhax9mj3eu] {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.notification-card[b-vhax9mj3eu] {
    background: #f3f4f6 !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 10px;
    padding: 1.5rem;
    flex: 1;
    min-width: 250px;
    transition: all 0.3s ease;
}

    .notification-card h4[b-vhax9mj3eu] {
        font-weight: 600;
        color: #374151;
        margin-bottom: 0.5rem;
        font-size: 1rem;
        transition: color 0.3s ease;
    }

    .notification-card p[b-vhax9mj3eu] {
        color: #6b7280;
        font-size: 0.9rem;
        margin-bottom: 1rem;
        transition: color 0.3s ease;
    }

/* === Button Row === */
.button-row[b-vhax9mj3eu] {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2.4rem;
}

    .button-row .mud-button-root[b-vhax9mj3eu] {
        padding: 0.65rem 1.5rem;
        border-radius: 8px;
        font-weight: 500;
        text-transform: none;
    }

/* ============================================ */
/* === DARK MODE === */
/* ============================================ */

.settings-page.dark-mode[b-vhax9mj3eu] {
    background: #0f172a;
}

    .settings-page.dark-mode .sidebar[b-vhax9mj3eu] {
        background: #1e293b;
        border-right: 1px solid #334155;
    }

        .settings-page.dark-mode .sidebar h2[b-vhax9mj3eu] {
            color: #e2e8f0;
        }

    .settings-page.dark-mode .sidebar-item[b-vhax9mj3eu] {
        color: #94a3b8;
    }

        .settings-page.dark-mode .sidebar-item:hover[b-vhax9mj3eu] {
            background: #334155;
        }

        .settings-page.dark-mode .sidebar-item.active[b-vhax9mj3eu] {
            background: #1e3a5f;
            color: #60a5fa;
        }

    .settings-page.dark-mode .content[b-vhax9mj3eu] {
        background: #0f172a;
    }

    .settings-page.dark-mode .content-inner[b-vhax9mj3eu] {
        background: #1e293b;
        border: 1px solid #334155;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    }

    .settings-page.dark-mode .section + .section[b-vhax9mj3eu] {
        border-top: 1px solid #334155;
    }

    .settings-page.dark-mode .section h3[b-vhax9mj3eu] {
        color: #e2e8f0;
    }

    .settings-page.dark-mode .section p[b-vhax9mj3eu] {
        color: #94a3b8;
    }

    /* Dark mode theme buttons */
    .settings-page.dark-mode .theme-buttons .mud-button-root[b-vhax9mj3eu] {
        background: #0f172a;
        border-color: #334155;
        color: #94a3b8;
    }

        .settings-page.dark-mode .theme-buttons .mud-button-root:hover[b-vhax9mj3eu] {
            background: #1e293b;
        }

    .settings-page.dark-mode .theme-buttons .active-theme[b-vhax9mj3eu] {
        background: #3b82f6 !important;
        color: white !important;
        border-color: #3b82f6 !important;
    }

    /* Dark mode notifications */
    .settings-page.dark-mode .notification-card[b-vhax9mj3eu] {
        background: #0f172a !important;
        border: 1px solid #334155 !important;
    }

        .settings-page.dark-mode .notification-card h4[b-vhax9mj3eu] {
            color: #e2e8f0;
        }

        .settings-page.dark-mode .notification-card p[b-vhax9mj3eu] {
            color: #94a3b8;
        }

    /* Dark mode için MudBlazor component overrides */
    .settings-page.dark-mode .mud-input[b-vhax9mj3eu] {
        color: #e2e8f0 !important;
    }

    .settings-page.dark-mode .mud-input-label[b-vhax9mj3eu] {
        color: #94a3b8 !important;
    }

    .settings-page.dark-mode .mud-input-helper-text[b-vhax9mj3eu] {
        color: #64748b !important;
    }

    .settings-page.dark-mode .mud-select[b-vhax9mj3eu] {
        background-color: #0f172a !important;
    }

        .settings-page.dark-mode .mud-select .mud-input-root[b-vhax9mj3eu] {
            background-color: #0f172a !important;
        }

    .settings-page.dark-mode .mud-input-outlined .mud-input-outlined-border[b-vhax9mj3eu] {
        border-color: #334155 !important;
    }

    .settings-page.dark-mode .mud-input-outlined:hover .mud-input-outlined-border[b-vhax9mj3eu] {
        border-color: #475569 !important;
    }

    .settings-page.dark-mode .mud-input-outlined.mud-input-adorned-end .mud-input-outlined-border[b-vhax9mj3eu] {
        border-color: #334155 !important;
    }

    /* Dark mode buttons */
    .settings-page.dark-mode .mud-button-outlined[b-vhax9mj3eu] {
        border-color: #334155 !important;
        color: #94a3b8 !important;
    }

        .settings-page.dark-mode .mud-button-outlined:hover[b-vhax9mj3eu] {
            background-color: #1e293b !important;
        }

    .settings-page.dark-mode .mud-button-filled[b-vhax9mj3eu] {
        background-color: #3b82f6 !important;
    }

    /* Dark mode paper */
    .settings-page.dark-mode .mud-paper[b-vhax9mj3eu] {
        background-color: #0f172a !important;
        color: #e2e8f0 !important;
    }
/* /Components/Shared/NodeTableCard.razor.rz.scp.css */
.node-table-card-content[b-va0r1087yb] {
    overflow-x: auto;
}

.node-table-card-content :deep(.mud-table-container)[b-va0r1087yb] {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.node-table-card-content :deep(table)[b-va0r1087yb] {
    min-width: 50%;
}

@media (max-width: 1200px) {
    .node-table-card-content :deep(.mud-table-cell)[b-va0r1087yb] {
        white-space: nowrap;
    }
}

@media (max-width: 600px) {
    .node-table-card-content :deep(.mud-table-cell)[b-va0r1087yb] {
        white-space: normal;
    }
}
/* /Components/Shared/TimeSeriesChartCard.razor.rz.scp.css */
.time-series-chart-card[b-p18788g61l] {
    height: 100%;
    max-height: 380px;
    overflow: hidden;
}

.time-series-header-content[b-p18788g61l] {
    width: 100%;
}

.time-series-header-content .mud-typography[b-p18788g61l] {
    min-width: 0;
}

.time-range-select[b-p18788g61l] {
    min-width: 120px;
}

.time-series-chart-content[b-p18788g61l] {
    overflow: hidden;
}

.soil-moisture-legend-hint[b-p18788g61l] {
    cursor: help;
}

.time-series-chart-card :deep(.mud-card-header)[b-p18788g61l] {
    padding-bottom: 0.25rem;
}

.time-series-chart-card :deep(.mud-card-content)[b-p18788g61l] {
    padding-top: 0.25rem;
    overflow: hidden;
}

.time-series-chart-card :deep(.mud-chart-legend)[b-p18788g61l] {
    width: 100%;
    gap: 10px;
    padding-top: 12px !important;
    flex-wrap: wrap;
    justify-content: space-between;
    align-content: flex-start;
}

.time-series-chart-card :deep(.mud-chart-legend-item)[b-p18788g61l] {
    flex: 0 1 auto;
    flex-wrap: nowrap;
    font-size: 0.76rem;
    max-width: none;
    overflow: hidden;
}

.time-series-chart-card :deep(.mud-chart-legend-item:first-child:last-child)[b-p18788g61l] {
    max-width: none;
}

.time-series-chart-card.legend-count-2 :deep(.mud-chart-legend)[b-p18788g61l] {
    justify-content: space-between;
}

.time-series-chart-card.legend-count-many :deep(.mud-chart-legend)[b-p18788g61l] {
    justify-content: space-between;
}

.soil-moisture-custom-legend[b-p18788g61l] {
    width: 100%;
    gap: 16px;
    padding: 8px 0 0;
    justify-content: center;
    align-content: center;
}

.soil-moisture-legend-item[b-p18788g61l] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: default;
    font-size: 0.76rem;
    font-weight: 500;
    color: var(--mud-palette-text-primary);
    padding: 2px 0;
    border-radius: 4px;
}

/* removed hover-help effect because legend tooltip is intentionally disabled */

.soil-moisture-legend-dot[b-p18788g61l] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--soil-moisture-legend-color);
    flex: 0 0 auto;
}

.soil-moisture-legend-label[b-p18788g61l] {
    white-space: nowrap;
    line-height: 1;
}

@media (min-width: 1024px) and (max-width: 1200px) {
    .time-series-chart-card :deep(.mud-charts-xaxis text)[b-p18788g61l] {
        font-size: 8px;
    }

    .time-series-chart-card :deep(.mud-chart-legend)[b-p18788g61l] {
        width: 100%;
        gap: 8px;
        padding: 0.35rem 0 0.2rem !important;
        justify-content: space-between;
    }

    .time-series-chart-card :deep(.mud-chart-legend-item)[b-p18788g61l] {
        font-size: 0.72rem;
        max-width: none;
    }

    .soil-moisture-custom-legend[b-p18788g61l] {
        width: 100%;
        gap: 12px;
        padding: 6px 0 0;
        justify-content: center;
    }

    .soil-moisture-legend-item[b-p18788g61l] {
        font-size: 0.72rem;
    }
}

@media (max-width: 960px) {
    .time-series-chart-card[b-p18788g61l] {
        max-height: none;
    }

    .time-series-chart-card :deep(.mud-chart-legend)[b-p18788g61l] {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .time-series-chart-card :deep(.mud-chart-legend-item)[b-p18788g61l] {
        justify-content: flex-start !important;
        max-width: 100%;
    }

    .soil-moisture-custom-legend[b-p18788g61l] {
        width: 100%;
        justify-content: center;
        padding-right: 0;
        gap: 10px;
    }
}


@media (max-width: 480px) {
    .time-series-chart-card :deep(.mud-card-header)[b-p18788g61l] {
        padding-left: 1rem;
        padding-right: 1rem;
        padding-bottom: 0.15rem;
    }

    .time-series-chart-card :deep(.mud-card-content)[b-p18788g61l] {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
        padding-top: 0.15rem;
    }

    .time-series-chart-card :deep(.mud-charts-xaxis text)[b-p18788g61l],
    .time-series-chart-card :deep(.mud-charts-yaxis text)[b-p18788g61l] {
        font-size: 9px;
    }

    .time-series-chart-card :deep(.mud-chart-legend)[b-p18788g61l] {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 8px 12px;
        padding-top: 0.35rem !important;
    }

    .time-series-chart-card :deep(.mud-chart-legend-item)[b-p18788g61l] {
        justify-content: center !important;
        font-size: 0.72rem;
        max-width: 100%;
    }
}
