/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-mtzn5cfxor],
.components-reconnect-repeated-attempt-visible[b-mtzn5cfxor],
.components-reconnect-failed-visible[b-mtzn5cfxor],
.components-pause-visible[b-mtzn5cfxor],
.components-resume-failed-visible[b-mtzn5cfxor],
.components-rejoining-animation[b-mtzn5cfxor] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-mtzn5cfxor],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-mtzn5cfxor],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-mtzn5cfxor],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-mtzn5cfxor],
#components-reconnect-modal.components-reconnect-retrying[b-mtzn5cfxor],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-mtzn5cfxor],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-mtzn5cfxor],
#components-reconnect-modal.components-reconnect-failed[b-mtzn5cfxor],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-mtzn5cfxor] {
    display: block;
}


#components-reconnect-modal[b-mtzn5cfxor] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-mtzn5cfxor 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-mtzn5cfxor 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-mtzn5cfxor 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-mtzn5cfxor]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-mtzn5cfxor 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-mtzn5cfxor {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-mtzn5cfxor {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-mtzn5cfxor {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-mtzn5cfxor] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-mtzn5cfxor] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-mtzn5cfxor] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-mtzn5cfxor] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-mtzn5cfxor] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-mtzn5cfxor] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-mtzn5cfxor] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-mtzn5cfxor 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-mtzn5cfxor] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-mtzn5cfxor {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/PlantGrowthPrediction.razor.rz.scp.css */
.plant-page[b-ohphp43va2] {
    max-width: 1200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 20px;
}

.plant-hero[b-ohphp43va2] {
    margin-bottom: 18px;
}

.plant-kicker[b-ohphp43va2] {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    color: #dbeafe;
    margin-bottom: 6px;
}

.plant-hero h1[b-ohphp43va2] {
    margin: 0;
    font-size: clamp(1.8rem, 2.3vw, 2.4rem);
    color: #ffffff;
    font-weight: 700;
}

.plant-subtitle[b-ohphp43va2] {
    margin-top: 8px;
    color: #e5e7eb;
    max-width: 760px;
}

.plant-toolbar[b-ohphp43va2] {
    position: sticky;
    top: 10px;
    z-index: 8;
    backdrop-filter: blur(6px);
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
    margin-bottom: 18px;
}

.toolbar-grid[b-ohphp43va2] {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.2fr 1fr;
    gap: 14px;
    align-items: end;
}

.toolbar-group[b-ohphp43va2] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.toolbar-group label[b-ohphp43va2] {
    font-size: 0.82rem;
    font-weight: 600;
    color: #374151;
    margin: 0;
}

.city-input-wrap[b-ohphp43va2] {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
}

.modern-input[b-ohphp43va2] {
    border-radius: 10px;
    border: 1px solid #d1d5db;
    min-height: 42px;
    box-shadow: none;
}

.modern-input:focus[b-ohphp43va2] {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}

