.report-config-tabs .nav-tabs-vertical {
    grid-template-columns: minmax(190px, 220px) minmax(0, 1fr);
}

.report-config-tabs .tab-content-wrapper {
    min-width: 0;
    overflow: hidden;
}

.report-config-tabs .nav-tab {
    align-items: center;
    display: flex;
    gap: .5rem;
    justify-content: flex-start;
}

.report-column-width {
    max-width: 100px;
    width: 100px;
}

.report-designer {
    display: grid;
    grid-template-columns: minmax(150px, 190px) minmax(420px, 1fr);
    gap: 1rem;
    min-height: 520px;
}

.report-band-visibility {
    border-top: 1px solid var(--mp-border-color, rgba(127, 127, 127, .25));
    margin-top: .75rem;
    padding-top: .75rem;
}

.report-designer-tools {
    border-top: 1px solid var(--mp-border-color, rgba(127, 127, 127, .25));
    margin-top: .75rem;
    padding-top: .75rem;
}

.report-designer-tool-list {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    margin-top: .5rem;
}

.report-designer-tool {
    justify-content: flex-start;
    width: 100%;
}

.report-band-toggle-list {
    display: flex;
    flex-direction: column;
    gap: .4rem;
    margin-top: .5rem;
}

.report-band-toggle {
    align-items: center;
    cursor: pointer;
    display: inline-flex;
    font-size: .78rem;
    gap: .35rem;
    margin: 0;
}

.report-band-toggle input {
    margin: 0;
}

.report-designer-fields {
    border: 1px solid var(--mp-border-color, rgba(127, 127, 127, .25));
    border-radius: var(--mp-radius, .5rem);
    padding: .75rem;
    align-self: start;
}

.report-designer-field {
    align-items: center;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--mp-border-color, rgba(127, 127, 127, .18));
    color: inherit;
    cursor: pointer;
    display: flex;
    gap: .5rem;
    padding: .5rem .25rem;
    text-align: left;
    width: 100%;
}

.report-designer-field:hover {
    background: rgba(var(--mp-primary-rgb, 79, 70, 229), .08);
}

.report-designer-workspace {
    background: rgba(127, 127, 127, .09);
    min-height: 520px;
    overflow: auto;
    padding: 1.25rem;
    touch-action: none;
    user-select: none;
}

.report-designer-page {
    background: #fff;
    box-shadow: 0 4px 18px rgba(0, 0, 0, .15);
    box-sizing: border-box;
    color: #1f2937;
    margin: 0 auto;
}

.report-designer-printable {
    box-sizing: border-box;
    outline: 1px dashed rgba(107, 114, 128, .35);
    overflow: hidden;
}

.report-designer-band {
    border-bottom: 1px dashed #b7bec9;
    box-sizing: border-box;
    position: relative;
}

.report-designer-band.is-selected {
    background-color: rgba(79, 70, 229, .035);
    box-shadow: inset 0 0 0 1px rgba(79, 70, 229, .35);
}

.report-band-label {
    background: #eef0f4;
    color: #687080;
    font-size: 9px;
    left: 2px;
    line-height: 13px;
    padding: 0 4px;
    pointer-events: none;
    position: absolute;
    top: 1px;
    z-index: 0;
}

.report-designer-element {
    align-items: center;
    border-style: solid;
    box-sizing: border-box;
    cursor: move;
    display: flex;
    outline: 1px dotted rgba(107, 114, 128, .65);
    outline-offset: -1px;
    overflow: hidden;
    padding: 1px 3px;
    position: absolute;
    white-space: nowrap;
    z-index: 1;
}

.report-designer-element.type-linha {
    border: 0;
    border-top: 1px solid #6b7280;
    height: 1px !important;
    outline: 0;
    padding: 0;
}

.report-designer-element.type-retangulo {
    background: transparent;
}

.report-designer-element.type-imagem {
    background: repeating-linear-gradient(45deg, #f3f4f6, #f3f4f6 5px, #e5e7eb 5px, #e5e7eb 10px);
    justify-content: center;
}

.report-element-image {
    height: 100%;
    pointer-events: none;
    width: 100%;
}

.report-designer-element.is-selected {
    outline: 2px solid #4f46e5;
    outline-offset: 1px;
    z-index: 3;
}

.report-designer-element:focus {
    box-shadow: none;
}

.report-element-content {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.report-element-resize {
    background: #4f46e5;
    bottom: -1px;
    cursor: nwse-resize;
    height: 8px;
    position: absolute;
    right: -1px;
    width: 8px;
}

.report-property-grid {
    display: grid;
    gap: .45rem;
    grid-template-columns: 1fr 1fr;
}

.report-property-grid .form-group,
.report-radius-grid .form-group {
    margin-bottom: 0;
    min-width: 0;
}

.report-property-section {
    border-top: 1px solid var(--mp-border-color, rgba(127, 127, 127, .25));
    margin-top: .9rem;
    padding-top: .8rem;
}

.report-property-colors {
    display: grid;
    gap: .5rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.report-property-colors .form-group {
    margin: 0;
    min-width: 0;
}

.report-property-colors .report-input-color-small div {
    border-radius: .35rem !important;
    height: 24px;
    width: 24px;
}

.report-property-link,
.report-property-actions button {
    background: transparent;
    border: 0;
    color: var(--mp-primary, #4f46e5);
    cursor: pointer;
    font-size: .72rem;
    padding: .25rem 0;
}

.report-property-actions {
    display: flex;
    gap: .5rem;
}

.report-border-side-grid,
.report-radius-grid {
    display: grid;
    gap: .4rem;
    grid-template-columns: 1fr 1fr;
    margin-top: .4rem;
}

.report-border-side-grid .checkbox-group {
    align-items: center;
    border: 1px solid var(--mp-border-color, rgba(127, 127, 127, .25));
    border-radius: .3rem;
    display: flex;
    margin: 0;
    padding: .4rem;
}

.report-border-side-grid .checkbox {
    margin: 0;
}

.report-property-grid .form-label,
.report-radius-grid .form-label {
    font-size: .7rem;
    line-height: 1.2;
}

@media (max-width: 1100px) {
    .report-designer {
        grid-template-columns: 160px minmax(420px, 1fr);
    }
}

@media (max-width: 720px) {
    .report-config-tabs .nav-tabs-vertical {
        grid-template-columns: 1fr;
    }

    .report-designer {
        grid-template-columns: 1fr;
    }

}
