/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-k2u0bb9ujn] {
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: #0F1117;
    min-height: 100vh;
}

main[b-k2u0bb9ujn] {
    flex: 1;
    background-color: #0F1117;
}

.sidebar[b-k2u0bb9ujn] {
    background-image: linear-gradient(180deg, #1F2937 0%, #111827 70%);
}

.top-row[b-k2u0bb9ujn] {
    background-color: #1F2937;
    border-bottom: 1px solid #374151;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-k2u0bb9ujn]  a, .top-row[b-k2u0bb9ujn]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
        color: #E5E7EB;
    }

    .top-row[b-k2u0bb9ujn]  a:hover, .top-row[b-k2u0bb9ujn]  .btn-link:hover {
        text-decoration: underline;
        color: #FFFFFF;
    }

    .top-row[b-k2u0bb9ujn]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-k2u0bb9ujn] {
        justify-content: space-between;
    }

    .top-row[b-k2u0bb9ujn]  a, .top-row[b-k2u0bb9ujn]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-k2u0bb9ujn] {
        flex-direction: row;
    }

    .sidebar[b-k2u0bb9ujn] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-k2u0bb9ujn] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-k2u0bb9ujn]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-k2u0bb9ujn], article[b-k2u0bb9ujn] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-k2u0bb9ujn] {
    color-scheme: dark;
    background: #991B1B;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.5);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    color: #FFFFFF;
}

    #blazor-error-ui .dismiss[b-k2u0bb9ujn] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
        color: #FFFFFF;
    }

    #blazor-error-ui .reload[b-k2u0bb9ujn] {
        color: #60A5FA;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-wjr12w8sub] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-wjr12w8sub] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-wjr12w8sub] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-wjr12w8sub] {
    font-size: 1.1rem;
}

.bi[b-wjr12w8sub] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-wjr12w8sub] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-wjr12w8sub] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-wjr12w8sub] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.bi-lock-nav-menu[b-wjr12w8sub] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath d='M8 1a2 2 0 0 1 2 2v4H6V3a2 2 0 0 1 2-2zm3 6V3a3 3 0 0 0-6 0v4a2 2 0 0 0-2 2v5a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2zM5 8h6a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1z'/%3E%3C/svg%3E");
}

.bi-person-nav-menu[b-wjr12w8sub] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person' viewBox='0 0 16 16'%3E%3Cpath d='M8 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6Zm2-3a2 2 0 1 1-4 0 2 2 0 0 1 4 0Zm4 8c0 1-1 1-1 1H3s-1 0-1-1 1-4 6-4 6 3 6 4Zm-1-.004c-.001-.246-.154-.986-.832-1.664C11.516 10.68 10.289 10 8 10c-2.29 0-3.516.68-4.168 1.332-.678.678-.83 1.418-.832 1.664h10Z'/%3E%3C/svg%3E");
}

.bi-person-badge-nav-menu[b-wjr12w8sub] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person-badge' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 2a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1h-3zM11 8a3 3 0 1 1-6 0 3 3 0 0 1 6 0z'/%3E%3Cpath d='M4.5 0A2.5 2.5 0 0 0 2 2.5V14a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2.5A2.5 2.5 0 0 0 11.5 0h-7zM3 2.5A1.5 1.5 0 0 1 4.5 1h7A1.5 1.5 0 0 1 13 2.5v10.795a4.2 4.2 0 0 0-.776-.492C11.392 12.387 10.063 12 8 12s-3.392.387-4.224.803a4.2 4.2 0 0 0-.776.492V2.5z'/%3E%3C/svg%3E");
}

.bi-person-fill-nav-menu[b-wjr12w8sub] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person-fill' viewBox='0 0 16 16'%3E%3Cpath d='M3 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H3Zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z'/%3E%3C/svg%3E");
}

.bi-arrow-bar-left-nav-menu[b-wjr12w8sub] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-arrow-bar-left' viewBox='0 0 16 16'%3E%3Cpath d='M12.5 15a.5.5 0 0 1-.5-.5v-13a.5.5 0 0 1 1 0v13a.5.5 0 0 1-.5.5ZM10 8a.5.5 0 0 1-.5.5H3.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L3.707 7.5H9.5a.5.5 0 0 1 .5.5Z'/%3E%3C/svg%3E");
}

.nav-item[b-wjr12w8sub] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-wjr12w8sub] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-wjr12w8sub] {
        padding-bottom: 1rem;
    }

    .nav-item[b-wjr12w8sub]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-wjr12w8sub]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-wjr12w8sub]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-wjr12w8sub] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-wjr12w8sub] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-wjr12w8sub] {
        display: none;
    }

    .nav-scrollable[b-wjr12w8sub] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-ghshxippn9],
