/* /Components/AutoclaveWidgets.razor.rz.scp.css */
body[b-ed9e18exi0] {
    display: flex;
    justify-content: center;
    align-items: center;


    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    padding: 0px;
}

.widget-weather[b-ed9e18exi0] {
    background: rgba(0, 0, 0, 0.09);
    backdrop-filter: blur(5px) saturate(100%);
    -webkit-backdrop-filter: blur(5px) saturate(100%);
    border-radius: 5px;
    padding: 15px 0px 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    height: 100%;
    width: 240px;
    cursor: default;

}

  
/* ===== ОПИСАНИЕ ===== */
.weather-desc[b-ed9e18exi0] {
    font-size: 11pt;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 1);
    margin-bottom: 16px;
    padding-top: 4px;
}

/* ===== ДЕТАЛИ ===== */
.weather-details[b-ed9e18exi0] {
    display: grid;
    grid-template-columns: 1fr 1fr;
   /* gap: 8px 12px;*/
  /*  padding-top: 16px;*/
/*    border-top: 1px solid rgba(255, 255, 255, 0.5);*/
}

.detail-item[b-ed9e18exi0] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

/*    .detail-item i {
        font-size: 18px;
        color: rgba(255, 255, 255, 0.8);
        margin-bottom: 1px;
    }*/

    .detail-item .value[b-ed9e18exi0] {
        font-size: 14pt;
    /*    font-weight: 500;*/
        color: white;
    }

        .detail-item .value .unit[b-ed9e18exi0] {
            font-size: 11pt;
            /*     font-weight: 400;*/
            color: #E3F2FD;
            margin-left: 2px;
        }

    .detail-item .label[b-ed9e18exi0] {
        font-size: 9px;
        font-weight: 400;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: rgba(255, 255, 255, 0.55);
    }
/* /Components/Calendar/CalendarPicker.razor.rz.scp.css */
.datepicker-container[b-jlj7wf1xgs] {
    background: #242f4c;
    border-radius: 5px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    max-width: 820px;
    width: 100%;
}

.mode-switcher[b-jlj7wf1xgs] {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    background: #1a2338;
    border-radius: 5px;
    padding: 4px;
}

.mode-btn[b-jlj7wf1xgs] {
    flex: 1;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    background: transparent;
    color: #8899b0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

    .mode-btn:hover[b-jlj7wf1xgs] {
        color: #e8edf5;
    }

    .mode-btn.active[b-jlj7wf1xgs] {
        background: #3e5278;
        color: #e8edf5;
        box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    }

    .mode-btn svg[b-jlj7wf1xgs] {
        flex-shrink: 0;
    }

.range-display[b-jlj7wf1xgs] {
    background: #3e5278;
    border-radius: 5px;
    padding: 16px 20px;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

    .range-display .label[b-jlj7wf1xgs] {
        font-size: 14px;
        color: #c8d6e5;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        display: flex;
        align-items: center;
    }

        .range-display .label svg[b-jlj7wf1xgs] {
            stroke: #7ec8e3;
        }

    .range-display .dates[b-jlj7wf1xgs] {
        display: flex;
        align-items: center;
        gap: 12px;
        font-size: 16px;
        font-weight: 600;
        color: #e8edf5;
    }

        .range-display .dates .arrow[b-jlj7wf1xgs] {
            display: flex;
            align-items: center;
        }

        .range-display .dates .date-item[b-jlj7wf1xgs] {
            background: #242f4c;
            padding: 4px 14px;
            border-radius: 5px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.2);
            color: #e8edf5;
        }

            .range-display .dates .date-item.empty[b-jlj7wf1xgs] {
                color: #8899b0;
                font-weight: 400;
            }

.clear-btn[b-jlj7wf1xgs] {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 5px;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    min-width: 36px;
    min-height: 36px;
    justify-content: center;
}

    .clear-btn:hover[b-jlj7wf1xgs] {
        background: rgba(255, 107, 107, 0.15);
    }

.calendar-wrapper[b-jlj7wf1xgs] {
    position: relative;
    min-height: 340px;
}

.dual-calendar[b-jlj7wf1xgs] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    min-height: 340px;
}

    .dual-calendar.single[b-jlj7wf1xgs] {
        grid-template-columns: 1fr;
        max-width: 380px;
        margin: 0 auto;
    }

.calendar[b-jlj7wf1xgs] {
    background: #1a2338;
    border-radius: 5px;
    padding: 20px;
    height: 100%;
    min-height: 320px;
    display: flex;
    flex-direction: column;
}

.navigation[b-jlj7wf1xgs] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding: 0 4px;
    flex-shrink: 0;
}

.nav-btn[b-jlj7wf1xgs] {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 5px;
    transition: all 0.2s;
    color: #8899b0;
    display: flex;
    align-items: center;
}

    .nav-btn:hover[b-jlj7wf1xgs] {
        background: #3e5278;
        color: #e8edf5;
    }

.month-year[b-jlj7wf1xgs] {
    font-size: 16px;
    font-weight: 700;
    color: #e8edf5;
}

.weekdays[b-jlj7wf1xgs] {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    margin-bottom: 6px;
    flex-shrink: 0;
}

    .weekdays span[b-jlj7wf1xgs] {
        text-align: center;
        font-size: 12px;
        font-weight: 600;
        color: #8899b0;
        padding: 6px 0;
        text-transform: uppercase;
    }

.days-grid[b-jlj7wf1xgs] {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    flex: 1;
    align-content: start;
}

