/* /Components/Layout/MainLayout.razor.rz.scp.css */
.app-shell[b-p5qkqigsx1] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.app-header[b-p5qkqigsx1] {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1.5rem;
    background: #1a1a2e;
    color: #e0e0e0;
    border-bottom: 2px solid #16213e;
    position: sticky;
    top: 0;
    z-index: 100;
    flex-wrap: wrap;
}

.app-logo[b-p5qkqigsx1] {
    font-size: 1.25rem;
    font-weight: 700;
    color: #e94560;
    text-decoration: none;
}

.app-logo:hover[b-p5qkqigsx1] {
    color: #ff6b81;
}

.app-subtitle[b-p5qkqigsx1] {
    font-size: 0.85rem;
    color: #8888a0;
}

.app-header-spacer[b-p5qkqigsx1] {
    flex: 1;
}

.app-user[b-p5qkqigsx1] {
    font-size: 0.8rem;
    color: #aab;
}

.header-link[b-p5qkqigsx1] {
    font-size: 0.8rem;
    color: #8ba8d9;
    text-decoration: none;
}

.header-link:hover[b-p5qkqigsx1] {
    color: #c0d0f0;
    text-decoration: underline;
}

.btn-logout[b-p5qkqigsx1] {
    background: none;
    border: 1px solid #555;
    color: #ccc;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.78rem;
}

.btn-logout:hover[b-p5qkqigsx1] {
    background: #333;
    color: #fff;
}

.app-main[b-p5qkqigsx1] {
    flex: 1;
    padding: 1.5rem;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.app-footer[b-p5qkqigsx1] {
    text-align: center;
    padding: 1rem;
    color: #999;
    border-top: 1px solid #e0e0e0;
    background: #fafafa;
}

#blazor-error-ui[b-p5qkqigsx1] {
    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-p5qkqigsx1] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

@media (max-width: 768px) {
    .app-main[b-p5qkqigsx1] {
        padding: 1rem 0.75rem;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-2om0kj778r],
.components-reconnect-repeated-attempt-visible[b-2om0kj778r],
.components-reconnect-failed-visible[b-2om0kj778r],
.components-pause-visible[b-2om0kj778r],
.components-resume-failed-visible[b-2om0kj778r],
.components-rejoining-animation[b-2om0kj778r] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-2om0kj778r],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-2om0kj778r],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-2om0kj778r],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-2om0kj778r],
#components-reconnect-modal.components-reconnect-retrying[b-2om0kj778r],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-2om0kj778r],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-2om0kj778r],
#components-reconnect-modal.components-reconnect-failed[b-2om0kj778r],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-2om0kj778r] {
    display: block;
}


#components-reconnect-modal[b-2om0kj778r] {
    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-2om0kj778r 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-2om0kj778r 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-2om0kj778r 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-2om0kj778r]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-2om0kj778r 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-2om0kj778r {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-2om0kj778r {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-2om0kj778r {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-2om0kj778r] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-2om0kj778r] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-2om0kj778r] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-2om0kj778r] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-2om0kj778r] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-2om0kj778r] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-2om0kj778r] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-2om0kj778r 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-2om0kj778r] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-2om0kj778r {
    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/ContactDetail.razor.rz.scp.css */
.detail[b-lvlxgfgbpk] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 800px;
}

.detail-nav[b-lvlxgfgbpk] {
    margin-bottom: 0.25rem;
}

.card[b-lvlxgfgbpk] {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1.25rem;
}

.card h2[b-lvlxgfgbpk] {
    margin: 0 0 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
}

.card-head[b-lvlxgfgbpk] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.card-head h2[b-lvlxgfgbpk] {
    margin: 0;
}

.row[b-lvlxgfgbpk] {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: flex-end;
}

.group[b-lvlxgfgbpk] {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    flex: 1;
    min-width: 150px;
    margin-bottom: 0.5rem;
}

.group-sm[b-lvlxgfgbpk] {
    flex: 0 0 130px;
    min-width: 110px;
}

