﻿.badge-container {
    display: inline-flex;
    align-items: center;
    margin-top: 10px;
    font-family: 'Segoe UI', sans-serif;
    font-size: 14px;
}

    .badge-container .label {
        background: linear-gradient(to right, #3a72b3, #19355a);
        color: white;
        padding: 4px 12px;
        border-radius: 6px 0 0 6px;
        font-weight: bold;
    }

    .badge-container .value {
        background: linear-gradient(to right, #f9e79f, #d4ac0d);
        color: black;
        padding: 4px 12px;
        border-radius: 0 6px 6px 0;
        font-weight: bold;
    }
#totalMandaysBadge {
    position: absolute;
    top: 5px;
    right: 10px;
    display: inline-flex;
    align-items: center;
    font-family: 'Segoe UI', sans-serif;
    font-size: 14px;
    z-index: 10; /* ensures it stays above the canvas */
}

    #totalMandaysBadge .label,
    #totalMandaysBadge .value {
        padding: 6px 12px;
        font-size: 10px;
        font-weight: bold;
        line-height: 1;
        display: flex;
        align-items: center;
        height: 32px; /* fixed height ensures both are equal */
    }


.badge-container .value {
    background: linear-gradient(to right, #f9e79f, #d4ac0d);
    color: black;
    padding: 4px 12px;
    border-radius: 0 6px 6px 0;
    font-weight: bold;
}

.badge-containerV2 {
    display: inline-flex;
    align-items: center;
    margin-top: 10px;
    font-family: 'Segoe UI', sans-serif;
    font-size: 14px;
}
.badge-containerV2 .value {
        background: linear-gradient(to right, #f9e79f, #d4ac0d);
        color: black;
        padding: 4px 12px;
        border-radius: 0 6px 6px 0;
        font-weight: bold;
    }
.badge-containerV2 .label {
    background: linear-gradient(to right, #3a72b3, #19355a);
    color: white;
    padding: 4px 12px;
    border-radius: 6px 0 0 6px;
    font-weight: bold;
}
#paxCountBadge {
    position: absolute;
    top: 46px;
    right: 10px;
    display: inline-flex;
    align-items: center;
    font-family: 'Segoe UI', sans-serif;
    font-size: 14px;
    z-index: 10; /* ensures it stays above the canvas */
}
#programsBadge {
    position: absolute;
    top: 46px;
    right: 10px;
    display: inline-flex;
    align-items: center;
    font-family: 'Segoe UI', sans-serif;
    font-size: 14px;
    z-index: 10; /* ensures it stays above the canvas */
}
    #paxCountBadge .label,
    #paxCountBadge .value,
    #programsBadge .label,
    #programsBadge .value {
        padding: 6px 12px;
        font-size: 10px;
        font-weight: bold;
        line-height: 1;
        display: flex;
        align-items: center;
        height: 32px; /* fixed height ensures both are equal */
        justify-content: center;
        text-align: center;
    }
.badge-left {
    left: 37px;
}

.badge-right {
    right: 10px;
}

.badgeV8-right {
    right: 10px;
}

.badge-containerV8 {
    display: inline-flex;
    align-items: center;
    margin-top: 10px;
    font-family: 'Segoe UI', sans-serif;
    font-size: 14px;
}



.badge-containerV8 .value {
    background: linear-gradient(to right, #f9e79f, #d4ac0d);
    color: black;
    padding: 4px 12px;
    border-radius: 0 6px 6px 0;
    font-weight: bold;
}

.badge-containerV8 .label {
    background: linear-gradient(to right, #3a72b3, #19355a);
    color: white;
    padding: 4px 12px;
    border-radius: 6px 0 0 6px;
    font-weight: bold;
}
#avgLoadingBadge .label,
#avgLoadingBadge .value {
    padding: 6px 12px;
    font-size: 10px;
    font-weight: bold;
    line-height: 1;
    display: flex;
    align-items: center;
    height: 32px; /* fixed height ensures both are equal */
    justify-content: center;
    text-align: center;
}






/* Shared yellow value box */



.btn-group d-flex gap-2 .btn {
    background-color: #c9c2c1;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 6px 10px;
    margin-bottom: 5px;
    text-align: left;
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 13px;
    font-weight: bold;
    white-space: normal;
    margin-bottom: 6px;
}

.btn-group d-flex gap-2 .btn.active {
    background-color: #c9302c;
}

.btn-group .btn {
    margin-right: 6px; /* horizontal space between buttons */
}

.btn-group d-flex gap-2 .btn:hover {
    background-color: #b52b27;
    cursor: pointer;
}

.type-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    width: 100%;
}

