html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

* {
    -ms-overflow-style: scrollbar; /* Internet Explorer 10+ */
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: dimgray lightgray;
}
    /* Set scrollbar properties for Chrome and Edge for body content */
    *::-webkit-scrollbar {
        width: 6px;
    }

    *::-webkit-scrollbar-track {
        background-color: lightgray;
    }

    *::-webkit-scrollbar-thumb {
        background-color: dimgray;
    }


/* Show horizontal scrollbars for tables */
.table-scroll {
    overflow-x: scroll;
    -ms-overflow-style: scrollbar;
    scrollbar-width: thin;
    scrollbar-color: #415a77 white;
    scroll-padding: 0;
    scroll-margin: 0;
}

    .table-scroll::-webkit-scrollbar {
        height: 8px;
    }

    .table-scroll::-webkit-scrollbar-track {
        background-color: transparent;
    }

    .table-scroll::-webkit-scrollbar-thumb {
        background-color: #415a77;
        border-radius: 10px;
    }

.app-body {
    background-image: linear-gradient(90deg, rgb(223, 223, 223), rgb(187, 187, 187));
    padding-bottom: 50px;
    width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}

.app-footer {
    position: absolute;
    bottom: 0;
    padding: 5px;
    border-top: 1px solid lightgray;
    width: 100%;
    text-align: center;
    color: gray;
}

.closebtn {
    color: dimgray;
    font-weight: bold;
    float: right;
    font-size: 20px;
    line-height: 20px;
    cursor: pointer;
    transition: 0.3s;
}

    .closebtn:hover {
        color: black;
    }

.btn-md-square {
    width: 38px;
    height: 38px;
}

.table-btn {
    margin-top: 1px;
    margin-bottom: 1px;
    padding: 3px 0;
}

.button-group {
    display: flex;
}

    .button-group a {
        flex-grow: 1;
        width: 100%;
    }

.btn-60 {
    width: 60px;
}

.btn-70 {
    width: 70px;
}

.btn-80 {
    width: 80px;
}

.btn-100 {
    width: 100px;
}

.container-600 {
    margin: auto;
    max-width: 600px;
    margin-top: 50px;
}

.container-1000 {
    margin: auto;
    max-width: 1000px;
    margin-top: 50px;
}

.width-600 {
    max-width: 600px;
    width: 100%;
}

.alert-box {
    position: relative;
    padding: 8px 15px;
    border: 1px solid transparent;
    border-radius: 0.25rem;
}

.success {
    color: #1D223D;
    background-color: #0EBF0B;
    border: solid 1px #0EA60B;
    font-weight: bold;
}

.warning {
    color: #1D223D;
    background-color: #F5CE2E;
    border: solid 1px #F5B32E;
    font-weight: bold;
}

.danger {
    color: #F0EEE6;
    background-color: #CD2208;
    border: solid 1px #A72208;
    font-weight: bold;
}

.index-table {
    width: 100%;
}

    .index-table thead {
        background-color: #88accc;
        color: black;
    }

    .index-table > thead > tr > th:first-child {
        border-top-left-radius: 5px;
    }

    .index-table > thead > tr > th:last-child {
        border-top-right-radius: 5px;
    }

    .index-table tbody {
        background-color: whitesmoke;
    }

        .index-table tbody > tr {
            border-top: solid 1px #dfd7ca;
            border-bottom: solid 1px #dfd7ca;
        }

            .index-table tbody > tr:last-child {
                border-bottom: none;
            }

                .index-table tbody > tr:last-child > td:first-child {
                    border-bottom-left-radius: 5px;
                }

                .index-table tbody > tr:last-child > td:last-child {
                    border-bottom-right-radius: 5px;
                }

            .index-table tbody > tr:hover {
                background-color: rgb(223, 223, 223);
            }

    .index-table th {
        padding: 10px;
        font-size: 15px;
    }

    .index-table td {
        padding: 5px 10px;
    }

.sorting-tab-header {
    color: black;
    text-decoration: none !important;
}

    .sorting-tab-header:hover {
        color: black;
    }

.body-container {
    max-width: 1440px;
    width: 90vw;
    margin: auto;
}


.form-group {
    margin-block: 10px;
}

.permission-form-group{
    display: flex;
    flex-wrap: wrap;
    align-items:center;
}
    .permission-form-group label{
        min-width: 150px;
    }

    .permission-form-group select {
        width: auto;
    }

.settings-form-group {
    display: flex;
    flex-wrap: wrap;
    max-width: 500px;
    width: 100%;
    margin-block: 7px;
}

    .settings-form-group label {
        width: 200px;
    }

    .settings-form-group input {
        width: 250px;
    }

    .settings-form-group select {
        width: 250px;
    }

.page-title {
    margin: 0;
    padding: 0;
    font-weight: 500;
    color: #46474d;
}

.record-icon {
    width: 20px;
    height: 20px;
}


/* Style the tab buttons */
.account-tab {
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: #f1f1f1;
}

    .account-tab button {
        background-color: inherit;
        border: none;
        outline: none;
        cursor: pointer;
        padding: 6px 10px;
        transition: 0.3s;
        font-size: 17px;
    }

        .account-tab button:hover {
            background-color: #ddd;
        }

        .account-tab button.active {
            background-color: #ccc;
        }

/* Style the tab content */
.account-tabcontent {
    display: none;
    padding: 6px 12px 10px;
    border: 1px solid #ccc;
    border-top: none;
}