.day-cell[b-jlj7wf1xgs] {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    color: #c8d6e5;
    cursor: pointer;
    transition: all 0.2s ease;
    background: transparent;
    border: none;
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 36px;
    max-height: 40px;
}

    .day-cell:hover:not(.disabled)[b-jlj7wf1xgs] {
        background: #3e5278;
        transform: scale(1.05);
    }

    .day-cell:disabled[b-jlj7wf1xgs] {
        color: #3e5278;
        cursor: default;
    }

        .day-cell:disabled:hover[b-jlj7wf1xgs] {
            transform: none;
            background: transparent;
        }

    .day-cell.today[b-jlj7wf1xgs] {
        border: 2px solid #7ec8e3;
        font-weight: 700;
        color: #7ec8e3;
    }

    .day-cell.in-range[b-jlj7wf1xgs] {
        background: #3e5278;
        color: #e8edf5;
        border-radius: 0;
    }

    .day-cell.range-start[b-jlj7wf1xgs] {
        background: linear-gradient(135deg, #3e5278 0%, #7ec8e3 100%);
        color: white;
        font-weight: 700;
        border-radius: 5px 0 0 5px;
    }

    .day-cell.range-end[b-jlj7wf1xgs] {
        background: linear-gradient(135deg, #7ec8e3 0%, #3e5278 100%);
        color: white;
        font-weight: 700;
        border-radius: 0 5px 5px 0;
    }

    .day-cell.range-start.range-end[b-jlj7wf1xgs] {
        border-radius: 5px;
        background: linear-gradient(135deg, #7ec8e3 0%, #3e5278 100%);
    }

    .day-cell.range-start.in-range[b-jlj7wf1xgs] {
        border-radius: 5px 0 0 5px;
    }

    .day-cell.range-end.in-range[b-jlj7wf1xgs] {
        border-radius: 0 5px 5px 0;
    }

    .day-cell.selected[b-jlj7wf1xgs] {
        background: linear-gradient(135deg, #7ec8e3 0%, #3e5278 100%);
        color: white;
        border-radius: 5px;
    }

    .day-cell.empty[b-jlj7wf1xgs] {
        visibility: hidden;
        pointer-events: none;
    }

.actions[b-jlj7wf1xgs] {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
}

    .actions button[b-jlj7wf1xgs] {
        padding: 10px 24px;
        border: none;
        border-radius: 5px;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s;
    }

.btn-reset[b-jlj7wf1xgs] {
    background: #3e5278;
    color: #c8d6e5;
}

    .btn-reset:hover[b-jlj7wf1xgs] {
        background: #4a6190;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    }

.btn-apply[b-jlj7wf1xgs] {
    background: linear-gradient(135deg, #3e5278 0%, #7ec8e3 100%);
    color: white;
}

    .btn-apply:hover[b-jlj7wf1xgs] {
        transform: translateY(-2px);
        box-shadow: 0 4px 16px rgba(62, 82, 120, 0.5);
    }
/* /Components/ChartControls.razor.rz.scp.css */
.panel-wrapper[b-ql8kyiyrte] {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.control-panel[b-ql8kyiyrte] {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #3e5278, #242f4c);
    border: 1px solid rgba(92, 124, 184, 0.3);
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    width: fit-content;
    transition: transform 0.2s, box-shadow 0.2s;
}
    .control-panel:hover[b-ql8kyiyrte] {
        transform: translateY(-3px);
        box-shadow: 0 6px 25px rgba(0, 0, 0, 0.5);
        /*box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);*/
        /* border-color: rgba(255, 255, 255, 0.15);*/
    }
.control-group[b-ql8kyiyrte] {
    display: flex;
    align-items: center;
    gap: 6px;
}

    .control-group .label[b-ql8kyiyrte] {
        color: #BBDEFB;
        font-size: 12px;
        opacity: 0.8;
        font-weight: 500;
        white-space: nowrap;
    }

.custom-select[b-ql8kyiyrte] {
    padding: 4px 8px;
    background: rgba(15, 20, 34, 0.7);
    color: #BBDEFB;
    border: 1px solid rgba(92, 124, 184, 0.3);
    border-radius: 5px;
    outline: none;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 12px;
    width: auto;
}

    .custom-select:focus[b-ql8kyiyrte] {
        border-color: #7a9cdb;
        box-shadow: 0 0 0 3px rgba(92, 124, 184, 0.2);
    }

    .custom-select:hover[b-ql8kyiyrte] {
        border-color: #7a9cdb;
        background: rgba(36, 47, 76, 0.8);
    }

    .custom-select option[b-ql8kyiyrte] {
        background: #0f1422;
        color: #BBDEFB;
        padding: 6px 10px;
    }

        .custom-select option:checked[b-ql8kyiyrte] {
            background: #3a4a78;
            color: white;
        }

.divider[b-ql8kyiyrte] {
    width: 1px;
    height: 25px;
    background: rgba(92, 124, 184, 0.2);
    flex-shrink: 0;
}

.button-group[b-ql8kyiyrte] {
    display: flex;
    gap: 0;
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid rgba(92, 124, 184, 0.3);
}

.custom-button[b-ql8kyiyrte] {
    padding: 5px 14px;
    background: rgba(15, 20, 34, 0.7);
    color: #BBDEFB;
    border: none;
    border-right: 1px solid rgba(92, 124, 184, 0.15);
    cursor: pointer;
    transition: all 0.3s;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

    .custom-button:last-child[b-ql8kyiyrte] {
        border-right: none;
    }

    .custom-button:hover[b-ql8kyiyrte] {
        background: rgba(36, 47, 76, 0.8);
        color: white;
    }

    .custom-button:active[b-ql8kyiyrte] {
        transform: scale(0.95);
    }

    .custom-button:focus[b-ql8kyiyrte] {
        outline: none;
        background: rgba(42, 56, 88, 0.9);
    }

.custom-button-start:hover[b-ql8kyiyrte] {
    background: rgba(46, 92, 46, 0.6);
    color: #8adb8a;
}

.custom-button-stop:hover[b-ql8kyiyrte] {
    background: rgba(92, 46, 46, 0.6);
    color: #db8a8a;
}

.custom-button-clear:hover[b-ql8kyiyrte] {
    background: rgba(92, 92, 46, 0.6);
    color: #dbdb8a;
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-ilubye92fk] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-ilubye92fk] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-3wz5zh509i],
.components-reconnect-repeated-attempt-visible[b-3wz5zh509i],
.components-reconnect-failed-visible[b-3wz5zh509i],
.components-pause-visible[b-3wz5zh509i],
.components-resume-failed-visible[b-3wz5zh509i],
.components-rejoining-animation[b-3wz5zh509i] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-3wz5zh509i],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-3wz5zh509i],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-3wz5zh509i],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-3wz5zh509i],
#components-reconnect-modal.components-reconnect-retrying[b-3wz5zh509i],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-3wz5zh509i],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-3wz5zh509i],
#components-reconnect-modal.components-reconnect-failed[b-3wz5zh509i],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-3wz5zh509i] {
    display: block;
}


#components-reconnect-modal[b-3wz5zh509i] {
    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-3wz5zh509i 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-3wz5zh509i 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-3wz5zh509i 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-3wz5zh509i]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-3wz5zh509i 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-3wz5zh509i {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-3wz5zh509i {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-3wz5zh509i {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-3wz5zh509i] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-3wz5zh509i] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-3wz5zh509i] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-3wz5zh509i] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-3wz5zh509i] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-3wz5zh509i] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-3wz5zh509i] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-3wz5zh509i 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-3wz5zh509i] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-3wz5zh509i {
    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/MoldWidgets.razor.rz.scp.css */
.dashboard[b-3y8fla3gme] {
    display: flex;
    justify-content: center;
    align-items: center;

    background: transparent;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    padding: 5px;
}

/* ===== ЛЕВАЯ КОЛОНКА - КАРТОЧКИ ===== */
.cards-column[b-3y8fla3gme] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 10px;
  
    
    padding: 00px;
}

