body {
    font-size: 12px;
    font-family: "Courier New", Courier, monospace;
}

#summary-sticky table {
    width: auto;
    border-collapse: collapse;
    text-align: center;
    margin: 5px;
    position: fixed; /* Giữ cố định */
    top: 50px; /* Cách mép trên 10px */
    right: 10px; /* Cách mép phải 10px */
    z-index: 1000; /* Đảm bảo table nằm trên các phần tử khác */
    background-color: white; /* Tùy chỉnh màu nền */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Tạo bóng cho đẹp */
    border: 1px solid #ccc; /* Tùy chỉnh border */
    padding: 10px; /* Thêm khoảng cách bên trong */
}

#summary-sticky th, #summary-sticky td {
    padding: 0;
    border: 1px dotted blue;
    margin: 2px;
    padding: 2px;
}

#summary-sticky th {
    background-color: #f1f1f1;
    font-weight: bold;
}

#summary-sticky td {
    color: #333;
    text-align: right;
}

#main-content {
    width: 100vw !important;
    height: 100vh !important;
    overflow: hidden;
}

.sticky {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #f8f9fa;
}

.sticky-header th {
    position: sticky;
    top: 0;
    background: white;
    z-index: 1003;
}

table.sticky-header {
    height: auto !important;
    width: 100vw !important;
    overflow: scroll !important;
}

.sticky-tabs {
    position: sticky;
    top: 0;
    background: white;
    z-index: 1;
}

.sticky-col {
    position: sticky;
    left: 0;
    background: white;
    z-index: 3;
}

.scrollable-container {
    overflow-x: auto;
    overflow-y: auto;
    max-height: 80vh !important; /* Adjust this value as needed */
}

#input-tk {
    position: sticky;
    top: 0;
    z-index: 1001;
    background-color: #f8f9fa;
}

.ace_active-line {
    background-color: yellow;
    opacity: 0.8;
}

#tree-view, #tree-view ul {
    list-style: none;
    list-style-type: none;
}

.split {
    display: flex;
    flex-direction: row;
    min-height: 100vh;
}

.gutter {
    background-color: #eee;
    background-repeat: no-repeat;
    background-position: 50%;
    padding: 0;
    margin: 0;
    min-height: 100vh;
}

    .gutter.gutter-horizontal {
        background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAeCAYAAADkftS9AAAAIklEQVQoU2M4c+bMfxAGAgYYmwGrIIiDjrELjpo5aiZeMwF+yNnOs5KSvgAAAABJRU5ErkJggg==');
        cursor: col-resize;
    }

.inline-grid {
    display: inline-grid;
    grid-gap: 5px; /* Điều chỉnh khoảng cách giữa các item nếu cần */
}

#split-0, #split-1 {
    height: 90vh !important;
    min-height: 90vh !important;
    max-height: 90vh !important;
    overflow: scroll
}

.btn-tool {
    min-width: 2rem !important;
    min-height: 2rem !important;
    background: none;
    border: none;
    transition: background-color 0.3s, color 0.3s, box-shadow 0.3s; /* Thêm hiệu ứng chuyển đổi mượt mà */
}

    .btn-tool:hover {
        background-color: transparent;
        color: green !important;
        opacity: 0.5;
        box-shadow: 0 5px 9px 0 rgba(0, 0, 0, 0.2); /* Thêm shadow */
    }

.fad {
    font-size: 1.1rem;
}

.ace_search {
    top: 5px;
    left: 0 !important
}

/* Tab view switching - active button */
.btn-tool.active {
    background-color: #d4edda !important;
    border: 2px solid #28a745 !important;
    box-shadow: 0 2px 6px rgba(40, 167, 69, 0.3);
    opacity: 1 !important;
}

#table-view {
    padding: 0;
    margin: 0;
}

#table-view .card {
    border: none;
    box-shadow: none;
    margin: 0 !important;
}