.group label[b-lvlxgfgbpk] {
    font-size: 0.7rem;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.group[b-lvlxgfgbpk]  input,
.group[b-lvlxgfgbpk]  select {
    padding: 0.4rem 0.6rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 0.875rem;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.15s;
}

.group[b-lvlxgfgbpk]  input:focus {
    outline: none;
    border-color: #4a90d9;
    box-shadow: 0 0 0 2px rgba(74, 144, 217, 0.15);
}

.group[b-lvlxgfgbpk]  .validation-message {
    color: #c62828;
    font-size: 0.75rem;
}

.child-item[b-lvlxgfgbpk] {
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 6px;
}

.hint[b-lvlxgfgbpk] {
    color: #aaa;
    font-size: 0.85rem;
    font-style: italic;
    margin: 0;
}

/* ── Photo ───────────────────────────────────────────────────────────────── */

.photo-row[b-lvlxgfgbpk] {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.avatar-lg[b-lvlxgfgbpk] {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ddd;
}

.avatar-empty[b-lvlxgfgbpk] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eee;
    color: #999;
    font-size: 0.8rem;
}

.photo-upload[b-lvlxgfgbpk] {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    font-size: 0.85rem;
}

/* ── Banners ─────────────────────────────────────────────────────────────── */

.banner[b-lvlxgfgbpk] {
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
}

.banner-error[b-lvlxgfgbpk] {
    background: #ffeaea;
    color: #c62828;
    border: 1px solid #f5c6c6;
}

.banner-success[b-lvlxgfgbpk] {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.status[b-lvlxgfgbpk] {
    text-align: center;
    color: #888;
    padding: 2rem;
}

/* ── Actions ─────────────────────────────────────────────────────────────── */

.actions[b-lvlxgfgbpk] {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
}

.confirm-delete[b-lvlxgfgbpk] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #c62828;
    font-weight: 500;
}

/* ── Notes ────────────────────────────────────────────────────────────────── */

.note-input[b-lvlxgfgbpk] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.note-textarea[b-lvlxgfgbpk] {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.875rem;
    resize: vertical;
    box-sizing: border-box;
}

.note-textarea:focus[b-lvlxgfgbpk] {
    outline: none;
    border-color: #4a90d9;
    box-shadow: 0 0 0 2px rgba(74, 144, 217, 0.15);
}

.notes-list[b-lvlxgfgbpk] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.note-item[b-lvlxgfgbpk] {
    padding: 0.75rem;
    background: #f8f9fa;
    border: 1px solid #eee;
    border-radius: 6px;
}

.note-meta[b-lvlxgfgbpk] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.35rem;
    font-size: 0.78rem;
    color: #666;
}

.note-date[b-lvlxgfgbpk] {
    color: #999;
}

.note-content[b-lvlxgfgbpk] {
    font-size: 0.875rem;
    white-space: pre-wrap;
    line-height: 1.5;
}

/* ── Buttons (scoped) ────────────────────────────────────────────────────── */

.btn[b-lvlxgfgbpk] {
    padding: 0.45rem 0.9rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    transition: background 0.15s;
}

.btn:disabled[b-lvlxgfgbpk] {
    opacity: 0.5;
    cursor: default;
}

.btn-primary[b-lvlxgfgbpk] {
    background: #e94560;
    color: #fff;
}

.btn-primary:hover:not(:disabled)[b-lvlxgfgbpk] {
    background: #c73650;
}

.btn-secondary[b-lvlxgfgbpk] {
    background: #e0e0e0;
    color: #333;
}

.btn-secondary:hover:not(:disabled)[b-lvlxgfgbpk] {
    background: #d0d0d0;
}

.btn-danger[b-lvlxgfgbpk] {
    background: #c62828;
    color: #fff;
}

.btn-danger:hover:not(:disabled)[b-lvlxgfgbpk] {
    background: #a11b1b;
}

.btn-danger-sm[b-lvlxgfgbpk] {
    background: #ef5350;
    color: #fff;
    padding: 0.25rem 0.75rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
}