.card[b-3y8fla3gme] {
    background: #3e527859;
    backdrop-filter: blur(8px) saturate(180%);
    -webkit-backdrop-filter: blur(8px) saturate(180%);
    border-radius: 5px;
    padding: 5px 12px;
    box-shadow: 2px 2px 7px -1px rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(92, 124, 184, 0.08);
    width: 130px;
    flex-direction: column;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
}

    .card:hover[b-3y8fla3gme] {
        transform: scale(1.05) translateY(-4px);
        box-shadow: 10px 10px 15px -1px rgba(0, 0, 0, 0.25);
    }

    .card .name[b-3y8fla3gme] {
        font-size: 9pt;
        
        color: white;
        margin-bottom: 4px;
        letter-spacing: 0.3px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .card .row[b-3y8fla3gme] {
        display: flex;
        justify-content: space-between;
        align-items: center;
        min-width: 0;
        padding: 0px 0;
        border-bottom: 1px solid rgba(144, 164, 174, 0.2); 
    }

        .card .row:last-child[b-3y8fla3gme] {
            border-bottom: none;
        }

        .card .row .label[b-3y8fla3gme] {
            font-size: 12px;
            color: #90A4AE;
            text-transform: uppercase;
            letter-spacing: 0.3px;
        }

        .card .row .value[b-3y8fla3gme] {
            font-size: 14pt;
           
            color: #BBDEFB;
        }

            .card .row .value .unit[b-3y8fla3gme] {
                font-size: 14px;
                font-weight: normal;
                opacity: 0.7;
                margin-left: 2px;
            }

/* ===== ПРАВАЯ КОЛОНКА - ГРАФИКИ 2x2 ===== */
.charts-grid-2x2[b-3y8fla3gme] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 10px;
    flex: 1;
    min-height: 0;
}

.chart-block[b-3y8fla3gme] {
    background: transparent;
    border-radius: 5px;
    padding: 10px 14px 8px 14px;
    color: #BBDEFB;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
    height: 100%;
}

.chart-wrapper[b-3y8fla3gme] {
    flex: 1;
    min-height: 0;
    position: relative;
    width: 100%;
    height: 100%;
}

    .chart-wrapper[b-3y8fla3gme]  canvas {
        width: 100% !important;
        height: 100% !important;
        display: block;
        border-radius: 4px;
        background: transparent;
    }

/* ===== АДАПТИВ ===== */
@media (max-width: 768px) {
    .cards-column[b-3y8fla3gme] {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        gap: 10px;
        padding: 12px;
    }

    .dashboard[b-3y8fla3gme] {
        padding: 8px;
        flex-direction: column;
    }

    .charts-grid-2x2[b-3y8fla3gme] {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
        gap: 6px;
        flex: 1;
        min-height: 200px;
    }

    .chart-block[b-3y8fla3gme] {
        padding: 6px 10px 4px 10px;
    }

        .chart-block h4[b-3y8fla3gme] {
            font-size: 10px;
        }
}

@media (max-width: 480px) {
    .cards-column[b-3y8fla3gme] {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(3, 1fr);
        gap: 8px;
        padding: 8px;
    }

    .card[b-3y8fla3gme] {
        min-height: 50px;
        padding: 6px 10px;
    }

        .card .name[b-3y8fla3gme] {
            font-size: 10px;
        }

        .card .row .value[b-3y8fla3gme] {
            font-size: 12px;
        }

    .charts-grid-2x2[b-3y8fla3gme] {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 1fr);
    }
}
/* /Components/Pages/AlarmLog.razor.rz.scp.css */
/* CSS for AlarmLog component */
*[b-og3hlnw95a] {
    scrollbar-color: #3e527859 transparent !important;
    scrollbar-width: thin !important;
}
/* /Components/Pages/Charts.razor.rz.scp.css */

.dashboard[b-ygz3ls1aba] {
    display: flex;
    flex-direction: row;
    gap: 5px;
    padding: 0px 0 0 0px;
    max-width: 100%;
    margin: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: transparent;
    
}

/* ===== ЛЕВАЯ КОЛОНКА - КАРТОЧКИ ===== */
.cards-column[b-ygz3ls1aba] {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 280px;
    flex-shrink: 0;
    overflow-y: auto;
    padding-right: 4px;
    padding-top: 20px;
}

    .cards-column[b-ygz3ls1aba]::-webkit-scrollbar {
        width: 4px;
    }

    .cards-column[b-ygz3ls1aba]::-webkit-scrollbar-track {
        background: rgba(255,255,255,0.05);
        border-radius: 2px;
    }

    .cards-column[b-ygz3ls1aba]::-webkit-scrollbar-thumb {
        background: rgba(255,255,255,0.2);
        border-radius: 2px;
    }

.card[b-ygz3ls1aba] {
    background: #3e527859;
    backdrop-filter: blur(8px) saturate(180%);
    -webkit-backdrop-filter: blur(8px) saturate(180%);
    border-radius: 5px;
    padding: 8px 12px;
    box-shadow: 2px 2px 7px -1px rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.05);
    width: 260px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

    .card:hover[b-ygz3ls1aba] {
        transform: translateY(-3px);
        box-shadow: 10px 10px 15px -1px rgba(0, 0, 0, 0.25);

    }

    .card .name[b-ygz3ls1aba] {
        font-size: 10pt;

        color: white;
        margin-bottom: 4px;
        letter-spacing: 0.3px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .card .row[b-ygz3ls1aba] {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1px 0;
        border-bottom: 1px solid #90a4ae34;
    }

        .card .row:last-child[b-ygz3ls1aba] {
            border-bottom: none;
        }

        .card .row .left[b-ygz3ls1aba] {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .card .row .label[b-ygz3ls1aba] {
            font-size: 9pt;
            color: #90A4AE;
            text-transform: uppercase;
            letter-spacing: 0.3px;
        }

        .card .row .value[b-ygz3ls1aba] {
            font-size: 11pt;
            color: #BBDEFB;
            white-space: nowrap;
        }

            .card .row .value .unit[b-ygz3ls1aba] {
                font-size: 12px;
                font-weight: normal;
                opacity: 0.7;
                margin-left: 2px;
            }
/* ===== ПРАВАЯ КОЛОНКА - ГРАФИКИ 2x2 ===== */
.charts-grid-2x2[b-ygz3ls1aba] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 10px;
    flex: 1;
    min-height: 0;
}

.chart-block[b-ygz3ls1aba] {
    background: transparent;
    border-radius: 5px;
    padding: 10px 14px 8px 14px;
    color: white;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
    height: 100%; /* ← ВАЖНО */
}

.chart-wrapper[b-ygz3ls1aba] {
    flex: 1;
    min-height: 0;
    position: relative;
    width: 100%;
    height: 100%; /* ← ВАЖНО */
}

    .chart-wrapper[b-ygz3ls1aba]  canvas {
        width: 100% !important;
        height: 100% !important;
        display: block;
        border-radius: 4px;
        background: transparent;
    }
/* ===== АДАПТИВ ===== */
@media (max-width: 768px) {
    .dashboard[b-ygz3ls1aba] {
        flex-direction: column;
        padding: 8px;
        height: 100vh;
    }

    .cards-column[b-ygz3ls1aba] {
        width: 100%;
        flex-direction: row;
        overflow-x: auto;
        overflow-y: visible;
        gap: 6px;
        padding-bottom: 4px;
        flex-shrink: 0;
    }

        .cards-column[b-ygz3ls1aba]::-webkit-scrollbar {
            height: 4px;
        }

    .card[b-ygz3ls1aba] {
        min-width: 180px;
        min-height: 55px;
        flex-shrink: 0;
    }

        .card:hover[b-ygz3ls1aba] {
            transform: translateY(-2px);
        }

    .charts-grid-2x2[b-ygz3ls1aba] {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
        gap: 6px;
        flex: 1;
        min-height: 200px;
    }

    .chart-block[b-ygz3ls1aba] {
        padding: 6px 10px 4px 10px;
    }

        .chart-block h4[b-ygz3ls1aba] {
            font-size: 10px;
        }
}

@media (max-width: 480px) {
    .card[b-ygz3ls1aba] {
        min-width: 150px;
        min-height: 50px;
        padding: 6px 10px;
    }

        .card .name[b-ygz3ls1aba] {
            font-size: 10px;
        }

        .card .row .value[b-ygz3ls1aba] {
            font-size: 12px;
        }

    .charts-grid-2x2[b-ygz3ls1aba] {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 1fr);
    }
}
/* /Components/Pages/CreateRecipeModal.razor.rz.scp.css */
/* CSS for CreateRecipeModal component */
/* ===== МОДАЛЬНОЕ ОКНО ===== */
.modal-overlay[b-qcins5qmjo] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content[b-qcins5qmjo] {
    background: #2d2d3f;
    border-radius: 16px;
    padding: 24px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    color: #fff;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}

.modal-header[b-qcins5qmjo] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 12px;
    margin-bottom: 16px;
}

    .modal-header h3[b-qcins5qmjo] {
        margin: 0;
        font-weight: 300;
    }

