/* _content/NetworkNodesApp/Components/NetworkGraph.razor.rz.scp.css */
.network-graph-wrapper[b-1fxe8pl79k] {
    position: relative;
    width: 100%;
    height: 100%;
    aspect-ratio: unset;
    margin: 0;
    background: transparent;
    overflow: hidden;
    touch-action: none;
}

/* ---- Family Tree view: light, printed-chart look instead of the dark network canvas ---- */
.network-graph-wrapper.family-tree-active[b-1fxe8pl79k] {
    background: #fbfaf7;
}

.family-tree-banner[b-1fxe8pl79k] {
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 6;
    pointer-events: none;
}

.family-tree-banner-ribbon[b-1fxe8pl79k] {
    position: relative;
    display: inline-block;
    background: #8fd9c4;
    color: #1b3a34;
    font-family: "Segoe UI", system-ui, sans-serif;
    font-weight: 800;
    font-size: 16px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 10px 30px;
    border-radius: 4px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.family-tree-banner-ribbon[b-1fxe8pl79k]::before,
.family-tree-banner-ribbon[b-1fxe8pl79k]::after {
    content: "";
    position: absolute;
    top: 4px;
    width: 0;
    height: 0;
    border-style: solid;
}

.family-tree-banner-ribbon[b-1fxe8pl79k]::before {
    left: -13px;
    border-width: 13px 13px 13px 0;
    border-color: transparent #6fc4ac transparent transparent;
}

.family-tree-banner-ribbon[b-1fxe8pl79k]::after {
    right: -13px;
    border-width: 13px 0 13px 13px;
    border-color: transparent transparent transparent #6fc4ac;
}

.family-tree-active .node-label[b-1fxe8pl79k] {
    color: #263238;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.family-tree-active .edge-line[b-1fxe8pl79k] {
    stroke: #7fcdbb !important;
    stroke-width: 3;
    opacity: 1;
}

.family-tree-edge[b-1fxe8pl79k] {
    stroke-linecap: round;
    stroke-linejoin: round;
}

.family-tree-active .node-pulse-ring[b-1fxe8pl79k] {
    display: none;
}

.family-tree-active .node-avatar[b-1fxe8pl79k] {
    animation: none;
}

.family-tree-active .node-ring[b-1fxe8pl79k] {
    border-color: rgba(0, 0, 0, 0.15) !important;
}

.family-tree-active .node-circle[b-1fxe8pl79k] {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

/* ---- Edges (SVG overlay behind the node layer) ---- */
.network-graph-lines[b-1fxe8pl79k] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    overflow: visible;
}

.edge-line[b-1fxe8pl79k] {
    stroke-width: 2;
    opacity: 0.7;
}

.edge-hit-area[b-1fxe8pl79k] {
    stroke: transparent;
    stroke-width: 14;
    cursor: pointer;
    fill: none;
}

.edge-hit-area:hover ~ .edge-line[b-1fxe8pl79k] {
    opacity: 1;
}

.edge-label[b-1fxe8pl79k] {
    font-size: 6px;
    font-family: "Segoe UI", system-ui, sans-serif;
    font-weight: 600;
    pointer-events: none;
}

.edge-tooltip[b-1fxe8pl79k] {
    position: fixed;
    z-index: 30;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    padding: 8px 12px;
    pointer-events: none;
    font-family: "Segoe UI", system-ui, sans-serif;
    font-size: 12px;
    color: #333;
    white-space: nowrap;
}

.edge-tooltip-names[b-1fxe8pl79k] {
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 4px;
}

.edge-tooltip-rels[b-1fxe8pl79k] {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.edge-tooltip-tag[b-1fxe8pl79k] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 10px;
    border: 1.5px solid;
    font-size: 11px;
    font-weight: 600;
}

.edge-tooltip-dot[b-1fxe8pl79k] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
/* ---- Nodes (plain HTML, positioned by percentage) ---- */
.nodes-layer[b-1fxe8pl79k] {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.15s ease-out;
}

.node[b-1fxe8pl79k] {
    position: absolute;
    aspect-ratio: 1 / 1;
    transform: translate(-50%, -50%);
    cursor: pointer;
}

.node-circle[b-1fxe8pl79k] {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.node-avatar[b-1fxe8pl79k] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
    animation: avatar-breathe-b-1fxe8pl79k 3s ease-in-out infinite;
}

@keyframes avatar-breathe-b-1fxe8pl79k {
    0%, 100% { transform: scale(1) rotate(0deg); }
    30% { transform: scale(1.04) rotate(1.5deg); }
    60% { transform: scale(1.02) rotate(-1deg); }
}

.node-face-avatar[b-1fxe8pl79k] {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.face-eye[b-1fxe8pl79k] {
    animation: blink-b-1fxe8pl79k 4s infinite;
    transform-origin: center;
}

.eye-right[b-1fxe8pl79k] {
    animation-delay: 0.05s; /* tiny offset so both eyes don't blink in perfect unison */
}

.face-mouth[b-1fxe8pl79k] {
    fill: none;
    stroke-width: 4;
    stroke-linecap: round;
}

@keyframes blink-b-1fxe8pl79k {
    0%, 92%, 100% {
        transform: scaleY(1);
    }

    95% {
        transform: scaleY(0.1);
    }
}

.node-pulse-ring[b-1fxe8pl79k] {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid;
    opacity: 0.7;
    animation: pulse-b-1fxe8pl79k 2.4s ease-out infinite;
}

@keyframes pulse-b-1fxe8pl79k {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }

    70% {
        transform: scale(1.45);
        opacity: 0;
    }

    100% {
        transform: scale(1.45);
        opacity: 0;
    }
}

.node-ring[b-1fxe8pl79k] {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 3px solid;
    pointer-events: none;
}

.node.selected .node-ring[b-1fxe8pl79k] {
    border-width: 5px;
    filter: drop-shadow(0 0 6px currentColor);
}

.node.drop-highlight .node-ring[b-1fxe8pl79k] {
    border-width: 5px;
    border-color: #4fc3f7 !important;
    filter: drop-shadow(0 0 12px #4fc3f7);
    animation: drop-pulse-b-1fxe8pl79k 0.6s ease-in-out infinite alternate;
}

@keyframes drop-pulse-b-1fxe8pl79k {
    from { filter: drop-shadow(0 0 8px #4fc3f7); }
    to { filter: drop-shadow(0 0 18px #4fc3f7cc); }
}

.node-label[b-1fxe8pl79k] {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 8px;
    white-space: nowrap;
    color: #e6ecff;
    font-size: 12px;
    font-family: "Segoe UI", system-ui, sans-serif;
}

.node-details[b-1fxe8pl79k] {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: rgba(15, 22, 40, 0.9);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 10px;
    padding: 10px 14px;
    color: #e6ecff;
    font-family: "Segoe UI", system-ui, sans-serif;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.context-menu[b-1fxe8pl79k] {
    position: fixed;
    z-index: 20;
    background: #ffffff;
    border-radius: 12px;
    width: clamp(340px, 30vw, 640px);
    max-width: calc(100vw - 32px);
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    color: #333;
    font-size: 13px;
    font-family: "Segoe UI", system-ui, sans-serif;
    pointer-events: auto;
}

.context-actions[b-1fxe8pl79k] {
    display: flex;
    border-top: 1px solid #e0e0e0;
}

.context-action-btn[b-1fxe8pl79k] {
    flex: 1;
    background: transparent;
    border: none;
    border-right: 1px solid #e0e0e0;
    color: #1a73e8;
    padding: 10px 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    font-family: "Segoe UI", system-ui, sans-serif;
}

.context-action-btn:last-child[b-1fxe8pl79k] {
    border-right: none;
}

.context-action-btn:hover[b-1fxe8pl79k] {
    background: rgba(26, 115, 232, 0.08);
}

.family-tree-toggle-btn.active[b-1fxe8pl79k] {
    background: #e74c3c;
    color: #fff;
}

.family-tree-toggle-btn.active:hover[b-1fxe8pl79k] {
    background: #d33e2e;
}

.search-section[b-1fxe8pl79k] {
    border-top: 1px solid #e0e0e0;
}

.search-mode-toggle[b-1fxe8pl79k] {
    display: flex;
    gap: 12px;
    padding: 2px 12px 4px;
}

.search-mode-option[b-1fxe8pl79k] {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.82em;
    color: #ccc;
    cursor: pointer;
}

.search-mode-option input[type="radio"][b-1fxe8pl79k] {
    accent-color: #4f8cff;
    margin: 0;
    cursor: pointer;
}

.search-input-wrap[b-1fxe8pl79k] {
    position: relative;
    padding: 4px 12px 8px;
}

.search-input[b-1fxe8pl79k] {
    width: 100%;
    padding: 7px 28px 7px 10px;
    border: 1.5px solid #d0d0d0;
    border-radius: 6px;
    font-size: 13px;
    font-family: "Segoe UI", system-ui, sans-serif;
    color: #333;
    outline: none;
    box-sizing: border-box;
}

.search-input:focus[b-1fxe8pl79k] {
    border-color: #1a73e8;
}

.search-input[b-1fxe8pl79k]::placeholder {
    color: #bbb;
}

.search-clear[b-1fxe8pl79k] {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #999;
    font-size: 11px;
    cursor: pointer;
    padding: 2px 4px;
}

.search-clear:hover[b-1fxe8pl79k] {
    color: #333;
}

.search-results[b-1fxe8pl79k] {
    max-height: 160px;
    overflow-y: auto;
    border-top: 1px solid #f0f0f0;
}

.search-result-item[b-1fxe8pl79k] {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    padding: 8px 12px;
    border-bottom: 1px solid #f0f0f0;
    font-family: "Segoe UI", system-ui, sans-serif;
    color: #333;
}

.search-result-item:last-child[b-1fxe8pl79k] {
    border-bottom: none;
}

.search-result-item:hover[b-1fxe8pl79k] {
    background: rgba(26, 115, 232, 0.06);
}

.search-result-main[b-1fxe8pl79k] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
    background: transparent;
    border: none;
    padding: 0;
    text-align: left;
    font-family: inherit;
    color: inherit;
    cursor: pointer;
}

.village-request-btn[b-1fxe8pl79k] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    background: #f0f4ff;
    color: #1a73e8;
    border: 1.5px solid #1a73e8;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.village-request-btn:hover[b-1fxe8pl79k] {
    background: #1a73e8;
    color: #fff;
}

.village-request-btn.pending[b-1fxe8pl79k] {
    background: #fff8e1;
    color: #f5a623;
    border-color: #f5a623;
}

.village-request-btn.pending:hover[b-1fxe8pl79k] {
    background: #f5a623;
    color: #fff;
}

.village-requests-section[b-1fxe8pl79k] {
    border-top: 1px solid #e0e0e0;
    padding: 6px 0;
}

.village-request-item[b-1fxe8pl79k] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
}

.village-request-info[b-1fxe8pl79k] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.village-request-types[b-1fxe8pl79k] {
    font-size: 11px;
    color: #888;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.village-request-actions[b-1fxe8pl79k] {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.village-accept-btn[b-1fxe8pl79k],
.village-decline-btn[b-1fxe8pl79k] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 6px;
    border: 1.5px solid;
    cursor: pointer;
    font-size: 13px;
    line-height: 1;
    transition: all 0.15s ease;
}

.village-accept-btn[b-1fxe8pl79k] {
    background: #f0fff4;
    color: #2ecc71;
    border-color: #2ecc71;
}

.village-accept-btn:hover[b-1fxe8pl79k] {
    background: #2ecc71;
    color: #fff;
}

.village-decline-btn[b-1fxe8pl79k] {
    background: #fff0f0;
    color: #e53935;
    border-color: #e53935;
}

.village-decline-btn:hover[b-1fxe8pl79k] {
    background: #e53935;
    color: #fff;
}

.search-result-avatar[b-1fxe8pl79k] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.search-result-info[b-1fxe8pl79k] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.search-result-name[b-1fxe8pl79k] {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
}

.search-result-title[b-1fxe8pl79k] {
    font-size: 11px;
    color: #888;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.search-result-village[b-1fxe8pl79k] {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
    font-size: 11px;
    font-weight: 600;
    color: #2ecc71;
}

.search-no-results[b-1fxe8pl79k] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    padding: 10px 12px;
    font-size: 12px;
    color: #aaa;
}

.invite-btn[b-1fxe8pl79k] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    background: #f0f4ff;
    color: #1a73e8;
    border: 1.5px solid #1a73e8;
    border-radius: 14px;
    font-size: 11px;
    font-weight: 600;
    font-family: "Segoe UI", system-ui, sans-serif;
    cursor: pointer;
    transition: all 0.15s ease;
}

.invite-btn:hover[b-1fxe8pl79k] {
    background: #1a73e8;
    color: #fff;
}

.invite-btn:disabled[b-1fxe8pl79k] {
    opacity: 0.6;
    cursor: default;
}

.invite-status[b-1fxe8pl79k] {
    text-align: center;
    padding: 0 12px 10px;
    font-size: 11px;
    color: #2e7d32;
}

.invite-status-error[b-1fxe8pl79k] {
    color: #e53935;
}

.invite-prompt[b-1fxe8pl79k] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 12px 10px;
}

.invite-email-input[b-1fxe8pl79k] {
    flex: 1;
    min-width: 0;
    padding: 6px 8px;
    border: 1.5px solid #d0d0d0;
    border-radius: 6px;
    font-size: 12px;
    font-family: "Segoe UI", system-ui, sans-serif;
    color: #333;
    outline: none;
    box-sizing: border-box;
}

.invite-email-input:focus[b-1fxe8pl79k] {
    border-color: #1a73e8;
}

.invite-send-btn[b-1fxe8pl79k],
.invite-cancel-btn[b-1fxe8pl79k] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: #f0f4ff;
    color: #1a73e8;
    border: 1.5px solid #1a73e8;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.invite-send-btn:hover[b-1fxe8pl79k] {
    background: #1a73e8;
    color: #fff;
}