.components-reconnect-repeated-attempt-visible[b-ghshxippn9],
.components-reconnect-failed-visible[b-ghshxippn9],
.components-pause-visible[b-ghshxippn9],
.components-resume-failed-visible[b-ghshxippn9],
.components-rejoining-animation[b-ghshxippn9] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-ghshxippn9],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-ghshxippn9],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-ghshxippn9],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-ghshxippn9],
#components-reconnect-modal.components-reconnect-retrying[b-ghshxippn9],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-ghshxippn9],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-ghshxippn9],
#components-reconnect-modal.components-reconnect-failed[b-ghshxippn9],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-ghshxippn9] {
    display: block;
}


#components-reconnect-modal[b-ghshxippn9] {
    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-ghshxippn9 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-ghshxippn9 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-ghshxippn9 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-ghshxippn9]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-ghshxippn9 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-ghshxippn9 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-ghshxippn9 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-ghshxippn9 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-ghshxippn9] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-ghshxippn9] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-ghshxippn9] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-ghshxippn9] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-ghshxippn9] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-ghshxippn9] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-ghshxippn9] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-ghshxippn9 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-ghshxippn9] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-ghshxippn9 {
    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/Config/Components/ItemProfile.razor.rz.scp.css */
/* Profile Card Container */
.profile-card[b-scsmdkgkto] {
    width: 100%;
    background: #181B22;
    border-radius: 8px;
    border: 1px solid #323743;
    box-shadow: 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 2px rgba(23, 26, 31, 0.12);
    padding: 20px;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

/* Desktop: no cursor pointer on card, only on menu button */
@media (min-width: 1024px) {
    .profile-card[b-scsmdkgkto] {
        cursor: default;
    }
    
    .profile-card:hover[b-scsmdkgkto] {
        transform: translateY(-2px);
        box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15);
        border-color: #3A3D45;
    }
}

/* Mobile and Tablet: card is clickable */
@media (max-width: 1023px) {
    .profile-card[b-scsmdkgkto] {
        cursor: pointer;
        -webkit-tap-highlight-color: rgba(59, 130, 246, 0.1);
    }
    
    .profile-card:active[b-scsmdkgkto] {
        transform: scale(0.98);
        border-color: #3B82F6;
    }
    
    .profile-card:hover[b-scsmdkgkto] {
        transform: translateY(-2px);
        box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15);
        border-color: #3A3D45;
    }
}

/* Header with title and menu */
.profile-header[b-scsmdkgkto] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    gap: 12px;
}

