﻿
.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%;
}

.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: 250px;
    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;
    }

.filter-search {
    width: 100%;
    margin-bottom: 8px;
    padding: 4px 8px;
    font-size: 13px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.filter-checkbox-list {
    max-height: 220px;
    overflow-y: auto;
}

#typeList {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    width: 100%;
}

.btn-type {
    background-color: #d9534f;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 5px 12px;
    font-size: 13px;
    font-weight: bold;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

    .btn-type.active {
        background-color: #c9302c;
    }

.training-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;
}

    .training-item:hover {
        background-color: #b52b27;
    }

    .training-item input[type="checkbox"] {
        margin-right: 6px;
    }

.badge-horizontal,.badge-top-right {
    display: inline-flex;
    border-radius: 8px;
    overflow: hidden;
    font-family: 'Segoe UI', sans-serif;
    margin-left: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

    .badge-horizontal .label, .badge-top-right .label {
        background: linear-gradient(to right, #3a72b3, #2e5489, #19355a);
        color: white;
        font-weight: bold;
        padding: 6px 12px;
        font-size: 11px;
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 100px;
    }

    .badge-horizontal .value, .badge-top-right .value {
        background: linear-gradient(to right, #f9e79f, #f1c40f, #d4ac0d);
        color: #000;
        font-weight: bold;
        padding: 6px 12px;
        font-size: 11px;
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 50px;
    }


#monthlyMandaysBadge {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10;
    display: inline-flex;
    border-radius: 8px;
    overflow: hidden;
    font-family: 'Segoe UI', sans-serif;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

    #monthlyMandaysBadge .label {
        background: linear-gradient(to right, #3a72b3, #2e5489, #19355a);
        color: white;
        font-weight: bold;
        padding: 6px 12px;
        font-size: 11px;
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 100px;
    }

    #monthlyMandaysBadge .value {
        background: linear-gradient(to right, #f9e79f, #f1c40f, #d4ac0d);
        color: #000;
        font-weight: bold;
        padding: 6px 12px;
        font-size: 11px;
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 50px;
    }

.avg-badge-top-right {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10;
    display: inline-flex;
    border-radius: 8px;
    overflow: hidden;
    font-family: 'Segoe UI', sans-serif;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

     .avg-badge-top-right .label {
        background: linear-gradient(to right, #3a72b3, #2e5489, #19355a);
        color: white;
        font-weight: bold;
        padding: 6px 12px;
        font-size: 11px;
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 100px;
    }

    .avg-badge-top-right .value {
        background: linear-gradient(to right, #f9e79f, #f1c40f, #d4ac0d);
        color: #000;
        font-weight: bold;
        padding: 6px 12px;
        font-size: 11px;
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 50px;
    }
.badge-box{
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10;
    display: inline-flex;
    border-radius: 8px;
    overflow: hidden;
    font-family: 'Segoe UI', sans-serif;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

    .badge-box .label {
        background: linear-gradient(to right, #3a72b3, #2e5489, #19355a);
        color: white;
        font-weight: bold;
        padding: 6px 12px;
        font-size: 11px;
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 100px;
    }

    .badge-box .value {
        background: linear-gradient(to right, #f9e79f, #f1c40f, #d4ac0d);
        color: #000;
        font-weight: bold;
        padding: 6px 12px;
        font-size: 11px;
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 50px;
    }

.chart-header-with-badge {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* ⬅️ align to the left */
    padding-left: 15px; /* ⬅️ optional left spacing */
    margin-bottom: 8px; /* ⬇️ space between header & chart */
}

.chart-title {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 5px; /* ⬇️ spacing between title and badge */
}

.down-badge-top-right {
    display: inline-flex;
    border-radius: 8px;
    overflow: hidden;
    font-family: 'Segoe UI', sans-serif;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

    .down-badge-top-right .label {
        background: linear-gradient(to right, #3a72b3, #2e5489, #19355a);
        color: white;
        font-weight: bold;
        padding: 6px 12px;
        font-size: 11px;
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 100px;
    }

    .down-badge-top-right .value {
        background: linear-gradient(to right, #f9e79f, #f1c40f, #d4ac0d);
        color: #000;
        font-weight: bold;
        padding: 6px 12px;
        font-size: 11px;
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 50px;
    }