.modern-btn[b-ohphp43va2] {
    border-radius: 10px;
    min-height: 42px;
    font-weight: 600;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.modern-btn:hover[b-ohphp43va2] {
    transform: translateY(-1px);
}

.modern-btn.primary[b-ohphp43va2] {
    color: #fff;
    border: 1px solid #2563eb;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

.modern-btn.secondary[b-ohphp43va2] {
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
    background: #eff6ff;
}

.period-toggle[b-ohphp43va2] {
    display: inline-flex;
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    overflow: hidden;
    background: #f9fafb;
}

.period-btn[b-ohphp43va2] {
    flex: 1;
    border: 0;
    background: transparent;
    min-height: 42px;
    font-weight: 600;
    color: #374151;
}

.period-btn.active[b-ohphp43va2] {
    background: #2563eb;
    color: white;
}

.custom-card[b-ohphp43va2],
.chart-card[b-ohphp43va2],
.daily-section[b-ohphp43va2],
.metric-card[b-ohphp43va2] {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.custom-card[b-ohphp43va2] {
    padding: 18px;
    margin-bottom: 18px;
}

.custom-card h3[b-ohphp43va2] {
    margin-top: 0;
    margin-bottom: 14px;
    font-size: 1.05rem;
    font-weight: 650;
    color: #111827;
}

.custom-grid[b-ohphp43va2] {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
    align-items: end;
}

.custom-grid > div[b-ohphp43va2] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.custom-grid > div label[b-ohphp43va2] {
    font-size: 0.8rem;
    color: #374151;
    margin: 0;
}

.checkbox-wrap[b-ohphp43va2] {
    justify-content: center;
}

.modern-alert-danger[b-ohphp43va2] {
    border: 1px solid #fecaca;
    background: #fef2f2;
    color: #991b1b;
    border-radius: 12px;
}

.metrics-grid[b-ohphp43va2] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.metric-card[b-ohphp43va2] {
    padding: 16px;
}

.metric-label[b-ohphp43va2] {
    margin: 0;
    font-size: 0.82rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.metric-value[b-ohphp43va2] {
    margin: 8px 0;
    font-size: 2rem;
    line-height: 1;
    font-weight: 700;
    color: #111827;
}

.metric-value span[b-ohphp43va2] {
    font-size: 1rem;
    font-weight: 500;
    color: #6b7280;
    margin-left: 4px;
}

.metric-foot[b-ohphp43va2] {
    margin: 0;
    color: #4b5563;
    font-size: 0.88rem;
}

.status-chip[b-ohphp43va2] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 0.84rem;
    font-weight: 700;
    margin: 8px 0;
}

.status-chip.ready[b-ohphp43va2] {
    background: #dcfce7;
    color: #166534;
}

.status-chip.wait[b-ohphp43va2] {
    background: #fee2e2;
    color: #991b1b;
}

.chart-grid[b-ohphp43va2] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.chart-card[b-ohphp43va2] {
    padding: 14px;
}

.chart-head[b-ohphp43va2] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.chart-head h3[b-ohphp43va2] {
    margin: 0;
    font-size: 1rem;
    color: #111827;
}

.info-pill[b-ohphp43va2] {
    border-radius: 999px;
    background: #f3f4f6;
    color: #374151;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 600;
}

.chart-surface[b-ohphp43va2] {
    height: 320px;
}

.daily-section[b-ohphp43va2] {
    padding: 16px;
}

.daily-head[b-ohphp43va2] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.daily-head h3[b-ohphp43va2] {
    margin: 0;
    color: #111827;
}

.source-legend[b-ohphp43va2] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.source-chip[b-ohphp43va2] {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 9px;
    white-space: nowrap;
}

.source-chip.forecast[b-ohphp43va2] {
    background: #dbeafe;
    color: #1e40af;
}

.source-chip.baseline[b-ohphp43va2] {
    background: #ede9fe;
    color: #6d28d9;
}

.modern-table[b-ohphp43va2] {
    margin-bottom: 0;
}

.modern-table thead th[b-ohphp43va2] {
    border-bottom: 1px solid #e5e7eb;
    color: #374151;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 700;
}

.modern-table tbody td[b-ohphp43va2] {
    border-top: 1px solid #f1f5f9;
    vertical-align: middle;
    color: #111827;
    font-size: 0.88rem;
}

.growth-pill[b-ohphp43va2] {
    display: inline-block;
    min-width: 44px;
    text-align: center;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-weight: 700;
    padding: 3px 9px;
}

.frost-pill[b-ohphp43va2] {
    display: inline-flex;
    margin-left: 8px;
    border-radius: 999px;
    padding: 3px 8px;
    background: #fee2e2;
    color: #991b1b;
    font-size: 0.72rem;
    font-weight: 700;
}

.mobile-day-list[b-ohphp43va2] {
    display: none;
}

.day-card[b-ohphp43va2] {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 10px;
    background: #fff;
}

.day-card-head[b-ohphp43va2] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.day-card-head h4[b-ohphp43va2] {
    margin: 0;
    font-size: 0.95rem;
    color: #111827;
}

.day-grid[b-ohphp43va2] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 8px;
}

.day-grid p[b-ohphp43va2] {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 0.86rem;
}

.day-grid p span[b-ohphp43va2] {
    color: #6b7280;
    font-size: 0.74rem;
}

.day-growth[b-ohphp43va2],
.day-recommendation[b-ohphp43va2] {
    margin: 6px 0 0;
    font-size: 0.88rem;
    color: #1f2937;
}

@media (max-width: 1100px) {
    .toolbar-grid[b-ohphp43va2] {
        grid-template-columns: 1fr 1fr;
    }

    .action-group[b-ohphp43va2] {
        grid-column: span 2;
    }

    .metrics-grid[b-ohphp43va2] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .chart-grid[b-ohphp43va2] {
        grid-template-columns: 1fr;
    }

    .custom-grid[b-ohphp43va2] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .plant-page[b-ohphp43va2] {
        padding-top: 8px;
        border-radius: 14px;
    }

    .plant-toolbar[b-ohphp43va2] {
        position: static;
        padding: 12px;
    }

    .toolbar-grid[b-ohphp43va2] {
        grid-template-columns: 1fr;
    }

    .action-group[b-ohphp43va2] {
        grid-column: auto;
    }

    .metrics-grid[b-ohphp43va2] {
        grid-template-columns: 1fr;
    }

    .desktop-view[b-ohphp43va2] {
        display: none;
    }

    .mobile-day-list[b-ohphp43va2] {
        display: block;
    }

    .daily-head[b-ohphp43va2] {
        flex-direction: column;
        align-items: flex-start;
    }

    .chart-surface[b-ohphp43va2] {
        height: 260px;
    }

    .custom-grid[b-ohphp43va2] {
        grid-template-columns: 1fr;
    }
}

@media (prefers-color-scheme: dark) {
    .plant-page[b-ohphp43va2] {
        background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
    }

    .plant-kicker[b-ohphp43va2] {
        color: #9ca3af;
    }

    .plant-hero h1[b-ohphp43va2],
    .chart-head h3[b-ohphp43va2],
    .daily-head h3[b-ohphp43va2],
    .metric-value[b-ohphp43va2],
    .day-card-head h4[b-ohphp43va2],
    .modern-table tbody td[b-ohphp43va2] {
        color: #f9fafb;
    }

    .plant-subtitle[b-ohphp43va2],
    .metric-foot[b-ohphp43va2],
    .day-growth[b-ohphp43va2],
    .day-recommendation[b-ohphp43va2],
    .modern-table thead th[b-ohphp43va2],
    .toolbar-group label[b-ohphp43va2],
    .custom-grid > div label[b-ohphp43va2] {
        color: #cbd5e1;
    }

    .plant-toolbar[b-ohphp43va2],
    .custom-card[b-ohphp43va2],
    .chart-card[b-ohphp43va2],
    .daily-section[b-ohphp43va2],
    .metric-card[b-ohphp43va2],
    .day-card[b-ohphp43va2] {
        background: #0f172a;
        border-color: #334155;
        box-shadow: 0 12px 28px rgba(2, 6, 23, 0.45);
    }

    .modern-input[b-ohphp43va2] {
        background: #111827;
        color: #e5e7eb;
        border-color: #475569;
    }

    .modern-input:focus[b-ohphp43va2] {
        border-color: #60a5fa;
        box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.2);
    }

    .period-toggle[b-ohphp43va2] {
        background: #111827;
        border-color: #475569;
    }

    .period-btn[b-ohphp43va2] {
        color: #e2e8f0;
    }

    .period-btn.active[b-ohphp43va2] {
        background: #1d4ed8;
        color: #eff6ff;
    }

    .modern-btn.secondary[b-ohphp43va2] {
        border-color: #475569;
        background: #1e293b;
        color: #bfdbfe;
    }

    .modern-alert-danger[b-ohphp43va2] {
        background: #3f1d1d;
        border-color: #7f1d1d;
        color: #fecaca;
    }

    .metric-label[b-ohphp43va2] {
        color: #94a3b8;
    }

    .info-pill[b-ohphp43va2] {
        background: #1e293b;
        color: #cbd5e1;
    }

    .source-chip.forecast[b-ohphp43va2] {
        background: #1e3a8a;
        color: #dbeafe;
    }

    .source-chip.baseline[b-ohphp43va2] {
        background: #4c1d95;
        color: #ede9fe;
    }

    .growth-pill[b-ohphp43va2] {
        background: #1e3a8a;
        color: #dbeafe;
    }

    .modern-table thead th[b-ohphp43va2],
    .modern-table tbody td[b-ohphp43va2] {
        border-color: #334155;
    }

    .frost-pill[b-ohphp43va2] {
        background: #7f1d1d;
        color: #fecaca;
    }
}