.profile-header-left[b-scsmdkgkto] {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.profile-color-badge[b-scsmdkgkto] {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    border: 2px solid #374151;
    flex-shrink: 0;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    transition: transform 0.2s, box-shadow 0.2s;
}

.profile-card:hover .profile-color-badge[b-scsmdkgkto] {
    transform: scale(1.1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.profile-title[b-scsmdkgkto] {
    font-size: 20px;
    font-weight: 600;
    color: #FFFFFF;
    margin: 0;
    line-height: 1.3;
    flex: 1;
    word-break: break-word;
    user-select: none;
    min-width: 0;
}

.header-actions[b-scsmdkgkto] {
    display: flex;
    gap: 4px;
    flex-shrink: 0;
}

.delete-button[b-scsmdkgkto] {
    background: transparent;
    border: none;
    color: #EF4444;
    cursor: pointer;
    padding: 4px;
    font-size: 20px;
    line-height: 1;
    min-width: 32px;
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s, background-color 0.2s, transform 0.1s;
    border-radius: 4px;
    flex-shrink: 0;
    position: relative;
    z-index: 10;
}

.delete-button:hover[b-scsmdkgkto] {
    opacity: 0.7;
    background-color: rgba(239, 68, 68, 0.1);
}

.delete-button:active[b-scsmdkgkto] {
    background-color: rgba(239, 68, 68, 0.2);
    transform: scale(0.95);
}

.delete-icon[b-scsmdkgkto] {
    display: block;
    user-select: none;
}

.menu-button[b-scsmdkgkto] {
    background: transparent;
    border: none;
    color: #FFFFFF;
    cursor: pointer;
    padding: 4px;
    font-size: 24px;
    line-height: 1;
    min-width: 32px;
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s, background-color 0.2s, transform 0.1s;
    border-radius: 4px;
    flex-shrink: 0;
    position: relative;
    z-index: 10;
}

.menu-button:hover[b-scsmdkgkto] {
    opacity: 0.7;
    background-color: rgba(255, 255, 255, 0.05);
}

.menu-button:active[b-scsmdkgkto] {
    background-color: rgba(255, 255, 255, 0.1);
    transform: scale(0.95);
}

.menu-dots[b-scsmdkgkto] {
    display: block;
    user-select: none;
}

/* Description */
.profile-description[b-scsmdkgkto] {
    color: #9CA3AF;
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 16px 0;
    user-select: none;
}

/* Tags container */
.profile-tags[b-scsmdkgkto] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Tag styling */
.tag[b-scsmdkgkto] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 6px;
    background: #2A2D35;
    border: 1px solid #3A3D45;
    font-size: 13px;
    font-weight: 500;
    color: #E5E7EB;
    transition: background-color 0.2s;
    user-select: none;
    pointer-events: none;
}

.tag-icon[b-scsmdkgkto] {
    font-size: 14px;
    line-height: 1;
}

.tag-text[b-scsmdkgkto] {
    line-height: 1;
    white-space: nowrap;
}

/* Specific tag variants */
.tag-synth[b-scsmdkgkto] {
    /* Style for synth mode tag */
}

.tag-light[b-scsmdkgkto] {
    /* Style for light mode tag */
    flex-wrap: wrap;
    gap: 6px;
}

.tag-light .led-color-label[b-scsmdkgkto] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.tag-sensor[b-scsmdkgkto] {
    /* Style for sensor mode tag */
}

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 1023px) {
    .profile-card[b-scsmdkgkto] {
        padding: 18px;
    }
    
    .profile-title[b-scsmdkgkto] {
        font-size: 19px;
    }
    
    .delete-button[b-scsmdkgkto] {
        min-width: 36px;
        min-height: 36px;
        font-size: 18px;
    }
    
    .menu-button[b-scsmdkgkto] {
        min-width: 36px;
        min-height: 36px;
    }
}

/* Mobile adjustments */
@media (max-width: 767px) {
    .profile-card[b-scsmdkgkto] {
        padding: 16px;
        max-width: 100%;
    }
    
    .profile-title[b-scsmdkgkto] {
        font-size: 18px;
    }
    
    .profile-description[b-scsmdkgkto] {
        font-size: 13px;
    }
    
    .tag[b-scsmdkgkto] {
        font-size: 12px;
        padding: 5px 10px;
    }
    
    .tag-icon[b-scsmdkgkto] {
        font-size: 13px;
    }
    
    .delete-button[b-scsmdkgkto] {
        min-width: 40px;
        min-height: 40px;
        padding: 8px;
        font-size: 18px;
    }
    
    .menu-button[b-scsmdkgkto] {
        min-width: 40px;
        min-height: 40px;
        padding: 8px;
    }
}

/* Small mobile devices */
@media (max-width: 400px) {
    .profile-card[b-scsmdkgkto] {
        padding: 14px;
    }
    
    .profile-header[b-scsmdkgkto] {
        gap: 8px;
    }
    
    .delete-button[b-scsmdkgkto] {
        min-width: 36px;
        min-height: 36px;
        font-size: 18px;
    }
    
    .menu-button[b-scsmdkgkto] {
        min-width: 36px;
        min-height: 36px;
        font-size: 22px;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .delete-button[b-scsmdkgkto] {
        /* Larger touch target on touch devices */
        min-width: 44px;
        min-height: 44px;
    }
    
    .menu-button[b-scsmdkgkto] {
        /* Larger touch target on touch devices */
        min-width: 44px;
        min-height: 44px;
    }
    
    .profile-card:hover[b-scsmdkgkto] {
        /* Disable hover effects on touch devices */
        transform: none;
        box-shadow: 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 2px rgba(23, 26, 31, 0.12);
        border-color: #323743;
    }
}
/* /Components/Pages/Config/Components/LedColorEdit.razor.rz.scp.css */
.led-color-edit[b-h4q45adpp2] {
    padding: 1rem 0;
}

.led-color-edit h4[b-h4q45adpp2] {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.color-preview-container[b-h4q45adpp2] {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 0.75rem;
    background: var(--bs-secondary-bg);
    border-radius: 8px;
    border: 1px solid var(--bs-border-color);
}

.color-preview[b-h4q45adpp2] {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    border: 2px solid var(--bs-border-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.color-hex[b-h4q45adpp2] {
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--bs-body-color);
}

.led-color-edit .form-group[b-h4q45adpp2] {
    margin-bottom: 1.5rem;
}

.led-color-edit .form-group:last-child[b-h4q45adpp2] {
    margin-bottom: 0;
}

.led-color-edit label[b-h4q45adpp2] {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--bs-body-color);
}

.led-color-edit label strong[b-h4q45adpp2] {
    font-size: 1.1em;
    min-width: 3ch;
    display: inline-block;
    text-align: right;
}

.led-color-edit .form-range[b-h4q45adpp2] {
    width: 100%;
    height: 0.5rem;
    padding: 0;
    background-color: transparent;
    appearance: none;
    cursor: pointer;
}

.led-color-edit .form-range:focus[b-h4q45adpp2] {
    outline: none;
}

/* Red slider */
.led-color-edit .range-red[b-h4q45adpp2]::-webkit-slider-track {
    width: 100%;
    height: 0.5rem;
    background: linear-gradient(to right, #000000, #ff0000);
    border-radius: 0.25rem;
    border: 1px solid var(--bs-border-color);
}

.led-color-edit .range-red[b-h4q45adpp2]::-moz-range-track {
    width: 100%;
    height: 0.5rem;
    background: linear-gradient(to right, #000000, #ff0000);
    border-radius: 0.25rem;
    border: 1px solid var(--bs-border-color);
}

/* Green slider */
.led-color-edit .range-green[b-h4q45adpp2]::-webkit-slider-track {
    width: 100%;
    height: 0.5rem;
    background: linear-gradient(to right, #000000, #00ff00);
    border-radius: 0.25rem;
    border: 1px solid var(--bs-border-color);
}

.led-color-edit .range-green[b-h4q45adpp2]::-moz-range-track {
    width: 100%;
    height: 0.5rem;
    background: linear-gradient(to right, #000000, #00ff00);
    border-radius: 0.25rem;
    border: 1px solid var(--bs-border-color);
}

/* Blue slider */
.led-color-edit .range-blue[b-h4q45adpp2]::-webkit-slider-track {
    width: 100%;
    height: 0.5rem;
    background: linear-gradient(to right, #000000, #0000ff);
    border-radius: 0.25rem;
    border: 1px solid var(--bs-border-color);
}

.led-color-edit .range-blue[b-h4q45adpp2]::-moz-range-track {
    width: 100%;
    height: 0.5rem;
    background: linear-gradient(to right, #000000, #0000ff);
    border-radius: 0.25rem;
    border: 1px solid var(--bs-border-color);
}

/* White slider */
.led-color-edit .range-white[b-h4q45adpp2]::-webkit-slider-track {
    width: 100%;
    height: 0.5rem;
    background: linear-gradient(to right, #000000, #ffffff);
    border-radius: 0.25rem;
    border: 1px solid var(--bs-border-color);
}

.led-color-edit .range-white[b-h4q45adpp2]::-moz-range-track {
    width: 100%;
    height: 0.5rem;
    background: linear-gradient(to right, #000000, #ffffff);
    border-radius: 0.25rem;
    border: 1px solid var(--bs-border-color);
}

/* Slider thumbs - common styles */
.led-color-edit .form-range[b-h4q45adpp2]::-webkit-slider-thumb {
    appearance: none;
    width: 1.25rem;
    height: 1.25rem;
    background: var(--bs-body-bg);
    border-radius: 50%;
    border: 3px solid;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    margin-top: -0.375rem;
}

.led-color-edit .form-range[b-h4q45adpp2]::-moz-range-thumb {
    width: 1.25rem;
    height: 1.25rem;
    background: var(--bs-body-bg);
    border-radius: 50%;
    border: 3px solid;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

/* Red thumb */
.led-color-edit .range-red[b-h4q45adpp2]::-webkit-slider-thumb {
    border-color: #ff0000;
}

.led-color-edit .range-red[b-h4q45adpp2]::-moz-range-thumb {
    border-color: #ff0000;
}

/* Green thumb */
.led-color-edit .range-green[b-h4q45adpp2]::-webkit-slider-thumb {
    border-color: #00ff00;
}

.led-color-edit .range-green[b-h4q45adpp2]::-moz-range-thumb {
    border-color: #00ff00;
}

/* Blue thumb */
.led-color-edit .range-blue[b-h4q45adpp2]::-webkit-slider-thumb {
    border-color: #0000ff;
}

.led-color-edit .range-blue[b-h4q45adpp2]::-moz-range-thumb {
    border-color: #0000ff;
}

/* White thumb */
.led-color-edit .range-white[b-h4q45adpp2]::-webkit-slider-thumb {
    border-color: #ffffff;
}

.led-color-edit .range-white[b-h4q45adpp2]::-moz-range-thumb {
    border-color: #ffffff;
}

/* Hover effects */
.led-color-edit .form-range[b-h4q45adpp2]::-webkit-slider-thumb:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transform: scale(1.1);
}

.led-color-edit .form-range[b-h4q45adpp2]::-moz-range-thumb:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transform: scale(1.1);
}

/* Active effects */
.led-color-edit .form-range[b-h4q45adpp2]::-webkit-slider-thumb:active {
    box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25);
}

.led-color-edit .form-range[b-h4q45adpp2]::-moz-range-thumb:active {
    box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25);
}

.led-color-edit .form-text[b-h4q45adpp2] {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
    .color-preview-container[b-h4q45adpp2] {
        flex-direction: column;
        align-items: flex-start;
    }

    .color-preview[b-h4q45adpp2] {
        width: 100%;
        height: 80px;
    }
}
/* /Components/Pages/Config/Components/LedColorLabel.razor.rz.scp.css */
.led-color-label[b-ah8wl6fgps] {
    padding: 1rem 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.led-color-label h4[b-ah8wl6fgps] {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.led-color-label i[b-ah8wl6fgps] {
    font-size: 12px;
    color: #9CA3AF;
    line-height: 1;
}

.color-display[b-ah8wl6fgps] {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bs-secondary-bg);
    border-radius: 8px;
    border: 1px solid var(--bs-border-color);
}

.color-display .color-preview[b-ah8wl6fgps] {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    border: 2px solid var(--bs-border-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.color-info[b-ah8wl6fgps] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.color-hex[b-ah8wl6fgps] {
    font-family: 'Courier New', monospace;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--bs-body-color);
}

.color-values[b-ah8wl6fgps] {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.value-item[b-ah8wl6fgps] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.75rem;
    background: var(--bs-body-bg);
    border-radius: 4px;
    border: 1px solid var(--bs-border-color);
    font-size: 0.9rem;
}

.value-label[b-ah8wl6fgps] {
    font-weight: 600;
    color: var(--bs-secondary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .color-display[b-ah8wl6fgps] {
        flex-direction: column;
        align-items: flex-start;
    }

    .color-display .color-preview[b-ah8wl6fgps] {
        width: 100%;
        height: 60px;
    }

    .color-values[b-ah8wl6fgps] {
        width: 100%;
        justify-content: space-between;
    }

    .value-item[b-ah8wl6fgps] {
        flex: 1;
        justify-content: center;
        min-width: calc(50% - 0.5rem);
    }
}
/* /Components/Pages/Config/Components/SensorSettingsEdit.razor.rz.scp.css */
.sensor-settings[b-m72cd7kqb6] {
    padding: 1rem 0;
}

.sensor-settings h3[b-m72cd7kqb6] {
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.sensor-settings .form-group[b-m72cd7kqb6] {
    margin-bottom: 1.5rem;
}

.sensor-settings .form-group:last-child[b-m72cd7kqb6] {
    margin-bottom: 0;
}

.sensor-settings label[b-m72cd7kqb6] {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--bs-body-color);
}

.sensor-settings label strong[b-m72cd7kqb6] {
    color: var(--bs-primary);
    font-size: 1.1em;
}

.sensor-settings .form-range[b-m72cd7kqb6] {
    width: 100%;
    height: 0.5rem;
    padding: 0;
    background-color: transparent;
    appearance: none;
    cursor: pointer;
}

.sensor-settings .form-range:focus[b-m72cd7kqb6] {
    outline: none;
}

.sensor-settings .form-range[b-m72cd7kqb6]::-webkit-slider-track {
    width: 100%;
    height: 0.5rem;
    background: var(--bs-secondary-bg);
    border-radius: 0.25rem;
    border: 1px solid var(--bs-border-color);
}

.sensor-settings .form-range[b-m72cd7kqb6]::-webkit-slider-thumb {
    appearance: none;
    width: 1.25rem;
    height: 1.25rem;
    background: var(--bs-primary);
    border-radius: 50%;
    border: 2px solid var(--bs-body-bg);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    margin-top: -0.375rem;
}

.sensor-settings .form-range[b-m72cd7kqb6]::-webkit-slider-thumb:hover {
    background: var(--bs-primary-hover, var(--bs-primary));
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.sensor-settings .form-range[b-m72cd7kqb6]::-webkit-slider-thumb:active {
    box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25);
}

.sensor-settings .form-range[b-m72cd7kqb6]::-moz-range-track {
    width: 100%;
    height: 0.5rem;
    background: var(--bs-secondary-bg);
    border-radius: 0.25rem;
    border: 1px solid var(--bs-border-color);
}

.sensor-settings .form-range[b-m72cd7kqb6]::-moz-range-thumb {
    width: 1.25rem;
    height: 1.25rem;
    background: var(--bs-primary);
    border-radius: 50%;
    border: 2px solid var(--bs-body-bg);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.sensor-settings .form-range[b-m72cd7kqb6]::-moz-range-thumb:hover {
    background: var(--bs-primary-hover, var(--bs-primary));
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.sensor-settings .form-range[b-m72cd7kqb6]::-moz-range-thumb:active {
    box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25);
}

.sensor-settings .form-text[b-m72cd7kqb6] {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
}
/* /Components/Pages/Config/Profile/CreateProfile.razor.rz.scp.css */
.create-profile-container[b-7uvxi4nvau] {
    max-width: 700px;
    margin: 0 auto;
    padding: 24px;
    width: 100%;
}

.create-profile-header[b-7uvxi4nvau] {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.btn-back[b-7uvxi4nvau] {
    background: transparent;
    border: 1px solid #323743;
    color: #E5E7EB;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
}

.btn-back:hover[b-7uvxi4nvau] {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: #3B82F6;
    color: #FFFFFF;
    transform: translateX(-2px);
}

.btn-back:active[b-7uvxi4nvau] {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateX(0);
}

.back-icon[b-7uvxi4nvau] {
    font-size: 20px;
    line-height: 1;
    font-weight: bold;
}

.create-profile-header h1[b-7uvxi4nvau] {
    color: #FFFFFF;
    font-size: 32px;
    font-weight: 600;
    margin: 0;
}

.alert[b-7uvxi4nvau] {
    padding: 16px 20px;
    margin-bottom: 24px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
}

.alert-danger[b-7uvxi4nvau] {
    background-color: rgba(239, 68, 68, 0.15);
    color: #FCA5A5;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.alert-success[b-7uvxi4nvau] {
    background-color: rgba(34, 197, 94, 0.15);
    color: #86EFAC;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.create-profile-form[b-7uvxi4nvau] {
    background: #181B22;
    padding: 32px;
    border-radius: 8px;
    border: 1px solid #323743;
    box-shadow: 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 2px rgba(23, 26, 31, 0.12);
}

.form-group[b-7uvxi4nvau] {
    margin-bottom: 24px;
}

.form-label[b-7uvxi4nvau] {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #E5E7EB;
    font-size: 14px;
}

.form-control[b-7uvxi4nvau] {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    border: 1px solid #323743;
    border-radius: 8px;
    transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
    background-color: #0F1116;
    color: #FFFFFF;
}

.form-control[b-7uvxi4nvau]::placeholder {
    color: #6B7280;
}

.form-control:focus[b-7uvxi4nvau] {
    outline: none;
    border-color: #3B82F6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
    background-color: #181B22;
}

.form-control:disabled[b-7uvxi4nvau] {
    background-color: #1F2329;
    cursor: not-allowed;
    opacity: 0.5;
    color: #6B7280;
}

.text-danger[b-7uvxi4nvau] {
    color: #FCA5A5;
    font-size: 13px;
    margin-top: 6px;
    display: block;
}

.form-actions[b-7uvxi4nvau] {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 32px;
}

.btn[b-7uvxi4nvau] {
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn:disabled[b-7uvxi4nvau] {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-primary[b-7uvxi4nvau] {
    background: #1B6EC2;
    color: #FFFFFF;
}

.btn-primary:hover:not(:disabled)[b-7uvxi4nvau] {
    background: #1557A0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(27, 110, 194, 0.4);
}

.btn-primary:active:not(:disabled)[b-7uvxi4nvau] {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(27, 110, 194, 0.3);
}

.btn-secondary[b-7uvxi4nvau] {
    background-color: transparent;
    color: #E5E7EB;
    border: 1px solid #323743;
}

.btn-secondary:hover:not(:disabled)[b-7uvxi4nvau] {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: #3B82F6;
}

.btn-secondary:active:not(:disabled)[b-7uvxi4nvau] {
    background-color: rgba(255, 255, 255, 0.1);
}

.spinner-border[b-7uvxi4nvau] {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    vertical-align: text-bottom;
    border: 0.15em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner-border-b-7uvxi4nvau 0.75s linear infinite;
}

.spinner-border-sm[b-7uvxi4nvau] {
    width: 0.875rem;
    height: 0.875rem;
    border-width: 0.125em;
}

.me-2[b-7uvxi4nvau] {
    margin-right: 0.5rem;
}

@keyframes spinner-border-b-7uvxi4nvau {
    to {
        transform: rotate(360deg);
    }
}

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 1199px) {
    .create-profile-container[b-7uvxi4nvau] {
        padding: 20px;
    }

    .create-profile-header h1[b-7uvxi4nvau] {
        font-size: 28px;
    }

    .create-profile-form[b-7uvxi4nvau] {
        padding: 28px;
    }

    .btn-back[b-7uvxi4nvau] {
        min-width: 40px;
        min-height: 40px;
        padding: 6px 10px;
    }

    .back-icon[b-7uvxi4nvau] {
        font-size: 18px;
    }
}

/* Mobile adjustments */
@media (max-width: 767px) {
    .create-profile-container[b-7uvxi4nvau] {
        padding: 16px;
    }

    .create-profile-header[b-7uvxi4nvau] {
        gap: 12px;
    }

    .create-profile-header h1[b-7uvxi4nvau] {
        font-size: 24px;
    }

    .create-profile-form[b-7uvxi4nvau] {
        padding: 20px;
    }

    .form-actions[b-7uvxi4nvau] {
        flex-direction: column-reverse;
        gap: 12px;
    }

    .btn[b-7uvxi4nvau] {
        width: 100%;
        padding: 14px 24px;
    }

    .alert[b-7uvxi4nvau] {
        padding: 14px 16px;
        font-size: 13px;
    }
}

/* Small mobile devices */
@media (max-width: 400px) {
    .create-profile-container[b-7uvxi4nvau] {
        padding: 12px;
    }

    .create-profile-header[b-7uvxi4nvau] {
        gap: 8px;
        margin-bottom: 24px;
    }

    .btn-back[b-7uvxi4nvau] {
        min-width: 40px;
        min-height: 40px;
        padding: 6px 8px;
    }

    .back-icon[b-7uvxi4nvau] {
        font-size: 18px;
    }

    .create-profile-form[b-7uvxi4nvau] {
        padding: 16px;
    }

    .form-control[b-7uvxi4nvau] {
        padding: 10px 14px;
        font-size: 15px;
    }

    .btn[b-7uvxi4nvau] {
        padding: 12px 20px;
        font-size: 14px;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn-back:hover[b-7uvxi4nvau] {
        background: transparent;
        border-color: #323743;
        color: #E5E7EB;
        transform: none;
    }

    .btn-back:active[b-7uvxi4nvau] {
        background-color: rgba(255, 255, 255, 0.1);
        border-color: #3B82F6;
    }

    .btn-primary:hover:not(:disabled)[b-7uvxi4nvau] {
        background: #1B6EC2;
        transform: none;
        box-shadow: none;
    }

    .btn-secondary:hover:not(:disabled)[b-7uvxi4nvau] {
        background-color: transparent;
        border-color: #323743;
    }
}
/* /Components/Pages/Config/Profile/MyProfiles.razor.rz.scp.css */
.profile-list-container[b-q64k7jv2tw] {
    padding: 24px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.profile-list-header[b-q64k7jv2tw] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 16px;
}

.header-left[b-q64k7jv2tw] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-back[b-q64k7jv2tw] {
    background: transparent;
    border: 1px solid #323743;
    color: #E5E7EB;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
}

.btn-back:hover[b-q64k7jv2tw] {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: #3B82F6;
    color: #FFFFFF;
    transform: translateX(-2px);
}

.back-icon[b-q64k7jv2tw] {
    font-size: 20px;
    line-height: 1;
    font-weight: bold;
}

.profile-list-container h1[b-q64k7jv2tw] {
    color: #FFFFFF;
    font-size: 32px;
    font-weight: 600;
    margin: 0;
}

.btn-add-profile[b-q64k7jv2tw] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 8px;
}

.btn-icon[b-q64k7jv2tw] {
    font-size: 20px;
    line-height: 1;
}

.loading-container[b-q64k7jv2tw] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    gap: 20px;
}

.spinner[b-q64k7jv2tw] {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top-color: #1B6EC2;
    border-radius: 50%;
    animation: spin-b-q64k7jv2tw 1s linear infinite;
}

@keyframes spin-b-q64k7jv2tw {
    to { transform: rotate(360deg); }
}

.loading-container p[b-q64k7jv2tw] {
    color: #9CA3AF;
    font-size: 16px;
    margin: 0;
}

.error-container[b-q64k7jv2tw] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    gap: 20px;
}

.error-message[b-q64k7jv2tw] {
    color: #EF4444;
    font-size: 16px;
    margin: 0;
    text-align: center;
}

.empty-state[b-q64k7jv2tw] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    gap: 16px;
    text-align: center;
}

.empty-icon[b-q64k7jv2tw] {
    font-size: 64px;
    opacity: 0.5;
    margin-bottom: 8px;
}

.empty-state h2[b-q64k7jv2tw] {
    color: #FFFFFF;
    font-size: 24px;
    font-weight: 600;
    margin: 0;
}

.empty-state p[b-q64k7jv2tw] {
    color: #9CA3AF;
    font-size: 16px;
    margin: 0;
}

.user-info[b-q64k7jv2tw] {
    color: #60A5FA !important;
    font-size: 14px !important;
    margin-top: 8px !important;
}

.user-info strong[b-q64k7jv2tw] {
    color: #93C5FD;
}

.user-info-banner[b-q64k7jv2tw] {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 24px;
}

.user-info-banner p[b-q64k7jv2tw] {
    color: #93C5FD;
    font-size: 14px;
    margin: 0;
}

.user-info-banner strong[b-q64k7jv2tw] {
    color: #60A5FA;
}

.auth-required[b-q64k7jv2tw] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    gap: 16px;
    text-align: center;
}

.auth-required h2[b-q64k7jv2tw] {
    color: #FFFFFF;
    font-size: 24px;
    font-weight: 600;
    margin: 0;
}

.auth-required p[b-q64k7jv2tw] {
    color: #9CA3AF;
    font-size: 16px;
    margin: 0 0 24px 0;
}

.profiles-grid[b-q64k7jv2tw] {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.profile-card[b-q64k7jv2tw] {
    background: #181B22;
    border: 1px solid #323743;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.2s ease;
}

.profile-card:hover[b-q64k7jv2tw] {
    border-color: #3B82F6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.profile-card-header[b-q64k7jv2tw] {
    margin-bottom: 16px;
}

.profile-card-header h3[b-q64k7jv2tw] {
    color: #FFFFFF;
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.profile-id[b-q64k7jv2tw] {
    color: #6B7280;
    font-size: 12px;
    font-family: monospace;
}

.profile-card-body[b-q64k7jv2tw] {
    margin-bottom: 16px;
}

.profile-description[b-q64k7jv2tw] {
    color: #9CA3AF;
    font-size: 14px;
    margin: 0 0 12px 0;
    line-height: 1.5;
}

.profile-color[b-q64k7jv2tw] {
    width: 100%;
    height: 40px;
    border-radius: 6px;
    border: 1px solid #323743;
}

.profile-card-actions[b-q64k7jv2tw] {
    display: flex;
    gap: 8px;
}

.btn[b-q64k7jv2tw] {
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 500;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn:disabled[b-q64k7jv2tw] {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-sm[b-q64k7jv2tw] {
    padding: 8px 16px;
    font-size: 14px;
}

.btn-primary[b-q64k7jv2tw] {
    background-color: #1B6EC2;
    color: #FFFFFF;
}

.btn-primary:hover:not(:disabled)[b-q64k7jv2tw] {
    background-color: #1557A0;
    transform: translateY(-1px);
}

.btn-secondary[b-q64k7jv2tw] {
    background-color: transparent;
    color: #E5E7EB;
    border: 1px solid #323743;
}

.btn-secondary:hover:not(:disabled)[b-q64k7jv2tw] {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: #3B82F6;
}

.btn-danger[b-q64k7jv2tw] {
    background-color: #DC2626;
    color: #FFFFFF;
}

.btn-danger:hover:not(:disabled)[b-q64k7jv2tw] {
    background-color: #B91C1C;
}

.modal-overlay[b-q64k7jv2tw] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.modal-container[b-q64k7jv2tw] {
    background: #181B22;
    border: 1px solid #323743;
    border-radius: 12px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.modal-header[b-q64k7jv2tw] {
    padding: 24px 24px 16px 24px;
    border-bottom: 1px solid #323743;
}

.modal-header h3[b-q64k7jv2tw] {
    margin: 0;
    color: #FFFFFF;
    font-size: 20px;
    font-weight: 600;
}

.modal-body[b-q64k7jv2tw] {
    padding: 24px;
}

.modal-body p[b-q64k7jv2tw] {
    color: #E5E7EB;
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 12px 0;
}

.modal-body strong[b-q64k7jv2tw] {
    color: #FFFFFF;
    font-weight: 600;
}

.warning-text[b-q64k7jv2tw] {
    color: #FCA5A5 !important;
    font-size: 14px !important;
}

.modal-actions[b-q64k7jv2tw] {
    padding: 16px 24px 24px 24px;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.spinner-border[b-q64k7jv2tw] {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    vertical-align: text-bottom;
    border: 0.15em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner-border-b-q64k7jv2tw 0.75s linear infinite;
}

.spinner-border-sm[b-q64k7jv2tw] {
    width: 0.875rem;
    height: 0.875rem;
    border-width: 0.125em;
}

.me-2[b-q64k7jv2tw] {
    margin-right: 0.5rem;
}

@keyframes spinner-border-b-q64k7jv2tw {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 767px) {
    .profile-list-container[b-q64k7jv2tw] {
        padding: 16px;
    }

    .profiles-grid[b-q64k7jv2tw] {
        grid-template-columns: 1fr;
    }

    .profile-card-actions[b-q64k7jv2tw] {
        flex-direction: column;
    }

    .profile-card-actions .btn[b-q64k7jv2tw] {
        width: 100%;
    }
}
/* /Components/Shared/ColorPicker.razor.rz.scp.css */
.color-picker-container[b-b475tzgtnt] {
    margin-bottom: 1rem;
}

.color-picker-label[b-b475tzgtnt] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    cursor: pointer;
}

.label-text[b-b475tzgtnt] {
    color: #9CA3AF;
    font-size: 0.875rem;
    font-weight: 500;
}

.color-picker-wrapper[b-b475tzgtnt] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    background-color: #1F2937;
    border: 1px solid #374151;
    border-radius: 0.375rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.color-picker-wrapper:hover[b-b475tzgtnt] {
    border-color: #4B5563;
}

.color-picker-wrapper:focus-within[b-b475tzgtnt] {
    border-color: #3B82F6;
    box-shadow: 0 0 0 0.1rem rgba(59, 130, 246, 0.5), 0 0 0 0.25rem rgba(59, 130, 246, 0.25);
}

.color-picker-input[b-b475tzgtnt] {
    width: 3rem;
    height: 2.5rem;
    border: none;
    border-radius: 0.25rem;
    cursor: pointer;
    background: none;
    padding: 0;
}

.color-picker-input[b-b475tzgtnt]::-webkit-color-swatch-wrapper {
    padding: 0;
}

.color-picker-input[b-b475tzgtnt]::-webkit-color-swatch {
    border: 2px solid #374151;
    border-radius: 0.25rem;
}

.color-picker-input[b-b475tzgtnt]::-moz-color-swatch {
    border: 2px solid #374151;
    border-radius: 0.25rem;
}

.color-picker-input:disabled[b-b475tzgtnt] {
    cursor: not-allowed;
    opacity: 0.5;
}

.color-preview[b-b475tzgtnt] {
    width: 2.5rem;
    height: 2.5rem;
    border: 2px solid #374151;
    border-radius: 0.25rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.color-value-text[b-b475tzgtnt] {
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 0.875rem;
    color: #E5E7EB;
    font-weight: 500;
    flex: 1;
    user-select: all;
}

/* Mobile optimization */
@media (max-width: 640px) {
    .color-picker-input[b-b475tzgtnt] {
        width: 2.5rem;
        height: 2rem;
    }

    .color-preview[b-b475tzgtnt] {
        width: 2rem;
        height: 2rem;
    }

    .color-value-text[b-b475tzgtnt] {
        font-size: 0.75rem;
    }
}

/* Tablet optimization */
@media (min-width: 641px) and (max-width: 1024px) {
    .color-picker-wrapper[b-b475tzgtnt] {
        padding: 0.625rem;
    }
}