.type-btn {
    background-color: #c9c2c1;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 6px 10px;
    font-weight: bold;
    font-size: 13px;
    text-align: center;
    width: 100%;
}

    .type-btn.active {
        background-color: #c9302c;
    }

.grid-1col {
    display: flex;
    flex-direction: column;
    gap: 5px;
    max-height: 250px; /* Optional: makes it scrollable */
    overflow-y: auto;
}

.grid-2col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    width: 100%;
}

#clientList::-webkit-scrollbar {
    width: 6px;
}

#clientList::-webkit-scrollbar-track {
    background: #f1f1f1;
}

#clientList::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

    #clientList::-webkit-scrollbar-thumb:hover {
        background: #555;
    }

#consultantList {
    max-height: 300px;
    overflow-y: auto;
    padding-right: 4px;
}

    #consultantList .grid-2col {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }

.grid-btn {
    background-color: #c9c2c1;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 6px 10px;
    font-weight: bold;
    font-size: 13px;
    text-align: center;
    width: 100%;
}

    .grid-btn.active {
        background-color: #c9302c;
    }

    .grid-btn:hover {
        background-color: #b52b27;
        cursor: pointer;
    }

.type-btn:hover {
    background-color: #b52b27;
    cursor: pointer;
}

.row2-panel {
    overflow-y: auto;
    height: 315px;
    padding: 10px;
    border: 2px solid #428bca;
    border-radius: 5px;
    background-color: #f9f9f9;
    margin-left: 250px;
}


.dashboard-header {
    background-color: orange;
    padding: 10px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    text-align: center;
    border-radius: 5px;
    margin-bottom: 20px;
}

.left-filter-panel {
    width: 250px !important;
    min-width: 250px;
    overflow-y: auto;
    height: 850px;
    padding: 10px;
    border: 2px solid #428bca;
    border-radius: 5px;
    background-color: #f9f9f9;
    margin-left: 250px;
}

.right-filter-panel {
    width: 250px !important;
    min-width: 250px;
    overflow-y: auto;
    height: 850px;
    padding: 10px;
    border: 2px solid #428bca;
    border-radius: 5px;
    background-color: #f9f9f9;
}

.chart-box {
    background: white;
    padding: 10px;
    border-radius: 5px;
    height: 260px;
    margin-bottom: 20px;
    width: 100%;
    position: relative;
}

.btn-group-vertical .btn {
    background-color: #c9c2c1;
    color: white;
    border-radius: 6px;
    margin-bottom: 5px;
}

    .btn-group-vertical .btn.active {
        background-color: #c9302c;
    }

.region-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    width: 100%;
}

.month-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    width: 100%;
}

.month-btn {
    background-color: #c9c2c1;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 6px 10px;
    font-weight: bold;
    font-size: 13px;
    text-align: center;
    width: 100%;
}

    .month-btn.active {
        background-color: #c9302c;
    }

    .month-btn:hover {
        background-color: #b52b27;
        cursor: pointer;
    }

.region-btn {
    background-color: #c9c2c1;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 6px 10px;
    font-weight: bold;
    font-size: 13px;
    text-align: center;
    width: 100%;
}

    .region-btn.active {
        background-color: #d9534f;
        color: white;
        font-weight: bold;
    }


    .region-btn:hover {
        background-color: #b52b27;
        cursor: pointer;
    }