.btn-close[b-qcins5qmjo] {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
}

.modal-body[b-qcins5qmjo] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-group[b-qcins5qmjo] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

    .form-group label[b-qcins5qmjo] {
        font-size: 0.9rem;
        opacity: 0.8;
    }

    .form-group input[b-qcins5qmjo] {
        padding: 8px 12px;
        border-radius: 8px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        background: rgba(255, 255, 255, 0.08);
        color: #fff;
        font-size: 1rem;
    }

        .form-group input:focus[b-qcins5qmjo] {
            outline: none;
            border-color: #a78bfa;
        }

.error-message[b-qcins5qmjo] {
    color: #ff6b6b;
    font-size: 0.9rem;
    background: rgba(255, 0, 0, 0.1);
    padding: 6px 12px;
    border-radius: 6px;
}

.modal-footer[b-qcins5qmjo] {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 20px;
}

.btn-cancel[b-qcins5qmjo],
.btn-save[b-qcins5qmjo] {
    padding: 8px 24px;
    border-radius: 8px;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-cancel[b-qcins5qmjo] {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

    .btn-cancel:hover[b-qcins5qmjo] {
        background: rgba(255, 255, 255, 0.25);
    }

.btn-save[b-qcins5qmjo] {
    background: #7c3aed;
    color: #fff;
}

    .btn-save:hover[b-qcins5qmjo] {
        background: #6d28d9;
    }

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 768px) {
    .modal-content[b-qcins5qmjo] {
        max-width: 95%;
        padding: 16px;
    }
}

/* ===== СКРОЛЛБАРЫ ===== */
.modal-content[b-qcins5qmjo]::-webkit-scrollbar {
    width: 6px;
}

.modal-content[b-qcins5qmjo]::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.modal-content[b-qcins5qmjo]::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
}
/* /Components/Pages/EventLog.razor.rz.scp.css */

*[b-owcart2yyh] {
    scrollbar-color: #3e527859 transparent !important;
    scrollbar-width: thin !important;
}


