/* /Pages/Add_Device.razor.rz.scp.css */
.config-password-wrapper[b-iqq19i717i] {
    display: flex;
    flex-direction: column;
    max-width: 320px;
    margin: 1rem auto;
    padding: 1rem;
    background: linear-gradient(145deg, #f5f5fa, #e0e0e8);
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.config-label[b-iqq19i717i] {
    font-weight: bold;
    color: #333;
    margin-bottom: 0.5rem;
}
.config-error[b-iqq19i717i]{
    color:red;
}
.config-input[b-iqq19i717i] {
    padding: 0.6rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    transition: border-color 0.3s ease;
}

    .config-input:focus[b-iqq19i717i] {
        outline: none;
        border-color: #6a5acd;
        box-shadow: 0 0 0 2px rgba(106, 90, 205, 0.3);
    }

.config-help[b-iqq19i717i] {
    margin-top: 0.4rem;
    font-size: 0.875rem;
    color: #666;
}
.ble-error[b-iqq19i717i] {
    background-color: #ffe0e0;
    border: 1px solid #ff4d4d;
    border-radius: 8px;
    padding: 1rem;
    font-family: 'Segoe UI', sans-serif;
    color: #660000;
    max-width: 600px;
    margin: 1rem auto;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.ble-checking[b-iqq19i717i] {
    background-color: #f0f8ff;
    border: 1px solid #3399ff;
    border-radius: 8px;
    padding: 1rem;
    font-family: 'Segoe UI', sans-serif;
    color: #003366;
    max-width: 400px;
    margin: 1rem auto;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.ble-ready[b-iqq19i717i] {
    background-color: #e6f7ff;
    border: 1px solid #99ccff;
    border-radius: 10px;
    padding: 1.5rem;
    max-width: 400px;
    margin: 1rem auto;
    text-align: center;
    font-family: 'Segoe UI', sans-serif;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.ble-ready-title[b-iqq19i717i] {
    color: #005580;
}

.ble-button[b-iqq19i717i] {
    background-color: #3399ff;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 0.5rem 1.2rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .ble-button:hover[b-iqq19i717i] {
        background-color: #2677cc;
    }
.device-entry-container[b-iqq19i717i] {
    padding: 1rem;
    max-width: 400px;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    background-color: #f9f9f9;
}

.device-entry-label[b-iqq19i717i] {
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

.device-entry-input[b-iqq19i717i] {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #aaa;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.device-entry-button[b-iqq19i717i] {
    padding: 0.5rem 1rem;
    background-color: #0078D7;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

    .device-entry-button:hover[b-iqq19i717i] {
        background-color: #005ea6;
    }

.dialog-overlay[b-iqq19i717i] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.dialog-box[b-iqq19i717i] {
    background: #ffffff;
    padding: 1rem;
    border-radius: 8px;
    border: 2px solid #3f51b5;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    max-width: 300px;
    text-align: center;
}

.dialog-prompt[b-iqq19i717i] {
    margin: 0 0 0.75rem 0;
    font-size: 1rem;
    font-weight: 500;
    color: #333;
}

.dialog-buttons[b-iqq19i717i] {
    display: flex;
    justify-content: space-around;
}

.dialog-button[b-iqq19i717i] {
    padding: 0.4rem 0.8rem;
    border: none;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
}

    .dialog-button.yes[b-iqq19i717i] {
        background-color: #4CAF50;
        color: white;
    }

    .dialog-button.no[b-iqq19i717i] {
        background-color: #f44336;
        color: white;
    }
/* /Pages/Device.razor.rz.scp.css */
.devices-header[b-9meji90fz9] {
    text-align: center;
    margin-top: 2rem;
    font-size: 1.5rem;
}

.device-list[b-9meji90fz9] {
    list-style: none;
    padding: 0;
    max-width: 400px;
    margin: 1rem auto;
}

.device-item[b-9meji90fz9] {
    background-color: #eee;
    padding: 0.8rem;
    margin-bottom: 0.6rem;
    border-radius: 6px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.2s;
}

    .device-item:hover[b-9meji90fz9] {
        background-color: #d4d4d4;
    }
/* /Pages/index.razor.rz.scp.css */

.switch-label[b-l858y72i82] {
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-transform: uppercase;
    color: var(--text-color, #333);
}
.switch-wrapper[b-l858y72i82] {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 2rem;
}

.greyed-out[b-l858y72i82] {
    pointer-events: none; /* disables interaction */
    /*opacity: 0.5;*/
    filter: grayscale(100%) brightness(0.8);
}
.switch-track[b-l858y72i82] {
    width: 60px;
    height: 120px;
    background-color: #555;
    border-radius: 30px;
    position: relative;
    transition: background-color 0.3s;
    cursor: pointer;
}

    .switch-track.on[b-l858y72i82] {
        background-color: #4caf50;
    }

.switch-thumb[b-l858y72i82] {
    width: 50px;
    height: 50px;
    background-color: #ccc;
    border-radius: 50%;
    position: absolute;
    left: 5px;
    transition: all 0.3s ease;
}

    .switch-thumb.off[b-l858y72i82] {
        bottom: 5px;
        background-color: #333;
    }

    .switch-thumb.on[b-l858y72i82] {
        top: 5px;
        background-color: #fff;
    }
/* /Shared/Loading.razor.rz.scp.css */
.loading-container[b-c2sb90y5s4] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    font-family: sans-serif;
    color: #444;
}

.spinner[b-c2sb90y5s4] {
    width: 40px;
    height: 40px;
    border: 4px solid #ccc;
    border-top-color: #0078D7;
    border-radius: 50%;
    animation: spin-b-c2sb90y5s4 1s linear infinite;
    margin-bottom: 0.5rem;
}

@keyframes spin-b-c2sb90y5s4 {
    to {
        transform: rotate(360deg);
    }
}

.loading-text[b-c2sb90y5s4] {
    font-size: 1.2rem;
    animation: pulse-b-c2sb90y5s4 1.5s ease-in-out infinite;
}

@keyframes pulse-b-c2sb90y5s4 {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}
/* /Shared/MainLayout.razor.rz.scp.css */
.page[b-g36c5ppbgz] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-g36c5ppbgz] {
    flex: 1;
}

.sidebar[b-g36c5ppbgz] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-g36c5ppbgz] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-g36c5ppbgz]  a, .top-row[b-g36c5ppbgz]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-g36c5ppbgz]  a:hover, .top-row[b-g36c5ppbgz]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-g36c5ppbgz]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row:not(.auth)[b-g36c5ppbgz] {
        display: none;
    }

    .top-row.auth[b-g36c5ppbgz] {
        justify-content: space-between;
    }

    .top-row[b-g36c5ppbgz]  a, .top-row[b-g36c5ppbgz]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-g36c5ppbgz] {
        flex-direction: row;
    }

    .sidebar[b-g36c5ppbgz] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-g36c5ppbgz] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-g36c5ppbgz]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-g36c5ppbgz], article[b-g36c5ppbgz] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