.grid-2col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    width: 100%;
}

.grid-btn {
    background-color: #c9c2c1;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 6px 10px;
    font-weight: bold;
    font-size: 13px;
    text-align: center;
    width: 100%;
}

    .grid-btn.active {
        background-color: #c9302c;
    }

    .grid-btn:hover {
        background-color: #b52b27;
        cursor: pointer;
    }

#trainingCategoryList {
    max-height: 300px;
    overflow-y: auto;
    padding-right: 4px;
}

    #trainingCategoryList .grid-2col {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }

.grid-btn {
    background-color: #c9c2c1;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 6px 10px;
    font-weight: bold;
    font-size: 13px;
    text-align: center;
    width: 100%;
}

    .grid-btn.active {
        background-color: #c9302c;
    }

    .grid-btn:hover {
        background-color: #b52b27;
        cursor: pointer;
    }

#chartTypeMandays {
    background: white;
    border-radius: 5px;
    width: 100%;
    height: 200px;
}

.region-list-wrapper {
    display: flex;
    flex-direction: column;
    max-height: 422px;
    overflow-y: auto;
    border: 1px solid #ccc;
    padding: 5px;
    border-radius: 6px;
    background: #f9f9f9;
}


.region-item {
    background-color: #d9534f;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 6px 10px;
    font-weight: bold;
    font-size: 13px;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    cursor: pointer;
}


    .region-item input[type="checkbox"] {
        margin-right: 8px;
    }

.multi-select-wrapper {
    position: relative;
    width: 250px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: Arial;
}

.multi-select-toggle {
    padding: 5px 10px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.multi-select-list {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 999;
    background: #fff;
    border: 1px solid #ccc;
    max-height: 200px;
    overflow-y: auto;
    width: 100%;
    padding: 5px;
}

.search-box {
    width: 100%;
    padding: 5px;
    margin: 5px 0;
}

.multi-select-list label {
    display: block;
    margin: 3px 0;
}
/* Grid layout: 3 columns */
.month-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 in one row */
    gap: 6px;
}

/* Label styled like region buttons */
.month-item {
    display: flex;
    align-items: center;
    background-color: #d9534f;
    color: white;
    padding: 6px 10px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    white-space: nowrap;
    font-size: 13px;
}

    /* Checkbox spacing inside label */
    .month-item input[type="checkbox"] {
        margin-right: 6px;
    }

#clientListDropdown {
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 6px;
    max-height: 300px;
    overflow-y: auto;
    background-color: #f9f9f9;
    margin-bottom: 15px;
}

    #clientListDropdown input[type="text"] {
        width: 100%;
        margin-bottom: 8px;
        padding: 6px;
        border-radius: 4px;
        border: 1px solid #ccc;
        font-size: 13px;
    }

#clientCheckboxList {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.client-item {
    display: flex;
    align-items: center;
    background-color: #d9534f;
    color: white;
    padding: 6px 10px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    white-space: nowrap;
    font-size: 13px;
    transition: background-color 0.2s;
}

    .client-item:hover {
        background-color: #b52b27;
    }

    .client-item input[type="checkbox"] {
        margin-right: 6px;
    }

#selectAllClients {
    margin-right: 5px;
}

.consultant-item {
    display: flex;
    align-items: center;
    background-color: #d9534f;
    color: white;
    padding: 6px 10px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    white-space: nowrap;
    font-size: 13px;
    transition: background-color 0.2s;
}

    .consultant-item:hover {
        background-color: #b52b27;
    }

    .consultant-item input[type="checkbox"] {
        margin-right: 6px;
    }

.category-item {
    display: flex;
    align-items: center;
    background-color: #d9534f;
    color: white;
    padding: 6px 10px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    white-space: nowrap;
    font-size: 13px;
    transition: background-color 0.2s;
}

    .category-item:hover {
        background-color: #b52b27;
    }

    .category-item input[type="checkbox"] {
        margin-right: 6px;
    }