.button-group[b-owcart2yyh] {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn[b-owcart2yyh] {
    padding: 8px 16px;
    background: rgba(15, 20, 34, 0.7);
    color: #BBDEFB;
    border: 1px solid rgba(92, 124, 184, 0.3);
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    height: 30px;
    min-width: 100px;
    white-space: nowrap;
    transition: all 0.3s;
}

    .btn:hover[b-owcart2yyh] {
        background: rgba(36, 47, 76, 0.8);
        border-color: #7a9cdb;
        color: white;
    }

    .btn:active[b-owcart2yyh] {
        transform: scale(0.97);
    }

    .btn:focus[b-owcart2yyh] {
        outline: none;
        background: rgba(42, 56, 88, 0.9);
    }

    .btn:disabled[b-owcart2yyh] {
        background: rgba(15, 20, 34, 0.4);
        border-color: rgba(92, 124, 184, 0.15);
        color: rgba(187, 222, 251, 0.4);
        cursor: not-allowed;
    }

/* Добавить / Обновить — акцент через синий tint (по аналогии с custom-select:focus) */
.btn-add:hover[b-owcart2yyh],
.btn-update:hover[b-owcart2yyh] {
    background: rgba(30, 65, 130, 0.6);
    border-color: #4fc3f7;
    color: #9fdcff;
}

/* Редактировать — нейтрально-голубой tint */
.btn-edit:hover[b-owcart2yyh] {
    background: rgba(46, 70, 92, 0.6);
    color: #8ad4db;
    border-color: #5c9cb8;
}

/* Удалить — красный tint, как custom-button-stop */
.btn-delete:hover[b-owcart2yyh] {
    background: rgba(92, 46, 46, 0.6);
    color: #db8a8a;
    border-color: rgba(219, 138, 138, 0.4);
}

/* Отмена / Clear — жёлто-серый tint, как custom-button-clear */
.btn-cancel:hover[b-owcart2yyh] {
    background: rgba(92, 92, 46, 0.6);
    color: #dbdb8a;
    border-color: rgba(219, 219, 138, 0.4);
}

.event-display[b-owcart2yyh] {
    display: flex;
    justify-content: center;
    width: 100%;
    flex: 1;
}
.event-container[b-owcart2yyh] {
    width: 1650px;
    height: 740px;
    overflow: auto;
    background-color: transparent;
    padding: 0px;
    margin-top: 20px;
    margin-bottom: 40px;
}

    .table[b-owcart2yyh] {
   width: 100%; 
   border-collapse: collapse; 
   color: #BBDEFB; 
   table-layout: fixed;
    }
        .table thead[b-owcart2yyh] {
            position: sticky;
            top: 0;
            z-index: 10;
        }

            .table thead tr[b-owcart2yyh] {
                color: white;
                font-size: 12pt;
                background: #3e5278
            }
            .table thead th[b-owcart2yyh] {
                padding: 15px;
                text-align: center;
            }

        .table tbody[b-owcart2yyh] {
            font-size: 10pt;
        }

            .table tbody tr[b-owcart2yyh] {
              border-bottom: 1px dashed #5c7cb8;
            }

            .table tbody td[b-owcart2yyh] {
                padding: 10px;
                text-align: center;
            }
       
/* /Components/Pages/EventRules.razor.rz.scp.css */

.eventadd-main[b-i47iwdv2le] {
    padding: 0;
    height: 100%;
    background-color: transparent;
    display: flex;
    flex-direction: column;
}

.button-group[b-i47iwdv2le] {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.eventadd-main h3[b-i47iwdv2le] {
    color: #ffffff; /* белый цвет */
    text-align: center; /* выравнивание по центру */
    margin: 0; /* опционально, убрать отступы */
    padding: 10px 0; /* опционально, добавить вертикальные отступы */
}

.btn[b-i47iwdv2le] {
    padding: 8px 16px;
    background: rgba(15, 20, 34, 0.7);
    color: #BBDEFB;
    border: 1px solid rgba(92, 124, 184, 0.3);
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    margin-right: 5px;
    height: 30px;
    width: 100px;
    transition: all 0.3s ease;
}

    .btn:hover[b-i47iwdv2le] {
        background: rgba(36, 47, 76, 0.8);
        border-color: #7a9cdb;
        color: white;
        box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    }

    .btn:active[b-i47iwdv2le] {
        transform: scale(0.97);
    }

    .btn:focus[b-i47iwdv2le] {
        outline: none;
        background: rgba(42, 56, 88, 0.9);
    }

    .btn:disabled[b-i47iwdv2le] {
        background: rgba(15, 20, 34, 0.4);
        border-color: rgba(92, 124, 184, 0.15);
        color: rgba(187, 222, 251, 0.4);
        cursor: not-allowed;
    }

/* Добавить — синий tint */
.btn-add:hover[b-i47iwdv2le] {
    background: rgba(30, 65, 130, 0.6);
    border-color: #4fc3f7;
    color: #9fdcff;
}

/* Редактировать — зелёно-голубой tint */
.btn-edit:hover[b-i47iwdv2le] {
    background: rgba(46, 92, 46, 0.6);
    border-color: #8adb8a;
    color: #8adb8a;
}

/* Обновить — жёлто-оранжевый tint */
.btn-update:hover[b-i47iwdv2le] {
    background: rgba(92, 92, 46, 0.6);
    border-color: #dbdb8a;
    color: #dbdb8a;
}

/* Удалить — красный tint */
.btn-delete:hover[b-i47iwdv2le] {
    background: rgba(92, 46, 46, 0.6);
    border-color: #db8a8a;
    color: #db8a8a;
}


.event-display[b-i47iwdv2le] {
    display: flex;
    justify-content: center;
    width: 100%;
    flex: 1;
}

.event-container[b-i47iwdv2le] {
    width: 1650px;
    height: 740px;
    overflow: auto;
    background-color: transparent;
    padding: 0px;
    margin-top: 20px;
    margin-bottom: 40px;
}


.table[b-i47iwdv2le] {
    width: 100%;
    border-collapse: collapse;
    color: #BBDEFB;
    background: rgba(255,255,255,0.05);
    border-radius: 0px;
    overflow: hidden;
}
    .table thead[b-i47iwdv2le] {
        position: sticky;
        top: 0;
        z-index: 10;
    }
        .table thead tr[b-i47iwdv2le] {
            color: white;
            font-size: 10pt;
            background: #3e5278
        }
    .table thead th[b-i47iwdv2le] {
        background: #1a1a2e;
        color: #ED6C02;
        padding: 15px;
        text-align: left;
        font-weight: 600;
       
    }

    .table tbody td[b-i47iwdv2le] {
        padding: 10px 14px;
        border-bottom: 1px solid #2a2a4a;
        cursor: pointer;
    }

    .table tbody tr:hover[b-i47iwdv2le] {
        background-color: #1e88e511 !important;
    }

tr.selected-row[b-i47iwdv2le] {
    background-color: #1e88e545 !important;
    color: #FFCC80 !important;
}

    tr.selected-row:hover[b-i47iwdv2le] {
        background-color: #1e88e545 !important;
        color: #FFCC80 !important;
    }
/* /Components/Pages/PageAddEvent.razor.rz.scp.css */
/* CSS for PageAddEvent component */
/*.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: gray;
    padding: 20px;
    border-radius: 8px;
    min-width: 400px;
    max-width: 600px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

tr.selected {
    background-color: #e0f0ff;
}

.btn {
    color: #BBDEFB;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    margin-right: 5px;
    height: 30px;
    width: 100px;
    transition: all 0.3s ease;
}

.btn:hover {
    opacity: 0.85;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.btn:active {
    transform: translateY(0);
}

.btn-add {
    background-color: #1976D2;
}

.btn-edit {
    background-color: #2E7D32;
}

.btn-update {
    background-color: #ED6C02;
}

.btn-delete {
    background-color: #D32F2F;
}

.form-group {
    margin-bottom: 12px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 4px;
}

.form-group input {
    width: 100%;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-size: 1rem;
}

.form-group input:focus {
    outline: none;
    border-color: #ED6C02;
}*/
/* CSS for PageAddEvent component — единая тёмная палитра */

.modal-overlay[b-znb8pode11] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

    .modal-overlay.active[b-znb8pode11] {
        display: flex;
    }

.modal-content[b-znb8pode11] {
    background: #2a2a3f;
    border: 1px solid #5c7cb8;
    padding: 20px;
    border-radius: 8px;
    min-width: 400px;
    max-width: 600px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
    color: #aaa;
}

tr.selected[b-znb8pode11] {
    background-color: #3e5278;
}

/* ===== Кнопки ===== */

/* ===== Кнопки — единая палитра ===== */

.btn[b-znb8pode11] {
    color: #e8ecf5;
    border: 1px solid #5c7cb8;
    background-color: #2a2a3f;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    margin-right: 5px;
    height: 30px;
    width: 100px;
    transition: all 0.2s ease;
}

    .btn:hover[b-znb8pode11] {
        background-color: #3e5278;
        border-color: #4fc3f7;
    }

    .btn:active[b-znb8pode11] {
        transform: translateY(1px);
    }

    .btn:disabled[b-znb8pode11] {
        background-color: #24243a;
        border-color: #3e5278;
        color: #666;
        cursor: not-allowed;
    }

/* Добавить / Обновить — основное действие, залито акцентом */
.btn-add[b-znb8pode11],
.btn-update[b-znb8pode11] {
    background-color: #1e88e5;
    border-color: #1e88e5;
    color: #ffffff;
}

    .btn-add:hover[b-znb8pode11],
    .btn-update:hover[b-znb8pode11] {
        background-color: #4fc3f7;
        border-color: #4fc3f7;
    }

/* Редактировать — второстепенное действие, контурный стиль */
.btn-edit[b-znb8pode11] {
    background-color: transparent;
    border-color: #5c7cb8;
    color: #4fc3f7;
}

    .btn-edit:hover[b-znb8pode11] {
        background-color: #3e5278;
        border-color: #4fc3f7;
    }

/* Удалить — контурный, краснеет только при наведении (не кричит цветом постоянно) */
.btn-delete[b-znb8pode11] {
    background-color: transparent;
    border-color: #5c7cb8;
    color: #e8ecf5;
}

    .btn-delete:hover[b-znb8pode11] {
        background-color: #8f2d2d;
        border-color: #c25454;
        color: #ffffff;
    }

/* Отмена — минимально заметная */
.btn-cancel[b-znb8pode11] {
    background-color: transparent;
    border-color: #3e5278;
    color: #888;
}

    .btn-cancel:hover[b-znb8pode11] {
        background-color: #3e5278;
        color: #e8ecf5;
    }

/* ===== Форма ===== */

.form-group[b-znb8pode11] {
    margin-bottom: 12px;
}

    .form-group label[b-znb8pode11] {
        display: block;
        font-size: 0.9rem;
        color: #888;
        margin-bottom: 4px;
    }

    .form-group input[b-znb8pode11] {
        width: 100%;
        padding: 6px 10px;
        border-radius: 4px;
        border: 1px solid #5c7cb8;
        background: #1a1a2e;
        color: antiquewhite;
        font-size: 0.9rem;
    }

        .form-group input:focus[b-znb8pode11] {
            outline: none;
            border-color: #4fc3f7;
        }

    .form-group .divider[b-znb8pode11] {
        border-bottom: 1px solid #3e5278;
        padding-bottom: 8px;
    }

/* ===== Вспомогательные ===== */

.value-highlight[b-znb8pode11] {
    color: #4fc3f7;
}

.status-success[b-znb8pode11] {
    color: #4caf50;
    font-size: 0.75rem;
    margin-top: 4px;
}

.status-error[b-znb8pode11] {
    color: #ff6b6b;
    font-size: 0.75rem;
    margin-top: 4px;
}

.custom-select[b-znb8pode11] {
    padding: 4px 8px;
    background: rgba(15, 20, 34, 0.7);
    color: #BBDEFB;
    border: 1px solid rgba(92, 124, 184, 0.3);
    border-radius: 5px;
    outline: none;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 12px;
    width: auto;
}

    .custom-select:focus[b-znb8pode11] {
        border-color: #7a9cdb;
        box-shadow: 0 0 0 3px rgba(92, 124, 184, 0.2);
    }

    .custom-select:hover[b-znb8pode11] {
        border-color: #7a9cdb;
        background: rgba(36, 47, 76, 0.8);
    }

    .custom-select option[b-znb8pode11] {
        background: #0f1422;
        color: #BBDEFB;
        padding: 6px 10px;
    }

        .custom-select option:checked[b-znb8pode11] {
            background: #3a4a78;
            color: white;
        }
/* /Components/Pages/Recipes.razor.rz.scp.css */
/* Переопределение скроллбара */


/* Для Firefox */
*[b-ku37t7dj0n] {
    scrollbar-color: #3e527859 transparent !important;
    scrollbar-width: thin !important;
}



/* ===== ОСНОВНАЯ СЕТКА ===== */
.recipes-page[b-ku37t7dj0n] {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 10px;
    height: 100%;
    padding: 5px;
    box-sizing: border-box;
    background: transparent;
    color: #fff;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Левая панель */
.recipes-sidebar[b-ku37t7dj0n] {
    background: transparent;
    
    border-radius: 0px;
    padding: 20px;
    /*box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);*/
    overflow-y: auto;
}

    .recipes-sidebar h3[b-ku37t7dj0n] {
        margin-top: 16px;
        margin-bottom: 16px;
        font-weight: 300;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        padding-bottom: 10px;
    }

.recipe-list[b-ku37t7dj0n] {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.recipe-btn[b-ku37t7dj0n] {
    background: #90caf91d;
    /* border: 1px solid rgba(255, 255, 255, 0.05);*/
    /*box-shadow: 2px 2px 7px -1px rgba(0, 0, 0, 0.55);*/
    color: white;
    padding: 12px 16px;
    border-radius: 0px;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: left;
    font-weight: 500;
}

    .recipe-btn:hover[b-ku37t7dj0n] {
        background: #90caf943;
        transform: scale(1.08);
        box-shadow: 5px 5px 10px -1px rgba(0, 0, 0, 0.25);
    }

    .recipe-btn.active[b-ku37t7dj0n] {
        background: #90caf95d;
        color: white;
        box-shadow: 2px 2px 7px -1px rgba(0, 0, 0, 0.55);
    }

.btn-refresh[b-ku37t7dj0n],
.btn-create-recipe[b-ku37t7dj0n] {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #fff;
    padding: 10px;
    border-radius: 0px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.2s;
    width: 100%;
    margin-bottom: 8px;
}

    .btn-refresh:hover[b-ku37t7dj0n],
    .btn-create-recipe:hover[b-ku37t7dj0n] {
        background: #1e88e545;
    }

.btn-create-recipe[b-ku37t7dj0n] {
    /*background: rgba(167, 139, 250, 0.3);*/
   /* border: 1px solid rgba(167, 139, 250, 0.4);*/
}

    .btn-create-recipe:hover[b-ku37t7dj0n] {
        background: #1e88e545;
    }

/* ===== ПРАВАЯ ПАНЕЛЬ ===== */
.recipe-details[b-ku37t7dj0n] {
    background: transparent;
    /*backdrop-filter: blur(8px);*/
    border-radius: 5px;
/*    padding: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);*/
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.recipe-card[b-ku37t7dj0n] {
    flex: 1;
}

.recipe-header[b-ku37t7dj0n] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 5px;
}

.recipe-title[b-ku37t7dj0n] {
    margin: 0;
    font-weight: 300;
    font-size: 1.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 8px;
    flex: 1;
}

.recipe-actions[b-ku37t7dj0n] {
    display: flex;
    gap: 10px;
}

.btn-add-step[b-ku37t7dj0n],
.btn-save-recipe[b-ku37t7dj0n] {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 6px 14px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.9rem;
}

    .btn-add-step:hover[b-ku37t7dj0n],
    .btn-save-recipe:hover[b-ku37t7dj0n] {
        background: rgba(255, 255, 255, 0.25);
    }

/* ===== ТАБЛИЦА ШАГОВ ===== */
.steps-table[b-ku37t7dj0n] {
    display: flex;
    flex-direction: column;
    gap: 0px;
}

/* ===== ЗАГЛУШКА ===== */
.drop-placeholder[b-ku37t7dj0n] {
    height: 0;
    transform: scaleY(0);
    transform-origin: top;
    overflow: hidden;
    border: 2px dashed #a78bfa;
    background: rgba(167, 139, 250, 0.12);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(167, 139, 250, 0.7);
    font-size: 0.9rem;
    font-weight: 300;
    pointer-events: none;
    transition: transform 0.25s ease, height 0.25s ease;
    margin: 0;
}

    .drop-placeholder.active[b-ku37t7dj0n] {
        height: 56px;
        transform: scaleY(1);
        margin: 4px 0;
    }

    .drop-placeholder span[b-ku37t7dj0n] {
        display: block;
    }

/* ===== СТРОКА ШАГА ===== */
.step-row[b-ku37t7dj0n] {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 0px;
    overflow: hidden;
    transition: background 0.2s, opacity 0.2s;
}

    .step-row:hover[b-ku37t7dj0n] {
        background: rgba(255, 255, 255, 0.12);
    }

    .step-row.dragging[b-ku37t7dj0n] {
        opacity: 0.4;
    }

.step-header[b-ku37t7dj0n] {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    user-select: none;
    font-weight: 500;
    font-size: 1.05rem;
    gap: 8px;
}

.drag-handle[b-ku37t7dj0n] {
    cursor: grab;
    user-select: none;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.2s;
}

    .drag-handle:hover[b-ku37t7dj0n] {
        color: #fff;
    }

    .drag-handle:active[b-ku37t7dj0n] {
        cursor: grabbing;
    }

.step-label[b-ku37t7dj0n] {
    flex: 1;
    cursor: pointer;
}

.btn-edit-step[b-ku37t7dj0n] {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    font-size: 1.1rem;
    padding: 0 6px;
    transition: color 0.2s;
}

    .btn-edit-step:hover[b-ku37t7dj0n] {
        color: #fff;
    }

.btn-delete-step[b-ku37t7dj0n] {
    background: none;
    border: none;
    color: rgba(255, 100, 100, 0.6);
    cursor: pointer;
    font-size: 1.1rem;
    padding: 0 6px;
    transition: color 0.2s;
}

    .btn-delete-step:hover[b-ku37t7dj0n] {
        color: #ff6b6b;
    }

.step-arrow[b-ku37t7dj0n] {
    cursor: pointer;
    font-size: 1.2rem;
}

.step-details[b-ku37t7dj0n] {
    padding: 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 16px;
    background: rgba(255, 255, 255, 0.04);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    animation: fadeIn-b-ku37t7dj0n 0.25s ease;
}

.param[b-ku37t7dj0n] {
    padding: 4px 0;
    font-size: 0.95rem;
    color: #e0e0ff;
}

/* ===== ПЛЕЙСХОЛДЕР ===== */
.placeholder[b-ku37t7dj0n] {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0.6;
    font-style: italic;
}

/* ===== АНИМАЦИЯ ===== */
@keyframes fadeIn-b-ku37t7dj0n {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== МОДАЛЬНЫЕ ОКНА ===== */
.modal-overlay[b-ku37t7dj0n] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content[b-ku37t7dj0n] {
    background: #2d2d3f;
    border-radius: 16px;
    padding: 24px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    color: #fff;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}

.modal-header[b-ku37t7dj0n] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 12px;
    margin-bottom: 16px;
}

    .modal-header h3[b-ku37t7dj0n] {
        margin: 0;
        font-weight: 300;
    }

.btn-close[b-ku37t7dj0n] {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
}

.modal-body[b-ku37t7dj0n] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-group[b-ku37t7dj0n] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

    .form-group label[b-ku37t7dj0n] {
        font-size: 0.9rem;
        opacity: 0.8;
    }

    .form-group input[b-ku37t7dj0n] {
        padding: 8px 12px;
        border-radius: 8px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        background: rgba(255, 255, 255, 0.08);
        color: #fff;
        font-size: 1rem;
    }

        .form-group input:focus[b-ku37t7dj0n] {
            outline: none;
            border-color: #a78bfa;
        }

.error-message[b-ku37t7dj0n] {
    color: #ff6b6b;
    font-size: 0.9rem;
    background: rgba(255, 0, 0, 0.1);
    padding: 6px 12px;
    border-radius: 6px;
}

.modal-footer[b-ku37t7dj0n] {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 20px;
}

.btn-cancel[b-ku37t7dj0n],
.btn-save[b-ku37t7dj0n] {
    padding: 8px 24px;
    border-radius: 8px;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-cancel[b-ku37t7dj0n] {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

    .btn-cancel:hover[b-ku37t7dj0n] {
        background: rgba(255, 255, 255, 0.25);
    }

.btn-save[b-ku37t7dj0n] {
    background: #7c3aed;
    color: #fff;
}

    .btn-save:hover[b-ku37t7dj0n] {
        background: #6d28d9;
    }

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 768px) {
    .recipes-page[b-ku37t7dj0n] {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
        padding: 12px;
        gap: 12px;
        height: 100vh;
    }

    .recipes-sidebar[b-ku37t7dj0n] {
        max-height: 200px;
        overflow-y: auto;
    }

    .recipe-details[b-ku37t7dj0n] {
        min-height: 300px;
    }

    .modal-content[b-ku37t7dj0n] {
        max-width: 95%;
        padding: 16px;
    }
}

/* ===== СКРОЛЛБАРЫ ===== */
.recipes-sidebar[b-ku37t7dj0n]::-webkit-scrollbar,
.recipe-details[b-ku37t7dj0n]::-webkit-scrollbar,
.modal-content[b-ku37t7dj0n]::-webkit-scrollbar {
    width: 6px;
}

.recipes-sidebar[b-ku37t7dj0n]::-webkit-scrollbar-track,
.recipe-details[b-ku37t7dj0n]::-webkit-scrollbar-track,
.modal-content[b-ku37t7dj0n]::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.recipes-sidebar[b-ku37t7dj0n]::-webkit-scrollbar-thumb,
.recipe-details[b-ku37t7dj0n]::-webkit-scrollbar-thumb,
.modal-content[b-ku37t7dj0n]::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
}


.btn-delete-recipe[b-ku37t7dj0n] {
    padding: 6px 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.9rem;
    background: rgba(255, 80, 80, 0.2);
    border: 1px solid rgba(255, 80, 80, 0.3);
    color: #fff;
}

    .btn-delete-recipe:hover[b-ku37t7dj0n] {
        background: rgba(255, 80, 80, 0.4);
    }
/* /Components/Pages/StepModal.razor.rz.scp.css */
/* CSS for StepModal component */
.modal-overlay[b-srtkqo4kiv] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content[b-srtkqo4kiv] {
    background: #2d2d3f;
    border-radius: 16px;
    padding: 24px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    color: #fff;
    box-shadow: 0 16px 48px rgba(0,0,0,0.5);
}

.modal-header[b-srtkqo4kiv] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 12px;
    margin-bottom: 16px;
}

    .modal-header h3[b-srtkqo4kiv] {
        margin: 0;
        font-weight: 300;
    }

.btn-close[b-srtkqo4kiv] {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
}

.form-group[b-srtkqo4kiv] {
    margin-bottom: 12px;
}

    .form-group label[b-srtkqo4kiv] {
        display: block;
        font-size: 0.9rem;
        opacity: 0.8;
        margin-bottom: 4px;
    }

    .form-group input[b-srtkqo4kiv] {
        width: 100%;
        padding: 8px 12px;
        border-radius: 8px;
        border: 1px solid rgba(255,255,255,0.2);
        background: rgba(255,255,255,0.08);
        color: #fff;
        font-size: 1rem;
    }

        .form-group input:focus[b-srtkqo4kiv] {
            outline: none;
            border-color: #a78bfa;
        }

.modal-footer[b-srtkqo4kiv] {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 20px;
}

.btn-cancel[b-srtkqo4kiv], .btn-save[b-srtkqo4kiv] {
    padding: 8px 24px;
    border-radius: 8px;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-cancel[b-srtkqo4kiv] {
    background: rgba(255,255,255,0.15);
    color: #fff;
}

    .btn-cancel:hover[b-srtkqo4kiv] {
        background: rgba(255,255,255,0.25);
    }

.btn-save[b-srtkqo4kiv] {
    background: #7c3aed;
    color: #fff;
}

    .btn-save:hover[b-srtkqo4kiv] {
        background: #6d28d9;
    }
/* /Components/Pages/Tags.razor.rz.scp.css */
/* CSS for Tags component */
tbody tr:hover[b-ccpw8ve0jp] {
    background-color: #1e88e511 !important;
}


tr.selected-row[b-ccpw8ve0jp] {
    background-color: #1e88e545 !important;
    color: #FFCC80 !important;
}

    tr.selected-row:hover[b-ccpw8ve0jp] {
        background-color: #1e88e545 !important;
        color: #FFCC80 !important;
    }

[b-ccpw8ve0jp]::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

[b-ccpw8ve0jp]::-webkit-scrollbar-track {
    background: #1a1a2e;
}

[b-ccpw8ve0jp]::-webkit-scrollbar-thumb {
    background: #3e5278;
    border-radius: 4px;
}

    [b-ccpw8ve0jp]::-webkit-scrollbar-thumb:hover {
        background: #5c7cb8;
    }
/* /Components/Pages/WriteRecipeModal.razor.rz.scp.css */
/* CSS for WriteRecipeModal component */
/* modal-overlay */
.modal-overlay[b-itr3uk641v] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

    .modal-overlay.active[b-itr3uk641v] {
        display: flex;
    }

.modal-content[b-itr3uk641v] {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    min-width: 400px;
    max-width: 600px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.modal-header[b-itr3uk641v] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

    .modal-header .btn-close[b-itr3uk641v] {
        background: none;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
    }

        .modal-header .btn-close:disabled[b-itr3uk641v] {
            cursor: not-allowed;
            opacity: 0.5;
        }

.form-group[b-itr3uk641v] {
    margin-bottom: 15px;
}

    .form-group label[b-itr3uk641v] {
        display: block;
        font-weight: bold;
        margin-bottom: 5px;
    }

    .form-group select[b-itr3uk641v] {
        width: 100%;
        padding: 8px;
    }

.progress-container[b-itr3uk641v] {
    margin: 15px 0;
}

.progress-bar[b-itr3uk641v] {
    background: #4CAF50;
    height: 20px;
    border-radius: 10px;
    text-align: center;
    color: white;
    line-height: 20px;
    transition: width 0.3s;
}

.status-message[b-itr3uk641v] {
    padding: 10px;
    border-radius: 4px;
    margin: 10px 0;
}

    .status-message.success[b-itr3uk641v] {
        background: #d4edda;
        color: #155724;
    }

    .status-message.error[b-itr3uk641v] {
        background: #f8d7da;
        color: #721c24;
    }

.modal-footer[b-itr3uk641v] {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

    .modal-footer button[b-itr3uk641v] {
        padding: 8px 20px;
        border: none;
        border-radius: 4px;
        cursor: pointer;
    }

        .modal-footer button:disabled[b-itr3uk641v] {
            opacity: 0.6;
            cursor: not-allowed;
        }

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

.btn-write[b-itr3uk641v] {
    background: #007bff;
    color: white;
}

    .btn-write:hover:not(:disabled)[b-itr3uk641v] {
        background: #0056b3;
    }
/* /Components/RecipeControls.razor.rz.scp.css */
.panel-wrapper[b-uwbilruwcf] {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.control-panel[b-uwbilruwcf] {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 7px 10px;
    background: linear-gradient(135deg, #3e5278, #242f4c);
/*    border: 1px solid rgba(92, 124, 184, 0.3);*/
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    width: fit-content;
    transition: transform 0.2s, box-shadow 0.2s;
}
    .control-panel:hover[b-uwbilruwcf] {
        transform: translateY(-3px);
        box-shadow: 0 6px 25px rgba(0, 0, 0, 0.5);

    }
.control-group[b-uwbilruwcf] {
    display: flex;
    align-items: center;
    gap: 6px;
}

    .control-group .label[b-uwbilruwcf] {
        color: #BBDEFB;
        font-size: 12px;
        opacity: 0.8;
        font-weight: 500;
        white-space: nowrap;
    }


   

.divider[b-uwbilruwcf] {
    width: 1px;
    height: 25px;
    background: rgba(92, 124, 184, 0.2);
    flex-shrink: 0;
}

.button-group[b-uwbilruwcf] {
    display: flex;
    gap: 0;
  /*  border-radius: 5px;*/
    overflow: hidden;
  /*  border: 1px solid rgba(92, 124, 184, 0.3);*/
}

.custom-button[b-uwbilruwcf] {
    padding: 5px 14px;
    background: rgba(15, 20, 34, 0.7);
    color: #BBDEFB;
    border: none;
  /*  border-right: 1px solid rgba(92, 124, 184, 0.15);*/
    cursor: pointer;
    transition: all 0.3s;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

    .custom-button:last-child[b-uwbilruwcf] {
        border-right: none;
    }

    .custom-button:hover[b-uwbilruwcf] {
        background: rgba(36, 47, 76, 0.8);
        color: white;
    }

    .custom-button:active[b-uwbilruwcf] {
        transform: scale(0.95);
    }

    .custom-button:focus[b-uwbilruwcf] {
        outline: none;
        background: rgba(42, 56, 88, 0.9);
    }

.custom-button-start:hover[b-uwbilruwcf] {
    background: rgba(46, 92, 46, 0.6);
    color: #8adb8a;
}

.custom-button-stop:hover[b-uwbilruwcf] {
    background: rgba(92, 46, 46, 0.6);
    color: #db8a8a;
}

.custom-button-clear:hover[b-uwbilruwcf] {
    background: rgba(92, 92, 46, 0.6);
    color: #dbdb8a;
}
/* /Components/ValveWidgets.razor.rz.scp.css */


.widget-valve[b-zw5ib4utu9] {
    background: #3e527859;
    backdrop-filter: blur(8px) saturate(180%);
    -webkit-backdrop-filter: blur(8px) saturate(180%);
    border-radius: 5px;
    padding: 5px 12px;
    box-shadow: 2px 2px 7px -1px rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(92, 124, 184, 0.08);
    width: 60px;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    cursor: default;
}

    .widget-valve:hover[b-zw5ib4utu9] {
        transform: scale(1.05) translateY(-4px);
        box-shadow: 10px 10px 15px -1px rgba(0, 0, 0, 0.25);
    }

.valve-row[b-zw5ib4utu9] {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.valve-label[b-zw5ib4utu9] {
    font-size: 8pt;
    font-weight: 500;
    text-transform: uppercase;

    color: rgba(255, 255, 255, 0.5);
}

.valve-divider[b-zw5ib4utu9] {
    width: 1px;
    height: 28px;
    background: rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
}

.valve-right[b-zw5ib4utu9] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.valve-value[b-zw5ib4utu9] {
    font-size: 14pt;
    font-weight: 300;
    color: #BBDEFB;
 
    line-height: 1;
}

    .valve-value .unit[b-zw5ib4utu9] {
        font-size: 11pt;
        font-weight: 300;
        opacity: 0.7;
        margin-left: 3px;
    }

.valve-sub[b-zw5ib4utu9] {
    font-size: 6pt;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 2px;
}
