/* /Pages/PainelDiagnosticos.razor.rz.scp.css */
/* CSS isolado: vale só dentro deste componente.
   Antes estes estilos ficavam num <style> global e comprimiam TODAS as tabelas do app. */

.pd-root[b-utnn8gjanq]  .ant-table-cell {
    padding: 4px 6px !important;
    font-size: 12px;
    vertical-align: middle;
}

.pd-toolbar[b-utnn8gjanq] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 2px 0 6px;
}

.pd-count[b-utnn8gjanq] {
    font-size: 12px;
    color: var(--sp-muted);
}

.pd-form[b-utnn8gjanq] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pd-linha[b-utnn8gjanq] {
    display: flex;
    gap: 12px;
}

.pd-campo[b-utnn8gjanq] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.pd-campo > label[b-utnn8gjanq],
.pd-img-head > label[b-utnn8gjanq] {
    font-size: 12px;
    font-weight: 600;
    color: #475569;
}

.pd-textarea[b-utnn8gjanq] {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    padding: 6px 8px;
    font: inherit;
    font-size: 13px;
    resize: vertical;
}

.pd-textarea:focus[b-utnn8gjanq] {
    outline: none;
    border-color: var(--sp-primary);
    box-shadow: 0 0 0 2px rgba(22,119,255,.15);
}

.pd-imagens[b-utnn8gjanq] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.pd-img-head[b-utnn8gjanq] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-bottom: 4px;
    flex-wrap: wrap;
}

.pd-img-acoes[b-utnn8gjanq] {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.pd-img-area[b-utnn8gjanq] {
    height: 180px;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #f8fafc;
    color: #94a3b8;
    font-size: 12px;
}

.pd-img-area img[b-utnn8gjanq] {
    max-width: 100%;
    max-height: 180px;
    object-fit: contain;
}

.pd-upload[b-utnn8gjanq] {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.pd-root[b-utnn8gjanq]  .pd-file,
[b-utnn8gjanq] .pd-file {
    display: none;
}

.pd-rodape[b-utnn8gjanq] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    border-top: 1px solid #f0f0f0;
    padding-top: 10px;
    flex-wrap: wrap;
}

.pd-rodape-btns[b-utnn8gjanq] {
    display: flex;
    gap: 8px;
    margin-left: auto;
}

@media (max-width: 767.98px) {
    .pd-linha[b-utnn8gjanq],
    .pd-imagens[b-utnn8gjanq] {
        display: flex;
        flex-direction: column;
    }
}
