/* /Components/Account/Pages/Login.razor.rz.scp.css */
/* Full-page container */
.login-container[b-jf1xjcozfa] {
    position: relative;
    width: 100vw;
    height: 100vh;
    background-color: #f8f9fa;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Absolutely center the login box but keep enough top margin */
.login-box[b-jf1xjcozfa] {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 20%); /* Shift up slightly */
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 350px; /* Adjust as needed */
    max-width: 90%;
    text-align: center;
}

/* Ensure spacing for the form elements */
.form-group[b-jf1xjcozfa] {
    margin-bottom: 1rem;
    width: 100%;
}

/* Ensure checkbox is centered */
.checkbox-group[b-jf1xjcozfa] {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Footer text styling */
.footer-text[b-jf1xjcozfa] {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #666;
}
/* /Components/Componets/IdTag.razor.rz.scp.css */
.IdTag[b-mderruw07d] {
    position: relative;
    width: 330px;
}

.IdTagInput[b-mderruw07d] {
    position: absolute;
    line-height: 18px;
    left: 120px;
    margin: 0;
    top: 59px;
    padding: unset;
    font-size: 17px;
    font-weight: bold;
    text-transform: uppercase;
    caret-color: black;
}

.SplitCol[b-mderruw07d] {
    display: grid;
    grid-template-columns: 60px 65px;
}

.no-zoom[b-mderruw07d] {
    touch-action: manipulation;
    user-select: none;
    overflow: hidden;
}

.MainLayout[b-mderruw07d] {
    top: 20px;
    padding-left: 18px;
}

.Comments[b-mderruw07d] {
    font-size: 10px;
    font-weight: normal;
    width: 600px !important;
}

.AddedModBy[b-mderruw07d] {
    font-size: 10px;
    font-weight: normal;
    width: 400% !important;
}

textarea:focus[b-mderruw07d], input:focus[b-mderruw07d] {
    outline: none;
    text-transform: uppercase;
}

.body[b-mderruw07d] {
    font-weight: normal;
}

.Inputs[b-mderruw07d] {
    display: grid;
    grid-template-columns: 125px 125px;
    line-height: 20px;
    font-size: 14px;
    font-weight: bold;
    caret-color: black;
}

.InputsCol2[b-mderruw07d] {
    width: 100%;
    display: grid;
    grid-template-columns: 125px 125px;
    line-height: 20px;
    font-size: 14px;
    font-weight: bold;
    caret-color: black;
}

.InputsCol3[b-mderruw07d] {
    width: 100%;
    display: grid;
    justify-content: center;
    line-height: 20px;
}

input[b-mderruw07d] {
    text-transform: uppercase;
    width: 125px;
    background: transparent;
    color: var(--text-primary);
}

.Inputs input[b-mderruw07d] {
    box-sizing: border-box;
    border: none;
    border-bottom: 1px solid;
    font-size: 12px;
    width: 125px;
    background: transparent;
    color: var(--text-primary);
}

.Input-Valid[b-mderruw07d] {
    color: green;
}

.Input-InValid[b-mderruw07d] {
    color: red;
}

.Input-Default[b-mderruw07d] {
    color: var(--text-primary);
}
.body-tag-image[b-mderruw07d] {
    transition: filter 0.3s ease;
}

@media (min-width: 768px) {
    .MainLayout[b-mderruw07d] {
        display: flex;
        flex-direction: row;
        align-items: start;
        gap: 20px;
        padding-left: 5px;
    }

    .Comments[b-mderruw07d] {
        width: 100%;
        max-height: 100px;
        overflow: hidden;
        overflow-y: scroll;
    }

    .InputsCol2[b-mderruw07d] {
        grid-template-columns: 125px 350px;
    }
}
/* /Components/Componets/PaintCodeSearch.razor.rz.scp.css */
.pcs-wrap[b-8u1oyojkph] {
    position: relative;
    width: 100%;
}

.pcs-input-wrap[b-8u1oyojkph] {
    position: relative;
    display: flex;
    align-items: center;
}

.pcs-input[b-8u1oyojkph] {
    width: 100%;
    padding: 0.55rem 2rem 0.55rem 0.85rem;
    border: 1px solid var(--hr-border, #ddd);
    border-radius: 6px;
    font-size: 0.9rem;
    background: var(--bg-input, #fff);
    color: var(--text-primary, #1a1a1a);
    transition: border-color 0.15s;
    box-sizing: border-box;
}

.pcs-input:focus[b-8u1oyojkph] {
    outline: none;
    border-color: var(--accent, #c8102e);
}

.pcs-clear[b-8u1oyojkph] {
    position: absolute;
    right: 0.6rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted, #aaa);
    font-size: 0.8rem;
    padding: 0;
    line-height: 1;
}

.pcs-clear:hover[b-8u1oyojkph] {
    color: var(--accent, #c8102e);
}

.pcs-dropdown[b-8u1oyojkph] {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: var(--bg-card, #fff);
    border: 1px solid var(--border, #ddd);
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    max-height: 260px;
    overflow-y: auto;
    z-index: 200;
}

.pcs-option[b-8u1oyojkph] {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    padding: 0.5rem 0.85rem;
    cursor: pointer;
    font-size: 0.875rem;
    border-bottom: 1px solid var(--divider, #f0f0f0);
    transition: background 0.1s;
}

.pcs-option:last-child[b-8u1oyojkph] {
    border-bottom: none;
}

.pcs-option:hover[b-8u1oyojkph],
.pcs-option--active[b-8u1oyojkph] {
    background: var(--bg-hover, #f5f5f5);
}

.pcs-option-code[b-8u1oyojkph] {
    font-weight: 700;
    color: var(--accent, #c8102e);
    flex-shrink: 0;
    min-width: 3.5rem;
    font-size: 0.8rem;
}

.pcs-option-label[b-8u1oyojkph] {
    color: var(--text-primary, #1a1a1a);
}

.pcs-no-results[b-8u1oyojkph] {
    padding: 0.75rem 0.85rem;
    font-size: 0.85rem;
    color: var(--text-muted, #999);
    font-style: italic;
}
/* /Components/Dialogs/PartDetailDialog.razor.rz.scp.css */
/* ══════════════════════════════════════════════════════ OVERLAY */
.pd-overlay[b-cfc60uapdw] {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    backdrop-filter: blur(3px);
}

/* ══════════════════════════════════════════════════════ DIALOG */
.pd-dialog[b-cfc60uapdw] {
    background: var(--bg-card);
    border: 1px solid var(--divider);
    border-radius: 12px;
    width: 100%;
    max-width: 1020px;
    max-height: calc(100vh - 48px);
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 24px 64px rgba(0,0,0,0.45);
    overflow: hidden;
}

/* ══════════════════════════════════════════════════════ HEADER */
.pd-header[b-cfc60uapdw] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px 16px;
    border-bottom: 1px solid var(--divider);
    flex-shrink: 0;
    gap: 12px;
    background: var(--bg-card);
}

.pd-header-left[b-cfc60uapdw] {
    display: flex;
    align-items: baseline;
    gap: 12px;
    min-width: 0;
    flex-wrap: wrap;
}

.pd-kicker[b-cfc60uapdw] {
    font-family: 'Lato', sans-serif;
    font-size: 0.65rem;
    font-weight: 300;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--kicker);
    flex-shrink: 0;
}

.pd-title[b-cfc60uapdw] {
    font-family: 'Oswald', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-primary);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pd-header-pn[b-cfc60uapdw] {
    font-family: 'Courier New', monospace;
    font-size: 0.82rem;
    color: var(--text-secondary);
    background: var(--bg);
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid var(--divider);
    flex-shrink: 0;
}

.pd-header-right[b-cfc60uapdw] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.pd-action-btn[b-cfc60uapdw] {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border: 1px solid var(--divider);
    border-radius: 6px;
    background: none;
    color: var(--text-secondary);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
}
.pd-action-btn svg[b-cfc60uapdw] { width: 13px; height: 13px; }
.pd-action-btn:hover[b-cfc60uapdw] { border-color: var(--accent); color: var(--accent); }
.pd-action-btn--danger:hover[b-cfc60uapdw] { border-color: #e74c3c; color: #e74c3c; }

.pd-close[b-cfc60uapdw] {
    width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    background: none; border: none;
    color: var(--text-secondary);
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.15s, color 0.15s;
}
.pd-close svg[b-cfc60uapdw] { width: 18px; height: 18px; }
.pd-close:hover[b-cfc60uapdw] { background: var(--bg); color: var(--text-primary); }

/* ══════════════════════════════════════════════════════ BODY */
.pd-body[b-cfc60uapdw] {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}

.pd-cols[b-cfc60uapdw] {
    display: grid;
    grid-template-columns: 380px 1fr;
    min-height: 520px;
}

/* ══════════════════════════════════════════════════════ LEFT: IMAGES */
.pd-col-images[b-cfc60uapdw] {
    border-right: 1px solid var(--divider);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: var(--bg);
}

/* Featured image */
.pd-featured-img[b-cfc60uapdw] {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-subtle, var(--bg));
    border: 1px solid var(--divider);
    cursor: pointer;
    transition: border-color 0.15s;
}
.pd-featured-img:hover[b-cfc60uapdw] { border-color: var(--accent); }

.pd-featured-img img[b-cfc60uapdw] {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
}
.pd-featured-img:hover img[b-cfc60uapdw] { transform: scale(1.02); }

.pd-featured-count[b-cfc60uapdw] {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 4px;
    pointer-events: none;
}
.pd-featured-count svg[b-cfc60uapdw] { width: 12px; height: 12px; }

.pd-featured-placeholder[b-cfc60uapdw] {
    width: 100%; height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--text-secondary);
    opacity: 0.35;
    cursor: default;
}
.pd-featured-placeholder svg[b-cfc60uapdw] { width: 52px; height: 52px; }
.pd-featured-placeholder span[b-cfc60uapdw] { font-size: 0.82rem; }

/* Thumbnail strip */
.pd-thumb-strip[b-cfc60uapdw] {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.pd-thumb[b-cfc60uapdw] {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid var(--divider);
    cursor: pointer;
    flex-shrink: 0;
    transition: border-color 0.15s;
}
.pd-thumb:hover[b-cfc60uapdw] { border-color: var(--accent); }
.pd-thumb--token[b-cfc60uapdw] { border-color: var(--accent); }

.pd-thumb img[b-cfc60uapdw] { width: 100%; height: 100%; object-fit: cover; }

.pd-thumb-star[b-cfc60uapdw] {
    position: absolute;
    bottom: 2px;
    right: 3px;
    font-size: 0.6rem;
    color: var(--accent);
    line-height: 1;
    text-shadow: 0 0 3px rgba(0,0,0,0.8);
}

.pd-thumb-actions[b-cfc60uapdw] {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    opacity: 0;
    transition: opacity 0.15s;
}
.pd-thumb:hover .pd-thumb-actions[b-cfc60uapdw] { opacity: 1; }

.pd-thumb-btn[b-cfc60uapdw] {
    width: 22px; height: 22px;
    background: rgba(0,0,0,0.7);
    border: none;
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    padding: 0;
}
.pd-thumb-btn svg[b-cfc60uapdw] { width: 11px; height: 11px; }
.pd-thumb-btn--del:hover[b-cfc60uapdw] { background: #e74c3c; }

/* Upload zone */
.pd-upload-zone[b-cfc60uapdw] {
    position: relative;
    border: 2px dashed var(--divider);
    border-radius: 8px;
    padding: 16px 12px;
    text-align: center;
    transition: border-color 0.15s, background 0.15s;
    cursor: pointer;
    margin-top: auto;
}
.pd-upload-zone:hover[b-cfc60uapdw],
.pd-upload-zone--drag[b-cfc60uapdw] { border-color: var(--accent); background: var(--bg-subtle, var(--bg)); }
.pd-upload-zone--busy[b-cfc60uapdw] { pointer-events: none; }

.pd-upload-input[b-cfc60uapdw] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%; height: 100%;
}

.pd-upload-content[b-cfc60uapdw] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    font-size: 0.8rem;
    pointer-events: none;
}
.pd-upload-content p[b-cfc60uapdw] { margin: 0; }
.pd-upload-content span[b-cfc60uapdw] { color: var(--accent); text-decoration: underline; }

.pd-upload-icon[b-cfc60uapdw] { width: 28px; height: 28px; opacity: 0.5; }

.pd-upload-spinner[b-cfc60uapdw] {
    width: 22px; height: 22px;
    border: 2px solid var(--divider);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: pdSpin-b-cfc60uapdw 0.7s linear infinite;
    margin: 0 auto;
}
@keyframes pdSpin-b-cfc60uapdw { to { transform: rotate(360deg); } }

.pd-upload-error[b-cfc60uapdw] {
    color: #e74c3c;
    font-size: 0.75rem;
    margin: 6px 0 0;
    text-align: center;
}

/* ══════════════════════════════════════════════════════ RIGHT: DETAILS */
.pd-col-details[b-cfc60uapdw] {
    padding: 24px 28px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.pd-description[b-cfc60uapdw] {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0 0 16px;
    line-height: 1.5;
}

/* Part numbers */
.pd-pn-row[b-cfc60uapdw] {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.pd-pn-block[b-cfc60uapdw] {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.pd-pn-label[b-cfc60uapdw] {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
}

.pd-pn-value[b-cfc60uapdw] {
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    background: var(--bg);
    padding: 4px 10px;
    border-radius: 5px;
    border: 1px solid var(--divider);
    letter-spacing: 0.05em;
}

/* Group breadcrumb */
.pd-breadcrumb[b-cfc60uapdw] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

.pd-breadcrumb svg[b-cfc60uapdw] { width: 10px; height: 10px; color: var(--text-secondary); opacity: 0.5; flex-shrink: 0; }

.pd-bc-item[b-cfc60uapdw] {
    font-size: 0.78rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    background: var(--bg);
    border: 1px solid var(--divider);
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pd-bc-item--sub[b-cfc60uapdw] {
    background: none;
    border-color: transparent;
    color: var(--text-secondary);
    opacity: 0.7;
}

/* Section headers */
.pd-section[b-cfc60uapdw] { }

.pd-section-title[b-cfc60uapdw] {
    font-family: 'Oswald', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--kicker);
    margin: 0 0 10px;
}

.pd-section-divider[b-cfc60uapdw] {
    height: 1px;
    background: var(--divider);
    margin: 18px 0;
}

/* Notes */
.pd-notes[b-cfc60uapdw] {
    font-size: 0.88rem;
    line-height: 1.65;
    color: var(--text-primary);
    white-space: pre-wrap;
    margin: 0;
    background: var(--bg);
    padding: 12px 14px;
    border-radius: 6px;
    border: 1px solid var(--divider);
}

/* View: models */
.pd-view-models[b-cfc60uapdw] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.pd-view-model-chip[b-cfc60uapdw] {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    background: var(--bg);
    border: 1px solid var(--divider);
    color: var(--text-primary);
}

/* View: related parts */
.pd-related-view[b-cfc60uapdw] { display: flex; flex-direction: column; gap: 6px; }

.pd-related-view-item[b-cfc60uapdw] {
    font-size: 0.85rem;
    padding: 7px 12px;
    border-radius: 6px;
    background: var(--bg);
    border: 1px solid var(--divider);
    color: var(--text-primary);
}

/* Audit */
.pd-audit[b-cfc60uapdw] {
    font-size: 0.75rem;
    color: var(--text-secondary);
    opacity: 0.6;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

/* ══════════════════════════════════════════════════════ EDIT FORM */
.pd-form-grid[b-cfc60uapdw] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.pd-field[b-cfc60uapdw] { display: flex; flex-direction: column; gap: 5px; }
.pd-field--full[b-cfc60uapdw] { grid-column: 1 / -1; }

.pd-label[b-cfc60uapdw] {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.pd-required[b-cfc60uapdw] { color: #e74c3c; }

.pd-input[b-cfc60uapdw] {
    padding: 8px 10px;
    border: 1px solid var(--divider);
    border-radius: 6px;
    background: var(--bg);
    color: var(--text-primary);
    font-size: 0.88rem;
    outline: none;
    transition: border-color 0.15s;
    font-family: inherit;
}
.pd-input:focus[b-cfc60uapdw] { border-color: var(--accent); }

.pd-textarea[b-cfc60uapdw] {
    padding: 8px 10px;
    border: 1px solid var(--divider);
    border-radius: 6px;
    background: var(--bg);
    color: var(--text-primary);
    font-size: 0.88rem;
    outline: none;
    resize: vertical;
    font-family: inherit;
    line-height: 1.5;
    transition: border-color 0.15s;
}
.pd-textarea:focus[b-cfc60uapdw] { border-color: var(--accent); }

/* Model checkboxes */
.pd-model-grid[b-cfc60uapdw] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 6px;
}

.pd-model-check[b-cfc60uapdw] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border: 1px solid var(--divider);
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.82rem;
    color: var(--text-secondary);
    transition: all 0.12s;
    user-select: none;
}
.pd-model-check input[b-cfc60uapdw] { accent-color: var(--accent); }
.pd-model-check:hover[b-cfc60uapdw] { border-color: var(--accent); color: var(--text-primary); }
.pd-model-check--on[b-cfc60uapdw] { border-color: var(--accent); color: var(--text-primary); background: var(--bg); }

/* Related parts search */
.pd-related-search-wrap[b-cfc60uapdw] { margin-bottom: 8px; }

.pd-related-results[b-cfc60uapdw] {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--divider);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 10px;
}

.pd-related-result[b-cfc60uapdw] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    background: var(--bg);
    border: none;
    border-top: 1px solid var(--divider);
    color: var(--text-primary);
    font-size: 0.83rem;
    cursor: pointer;
    text-align: left;
    transition: background 0.12s;
}
.pd-related-result:first-child[b-cfc60uapdw] { border-top: none; }
.pd-related-result:hover[b-cfc60uapdw] { background: var(--bg-card); }
.pd-related-result svg[b-cfc60uapdw] { width: 13px; height: 13px; color: var(--accent); flex-shrink: 0; }

.pd-related-tags[b-cfc60uapdw] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.pd-related-tag[b-cfc60uapdw] {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 20px;
    background: var(--bg);
    border: 1px solid var(--divider);
    font-size: 0.8rem;
    color: var(--text-primary);
}

.pd-related-tag button[b-cfc60uapdw] {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 0.7rem;
    padding: 0 2px;
    line-height: 1;
    transition: color 0.12s;
}
.pd-related-tag button:hover[b-cfc60uapdw] { color: #e74c3c; }

/* ══════════════════════════════════════════════════════ LOADING */
.pd-loading[b-cfc60uapdw] {
    display: flex;
    justify-content: center;
    padding: 80px;
}
.pd-loading-dots[b-cfc60uapdw] { display: flex; gap: 8px; }
.pd-loading-dots span[b-cfc60uapdw] {
    width: 8px; height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pdDot-b-cfc60uapdw 1.2s infinite ease-in-out;
}
.pd-loading-dots span:nth-child(2)[b-cfc60uapdw] { animation-delay: 0.2s; }
.pd-loading-dots span:nth-child(3)[b-cfc60uapdw] { animation-delay: 0.4s; }
@keyframes pdDot-b-cfc60uapdw {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
    40%           { transform: scale(1);   opacity: 1;   }
}

.pd-error-msg[b-cfc60uapdw] { padding: 24px 28px; color: #e74c3c; font-size: 0.9rem; }

/* ══════════════════════════════════════════════════════ FOOTER */
.pd-footer[b-cfc60uapdw] {
    padding: 14px 24px;
    border-top: 1px solid var(--divider);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-shrink: 0;
    background: var(--bg-card);
    flex-wrap: wrap;
}

.pd-save-error[b-cfc60uapdw] { flex: 1; font-size: 0.82rem; color: #e74c3c; }

.pd-btn[b-cfc60uapdw] {
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.15s;
}
.pd-btn--secondary[b-cfc60uapdw] { background: none; border-color: var(--divider); color: var(--text-secondary); }
.pd-btn--secondary:hover[b-cfc60uapdw] { border-color: var(--text-secondary); color: var(--text-primary); }
.pd-btn--primary[b-cfc60uapdw] { background: var(--accent); border-color: var(--accent); color: #fff; }
.pd-btn--primary:hover[b-cfc60uapdw] { opacity: 0.88; }
.pd-btn--danger[b-cfc60uapdw] { background: #e74c3c; border-color: #e74c3c; color: #fff; }
.pd-btn--danger:hover[b-cfc60uapdw] { opacity: 0.88; }
.pd-btn:disabled[b-cfc60uapdw] { opacity: 0.4; cursor: default; }

/* ══════════════════════════════════════════════════════ CONFIRM */
.pd-confirm-overlay[b-cfc60uapdw] {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.55);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}
.pd-confirm[b-cfc60uapdw] {
    background: var(--bg-card);
    border-radius: 8px;
    padding: 28px 32px;
    max-width: 380px;
    text-align: center;
    border: 1px solid var(--divider);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.pd-confirm p[b-cfc60uapdw] { font-size: 0.92rem; color: var(--text-primary); margin: 0 0 20px; line-height: 1.5; }
.pd-confirm-actions[b-cfc60uapdw] { display: flex; gap: 10px; justify-content: center; }

/* ══════════════════════════════════════════════════════ LIGHTBOX */
.pd-lb[b-cfc60uapdw] {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pd-lb-inner[b-cfc60uapdw] {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 56px 72px 110px;
    box-sizing: border-box;
}

.pd-lb-close[b-cfc60uapdw] {
    position: absolute;
    top: 16px;
    right: 20px;
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.15s;
    z-index: 1;
}
.pd-lb-close svg[b-cfc60uapdw] { width: 18px; height: 18px; }
.pd-lb-close:hover[b-cfc60uapdw] { background: rgba(255,255,255,0.18); }

.pd-lb-photo[b-cfc60uapdw] {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 0;
}
.pd-lb-photo img[b-cfc60uapdw] {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.6);
}

.pd-lb-nav[b-cfc60uapdw] {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px; height: 48px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.15s, opacity 0.15s;
    z-index: 1;
}
.pd-lb-nav svg[b-cfc60uapdw] { width: 20px; height: 20px; }
.pd-lb-nav:hover[b-cfc60uapdw] { background: rgba(255,255,255,0.2); }
.pd-lb-nav:disabled[b-cfc60uapdw] { opacity: 0.2; cursor: default; pointer-events: none; }
.pd-lb-nav--prev[b-cfc60uapdw] { left: 16px; }
.pd-lb-nav--next[b-cfc60uapdw] { right: 16px; }

.pd-lb-footer[b-cfc60uapdw] {
    position: absolute;
    bottom: 72px;
    left: 0; right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 0 24px;
}

.pd-lb-counter[b-cfc60uapdw] {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
    font-weight: 600;
    letter-spacing: 0.08em;
}

.pd-lb-filename[b-cfc60uapdw] {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.35);
    max-width: 260px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pd-lb-action[b-cfc60uapdw] {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
}
.pd-lb-action svg[b-cfc60uapdw] { width: 12px; height: 12px; }
.pd-lb-action:hover[b-cfc60uapdw] { background: rgba(255,255,255,0.18); }

.pd-lb-token-badge[b-cfc60uapdw] {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent);
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid var(--accent);
    letter-spacing: 0.04em;
}

/* Thumbnail strip */
.pd-lb-strip[b-cfc60uapdw] {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    align-items: center;
    padding: 6px 10px;
    background: rgba(0,0,0,0.4);
    border-radius: 8px;
    max-width: calc(100vw - 160px);
    overflow-x: auto;
}

.pd-lb-strip-thumb[b-cfc60uapdw] {
    width: 44px; height: 44px;
    border-radius: 4px;
    overflow: hidden;
    border: 2px solid transparent;
    padding: 0;
    background: none;
    cursor: pointer;
    flex-shrink: 0;
    transition: border-color 0.12s, transform 0.12s;
    opacity: 0.55;
}
.pd-lb-strip-thumb img[b-cfc60uapdw] { width: 100%; height: 100%; object-fit: cover; }
.pd-lb-strip-thumb:hover[b-cfc60uapdw] { opacity: 0.8; transform: scale(1.05); }
.pd-lb-strip-thumb--active[b-cfc60uapdw] { border-color: var(--accent); opacity: 1; }

/* ══════════════════════════════════════════════════════ RESPONSIVE */
@media (max-width: 760px) {
    .pd-overlay[b-cfc60uapdw] { padding: 0; align-items: flex-end; }
    .pd-dialog[b-cfc60uapdw]  { max-width: 100%; border-radius: 14px 14px 0 0; max-height: 94vh; }
    .pd-cols[b-cfc60uapdw]    { grid-template-columns: 1fr; }
    .pd-col-images[b-cfc60uapdw] { border-right: none; border-bottom: 1px solid var(--divider); }
    .pd-featured-img[b-cfc60uapdw] { aspect-ratio: 16/9; }
    .pd-form-grid[b-cfc60uapdw] { grid-template-columns: 1fr; }
    .pd-field--full[b-cfc60uapdw] { grid-column: 1; }
    .pd-lb-inner[b-cfc60uapdw] { padding: 56px 16px 100px; }
    .pd-lb-nav--prev[b-cfc60uapdw] { left: 8px; }
    .pd-lb-nav--next[b-cfc60uapdw] { right: 8px; }
}
/* /Components/Layout/ImpersonationBanner.razor.rz.scp.css */
.imp-banner[b-4o35fo93kq] {
    background: #7c3a00;
    border-bottom: 2px solid #f59e0b;
    margin: -16px -16px 20px -16px; /* bleed past MudMainContent pa-4 padding */
    padding: 10px 24px;
}

.imp-banner-inner[b-4o35fo93kq] {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 1400px;
    margin: 0 auto;
}

.imp-icon[b-4o35fo93kq] {
    width: 18px;
    height: 18px;
    color: #fcd34d;
    flex-shrink: 0;
}

.imp-text[b-4o35fo93kq] {
    flex: 1;
    font-size: 0.875rem;
    color: #fef3c7;
}

.imp-text strong[b-4o35fo93kq] {
    color: #fcd34d;
}

.imp-sub[b-4o35fo93kq] {
    opacity: 0.75;
    font-size: 0.8rem;
}

.imp-stop-btn[b-4o35fo93kq] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    background: #f59e0b;
    border: none;
    border-radius: 5px;
    color: #1a1a1a;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
    white-space: nowrap;
}

.imp-stop-btn:hover[b-4o35fo93kq] { background: #fbbf24; }

.imp-stop-btn svg[b-4o35fo93kq] {
    width: 14px;
    height: 14px;
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.nav-menu[b-goru5wjjzd] {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.logout-button[b-goru5wjjzd] {
    margin-top: auto;
}
/* /Components/Pages/AdminStats.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════════ HERO */
.as-hero[b-qirk6iymzm] {
    position: relative;
    text-align: center;
    padding: 72px 24px 56px;
    background: var(--bg-subtle, var(--bg));
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.as-hero-stripe[b-qirk6iymzm] {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 6px;
    display: flex;
}

.as-stripe-segment[b-qirk6iymzm]         { flex: 1; opacity: 0.85; }
.as-stripe-segment--1[b-qirk6iymzm]      { background: #c8102e; }
.as-stripe-segment--2[b-qirk6iymzm]      { background: #1a3a6e; }
.as-stripe-segment--3[b-qirk6iymzm]      { background: #c9a84c; }
.as-stripe-segment--4[b-qirk6iymzm]      { background: #2e7d32; }
.as-stripe-segment--5[b-qirk6iymzm]      { background: #e8e8e8; }
.as-stripe-segment--6[b-qirk6iymzm]      { background: #8b1a1a; }
.as-stripe-segment--7[b-qirk6iymzm]      { background: #4a4a4a; }
.as-stripe-segment--8[b-qirk6iymzm]      { background: var(--accent, #c9a84c); }

.as-kicker[b-qirk6iymzm] {
    font-family: 'Oswald', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent, #c9a84c);
    margin: 0 0 10px;
}

.as-hero-title[b-qirk6iymzm] {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 12px;
    letter-spacing: -0.01em;
    line-height: 1;
}

.as-hero-sub[b-qirk6iymzm] {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
    font-weight: 300;
}

/* ═══════════════════════════════════════════════════════════════ BODY */
.as-body[b-qirk6iymzm] {
    max-width: 1400px;
    margin: 0 auto;
    padding: 32px 40px 80px;
}

/* ═══════════════════════════════════════════════════════════════ STAT CARDS */
.as-cards[b-qirk6iymzm] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

.as-card[b-qirk6iymzm] {
    background: var(--bg-card);
    border: 1px solid var(--divider);
    border-radius: 10px;
    padding: 24px 20px;
    text-align: center;
}

.as-card-value[b-qirk6iymzm] {
    font-family: 'Oswald', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.as-card-value--accent[b-qirk6iymzm] { color: var(--accent); }
.as-card-value--green[b-qirk6iymzm]  { color: #4caf50; }
.as-card-value--muted[b-qirk6iymzm]  { color: var(--text-secondary); }

.as-card-label[b-qirk6iymzm] {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════════ SECTIONS */
.as-section[b-qirk6iymzm] {
    margin-bottom: 40px;
}

.as-section-title[b-qirk6iymzm] {
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin: 0 0 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--divider);
}

.as-empty[b-qirk6iymzm] {
    color: var(--text-muted);
    font-size: 0.9rem;
    padding: 24px 0;
}

/* ═══════════════════════════════════════════════════════════════ SESSIONS TABLE */
.as-table-wrap[b-qirk6iymzm] {
    overflow-x: auto;
    border: 1px solid var(--divider);
    border-radius: 8px;
}

.as-table[b-qirk6iymzm] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.86rem;
}

.as-table thead tr[b-qirk6iymzm] {
    background: var(--bg-subtle, var(--bg));
    border-bottom: 1px solid var(--divider);
}

.as-table th[b-qirk6iymzm] {
    padding: 10px 14px;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    white-space: nowrap;
}

.as-table td[b-qirk6iymzm] {
    padding: 10px 14px;
    color: var(--text-primary);
    vertical-align: middle;
    border-bottom: 1px solid var(--divider);
}

.as-table tbody tr:last-child td[b-qirk6iymzm] { border-bottom: none; }

.as-table tbody tr:hover[b-qirk6iymzm] { background: var(--bg-subtle, var(--bg)); }

/* Cell types */
.as-user[b-qirk6iymzm] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.as-user-icon[b-qirk6iymzm] {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.as-user--auth[b-qirk6iymzm]  { color: var(--text-primary); }
.as-user--guest[b-qirk6iymzm] { color: var(--text-muted); font-style: italic; }

.as-mono[b-qirk6iymzm] {
    font-family: 'Courier New', monospace;
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.as-page[b-qirk6iymzm] {
    color: var(--accent);
    font-size: 0.83rem;
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.as-time[b-qirk6iymzm]  { color: var(--text-secondary); font-size: 0.82rem; white-space: nowrap; }

.as-duration[b-qirk6iymzm] {
    font-family: 'Courier New', monospace;
    font-size: 0.82rem;
    color: var(--text-secondary);
    white-space: nowrap;
}

.as-idle[b-qirk6iymzm]          { font-size: 0.82rem; color: var(--text-secondary); white-space: nowrap; }
.as-idle--stale[b-qirk6iymzm]   { color: #ef9a9a; }

/* ═══════════════════════════════════════════════════════════════ SERVER CARDS */
.as-server-grid[b-qirk6iymzm] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 14px;
}

.as-server-card[b-qirk6iymzm] {
    background: var(--bg-card);
    border: 1px solid var(--divider);
    border-radius: 8px;
    padding: 16px 18px;
}

.as-server-card-header[b-qirk6iymzm] {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 10px;
}

.as-server-card-label[b-qirk6iymzm] {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--text-muted);
    font-weight: 500;
}

.as-server-card-value[b-qirk6iymzm] {
    font-family: 'Oswald', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.as-server-card-sub[b-qirk6iymzm] {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 8px;
}

/* Progress bar */
.as-bar-track[b-qirk6iymzm] {
    height: 6px;
    background: var(--bg);
    border-radius: 3px;
    overflow: hidden;
}

.as-bar[b-qirk6iymzm] {
    height: 100%;
    border-radius: 3px;
    transition: width 0.5s ease;
}

.as-bar--green[b-qirk6iymzm] { background: #4caf50; }
.as-bar--amber[b-qirk6iymzm] { background: #f59e0b; }
.as-bar--red[b-qirk6iymzm]   { background: #ef5350; }

/* Runtime info row */
.as-runtime-row[b-qirk6iymzm] {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    padding: 12px 16px;
    background: var(--bg-card);
    border: 1px solid var(--divider);
    border-radius: 8px;
    margin-top: 0;
}

.as-runtime-item[b-qirk6iymzm] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.as-runtime-label[b-qirk6iymzm] {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    font-weight: 600;
}

.as-runtime-value[b-qirk6iymzm] {
    font-size: 0.82rem;
    color: var(--text-secondary);
    font-family: 'Courier New', monospace;
}

/* ═══════════════════════════════════════════════════════════════ ROLE GRID */
.as-role-grid[b-qirk6iymzm] {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.as-role-card[b-qirk6iymzm] {
    background: var(--bg-card);
    border: 1px solid var(--divider);
    border-radius: 8px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 160px;
}

.as-role-card--none[b-qirk6iymzm] { opacity: 0.6; }

.as-role-count[b-qirk6iymzm] {
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}

.as-role-name[b-qirk6iymzm] {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
}

/* ═══════════════════════════════════════════════════════════════ RESPONSIVE */
@media (max-width: 768px) {
    .as-body[b-qirk6iymzm]         { padding: 20px 16px 60px; }
    .as-cards[b-qirk6iymzm]        { grid-template-columns: repeat(2, 1fr); }
    .as-server-grid[b-qirk6iymzm]  { grid-template-columns: repeat(2, 1fr); }
}
/* /Components/Pages/Home.razor.rz.scp.css */
/* ────────────────────────────────────────────
           PAGE SHELL
        ──────────────────────────────────────────── */
.hr-home[b-l0iwqlg4uh] {
    min-height: 100vh;
    background: var(--bg);
    color: var(--text-primary);
    font-family: 'Lato', Georgia, serif;
    padding-bottom: 80px;
    transition: background 0.3s ease, color 0.3s ease;
}

/* ────────────────────────────────────────────
           HEADER
        ──────────────────────────────────────────── */
.hr-header[b-l0iwqlg4uh] {
    text-align: center;
    padding: 72px 24px 52px;
    border-bottom: 1px solid var(--divider);
    margin-bottom: 0;
    transition: border-color 0.3s ease;
}

.hr-header__kicker[b-l0iwqlg4uh] {
    font-family: 'Lato', sans-serif;
    font-size: 0.75rem;
    font-weight: 300;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--kicker);
    margin: 0 0 16px;
}

.hr-header__title[b-l0iwqlg4uh] {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-primary);
    margin: 0 0 14px;
    line-height: 1;
}

.hr-header__sub[b-l0iwqlg4uh] {
    font-size: 0.95rem;
    font-style: italic;
    font-weight: 300;
    color: var(--text-muted);
    margin: 0;
    letter-spacing: 0.04em;
}

/* ────────────────────────────────────────────
           CARD LIST
        ──────────────────────────────────────────── */
.hr-list[b-l0iwqlg4uh] {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 32px;
}

.hr-card[b-l0iwqlg4uh] {
    display: flex;
    align-items: center;
    gap: 56px;
    padding: 64px 0;
    border-bottom: 1px solid var(--divider);
    transition: border-color 0.3s ease;
}

.hr-card--right[b-l0iwqlg4uh] {
    flex-direction: row-reverse;
}

/* ── Image ── */
.hr-card__img-wrap[b-l0iwqlg4uh] {
    position: relative;
    flex: 0 0 44%;
    max-width: 44%;
    aspect-ratio: 16 / 9;
    border-radius: 3px;
    overflow: hidden;
    background: var(--bg-card);
    transition: background 0.3s ease;
}

.hr-card__img-wrap--empty[b-l0iwqlg4uh] {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hr-card__img[b-l0iwqlg4uh] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s ease, filter 0.4s ease;
}

.hr-card--soon .hr-card__img[b-l0iwqlg4uh] {
    filter: var(--img-soon);
}

.hr-card--live:hover .hr-card__img[b-l0iwqlg4uh] {
    transform: scale(1.04);
}

/* ── Coming Soon veil ── */
.hr-card__soon-veil[b-l0iwqlg4uh] {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--veil-bg);
    backdrop-filter: blur(2px);
    transition: background 0.3s ease;
}

.hr-card__soon-label[b-l0iwqlg4uh] {
    font-family: 'Oswald', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--text-primary);
    border: 1px solid rgba(128,128,128,0.4);
    padding: 10px 28px;
    background: rgba(0,0,0,0.35);
    transition: color 0.3s ease;
}

/* ── Body ── */
.hr-card__body[b-l0iwqlg4uh] {
    flex: 1;
}

.hr-card__era[b-l0iwqlg4uh] {
    display: block;
    font-family: 'Oswald', sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.hr-card__title[b-l0iwqlg4uh] {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-primary);
    margin: 0 0 14px;
    transition: color 0.3s ease;
}

.hr-card--soon .hr-card__title[b-l0iwqlg4uh],
.hr-card--soon .hr-card__era[b-l0iwqlg4uh],
.hr-card--soon .hr-card__desc[b-l0iwqlg4uh] {
    opacity: 0.4;
}

.hr-card__desc[b-l0iwqlg4uh] {
    font-size: 0.97rem;
    font-weight: 300;
    font-style: italic;
    line-height: 1.75;
    color: var(--text-muted);
    margin: 0 0 28px;
    transition: color 0.3s ease;
}

/* ── Buttons ── */
.hr-card__btn[b-l0iwqlg4uh] {
    display: inline-block;
    font-family: 'Oswald', sans-serif;
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    padding: 11px 34px;
    border: 1px solid;
    text-decoration: none;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.hr-card__btn--live[b-l0iwqlg4uh] {
    border-color: var(--accent);
    color: var(--accent);
    cursor: pointer;
}

    .hr-card__btn--live:hover[b-l0iwqlg4uh] {
        background: var(--accent-hover-bg);
        color: var(--accent-hover-text);
    }

.hr-card__btn--ghost[b-l0iwqlg4uh] {
    border-color: var(--btn-ghost-border);
    color: var(--btn-ghost-text);
    cursor: not-allowed;
    pointer-events: none;
    user-select: none;
}

/* ────────────────────────────────────────────
           IMAGE CYCLING (2 models, 2 different images)
        ──────────────────────────────────────────── */
.hr-card__img-wrap--cycling .hr-card__img[b-l0iwqlg4uh] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hr-card__cycle-a[b-l0iwqlg4uh] {
    animation: hrCycleA-b-l0iwqlg4uh 10s ease-in-out infinite;
}

.hr-card__cycle-b[b-l0iwqlg4uh] {
    animation: hrCycleB-b-l0iwqlg4uh 10s ease-in-out infinite;
}

@keyframes hrCycleA-b-l0iwqlg4uh {
    0%, 40%  { opacity: 1; }
    50%, 90% { opacity: 0; }
    100%     { opacity: 1; }
}

@keyframes hrCycleB-b-l0iwqlg4uh {
    0%, 40%  { opacity: 0; }
    50%, 90% { opacity: 1; }
    100%     { opacity: 0; }
}

/* ────────────────────────────────────────────
           GALLERY IMAGE CYCLING
        ──────────────────────────────────────────── */

/* The image wrap needs relative + overflow:hidden for Ken Burns */
.hr-gallery-wrap[b-l0iwqlg4uh] {
    position: relative;
    overflow: hidden;
}

/* Both slots fill the wrap absolutely */
.hr-gallery-slot[b-l0iwqlg4uh] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 1.2s ease;
    will-change: opacity, transform;
}

.hr-gallery-slot--active[b-l0iwqlg4uh]  { opacity: 1; }
.hr-gallery-slot--inactive[b-l0iwqlg4uh] { opacity: 0; }

/* Ken Burns — slot A pans right/down, slot B pans left/up, so they alternate */
.hr-gallery-slot--active.hr-gallery-slot--kb-a[b-l0iwqlg4uh] {
    animation: hr-kb-a-b-l0iwqlg4uh 6s ease-in-out forwards;
}

.hr-gallery-slot--active.hr-gallery-slot--kb-b[b-l0iwqlg4uh] {
    animation: hr-kb-b-b-l0iwqlg4uh 6s ease-in-out forwards;
}

@keyframes hr-kb-a-b-l0iwqlg4uh {
    0%   { transform: scale(1.00) translate( 0%,    0%   ); }
    100% { transform: scale(1.07) translate(-1.5%,  -1%  ); }
}

@keyframes hr-kb-b-b-l0iwqlg4uh {
    0%   { transform: scale(1.07) translate(-1.5%,  -1%  ); }
    100% { transform: scale(1.00) translate( 0%,    0%   ); }
}

/* ────────────────────────────────────────────
           SECTION DIVIDER
        ──────────────────────────────────────────── */
.hr-section-divider[b-l0iwqlg4uh] {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 48px 0 16px;
}

    .hr-section-divider[b-l0iwqlg4uh]::before,
    .hr-section-divider[b-l0iwqlg4uh]::after {
        content: '';
        flex: 1;
        height: 1px;
        background: var(--divider);
    }

.hr-section-divider__label[b-l0iwqlg4uh] {
    font-family: 'Oswald', sans-serif;
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--text-muted);
    white-space: nowrap;
}

/* ────────────────────────────────────────────
           RESPONSIVE
        ──────────────────────────────────────────── */
@media (max-width: 740px) {
    .hr-card[b-l0iwqlg4uh],
    .hr-card--right[b-l0iwqlg4uh] {
        flex-direction: column;
        gap: 28px;
        padding: 44px 0;
    }

    .hr-card__img-wrap[b-l0iwqlg4uh] {
        flex: none;
        width: 100%;
        max-width: 100%;
    }

    .hr-list[b-l0iwqlg4uh] {
        padding: 0 20px;
    }
}

/* /Components/Pages/PaintGalleryImport.razor.rz.scp.css */
/* =============================================================
   Paint Gallery Import — pi- prefix (paint import)
   Matches the hr- / at- design language of the register
   ============================================================= */

/* ── Layout ─────────────────────────────────────────────────── */
.pi-page[b-0m24a25ev1] {
    padding: 2rem;
    max-width: 1400px;
}

.pi-header[b-0m24a25ev1] {
    margin-bottom: 2.5rem;
}

.pi-kicker[b-0m24a25ev1] {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--hr-accent, #c0392b);
    margin-bottom: 0.4rem;
}

.pi-page-title[b-0m24a25ev1] {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.4rem;
    color: var(--hr-text, #1a1a1a);
}

.pi-subtitle[b-0m24a25ev1] {
    color: var(--hr-muted, #666);
    font-size: 0.95rem;
    margin: 0;
}

/* ── Setup Card ──────────────────────────────────────────────── */
.pi-setup-card[b-0m24a25ev1] {
    background: var(--hr-surface, #fff);
    border: 1px solid var(--hr-border, #e0e0e0);
    border-radius: 8px;
    padding: 2rem;
    max-width: 640px;
}

.pi-setup-card label[b-0m24a25ev1] {
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 0.4rem;
    display: block;
    color: var(--hr-text, #1a1a1a);
}

.pi-setup-card input[b-0m24a25ev1] {
    width: 100%;
    padding: 0.6rem 0.85rem;
    border: 1px solid var(--hr-border, #e0e0e0);
    border-radius: 6px;
    font-size: 0.9rem;
    transition: border-color 0.15s;
    background: var(--hr-bg, #fafafa);
}

.pi-setup-card input:focus[b-0m24a25ev1] {
    outline: none;
    border-color: var(--hr-accent, #c0392b);
    background: #fff;
}

.pi-field-hint[b-0m24a25ev1] {
    font-size: 0.78rem;
    color: var(--hr-muted, #888);
    margin-top: 0.3rem;
}

/* ── Summary Stats (Preview state) ──────────────────────────── */
.pi-stats[b-0m24a25ev1] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 520px;
    margin-bottom: 2rem;
}

.pi-stat[b-0m24a25ev1] {
    border-radius: 8px;
    padding: 1.25rem 1rem;
    text-align: center;
    border: 1px solid transparent;
}

.pi-stat--green[b-0m24a25ev1]  { background: #f0faf4; border-color: #a8d5b5; }
.pi-stat--amber[b-0m24a25ev1]  { background: #fffbf0; border-color: #f5d87a; }
.pi-stat--grey[b-0m24a25ev1]   { background: #f5f5f5; border-color: #d0d0d0; }

.pi-stat__number[b-0m24a25ev1] {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.3rem;
}

.pi-stat--green  .pi-stat__number[b-0m24a25ev1] { color: #27ae60; }
.pi-stat--amber  .pi-stat__number[b-0m24a25ev1] { color: #e6a817; }
.pi-stat--grey   .pi-stat__number[b-0m24a25ev1] { color: #888; }

.pi-stat__label[b-0m24a25ev1] {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--hr-muted, #888);
}

/* ── Progress Bar ────────────────────────────────────────────── */
.pi-progress-wrap[b-0m24a25ev1] {
    max-width: 560px;
    margin-bottom: 1rem;
}

.pi-progress-track[b-0m24a25ev1] {
    height: 10px;
    background: var(--hr-border, #e0e0e0);
    border-radius: 99px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.pi-progress-bar[b-0m24a25ev1] {
    height: 100%;
    background: var(--hr-accent, #c0392b);
    border-radius: 99px;
    transition: width 0.3s ease;
}

.pi-progress-label[b-0m24a25ev1] {
    font-size: 0.82rem;
    color: var(--hr-muted, #888);
}

/* ── Review Layout ───────────────────────────────────────────── */
.pi-review[b-0m24a25ev1] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: start;
}

@media (max-width: 900px) {
    .pi-review[b-0m24a25ev1] {
        grid-template-columns: 1fr;
    }
}

/* ── Review Counter ──────────────────────────────────────────── */
.pi-review-counter[b-0m24a25ev1] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.pi-review-counter h2[b-0m24a25ev1] {
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0;
}

.pi-review-pip[b-0m24a25ev1] {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--hr-muted, #888);
    background: var(--hr-border, #eee);
    padding: 0.25rem 0.75rem;
    border-radius: 99px;
}

/* ── Photo Card ──────────────────────────────────────────────── */
.pi-photo-card[b-0m24a25ev1] {
    border: 1px solid var(--hr-border, #e0e0e0);
    border-radius: 8px;
    overflow: hidden;
    background: #f0f0f0;
}

.pi-photo-frame[b-0m24a25ev1] {
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a1a1a;
    overflow: hidden;
}

.pi-photo-frame img[b-0m24a25ev1] {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pi-photo-error[b-0m24a25ev1] {
    color: #888;
    font-size: 0.85rem;
    text-align: center;
    padding: 1rem;
}

.pi-photo-footer[b-0m24a25ev1] {
    padding: 0.75rem 1rem;
    background: #fff;
    border-top: 1px solid var(--hr-border, #e0e0e0);
}

.pi-photo-filename[b-0m24a25ev1] {
    font-size: 0.78rem;
    color: var(--hr-muted, #888);
    word-break: break-all;
    margin-bottom: 0.4rem;
}

.pi-notes[b-0m24a25ev1] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
}

.pi-note-badge[b-0m24a25ev1] {
    font-size: 0.72rem;
    font-weight: 600;
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffc107;
    border-radius: 4px;
    padding: 0.15rem 0.5rem;
}

/* ── Form Card ───────────────────────────────────────────────── */
.pi-form-card[b-0m24a25ev1] {
    border: 1px solid var(--hr-border, #e0e0e0);
    border-radius: 8px;
    background: var(--hr-surface, #fff);
    display: flex;
    flex-direction: column;
}

.pi-form-body[b-0m24a25ev1] {
    padding: 1.5rem;
    flex: 1;
}

.pi-form-card h3[b-0m24a25ev1] {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--hr-text, #1a1a1a);
}

.pi-parsed-hint[b-0m24a25ev1] {
    background: #f0f7ff;
    border: 1px solid #bcd7f5;
    border-radius: 6px;
    padding: 0.6rem 0.85rem;
    font-size: 0.8rem;
    color: #2563a8;
    margin-bottom: 1.25rem;
}

.pi-parsed-hint strong[b-0m24a25ev1] {
    font-weight: 700;
}

.pi-field[b-0m24a25ev1] {
    margin-bottom: 1.1rem;
}

.pi-field label[b-0m24a25ev1] {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--hr-muted, #888);
    display: block;
    margin-bottom: 0.35rem;
}

.pi-field select[b-0m24a25ev1] {
    width: 100%;
    padding: 0.55rem 0.85rem;
    border: 1px solid var(--hr-border, #ddd);
    border-radius: 6px;
    font-size: 0.9rem;
    background: #fff;
    color: var(--hr-text, #1a1a1a);
    cursor: pointer;
    transition: border-color 0.15s;
    appearance: auto;
}

.pi-field select:focus[b-0m24a25ev1] {
    outline: none;
    border-color: var(--hr-accent, #c0392b);
}

.pi-field select:disabled[b-0m24a25ev1] {
    background: #f5f5f5;
    color: #aaa;
    cursor: not-allowed;
}

/* ── Fuzzy Candidates ────────────────────────────────────────── */
.pi-candidates[b-0m24a25ev1] {
    margin-bottom: 0.6rem;
}

.pi-candidates-label[b-0m24a25ev1] {
    font-size: 0.75rem;
    color: var(--hr-muted, #888);
    margin-bottom: 0.35rem;
    display: block;
}

.pi-candidates-list[b-0m24a25ev1] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.pi-candidate-btn[b-0m24a25ev1] {
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.3rem 0.7rem;
    border-radius: 5px;
    border: 1.5px solid var(--hr-accent, #c0392b);
    background: transparent;
    color: var(--hr-accent, #c0392b);
    cursor: pointer;
    transition: background 0.12s, color 0.12s;
    line-height: 1.4;
}

.pi-candidate-btn:hover[b-0m24a25ev1],
.pi-candidate-btn--selected[b-0m24a25ev1] {
    background: var(--hr-accent, #c0392b);
    color: #fff;
}

/* ── Form Footer (actions) ───────────────────────────────────── */
.pi-form-footer[b-0m24a25ev1] {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--hr-border, #e0e0e0);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

/* ── Field label modifiers ───────────────────────────────────── */
.pi-required[b-0m24a25ev1] {
    color: var(--hr-accent, #c0392b);
    font-weight: 700;
    margin-left: 0.2rem;
}

.pi-optional[b-0m24a25ev1] {
    font-weight: 400;
    font-size: 0.75rem;
    text-transform: none;
    letter-spacing: 0;
    color: var(--hr-muted, #999);
    margin-left: 0.3rem;
}

/* Skip button must never appear disabled */
.hr-btn--ghost:not(:disabled)[b-0m24a25ev1] {
    pointer-events: auto;
    opacity: 1;
}
.pi-alert[b-0m24a25ev1] {
    padding: 0.65rem 0.9rem;
    border-radius: 6px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.pi-alert--danger[b-0m24a25ev1] {
    background: #fdf0f0;
    border: 1px solid #f5c2c2;
    color: #c0392b;
}

/* =============================================================
   PaintCombinationSearch component — pcs- prefix
   ============================================================= */

.pcs-wrap[b-0m24a25ev1] {
    position: relative;
}

.pcs-input-wrap[b-0m24a25ev1] {
    position: relative;
    display: flex;
    align-items: center;
}

.pcs-input[b-0m24a25ev1] {
    padding: 0.55rem 2rem 0.55rem 0.85rem;
    border: 1px solid var(--hr-border, #ddd);
    border-radius: 6px;
    font-size: 0.9rem;
    background: #fff;
    color: var(--hr-text, #1a1a1a);
    transition: border-color 0.15s;
}

.pcs-input:focus[b-0m24a25ev1] {
    outline: none;
    border-color: var(--hr-accent, #c0392b);
}

.pcs-clear[b-0m24a25ev1] {
    position: absolute;
    right: 0.6rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--hr-muted, #aaa);
    font-size: 0.8rem;
    padding: 0;
    line-height: 1;
}

.pcs-clear:hover[b-0m24a25ev1] {
    color: var(--hr-accent, #c0392b);
}

/* Selected pill shown below input */
.pcs-selected-pill[b-0m24a25ev1] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.4rem;
    padding: 0.35rem 0.7rem;
    background: #f0faf4;
    border: 1px solid #a8d5b5;
    border-radius: 5px;
    font-size: 0.82rem;
}

.pcs-selected-code[b-0m24a25ev1] {
    font-weight: 700;
    color: #27ae60;
    flex-shrink: 0;
}

.pcs-selected-label[b-0m24a25ev1] {
    color: var(--hr-text, #1a1a1a);
}

/* Dropdown */
.pcs-dropdown[b-0m24a25ev1] {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid var(--hr-border, #ddd);
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    max-height: 260px;
    overflow-y: auto;
    z-index: 100;
}

.pcs-option[b-0m24a25ev1] {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    padding: 0.5rem 0.85rem;
    cursor: pointer;
    font-size: 0.875rem;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.1s;
}

.pcs-option:last-child[b-0m24a25ev1] {
    border-bottom: none;
}

.pcs-option:hover[b-0m24a25ev1],
.pcs-option--active[b-0m24a25ev1] {
    background: #f5f5f5;
}

.pcs-option-code[b-0m24a25ev1] {
    font-weight: 700;
    color: var(--hr-accent, #c0392b);
    flex-shrink: 0;
    min-width: 3rem;
    font-size: 0.8rem;
}

.pcs-option-label[b-0m24a25ev1] {
    color: var(--hr-text, #1a1a1a);
}

.pcs-no-results[b-0m24a25ev1] {
    padding: 0.75rem 0.85rem;
    font-size: 0.85rem;
    color: var(--hr-muted, #999);
    font-style: italic;
}
/* /Components/Pages/PartsCataloguePage.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════════ HERO */
.pc-hero[b-lkd3poeia5] {
    position: relative;
    text-align: center;
    padding: 72px 24px 56px;
    background: var(--bg-subtle, var(--bg));
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.pc-hero-stripe[b-lkd3poeia5] {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 6px;
    display: flex;
}

.pc-stripe-segment[b-lkd3poeia5] {
    flex: 1;
    opacity: 0.85;
}

.pc-stripe-segment--1[b-lkd3poeia5] { background: #c8102e; }
.pc-stripe-segment--2[b-lkd3poeia5] { background: #1a3a6e; }
.pc-stripe-segment--3[b-lkd3poeia5] { background: #c9a84c; }
.pc-stripe-segment--4[b-lkd3poeia5] { background: #2e7d32; }
.pc-stripe-segment--5[b-lkd3poeia5] { background: #e8e8e8; }
.pc-stripe-segment--6[b-lkd3poeia5] { background: #8b1a1a; }
.pc-stripe-segment--7[b-lkd3poeia5] { background: #4a4a4a; }
.pc-stripe-segment--8[b-lkd3poeia5] { background: var(--accent, #c9a84c); }

.pc-kicker[b-lkd3poeia5] {
    font-family: 'Oswald', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent, #c9a84c);
    margin: 0 0 10px;
}

.pc-hero-title[b-lkd3poeia5] {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 12px;
    letter-spacing: -0.01em;
    line-height: 1;
}

.pc-hero-sub[b-lkd3poeia5] {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
    font-weight: 300;
}

/* ═══════════════════════════════════════════════════════════ FILTER BAR */
.pc-filter-bar[b-lkd3poeia5] {
    background: var(--bg-card);
    border-bottom: 1px solid var(--divider);
    position: sticky;
    top: 0;
    z-index: 20;
}

.pc-filter-inner[b-lkd3poeia5] {
    max-width: 1400px;
    margin: 0 auto;
    padding: 12px 40px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* Search */
.pc-search-wrap[b-lkd3poeia5] { position: relative; }

.pc-search-field[b-lkd3poeia5] {
    position: relative;
    display: flex;
    align-items: center;
}

.pc-search-icon[b-lkd3poeia5] {
    position: absolute;
    left: 10px;
    width: 16px;
    height: 16px;
    color: var(--text-secondary);
    pointer-events: none;
}

.pc-search[b-lkd3poeia5] {
    padding: 7px 32px 7px 34px;
    border: 1px solid var(--divider);
    border-radius: 6px;
    background: var(--bg);
    color: var(--text-primary);
    font-size: 0.85rem;
    width: 240px;
    outline: none;
    transition: border-color 0.15s;
}

.pc-search:focus[b-lkd3poeia5] { border-color: var(--accent); }

.pc-search-clear[b-lkd3poeia5] {
    position: absolute;
    right: 8px;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 0.75rem;
    padding: 2px 4px;
}

/* Selects */
.pc-filter-selects[b-lkd3poeia5] { display: flex; gap: 8px; }

.pc-select[b-lkd3poeia5] {
    padding: 7px 10px;
    border: 1px solid var(--divider);
    border-radius: 6px;
    background: var(--bg);
    color: var(--text-primary);
    font-size: 0.83rem;
    outline: none;
    cursor: pointer;
    transition: border-color 0.15s;
}

.pc-select:focus[b-lkd3poeia5] { border-color: var(--accent); }
.pc-select:disabled[b-lkd3poeia5] { opacity: 0.45; cursor: default; }

/* Model chips */
.pc-model-chips[b-lkd3poeia5] {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.pc-model-chip[b-lkd3poeia5] {
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid var(--divider);
    background: var(--bg);
    color: var(--text-secondary);
    font-size: 0.78rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
}

.pc-model-chip:hover[b-lkd3poeia5] { border-color: var(--accent); color: var(--text-primary); }

.pc-model-chip--active[b-lkd3poeia5] {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

/* Actions */
.pc-filter-actions[b-lkd3poeia5] {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-left: auto;
}

.pc-clear-btn[b-lkd3poeia5] {
    padding: 6px 14px;
    border: 1px solid var(--divider);
    border-radius: 6px;
    background: none;
    color: var(--text-secondary);
    font-size: 0.82rem;
    cursor: pointer;
    transition: all 0.15s;
}

.pc-clear-btn:hover[b-lkd3poeia5] { border-color: var(--text-secondary); color: var(--text-primary); }

.pc-add-btn[b-lkd3poeia5] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.15s;
}

.pc-add-btn svg[b-lkd3poeia5] { width: 16px; height: 16px; }
.pc-add-btn:hover[b-lkd3poeia5] { opacity: 0.88; }

/* ═════════════════════════════════════════════════════════════════ BODY */
.pc-body[b-lkd3poeia5] {
    max-width: 1400px;
    margin: 0 auto;
    padding: 32px 40px 80px;
}

/* Loading */
.pc-loading[b-lkd3poeia5] {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 80px 0;
    color: var(--text-secondary);
    gap: 16px;
}

.pc-loading-dots[b-lkd3poeia5] { display: flex; gap: 8px; }
.pc-loading-dots span[b-lkd3poeia5] {
    width: 8px; height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pcDot-b-lkd3poeia5 1.2s infinite ease-in-out;
}
.pc-loading-dots span:nth-child(2)[b-lkd3poeia5] { animation-delay: 0.2s; }
.pc-loading-dots span:nth-child(3)[b-lkd3poeia5] { animation-delay: 0.4s; }

@keyframes pcDot-b-lkd3poeia5 {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
    40% { transform: scale(1); opacity: 1; }
}

/* Empty */
.pc-empty[b-lkd3poeia5] {
    text-align: center;
    padding: 80px 24px;
    color: var(--text-secondary);
}
.pc-empty-icon[b-lkd3poeia5] { font-size: 3rem; margin-bottom: 16px; }
.pc-empty-title[b-lkd3poeia5] { font-size: 1.2rem; font-weight: 600; color: var(--text-primary); margin: 0 0 8px; }
.pc-empty-sub[b-lkd3poeia5] { margin: 0 0 24px; font-size: 0.9rem; }

/* ═══════════════════════════════════════════════════════════════ GRID */
.pc-grid[b-lkd3poeia5] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

/* ═══════════════════════════════════════════════════════════════ CARD */
.pc-card[b-lkd3poeia5] {
    background: var(--bg-card);
    border: 1px solid var(--divider);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: box-shadow 0.18s, transform 0.18s, border-color 0.18s;
    display: flex;
    flex-direction: column;
}

.pc-card:hover[b-lkd3poeia5] {
    box-shadow: 0 6px 24px rgba(0,0,0,0.12);
    transform: translateY(-2px);
    border-color: var(--accent);
}

.pc-card-img[b-lkd3poeia5] {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--bg);
    flex-shrink: 0;
}

.pc-card-img img[b-lkd3poeia5] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.pc-card:hover .pc-card-img img[b-lkd3poeia5] { transform: scale(1.04); }

.pc-card-img-placeholder[b-lkd3poeia5] {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    opacity: 0.3;
}

.pc-card-img-placeholder svg[b-lkd3poeia5] { width: 48px; height: 48px; }

.pc-card-body[b-lkd3poeia5] {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.pc-card-name[b-lkd3poeia5] {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pc-card-pn[b-lkd3poeia5] {
    font-size: 0.78rem;
    color: var(--text-secondary);
    font-family: 'Courier New', monospace;
    margin: 0;
}

.pc-card-meta[b-lkd3poeia5] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.pc-badge[b-lkd3poeia5] {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.pc-badge--group[b-lkd3poeia5] { background: var(--accent-muted, rgba(41,128,185,0.15)); color: var(--accent); }
.pc-badge--subgroup[b-lkd3poeia5] { background: var(--bg); border: 1px solid var(--divider); color: var(--text-secondary); }

.pc-card-models[b-lkd3poeia5] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 2px;
}

.pc-model-tag[b-lkd3poeia5] {
    font-size: 0.68rem;
    font-weight: 500;
    padding: 2px 6px;
    border-radius: 3px;
    background: var(--bg);
    border: 1px solid var(--divider);
    color: var(--text-secondary);
}

.pc-model-tag--more[b-lkd3poeia5] { color: var(--text-secondary); font-style: italic; }

/* ═══════════════════════════════════════════════════════ PAGINATION */
.pc-pagination[b-lkd3poeia5] {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 40px;
}

.pc-page-btn[b-lkd3poeia5] {
    padding: 6px 12px;
    border: 1px solid var(--divider);
    border-radius: 6px;
    background: var(--bg);
    color: var(--text-primary);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.15s;
}

.pc-page-btn:hover:not(:disabled)[b-lkd3poeia5] { border-color: var(--accent); color: var(--accent); }
.pc-page-btn--active[b-lkd3poeia5] { background: var(--accent); border-color: var(--accent); color: #fff; }
.pc-page-btn:disabled[b-lkd3poeia5] { opacity: 0.35; cursor: default; }

/* ═══════════════════════════════════════════════════════════ RESPONSIVE */
@media (max-width: 768px) {
    .pc-hero-content[b-lkd3poeia5] { padding: 36px 20px 28px; }
    .pc-filter-inner[b-lkd3poeia5] { padding: 10px 16px; }
    .pc-body[b-lkd3poeia5] { padding: 20px 16px 60px; }
    .pc-search[b-lkd3poeia5] { width: 100%; }
    .pc-filter-selects[b-lkd3poeia5] { width: 100%; }
    .pc-select[b-lkd3poeia5] { flex: 1; }
    .pc-filter-actions[b-lkd3poeia5] { margin-left: 0; width: 100%; }
    .pc-add-btn[b-lkd3poeia5] { flex: 1; justify-content: center; }
    .pc-grid[b-lkd3poeia5] { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
}
/* /Components/Pages/Register.razor.rz.scp.css */
/* ── Coming-soon placeholder ──────────────────────────────────────────────── */
.register-coming-soon[b-3ze7cafmf5] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 60vh;
    gap: 0.5rem;
    color: var(--text-muted, #888);
    text-align: center;
}

.register-coming-soon h2[b-3ze7cafmf5] {
    margin: 0;
    font-size: 1.6rem;
}

.register-coming-soon p[b-3ze7cafmf5] {
    margin: 0;
    font-size: 1rem;
}

/* ── Page layout ─────────────────────────────────────────────────────────── */
.register-page[b-3ze7cafmf5] {
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
    padding: 0;
}

/* ── Toolbar ─────────────────────────────────────────────────────────────── */
.register-toolbar[b-3ze7cafmf5] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 10px;
    background: var(--toolbar-bg, #f4f4f4);
    border-bottom: 1px solid var(--border-color, #ddd);
    flex-shrink: 0;
    flex-wrap: wrap;
}

.highlight-input[b-3ze7cafmf5] {
    padding: 4px 8px;
    border: 1px solid var(--border-color, #ccc);
    border-radius: 4px;
    font-size: 12px;
    width: 180px;
    background: var(--input-bg, #fff);
    color: var(--text-color, #333);
}

.highlight-input:focus[b-3ze7cafmf5] {
    outline: none;
    border-color: var(--accent-color, #3568dc);
    box-shadow: 0 0 0 2px rgba(53,104,220,0.15);
}

.filter-group[b-3ze7cafmf5] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}

.filter-label[b-3ze7cafmf5] {
    font-weight: 600;
    color: var(--text-muted, #666);
}

.radio-label[b-3ze7cafmf5] {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    font-size: 12px;
    color: var(--text-color, #333);
}

.radio-label input[type="radio"][b-3ze7cafmf5] {
    accent-color: var(--accent-color, #3568dc);
    cursor: pointer;
}

.btn-smart-sort[b-3ze7cafmf5] {
    padding: 4px 12px;
    background: var(--accent-color, #3568dc);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.15s;
}

.btn-smart-sort:hover:not(:disabled)[b-3ze7cafmf5] {
    background: var(--accent-hover, #2a55c4);
}

.btn-smart-sort:disabled[b-3ze7cafmf5] {
    opacity: 0.5;
    cursor: default;
}

.toolbar-spacer[b-3ze7cafmf5] {
    flex: 1;
}

.search-input[b-3ze7cafmf5] {
    padding: 4px 8px;
    border: 1px solid var(--border-color, #ccc);
    border-radius: 4px;
    font-size: 12px;
    width: 220px;
    background: var(--input-bg, #fff);
    color: var(--text-color, #333);
}

.search-input:focus[b-3ze7cafmf5] {
    outline: none;
    border-color: var(--accent-color, #3568dc);
    box-shadow: 0 0 0 2px rgba(53,104,220,0.15);
}

/* ── Table wrapper — this is the scroll container ────────────────────────── */
.register-table-wrapper[b-3ze7cafmf5] {
    flex: 1;
    overflow: auto;
    position: relative;
}

/* ── Bottom bar ──────────────────────────────────────────────────────────── */
.register-bottom-bar[b-3ze7cafmf5] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 10px;
    background: var(--toolbar-bg, #f4f4f4);
    border-top: 1px solid var(--border-color, #ddd);
    flex-shrink: 0;
}

.record-count[b-3ze7cafmf5] {
    font-size: 11px;
    color: var(--text-muted, #888);
}

.pagination-group[b-3ze7cafmf5] {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
    font-size: 12px;
}

.pagination-group select[b-3ze7cafmf5] {
    padding: 2px 4px;
    font-size: 12px;
    border: 1px solid var(--border-color, #ccc);
    border-radius: 3px;
    background: var(--input-bg, #fff);
    color: var(--text-color, #333);
}

.pagination-group button[b-3ze7cafmf5] {
    padding: 2px 8px;
    font-size: 14px;
    border: 1px solid var(--border-color, #ccc);
    border-radius: 3px;
    background: var(--input-bg, #fff);
    color: var(--text-color, #333);
    cursor: pointer;
    line-height: 1;
}

.pagination-group button:hover:not(:disabled)[b-3ze7cafmf5] {
    background: var(--hover-bg, #e6f0ff);
}

.pagination-group button:disabled[b-3ze7cafmf5] {
    opacity: 0.4;
    cursor: default;
}

.pagination-group span[b-3ze7cafmf5] {
    min-width: 60px;
    text-align: center;
    color: var(--text-muted, #888);
}

/* ── Table ───────────────────────────────────────────────────────────────── */
.register-table[b-3ze7cafmf5] {
    width: max-content;
    min-width: 100%;
    border-collapse: collapse;
    font-size: 11px;
    table-layout: fixed;
}

.register-table thead[b-3ze7cafmf5] {
    position: sticky;
    top: 0;
    z-index: 10;
    background: var(--header-bg, #e8e8e8);
}

.register-table th[b-3ze7cafmf5] {
    padding: 4px 6px;
    text-align: left;
    font-weight: 600;
    font-size: 10px;
    border-right: 1px solid var(--border-color, #ccc);
    border-bottom: 2px solid var(--border-color, #bbb);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 0;
    user-select: none;
    position: relative;
}

/* ── Resize handle ───────────────────────────────────────────────────────── */
.col-resize-handle[b-3ze7cafmf5] {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    cursor: col-resize;
    z-index: 2;
    border-radius: 0 2px 2px 0;
}

.col-resize-handle:hover[b-3ze7cafmf5] {
    background: var(--accent-color, #3568dc);
    opacity: 0.4;
}


.register-table th.sortable[b-3ze7cafmf5] {
    cursor: pointer;
}

.register-table th.sortable:hover[b-3ze7cafmf5] {
    background: var(--header-hover, #d8d8d8);
}

.register-table th.sort-asc[b-3ze7cafmf5]::after  { content: " ▲"; font-size: 9px; }
.register-table th.sort-desc[b-3ze7cafmf5]::after { content: " ▼"; font-size: 9px; }

.register-table td[b-3ze7cafmf5] {
    padding: 2px 6px;
    border-right: 1px solid var(--border-color, #e0e0e0);
    border-bottom: 1px solid var(--border-color, #e8e8e8);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 0;
}

.register-table tbody tr:nth-child(even)[b-3ze7cafmf5] {
    background: var(--alt-row-bg, #f0f8ff);
}

.register-table tbody tr:hover[b-3ze7cafmf5] {
    background: var(--hover-bg, #e6f0ff) !important;
    cursor: pointer;
}

.register-table .col-icon[b-3ze7cafmf5] {
    text-align: center;
    width: 36px;
    font-size: 10px;
}

/* ── Row states ──────────────────────────────────────────────────────────── */
.row-selected[b-3ze7cafmf5] {
    background: var(--selection-bg, #3568dc) !important;
    color: #fff !important;
}

.row-selected td[b-3ze7cafmf5] {
    color: #fff !important;
}

.row-highlighted[b-3ze7cafmf5] {
    background: #fcd563 !important;
}

/* ── Loading / empty ─────────────────────────────────────────────────────── */
.loading-overlay[b-3ze7cafmf5] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px;
    gap: 12px;
    color: var(--text-muted, #888);
    font-size: 13px;
}

.spinner[b-3ze7cafmf5] {
    width: 28px;
    height: 28px;
    border: 3px solid var(--border-color, #ddd);
    border-top-color: var(--accent-color, #3568dc);
    border-radius: 50%;
    animation: spin-b-3ze7cafmf5 0.7s linear infinite;
}

@keyframes spin-b-3ze7cafmf5 {
    to { transform: rotate(360deg); }
}

.empty-state[b-3ze7cafmf5] {
    padding: 40px;
    text-align: center;
    color: var(--text-muted, #aaa);
    font-size: 13px;
}

/* ── Context menu ────────────────────────────────────────────────────────── */
.context-backdrop[b-3ze7cafmf5] {
    position: fixed;
    inset: 0;
    z-index: 99;
}

.context-menu[b-3ze7cafmf5] {
    position: fixed;
    z-index: 100;
    background: var(--surface-bg, #fff);
    border: 1px solid var(--border-color, #ccc);
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    min-width: 180px;
    padding: 4px 0;
    font-size: 12px;
}

.context-item[b-3ze7cafmf5] {
    padding: 7px 14px;
    cursor: pointer;
    color: var(--text-color, #333);
    transition: background 0.1s;
}

.context-item:hover[b-3ze7cafmf5] {
    background: var(--hover-bg, #e6f0ff);
}

.context-item.context-close[b-3ze7cafmf5] {
    color: var(--text-muted, #888);
}

.context-separator[b-3ze7cafmf5] {
    height: 1px;
    background: var(--border-color, #eee);
    margin: 3px 0;
}

/* ── Columns button ──────────────────────────────────────────────────────── */
.btn-columns[b-3ze7cafmf5] {
    padding: 4px 10px;
    background: var(--surface-bg, #fff);
    color: var(--text-color, #333);
    border: 1px solid var(--border-color, #ccc);
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
    white-space: nowrap;
}

.btn-columns:hover[b-3ze7cafmf5] {
    background: var(--hover-bg, #e6f0ff);
    border-color: var(--accent-color, #3568dc);
}

/* ── Column picker panel ─────────────────────────────────────────────────── */
.col-picker-backdrop[b-3ze7cafmf5] {
    position: fixed;
    inset: 0;
    z-index: 199;
    background: transparent;
}

.col-picker-panel[b-3ze7cafmf5] {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 260px;
    z-index: 200;
    background: var(--surface-bg, #fff);
    border-left: 1px solid var(--border-color, #ccc);
    box-shadow: -4px 0 16px rgba(0,0,0,0.12);
    display: flex;
    flex-direction: column;
}

.col-picker-header[b-3ze7cafmf5] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-bottom: 1px solid var(--border-color, #ddd);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-color, #333);
    flex-shrink: 0;
}

.col-picker-close[b-3ze7cafmf5] {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-muted, #888);
    padding: 0 4px;
    line-height: 1;
}

.col-picker-close:hover[b-3ze7cafmf5] {
    color: var(--text-color, #333);
}

.col-picker-body[b-3ze7cafmf5] {
    flex: 1;
    overflow-y: auto;
    padding: 8px 0;
}

.col-picker-hint[b-3ze7cafmf5] {
    font-size: 10px;
    color: var(--text-muted, #999);
    margin: 0 14px 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color, #eee);
}

.col-picker-row[b-3ze7cafmf5] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px;
    cursor: pointer;
    font-size: 12px;
    color: var(--text-color, #333);
    transition: background 0.1s;
}

.col-picker-row:hover[b-3ze7cafmf5] {
    background: var(--hover-bg, #f0f6ff);
}

.col-picker-row input[type="checkbox"][b-3ze7cafmf5] {
    accent-color: var(--accent-color, #3568dc);
    cursor: pointer;
    flex-shrink: 0;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .register-table th[b-3ze7cafmf5],
    .register-table td[b-3ze7cafmf5] {
        font-size: 10px;
        padding: 2px 4px;
    }

    .highlight-input[b-3ze7cafmf5] {
        width: 120px;
    }
}