.invite-cancel-btn[b-1fxe8pl79k] {
    background: transparent;
    color: #999;
    border-color: #d0d0d0;
}

.invite-cancel-btn:hover[b-1fxe8pl79k] {
    background: #f5f5f5;
    color: #333;
}

.invite-send-btn:disabled[b-1fxe8pl79k],
.invite-cancel-btn:disabled[b-1fxe8pl79k] {
    opacity: 0.6;
    cursor: default;
}

.qr-hint[b-1fxe8pl79k] {
    font-size: 9px;
    color: rgba(255,255,255,0.6);
    text-align: center;
    margin-top: 2px;
}

.tooltip-vcf[b-1fxe8pl79k] {
    display: flex;
    justify-content: center;
    padding: 10px 12px;
    border-top: 1px solid #e0e0e0;
}

.vcf-download-btn[b-1fxe8pl79k] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    margin-top: 10px;
    margin-bottom: 12px;
    background: #f0f4ff;
    color: #1a73e8;
    border: 1.5px solid #1a73e8;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    font-family: "Segoe UI", system-ui, sans-serif;
    cursor: pointer;
    transition: all 0.15s ease;
}

.vcf-download-btn:hover[b-1fxe8pl79k] {
    background: #1a73e8;
    color: #fff;
}

.context-filters[b-1fxe8pl79k] {
    border-top: 1px solid #e0e0e0;
}

