﻿.btn-main {
    --bs-btn-color: #fff;
    --bs-btn-bg: #007583;
    --bs-btn-border-color: #007583;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #40a0aa; /* màu nhạt hơn của #007583 */
    --bs-btn-hover-border-color: #40a0aa;
    --bs-btn-focus-shadow-rgb: 0, 117, 131; /* RGB của #007583 */

    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #006672; /* màu hơi đậm hơn hover, nhấn mạnh hơn */
    --bs-btn-active-border-color: #006672;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #007583;
    --bs-btn-disabled-border-color: #007583;
}

.table-main {
    border-color: #fff;
    /* Reset lại các biến bootstrap table để tránh thừa thãi */
    --bs-table-color: #fff; /* màu chữ chính */
    --bs-table-bg: #007583; /* màu nền chính */

    --bs-table-border-color: var(--bs-border-color, #dee2e6); /* màu viền, fallback nếu biến chưa định nghĩa */
    /* Màu sắc cho các trạng thái (striped, active, hover) dựa trên màu nhấn (emphasis) */
    --bs-table-accent-bg: transparent;
    --bs-table-striped-color: var(--bs-emphasis-color, #000);
    --bs-table-striped-bg: rgba(var(--bs-emphasis-color-rgb, 0,0,0), 0.05);
    --bs-table-active-color: var(--bs-emphasis-color, #000);
    --bs-table-active-bg: rgba(var(--bs-emphasis-color-rgb, 0,0,0), 0.1);
    --bs-table-hover-color: var(--bs-emphasis-color, #000);
    --bs-table-hover-bg: rgba(var(--bs-emphasis-color-rgb, 0,0,0), 0.075);
}

    .table-main th,
    .table-main td {
        background-color: #007583;
        color: #fff;
        border: 1px solid #fff; /* Viền trắng */
    }
        .table-main th:first-child,
        .table-main td:first-child {
            border-left: 1px solid var(--bs-table-border-color);
        }

        .table-main th:last-child,
        .table-main td:last-child {
            border-right: 1px solid var(--bs-table-border-color);
        }

    /* Hover (nếu cần) */
    .table-main tbody tr:hover td {
        background-color: #40a0aa;
        color: #fff;
    }

/* Viền trắng xung quanh bảng nếu cần */
.table-main {
    border: 1px solid #fff;
    border-left: 1px solid var(--bs-table-border-color);
    border-right: 1px solid var(--bs-table-border-color);
}

.text-main {
    color: var(--main-color);
}

/*CSS Loading*/
#circularG {
    position: relative;
    width: 143px;
    height: 143px;
    margin: auto;
}

.circularG {
    position: absolute;
    background-color: #01a4e0;
    width: 33px;
    height: 33px;
    border-radius: 21px;
    animation-name: bounce_circularG;
    animation-duration: 1.6s;
    animation-iteration-count: infinite;
    animation-direction: normal;
}

#circularG_1 {
    left: 0;
    top: 47px;
    animation-delay: 0.30s;
}

#circularG_2 {
    left: 14px;
    top: 14px;
    animation-delay: 0.50s;
}

#circularG_3 {
    top: 0;
    left: 57px;
    animation-delay: 0.70s;
}

#circularG_4 {
    right: 14px;
    top: 14px;
    animation-delay: 0.90s;
}

#circularG_5 {
    right: 0;
    top: 57px;
    animation-delay: 1.10s;
}

#circularG_6 {
    right: 14px;
    bottom: 14px;
    animation-delay: 1.30s;
}

#circularG_7 {
    left: 57px;
    bottom: 0;
    animation-delay: 1.50s;
}

#circularG_8 {
    left: 14px;
    bottom: 14px;
    animation-delay: 1.70s;
}



@keyframes bounce_circularG {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(.3);
    }
}


/*.tree, .tree ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

    .tree ul {
        margin-left: 1em;
        position: relative;
    }

        .tree ul:before {
            content: "";
            display: block;
            width: 0;
            position: absolute;
            top: 0;
            bottom: 0;
            left: 0;
            border-left: 1px solid;
        }

    .tree li {
        margin: 0;
        padding-left: 10px;
        line-height: 2em;
        color: #1e1076;
        font-weight: 700;
        font-size: 13px;
        position: relative;
    }

    .tree ul li:before {
        content: "";
        display: block;
        width: 10px;
        height: 0;
        border-top: 1px solid;
        margin-top: -1px;
        position: absolute;
        top: 1em;
        left: 0;
    }

    .tree ul li:last-child:before {
        background: #fff;
        height: auto;
        top: 1em;
        bottom: 0;
    }

    .tree li a {
        text-decoration: none;
        color: #1e1076;
        margin-left: 5px;
    }

    .tree li button, .tree li button:active, .tree li button:focus {
        text-decoration: none;
        color: #1e1076;
        border: none;
        background: transparent;
        margin: 0px 0px 0px 0px;
        padding: 0px 0px 0px 0px;
        outline: 0;
    }*/
