.autotest-container {
    display: flex;
    transition: all 0.3s ease-in-out;
    position: relative;
}

/* Section table */
.autotest-table-section {
    flex: 1;
    transition: all 0.3s ease-in-out;
    overflow: hidden;
    flex-direction: column;
}

/* Panel JSON */
.autotest-json-panel {
    flex: 0 0 0;
    width: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
    position: relative;
    min-width: 0;
}

.autotest-json-panel.open {
    flex: 0 0 40%;
    width: 40%;
    opacity: 1;
    visibility: visible;
}

@media (max-width: 767px) {
    .autotest-container {
        flex-direction: column;
        height: auto;
        min-height: auto;
    }

    .autotest-table-section {
        flex: 1 1 100%;
        width: 100%;
        display: block;
    }

    .autotest-container.with-panel .autotest-table-section {
        display: none;
    }

    .autotest-json-panel {
        flex: 0 0 0;
        width: 0;
        opacity: 0;
        visibility: hidden;
        position: relative;
    }

    .autotest-json-panel.open {
        flex: 1 1 100%;
        width: 100%;
        opacity: 1;
        visibility: visible;
        background: #fff;
        height: auto;
    }
}

@media (max-width: 991px) {
    .autotest-container {
        height: 50vh;
    }
}

@media (max-width: 767px) {
    .autotest-container {
        height: auto;
    }
}