.context-filters-header[b-1fxe8pl79k] {
    color: #888;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 12px 4px;
}

.link-level-bar[b-1fxe8pl79k] {
    display: flex;
    padding: 4px 12px 8px;
    gap: 6px;
}

.link-level-btn[b-1fxe8pl79k] {
    flex: 1;
    background: transparent;
    border: 1.5px solid #d0d0d0;
    border-radius: 6px;
    color: #888;
    padding: 5px 0;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    font-family: "Segoe UI", system-ui, sans-serif;
    transition: all 0.15s ease;
}

.link-level-btn:hover[b-1fxe8pl79k] {
    border-color: #1a73e8;
    color: #1a73e8;
}

.link-level-btn.active[b-1fxe8pl79k] {
    background: #1a73e8;
    border-color: #1a73e8;
    color: #fff;
}

.context-filters-list[b-1fxe8pl79k] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 0;
}

.context-filters-actions[b-1fxe8pl79k] {
    display: flex;
    border-top: 1px solid #e0e0e0;
}

.filter-item[b-1fxe8pl79k] {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 10px;
    font-size: 11px;
    opacity: 0.4;
    background: transparent;
    border: none;
    border-top: 1px solid #e0e0e0;
    border-right: 1px solid #e0e0e0;
    cursor: pointer;
    color: #333;
    font-family: "Segoe UI", system-ui, sans-serif;
}