.btn-ghost[b-lvlxgfgbpk] {
    background: none;
    color: #4a90d9;
    padding: 0.25rem 0.5rem;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-ghost:hover[b-lvlxgfgbpk] {
    text-decoration: underline;
}

.btn-add[b-lvlxgfgbpk] {
    background: #4a90d9;
    color: #fff;
    padding: 0.3rem 0.75rem;
    font-size: 0.8rem;
}

.btn-add:hover[b-lvlxgfgbpk] {
    background: #3a7ac0;
}

.btn-x[b-lvlxgfgbpk] {
    background: none;
    border: none;
    color: #c62828;
    cursor: pointer;
    font-size: 1.1rem;
    padding: 0.2rem 0.5rem;
    align-self: center;
    flex: 0 0 auto;
    line-height: 1;
}

.btn-x:hover[b-lvlxgfgbpk] {
    color: #e53935;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */

@media (max-width: 600px) {
    .group[b-lvlxgfgbpk] {
        min-width: 100%;
    }

    .group-sm[b-lvlxgfgbpk] {
        flex: 1;
        min-width: 100%;
    }

    .confirm-delete[b-lvlxgfgbpk] {
        flex-wrap: wrap;
    }
}
/* /Components/Pages/ContactList.razor.rz.scp.css */
/* ── Page layout ─────────────────────────────────────────────────────────── */

.page[b-mmwr1ehjq7] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.page-header[b-mmwr1ehjq7] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.page-header h1[b-mmwr1ehjq7] {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

/* ── Filters ─────────────────────────────────────────────────────────────── */

.filter-panel[b-mmwr1ehjq7] {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 0.75rem 1rem;
}

.filter-toggle[b-mmwr1ehjq7] {
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    user-select: none;
}

.filter-grid[b-mmwr1ehjq7] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.field[b-mmwr1ehjq7] {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.field label[b-mmwr1ehjq7] {
    font-size: 0.7rem;
    font-weight: 600;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.field input[b-mmwr1ehjq7],
.field select[b-mmwr1ehjq7] {
    padding: 0.4rem 0.6rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 0.875rem;
    transition: border-color 0.15s;
}

.field input:focus[b-mmwr1ehjq7],
.field select:focus[b-mmwr1ehjq7] {
    outline: none;
    border-color: #4a90d9;
    box-shadow: 0 0 0 2px rgba(74, 144, 217, 0.15);
}

/* ── Table ────────────────────────────────────────────────────────────────── */

.table-responsive[b-mmwr1ehjq7] {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.data-table[b-mmwr1ehjq7] {
    width: 100%;
    border-collapse: collapse;
}

.data-table th[b-mmwr1ehjq7],
.data-table td[b-mmwr1ehjq7] {
    padding: 0.6rem 0.75rem;
    text-align: left;
    border-bottom: 1px solid #eee;
    white-space: nowrap;
}

.data-table th[b-mmwr1ehjq7] {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #888;
    font-weight: 600;
    position: sticky;
    top: 0;
    background: #fff;
}

.row-link[b-mmwr1ehjq7] {
    cursor: pointer;
    transition: background 0.1s;
}

.row-link:hover[b-mmwr1ehjq7] {
    background: #f0f4ff;
}

.row-link:focus-visible[b-mmwr1ehjq7] {
    outline: 2px solid #4a90d9;
    outline-offset: -2px;
}

.col-avatar[b-mmwr1ehjq7] {
    width: 44px;
    padding-right: 0;
}

.avatar[b-mmwr1ehjq7] {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.avatar-initials[b-mmwr1ehjq7] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #e0e4ea;
    color: #555;
    font-size: 0.7rem;
    font-weight: 700;
}

.name-primary[b-mmwr1ehjq7] {
    font-weight: 500;
}

.name-secondary[b-mmwr1ehjq7] {
    display: none;
    font-size: 0.8rem;
    color: #888;
}

/* ── Pagination ──────────────────────────────────────────────────────────── */

.pager[b-mmwr1ehjq7] {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
}

.pager-info[b-mmwr1ehjq7] {
    font-size: 0.85rem;
    color: #666;
}

/* ── Status ──────────────────────────────────────────────────────────────── */

.status[b-mmwr1ehjq7] {
    text-align: center;
    color: #888;
    padding: 3rem 1rem;
    font-size: 0.95rem;
}

/* ── Buttons (scoped) ────────────────────────────────────────────────────── */

.btn[b-mmwr1ehjq7] {
    padding: 0.45rem 0.9rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    transition: background 0.15s;
}

.btn:disabled[b-mmwr1ehjq7] {
    opacity: 0.5;
    cursor: default;
}

.btn-primary[b-mmwr1ehjq7] {
    background: #e94560;
    color: #fff;
}

.btn-primary:hover:not(:disabled)[b-mmwr1ehjq7] {
    background: #c73650;
}

.btn-sm[b-mmwr1ehjq7] {
    padding: 0.3rem 0.7rem;
    font-size: 0.8rem;
    background: #e8e8e8;
    color: #333;
}

.btn-sm:hover:not(:disabled)[b-mmwr1ehjq7] {
    background: #ddd;
}

.btn-text[b-mmwr1ehjq7] {
    background: none;
    color: #4a90d9;
    padding: 0.25rem 0;
    font-size: 0.8rem;
}

.btn-text:hover[b-mmwr1ehjq7] {
    text-decoration: underline;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */

@media (max-width: 900px) {
    .hide-md[b-mmwr1ehjq7] {
        display: none;
    }
}

@media (max-width: 600px) {
    .hide-sm[b-mmwr1ehjq7] {
        display: none;
    }

    .name-secondary[b-mmwr1ehjq7] {
        display: block;
    }

    .filter-grid[b-mmwr1ehjq7] {
        grid-template-columns: 1fr;
    }
}
