#browseButton {
    border-top-left-radius: 7px;    
    border-bottom-left-radius: 7px;    
}

#hiddenContent {
    padding: 0px;
}

#updateButton{
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
}

#uploadButton {
    font-size: 22px;
    padding-left: 30%;
    padding-right: 30%;
}

#uploadButton > a {
    color: #fff;
    text-decoration: none;
}

.validation-title {
    font-size: 22px
}

.validation-title.valid {
    background-color: #C6EDA7;
}

.validation-title.invalid{
    background-color: #eda7a7;
}
.text-gray{
    color: #acacac;
}
.smaller{
    font-size: .7rem;
}

.result-row-links {
    max-width: 12rem;
}
.result-row-links__summary {
    cursor: pointer;
    list-style: none;
    color: var(--bs-secondary-color, #6c757d);
}
.result-row-links__summary::-webkit-details-marker {
    display: none;
}
.result-row-links__summary::before {
    content: "▸ ";
}
.result-row-links[open] .result-row-links__summary::before {
    content: "▾ ";
}
.result-row-links__list {
    margin-top: 0.25rem;
    line-height: 1.4;
}

.result-message-body__summary {
    cursor: pointer;
    list-style: none;
    color: var(--bs-secondary-color, #6c757d);
    font-size: 0.8rem;
}
.result-message-body__summary::-webkit-details-marker {
    display: none;
}
.result-message-body__summary::before {
    content: "▸ ";
}
.result-message-body[open] .result-message-body__summary::before {
    content: "▾ ";
}
.result-message-body__content {
    margin-top: 0.35rem;
    line-height: 1.35;
}

.bg-red{
    font-family: monospace;
    background-color: #ff9898 !important;
}

.bg-blue{
    font-family: monospace;
    background-color: #70ff6d !important;
}

.text-diff-ws {
    font-family: monospace;
    opacity: 0.85;
}

.text-diff-split {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
        "Courier New", monospace;
    line-height: 1.4;
    margin-top: 0.25rem;
}
.text-diff-split__line {
    word-break: break-word;
}
.text-diff-split__line + .text-diff-split__line {
    margin-top: 0.15rem;
}

.numbering-split-debug__table {
    font-size: 0.75rem;
}
.numbering-split-debug__cell {
    max-width: 24rem;
    vertical-align: top;
}
.numbering-split-debug__pre {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
        "Courier New", monospace;
    font-size: 0.7rem;
    line-height: 1.3;
    white-space: pre-wrap;
    word-break: break-word;
    max-height: 8rem;
    overflow: auto;
}

/* CMS language / create-variant cards: light blue; selected slightly stronger */
.cms-variant-card,
.cms-create-variant-card {
    background-color: rgba(var(--bs-primary-rgb, 13, 110, 253), 0.08);
    border-color: rgba(var(--bs-primary-rgb, 13, 110, 253), 0.35) !important;
}
.cms-variant-card.cms-variant-selected,
.cms-create-variant-card.cms-create-variant-selected {
    background-color: rgba(var(--bs-primary-rgb, 13, 110, 253), 0.2);
    border-color: var(--bs-primary, #0d6efd) !important;
}

.cms-variant-card .toggle-variant-plugins,
.table .toggle-checkboxes {
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.4;
    vertical-align: middle;
}

/* Step 4: highlight primary document plugins (e.g. Template) */
.table tbody tr.plugin-row-emphasis td {
    font-size: 1rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    background-color: rgba(var(--bs-primary-rgb, 13, 110, 253), 0.07);
    border-top-width: 2px;
}
.table tbody tr.plugin-row-emphasis .form-check-label {
    font-weight: 600;
}
.table tbody tr.plugin-row-emphasis .form-check-input {
    width: 1.125em;
    height: 1.125em;
}

/* CMS variant action row + option boxes */
.cms-variant-action-row {
    background-color: #f8f9fb;
    border-color: #e2e6ea !important;
    transition: opacity 0.15s ease;
}
.cms-variant-action-row.cms-variant-action-row--error {
    border-color: var(--bs-danger, #dc3545) !important;
}
.cms-variant-action-options {
    min-width: 0;
    align-items: stretch;
}
.cms-variant-action-option {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0.75rem 1rem;
    border: 2px solid #dee2e6;
    border-radius: 0.5rem;
    background-color: #f1f3f5;
    color: #6c757d;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
    min-width: 8.5rem;
}
.cms-variant-action-option--move {
    min-width: min(100%, 18rem);
}
.cms-variant-action-option--faded {
    background-color: #f1f3f5;
    border-color: #dee2e6 !important;
    color: #6c757d;
}
.cms-variant-action-option--faded .cms-variant-action-option__label {
    color: #6c757d;
}
.cms-variant-action-option--faded .cms-variant-move-from {
    background-color: #fff;
    border-color: #ced4da;
    color: #6c757d;
}
.cms-variant-action-option--selected {
    background-color: rgba(var(--bs-primary-rgb, 13, 110, 253), 0.18);
    border-color: var(--bs-primary, #0d6efd) !important;
    color: var(--bs-body-color, #212529);
    box-shadow: 0 0 0 1px rgba(var(--bs-primary-rgb, 13, 110, 253), 0.12);
}
.cms-variant-action-option--selected .cms-variant-action-option__label {
    color: var(--bs-body-color, #212529);
}
.cms-variant-action-option--disabled {
    cursor: not-allowed;
    pointer-events: none;
}
.cms-variant-action-option__label {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    width: 100%;
    margin: 0;
    color: inherit;
    line-height: 1.25;
}
.cms-variant-action-option .cms-variant-move-from {
    min-width: 9rem;
    max-width: 14rem;
    flex: 1 1 auto;
    font-weight: 400;
}
.cms-variant-action-error:empty {
    display: none !important;
}

.reqif-dropzone {
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
    background-color: #f8f9fb;
    border-color: #e2e6ea !important;
}
.reqif-dropzone--active {
    background-color: rgba(var(--bs-primary-rgb, 13, 110, 253), 0.07);
    border-color: rgba(var(--bs-primary-rgb, 13, 110, 253), 0.35) !important;
}
.reqif-dropzone .reqif-selected-name {
    word-break: break-all;
}