.filter-item:nth-child(2n)[b-1fxe8pl79k] {
    border-right: none;
}

.filter-item:hover[b-1fxe8pl79k] {
    background: rgba(0, 0, 0, 0.06);
}

.filter-item.active[b-1fxe8pl79k] {
    opacity: 1;
}

.filter-check[b-1fxe8pl79k] {
    width: 14px;
    font-size: 12px;
    text-align: center;
    flex-shrink: 0;
}

.filter-dot[b-1fxe8pl79k] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.connections-list[b-1fxe8pl79k] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 4px;
}

.connection-item[b-1fxe8pl79k] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
}

.connection-dots[b-1fxe8pl79k] {
    display: flex;
    gap: 2px;
    flex-shrink: 0;
}

.connection-dot[b-1fxe8pl79k] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.properties-list[b-1fxe8pl79k] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 4px;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.property-item[b-1fxe8pl79k] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
}

.property-icon[b-1fxe8pl79k] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.property-icon svg[b-1fxe8pl79k] {
    width: 14px;
    height: 14px;
}

.property-label[b-1fxe8pl79k] {
    color: rgba(255, 255, 255, 0.5);
    flex-shrink: 0;
    font-size: 13px;
    min-width: 70px;
}

.property-key[b-1fxe8pl79k] {
    color: rgba(255, 255, 255, 0.5);
    flex-shrink: 0;
}

