/* Tabs */
.tab {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    width: 250px;
    background: #f4f4f4;
    border: 1px solid #ccc;
    border-bottom: none;
    text-align: left;
}

.tab-label {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-count {
    white-space: nowrap;
}

.tab-buttons {
    display: flex;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
}

.tab {
    width: 250px;
    padding: 10px 20px;
    cursor: pointer;
    background: #f4f4f4;
    border: 1px solid #ccc;
    border-bottom: none;
    text-align: left;
    transition: 0.3s;
}

.tab:first-child {
    border-radius: 8px 0 0 0;
}

.tab:last-child {
    border-radius: 0 8px 0 0;
}

.tab:hover {
    background: #006cb7;
    color: white;
}

.tab.active {
    background: #006cb7;
    color: white;
    /* font-weight: bold; */
    border-color: #006cb7;
    border-top: none;
}

/* tab body */
.tab-body {
    display: none;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 0 0 8px 8px;
    background: white;
    height: 100%;
    overflow: auto;
}

.tab-body::-webkit-scrollbar {
    width: 16px;
}

.tab-body::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 8px;
}

.tab-body::-webkit-scrollbar-thumb {
    background-color: #006cb7;
    border-radius: 8px;
    border: 2px solid transparent;
    background-clip: content-box;
} /**/

.tab-body::-webkit-scrollbar-thumb:hover {
    background-color: #005099;
}

.tab-body.active {
    display: block;
}

/* Client bullet */
.bullet-red {
    display: inline-block;
    width: 16px;
    height: 16px;
    background: red;
    border-radius: 50%;
    margin-left: 6px;
    vertical-align: middle;
}

.bullet-green {
    display: inline-block;
    width: 16px;
    height: 16px;
    background: greenyellow;
    border-radius: 50%;
    margin-left: 6px;
    vertical-align: middle;
}

/* Client List */
.pc-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 20px auto;
    width: 100%;
    font-family: sans-serif;
}

.pc-list li {
    width: 120px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 8px;
    text-align: center;
    font-size: 13px;
}

.pc-green li {
    border: 2px solid #add899;
}

.pc-red li {
    border: 2px solid #ffa38f;
}

/* Align left - right */
.head-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: sans-serif;
}

.align-left {
    font-weight: bold;
}

.align-right {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.text-active {
    --tw-text-opacity: 0.6;
    color: rgb(0 170 0 / var(--tw-text-opacity));
    font-size: 11px;
}

.text-inactive {
    --tw-text-opacity: 0.5;
    color: rgb(255 0 0 / var(--tw-text-opacity));
    font-size: 11px;
}

.highlight {
    color: #006cb7;
    /* font-weight: bold; */
}
