/* _content/PalletVision.Web/Components/Layout/MainLayout.razor.rz.scp.css */
.pv-layout[b-w3hb3nl101] {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    color: #1a1a1a;
    background: #f6f7f9;
}

.pv-header[b-w3hb3nl101] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
}

.pv-brand a[b-w3hb3nl101] {
    font-weight: 700;
    font-size: 1.25rem;
    text-decoration: none;
    color: #0f4c81;
}

.pv-nav[b-w3hb3nl101] {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.pv-nav a[b-w3hb3nl101] {
    text-decoration: none;
    color: #374151;
}

.pv-nav a:hover[b-w3hb3nl101] {
    color: #0f4c81;
}

.pv-main[b-w3hb3nl101] {
    flex: 1;
    padding: 1.5rem;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
}

.pv-footer[b-w3hb3nl101] {
    padding: 1rem 1.5rem;
    text-align: center;
    color: #6b7280;
    font-size: 0.875rem;
    border-top: 1px solid #e5e7eb;
    background: #fff;
}

.pv-card[b-w3hb3nl101] {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.25rem;
    margin-bottom: 1rem;
}

.pv-btn[b-w3hb3nl101] {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #0f4c81;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
}

.pv-btn:disabled[b-w3hb3nl101] {
    opacity: 0.6;
    cursor: not-allowed;
}

.pv-alert-error[b-w3hb3nl101] {
    color: #b91c1c;
    background: #fef2f2;
    border: 1px solid #fecaca;
    padding: 0.75rem;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.pv-alert-success[b-w3hb3nl101] {
    color: #166534;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    padding: 0.75rem;
    border-radius: 6px;
    margin-bottom: 1rem;
}

table.pv-table[b-w3hb3nl101] {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

table.pv-table th[b-w3hb3nl101],
table.pv-table td[b-w3hb3nl101] {
    border: 1px solid #e5e7eb;
    padding: 0.5rem 0.75rem;
    text-align: left;
}

table.pv-table th[b-w3hb3nl101] {
    background: #f9fafb;
}

.form-group[b-w3hb3nl101] {
    margin-bottom: 1rem;
}

.form-group label[b-w3hb3nl101] {
    display: block;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.form-group input[b-w3hb3nl101] {
    width: 100%;
    max-width: 400px;
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
}

.pv-hint[b-w3hb3nl101] {
    color: #6b7280;
    font-size: 0.9rem;
}

.pv-file-input[b-w3hb3nl101] {
    display: block;
    margin-top: 0.5rem;
}

.pv-actions[b-w3hb3nl101] {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin: 1rem 0;
}

.pv-btn-secondary[b-w3hb3nl101] {
    background: #374151;
}

.pv-delta[b-w3hb3nl101] {
    margin: 0.75rem 0;
    padding: 0.75rem;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
}

.pv-delta-up[b-w3hb3nl101] {
    border-color: #86efac;
    background: #f0fdf4;
    color: #166534;
}

.pv-delta-down[b-w3hb3nl101] {
    border-color: #fecaca;
    background: #fef2f2;
    color: #b91c1c;
}

.pv-delta-neutral[b-w3hb3nl101] {
    border-color: #e5e7eb;
    background: #f9fafb;
}

.pv-link-btn[b-w3hb3nl101] {
    background: none;
    border: none;
    color: #0f4c81;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
    margin-right: 0.5rem;
}
/* _content/PalletVision.Web/Components/Shared/DetectionOverlay.razor.rz.scp.css */
.pv-overlay-wrap[b-ax7cck8eie] {
    position: relative;
    display: inline-block;
    max-width: 100%;
    background: #111;
    border-radius: 8px;
    overflow: hidden;
    line-height: 0;
}

.pv-overlay-img[b-ax7cck8eie] {
    max-width: 100%;
    height: auto;
    display: block;
}

.pv-overlay-placeholder[b-ax7cck8eie] {
    width: 100%;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    line-height: 1.4;
    background: #1f2937;
}

.pv-bbox[b-ax7cck8eie] {
    position: absolute;
    border: 2px solid #22c55e;
    box-sizing: border-box;
    pointer-events: none;
}

.pv-bbox-label[b-ax7cck8eie] {
    position: absolute;
    left: 0;
    top: -1.35em;
    background: #22c55e;
    color: #052e16;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    padding: 1px 4px;
    white-space: nowrap;
}