.property-link[b-1fxe8pl79k] {
    color: #4fc3f7;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 200px;
}

.property-link:hover[b-1fxe8pl79k] {
    text-decoration: underline;
}

.property-value[b-1fxe8pl79k] {
    color: #e6ecff;
}

.modal-overlay[b-1fxe8pl79k] {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 30;
}

/* Shifted 25% left of center (instead of dead-center) so it sits closer to
   the "my node" panel it was opened from, leaving the rest of a wide window
   free instead of centering across the whole viewport. */
.village-request-overlay[b-1fxe8pl79k] {
    justify-content: flex-start;
}

.village-request-overlay .modal-panel[b-1fxe8pl79k] {
    margin-left: 25%;
    transform: translateX(-50%);
}

.modal-panel[b-1fxe8pl79k] {
    background: rgba(20, 25, 40, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 0;
    min-width: 380px;
    max-width: 480px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    font-family: "Segoe UI", system-ui, sans-serif;
    color: #e6ecff;
}

.modal-header[b-1fxe8pl79k] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 15px;
}

.modal-close[b-1fxe8pl79k] {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
}

.modal-close:hover[b-1fxe8pl79k] {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.modal-body[b-1fxe8pl79k] {
    padding: 14px 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 300px;
    overflow-y: auto;
}

.drop-confirm-content[b-1fxe8pl79k] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
}

.drop-confirm-icon[b-1fxe8pl79k] {
    transform: scale(2);
    margin: 8px 0;
}

.drop-confirm-type[b-1fxe8pl79k] {
    font-weight: 600;
    font-size: 1.1em;
    color: #fff;
}

.drop-confirm-url[b-1fxe8pl79k] {
    font-size: 0.85em;
    color: #aaa;
    word-break: break-all;
    text-align: center;
    max-width: 100%;
}

.property-row[b-1fxe8pl79k] {
    display: flex;
    gap: 6px;
    align-items: center;
}

.property-input[b-1fxe8pl79k] {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    color: #e6ecff;
    padding: 6px 10px;
    font-size: 13px;
    font-family: inherit;
    outline: none;
}

.property-input:focus[b-1fxe8pl79k] {
    border-color: rgba(79, 140, 255, 0.6);
}

.key-input[b-1fxe8pl79k] {
    width: 100px;
    flex-shrink: 0;
}

select.property-input option[b-1fxe8pl79k] {
    background: #1a1a2e;
    color: #e6ecff;
}

.value-input[b-1fxe8pl79k] {
    flex: 1;
    min-width: 0;
}

.property-remove[b-1fxe8pl79k],
.property-add[b-1fxe8pl79k] {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #e6ecff;
    width: 30px;
    height: 30px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.property-remove:hover[b-1fxe8pl79k] {
    background: rgba(231, 76, 60, 0.3);
    border-color: #e74c3c;
    color: #e74c3c;
}

.property-add:hover:not(:disabled)[b-1fxe8pl79k] {
    background: rgba(46, 204, 113, 0.3);
    border-color: #2ecc71;
    color: #2ecc71;
}

.property-add:disabled[b-1fxe8pl79k] {
    opacity: 0.3;
    cursor: not-allowed;
}

.property-row-group[b-1fxe8pl79k] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 4px;
}

