/* _content/TLV.PMOP.PlantData.RCL/Components/LogoUpload.razor.rz.scp.css */
/* TLV palette: white surface, blue accents */
.logo-card[b-dk91k34jkm] {
    background: #ffffff;
    border: 1px solid var(--dxbl-border-color, #d7dde5);
    border-radius: 12px;
    padding: 5px 5px;
    width: fit-content;
    max-width: 460px;
    box-sizing: border-box;
}

.logo-card-body[b-dk91k34jkm] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.logo-box[b-dk91k34jkm] {
    width: 125px;
    height: 125px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    background: #f2f6fb;
    border: 1px solid #e1e8f0;
    color: #0067b1;
    margin: 1px;
}

.logo-placeholder[b-dk91k34jkm] {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    text-align: center;
}

.logo-img[b-dk91k34jkm] {
    object-fit: scale-down;
    max-width: 125px;
    max-height: 125px;
}

.logo-actions[b-dk91k34jkm] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 0 1 auto;
    min-width: 0;
    margin: .2rem;
}

.logo-upload-delete[b-dk91k34jkm]
{
    display: flex;
    flex-direction: row;
}

/* outlined blue button; the real <input type=file> inside is hidden */
.logo-upload-btn[b-dk91k34jkm], .logo-remove-btn[b-dk91k34jkm] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    padding: 6px 12px;
    text-align: center;
    border: 1px solid lightgray;
    border-radius: 6px;
    color: #000;
    cursor: pointer;
    user-select: none;
    background: #ffffff;
    margin:0.25rem
}

.logo-upload-btn:hover[b-dk91k34jkm] {
    background: #eaf3fb;
}

.logo-file-input[b-dk91k34jkm] {
    display: none;
}

/* same shape as the upload button; turns red on hover */

.logo-remove-btn:hover[b-dk91k34jkm] {
    background: #fdecec;
    border-color: #c62828;
    color: #c62828;
}

.logo-hint[b-dk91k34jkm] {
    font-size: 12px;
    color: #6b7684;
    margin:0.25rem
}

.logo-error[b-dk91k34jkm] {
    font-size: 12px;
}

/* narrow columns / mobile: stack tile above the actions, center everything */
@media (max-width: 420px) {
    .logo-card-body[b-dk91k34jkm] {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .logo-actions[b-dk91k34jkm] {
        align-items: center;
        text-align: center;
        width: 100%;
    }

    .logo-upload-btn[b-dk91k34jkm] {
        justify-content: center;
        width: 100%;
    }
}
/* _content/TLV.PMOP.PlantData.RCL/Shared/FormComponentXvalve.razor.rz.scp.css */
[b-ne1cgntli2] .form-item-button {
    text-align: right;
}
/* _content/TLV.PMOP.PlantData.RCL/Shared/PlantUserCodeSection.razor.rz.scp.css */
.user-code-draft-action[b-5pme8yvvvn] {
    background: white;
    color: black;
    border: 1px solid #d3d3d3;
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.user-code-label-accept[b-5pme8yvvvn],
.user-code-option-accept[b-5pme8yvvvn] {
    color: var(--bs-primary);
}

.user-code-label-cancel[b-5pme8yvvvn],
.user-code-option-cancel[b-5pme8yvvvn] {
    color: var(--bs-danger);
}

.plant-user-codes[b-5pme8yvvvn] {
    min-width: 0;
    max-width: 100%;
}

.user-code-table-container[b-5pme8yvvvn] {
    max-width: 100%;
    overflow-x: auto;
}

.user-code-table[b-5pme8yvvvn] {
    table-layout: fixed;
    min-width: 40rem;
}

.user-code-value-column[b-5pme8yvvvn] {
    width: calc(32ch + 1rem);
}

.user-code-action-column[b-5pme8yvvvn] {
    width: 80px;
}

.user-code-table .user-code-actions[b-5pme8yvvvn] {
    padding: .25rem;
    text-align: center;
    vertical-align: middle;
    overflow-wrap: anywhere;
}

.user-code-actions .btn[b-5pme8yvvvn] {
    padding: .125rem .25rem;
}

.user-code-actions .user-code-draft-action[b-5pme8yvvvn] {
    width: 2rem;
    height: 2rem;
}

.user-code-option-add[b-5pme8yvvvn] {
    background: #eee;
    color: black;
    border: 1px solid #d3d3d3;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: .5rem auto;
    padding: 0;
    width: 2rem;
    height: 2rem;
    min-width: 2rem;
    min-height: 2rem;
}

.user-code-label-draft[b-5pme8yvvvn] {
    min-width: 0;
}

.user-code-header > span[b-5pme8yvvvn] {
    overflow-wrap: anywhere;
}

@media (max-width: 767.98px), (pointer: coarse) {
    .plant-user-codes button[b-5pme8yvvvn] {
        min-width: 44px;
        min-height: 44px;
    }

    .user-code-action-column[b-5pme8yvvvn] {
        width: 104px;
    }

    .plant-user-codes[b-5pme8yvvvn]  input,
    .plant-user-codes[b-5pme8yvvvn]  textarea {
        min-height: 44px;
    }
}