.property-visibility-row[b-1fxe8pl79k] {
    display: flex;
    align-items: center;
    gap: 4px;
    padding-left: 28px;
}

.visibility-label[b-1fxe8pl79k] {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    margin-right: 2px;
    white-space: nowrap;
}

.visibility-checkbox[b-1fxe8pl79k] {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.visibility-checkbox input[type="checkbox"][b-1fxe8pl79k] {
    accent-color: var(--cat-color);
    width: 14px;
    height: 14px;
    cursor: pointer;
    margin: 0;
}

.visibility-checkbox-label[b-1fxe8pl79k] {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
}

.search-visibility-group[b-1fxe8pl79k] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-bottom: 12px;
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.search-visibility-toggle input[type="checkbox"][b-1fxe8pl79k] {
    accent-color: #4f8cff;
    width: 15px;
    height: 15px;
}

.search-visibility-toggle .visibility-checkbox-label[b-1fxe8pl79k] {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
}

.search-visibility-hint[b-1fxe8pl79k] {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.45);
    padding-left: 23px;
}

.village-request-hint[b-1fxe8pl79k] {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 4px;
}

.relationship-type-grid[b-1fxe8pl79k] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 12px;
    margin: 4px 0 2px;
}

.add-row[b-1fxe8pl79k] {
    padding-top: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-footer[b-1fxe8pl79k] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 12px 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-btn[b-1fxe8pl79k] {
    padding: 7px 18px;
    border-radius: 6px;
    border: none;
    font-size: 13px;
    font-family: inherit;
    cursor: pointer;
}

.modal-btn:disabled[b-1fxe8pl79k] {
    opacity: 0.5;
    cursor: not-allowed;
}

.modal-btn.cancel[b-1fxe8pl79k] {
    background: rgba(255, 255, 255, 0.08);
    color: #e6ecff;
}

.modal-btn.cancel:hover:not(:disabled)[b-1fxe8pl79k] {
    background: rgba(255, 255, 255, 0.14);
}

.modal-btn.save[b-1fxe8pl79k] {
    background: #4f8cff;
    color: #fff;
}

.modal-btn.save:hover:not(:disabled)[b-1fxe8pl79k] {
    background: #3a7ae8;
}

.modal-btn.save:disabled[b-1fxe8pl79k] {
    background: #6b7a99;
}

.node-tooltip[b-1fxe8pl79k] {
    position: fixed;
    z-index: 20;
    background: #ffffff;
    border-radius: 12px;
    width: 280px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    color: #333;
    font-size: 13px;
    font-family: "Segoe UI", system-ui, sans-serif;
    pointer-events: auto;
    overflow: hidden;
}

.tooltip-header[b-1fxe8pl79k] {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 16px 16px;
    color: #333;
}

.tooltip-header.my-tooltip-header[b-1fxe8pl79k] {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 14px 14px;
}

.header-identity[b-1fxe8pl79k] {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.header-identity-text[b-1fxe8pl79k] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.header-identity-text .tooltip-name[b-1fxe8pl79k] {
    text-align: left;
}

.header-identity-text .tooltip-title[b-1fxe8pl79k] {
    text-align: left;
}

.header-qr[b-1fxe8pl79k] {
    display: flex;
    justify-content: center;
    margin-top: 2px;
}

.header-qr[b-1fxe8pl79k]  svg {
    width: 80px;
    height: 80px;
    border-radius: 6px;
}

.tooltip-avatar[b-1fxe8pl79k] {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.4);
    margin-bottom: 10px;
}

.tooltip-name[b-1fxe8pl79k] {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.tooltip-title[b-1fxe8pl79k] {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    opacity: 0.85;
    margin-top: 4px;
}

.tooltip-grid[b-1fxe8pl79k] {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.tooltip-tile[b-1fxe8pl79k] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 14px 8px;
    min-width: 0;
    border-top: 1px solid #e0e0e0;
    border-right: 1px solid #e0e0e0;
    text-align: center;
}

.tooltip-tile:nth-child(2n)[b-1fxe8pl79k] {
    border-right: none;
}

.tooltip-tile-label[b-1fxe8pl79k] {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #333;
}

.tooltip-tile-value[b-1fxe8pl79k] {
    font-size: 11px;
    color: #555;
    word-break: break-all;
}

.tooltip-tile-link[b-1fxe8pl79k] {
    font-size: 11px;
    color: #555;
    text-decoration: none;
    word-break: break-all;
}

.tooltip-tile-link:hover[b-1fxe8pl79k] {
    text-decoration: underline;
    color: #1a73e8;
}

.tooltip-connection-bar[b-1fxe8pl79k] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 12px;
    font-size: 11px;
    color: #555;
    background: rgba(0, 0, 0, 0.06);
    font-weight: 600;
    letter-spacing: 0.5px;
}
/* _content/NetworkNodesApp/Components/Pages/Home.razor.rz.scp.css */
.login-page[b-ai40b0ha8w] {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    inset: 0;
}

.login-card[b-ai40b0ha8w] {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 48px 40px;
    text-align: center;
    max-width: 380px;
    width: 100%;
}

.login-card h2[b-ai40b0ha8w] {
    margin: 0 0 8px;
    font-size: 24px;
    font-weight: 600;
}

.login-card p[b-ai40b0ha8w] {
    margin: 0 0 32px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.login-buttons[b-ai40b0ha8w] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

[b-ai40b0ha8w] .login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: opacity 0.15s;
}

[b-ai40b0ha8w] .login-btn:hover {
    opacity: 0.9;
}

[b-ai40b0ha8w] .google-btn {
    background: #fff;
    color: #333;
}

[b-ai40b0ha8w] .microsoft-btn {
    background: #2f2f2f;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.logout-bar[b-ai40b0ha8w] {
    position: fixed;
    top: 10px;
    right: 14px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f5c518;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
}

[b-ai40b0ha8w] .logout-bar .user-name {
    color: #1a1a1a;
}

[b-ai40b0ha8w] .logout-bar a {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 500;
}

[b-ai40b0ha8w] .logout-bar a:hover {
    text-decoration: underline;
}
/* _content/NetworkNodesApp/Components/Pages/Profile.razor.rz.scp.css */
.profile-page[b-n7trrca4p1] {
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 24px 16px;
    background: #f0f2f5;
    font-family: "Segoe UI", system-ui, sans-serif;
}

.profile-card[b-n7trrca4p1] {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.profile-header[b-n7trrca4p1] {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px 20px 24px;
    color: #fff;
}

.profile-avatar[b-n7trrca4p1] {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.5);
    margin-bottom: 14px;
}

.profile-name[b-n7trrca4p1] {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.profile-title[b-n7trrca4p1] {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    opacity: 0.9;
    margin-top: 6px;
}

.profile-company[b-n7trrca4p1] {
    font-size: 14px;
    opacity: 0.85;
    margin-top: 2px;
}

.profile-links[b-n7trrca4p1] {
    display: flex;
    flex-direction: column;
}

.profile-link-item[b-n7trrca4p1] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
    color: #333;
    transition: background 0.15s ease;
}

.profile-link-item:last-child[b-n7trrca4p1] {
    border-bottom: none;
}

.profile-link-item:hover[b-n7trrca4p1] {
    background: #f8f9fa;
}

.profile-link-icon[b-n7trrca4p1] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.profile-link-icon[b-n7trrca4p1]  svg {
    width: 28px;
    height: 28px;
}

.profile-link-label[b-n7trrca4p1] {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #999;
    min-width: 80px;
}

.profile-link-value[b-n7trrca4p1] {
    font-size: 14px;
    color: #1a73e8;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-vcf[b-n7trrca4p1] {
    display: flex;
    justify-content: center;
    padding: 16px 20px;
    border-top: 1px solid #f0f0f0;
}

.profile-vcf-btn[b-n7trrca4p1] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: #f0f4ff;
    color: #1a73e8;
    border: 1.5px solid #1a73e8;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    font-family: "Segoe UI", system-ui, sans-serif;
    cursor: pointer;
    transition: all 0.15s ease;
}

.profile-vcf-btn:hover[b-n7trrca4p1] {
    background: #1a73e8;
    color: #fff;
}

.profile-footer[b-n7trrca4p1] {
    text-align: center;
    padding: 16px;
    font-size: 11px;
    color: #bbb;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 600;
    border-top: 1px solid #f0f0f0;
}
