﻿body {
    height: auto !important;
    font-size: 13px !important;
    padding-right: 0 !important;
    font-weight: 400;
    overflow-x: hidden;
    overflow-y: auto;

}

.is-invalid {
    color: #c7254e;
}

#ajax-loader {
    width: 100px;
    height: 100px;
}

.m-t-10 {
    margin-top: 10px;
}

.field-mandatory {
    color: #F00;
    padding-left: 5px;
    font-size: 14px;
}

.input-error {
    border: 1px solid #c7254e;
    margin-bottom: 4px;
}

.validation-text {
    color: #c7254e;
    text-align: left;
}

.panel-body {
    padding: 5px !important;
    margin-top: 15px;
}

.labelContent {
    font-weight: normal;
}

.main-footer {
    bottom: 0;
    color: #58666e;
    left: 0;
    padding: 11px 30px;
    position: fixed;
    right: 0;
    background: #fdeeee;
}

.box {
    border-right: 1px solid #ccc;
    border-left: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}

.video-bg {
    background: #fff;
    padding: 10px;
    border-radius: 5px;
    margin-top: 15px;
}

.panel-heading {
    font-weight: 600;
    font-size: 20px;
    /*padding-top: 20px!important;*/
}


.video-wrapper {
    margin-bottom: 20px;
}

.video-btn {
    cursor: pointer;
    font-size: 16px;
    color: #666;
}

.video-holder {
    width: 232px !important;
    /*height:auto !important;*/
}


/*#Webcam-Video {
    height:auto !important;
}

.cropper-canvas {
    height:auto !important;
}

.cropper-container {
    height:auto !important;
}

.cropper-drag-box {
    height:auto !important;
}

.cropper-crop-box {
    height:auto !important;
}

.cropper-face {
    height:auto !important;
}*/

.take-photo {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
    color: #666 !important;
}

.button-container {
    text-align: center;
    margin: 0 auto;
    display: table;
    margin-top: 15px;
}

.content-wrapper {
    margin-bottom: 40px;
}

.info-box-icon {
    font-size: 20px !important;
}

.info-box-number {
    font-size: 32px !important;
}

.info-box-text {
    font-size: 12px !important;
}

.login-text {
    border-left: none;
    border-right: none;
    border-top: none;
    background: none;
}

.skin-blue .sidebar-menu>li>a {
    font-size: 14px;
}

.skin-blue .main-header .navbar {
    /*background-color: #222d32;*/
    background-color: #fff;
    border-bottom: 1px solid rgba(224, 224, 224, 0.7);
}

.skin-blue .main-header .logo {
    background-color: #1e2129 !important;
}

/* div.dataTables_wrapper {
    /*width: 100% !important;
    margin: 0 auto;
    overflow-x: auto;
    clear: both;
} */

 .data-table-head * {
    white-space: pre !important;
} 

.data-table-head .dtr-data {
    white-space: normal !important;
}

.login-box-body .form-control-feedback,
.register-box-body .form-control-feedback {
    color: #8b8b8b;
}

.text-danger {
    color: #ff0500;
    cursor: pointer;
}

.text-success {
    color: #2ac02c;
    cursor: pointer;
}

.text-info-print {
    color: #5f16e9;
    cursor: pointer;
}

.btnViewForm {
    cursor: pointer;
}

.btnRenewCard {
    cursor: pointer;
}

.box.box-warning {
    margin-top: 5px;
}

@media screen and (max-width:767px) {
    /*.logo {
        display: none !important;
    }*/

    .skin-blue .wrapper,
    .skin-blue .main-sidebar,
    .skin-blue .left-side {
        /*background-color: #2d323e !important;*/
        background-color: #FFF !important;
    }

    .main-footer {
        padding: 10px 10px;
        position: relative;
        font-size: 12px;
        text-align: center;
    }

    .main-sidebar {
        padding-top: 50px;
        max-height: 100vh;
        overflow-y: scroll;
        /* enables scrolling */
        scrollbar-width: none;
        /* Firefox */
        -ms-overflow-style: none;
    }

    ß .fixed .content-wrapper,
    .fixed .right-side {
        padding-top: 50px;
    }
}

.skin-blue .sidebar a {
    color: #1e282c;

}

.skin-blue .sidebar-menu>li:hover>a,
.skin-blue .sidebar-menu>li.active>a,
.skin-blue .sidebar-menu>li.menu-open>a {
    color: #b3080e;
    background: #fdc1c1 !important;
}

.skin-blue .sidebar-menu>li.active>a {
    border-left-color: #ed1c24;
    color: #b3080e;
    font-weight: 600;
}

@media screen and (max-width:767px) {
    .small-box {
        text-align: center;
        height: 110px;
    }

    ul.simple-pagination {
        width: 100%;
    }

    td>span>i.fa {
        padding: 5px !important;
        font-size: 20px !important;
    }

    .tab-content .box-body {
        padding: 10px 0;
    }
}

@media screen and (min-width: 768px) {
    .navbar-nav>li>a {
        padding-top: 20px;
        padding-bottom: 20px;
    }
}

.bootstrap-select .btn-default {
    background-color: #fff;
}

.dt-head-center {
    text-align: center;
}

.table th {
    text-align: left;
}

.divider {
    height: 0.5px;
    margin: 9px 0;
    overflow: hidden;
    background-color: #1e2129;
    /*margin-top: 6px !important;
    margin-bottom: 6px  !important;*/
}

.am-button {
    font-weight: 700 !important;
}

.pm-button {
    font-weight: 700 !important;
}

.mt-1 {
    margin-top: 1rem !important;
}

.p-0 {
    padding: 0 !important;
}

.resize-none {
    resize: none !important;
}

.m-0 {
    margin: 0;
}

.form-control-feedback {
    left: 0 !important;
}

.main-header .logo {
    height: 60px !important;
    line-height: 57px;
}

.skin-blue .main-header .navbar .sidebar-toggle {
    color: #1e2129 !important;
}

.main-header .sidebar-toggle {
    padding: 20px 20px;
}

.skin-blue .main-header .navbar .sidebar-toggle:hover {
    background-color: #ed1c24;
}

.skin-blue .main-header .navbar .nav>li>a {
    color: #1e2129;
}

.panel {
    margin-top: 10px;
}


.panel-default>.panel-heading {
    padding: 15px;
    background-color: #f5f5f5 !important;
}
/* all buttons from aspx */

/* .custom-button {
    margin-top: -2px;
    background-color: #ed1c24;
    border-color: #c10910;
    font-weight: 600;
    box-shadow: 0 2px 2px 0 rgba(244, 67, 54, .14), 0 3px 1px -2px rgba(244, 67, 54, .2), 0 1px 5px 0 rgba(244, 67, 54, .12);
    padding: 10px 10px;
    color: #fff !important;
} */

.future-leaves-button{
    margin-left: 3px !important;
    background-color: #7535dc !important;
    color: #fff;
    border: none;
    border-radius: 5px !important;
    padding: 9px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    transition: background 0.3s ease;
}
.future-leaves-button:hover{
    background-color: #7535dc !important;
    color: #fff !important;
   
}
 .btn-export-list{
    margin-left: 3px !important;
   background-color: #7535dc !important;
    color: #fff;
    border: none;
    border-radius: 5px !important;
    padding: 9px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.custom-button {

    margin-left: 3px !important;
    background: #dc3545 !important;
    color: #fff;
    border: none;
    border-radius: 5px !important;
    padding: 9px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    transition: background 0.3s ease;
}



.custom-button:hover {
    color: #ffffff;
}

.import-button {
    margin-top: -8px;
    background-color: #f2a917;
    border-color: #cd8c09;
    font-weight: 600;
    box-shadow: 0 2px 2px 0 rgba(244, 67, 54, .14), 0 3px 1px -2px rgba(244, 67, 54, .2), 0 1px 5px 0 rgba(244, 67, 54, .12);
    padding: 12px 12px;
}

.import-button:hover {
    color: #ffffff;
}

.search-button {
    margin-top: 25px;
    background: #219B9D;
    border-color: #179092;
    color: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 2px 0 hsla(0, 0%, 60%, .14), 0 3px 1px -2px hsla(0, 0%, 60%, .2), 0 1px 5px 0 hsla(0, 0%, 60%, .12);
    font-weight: 600;
    padding: 5px;
    border-radius: 5px !important;
}

.search-button :hover {
    color: #ffffff !important;
}

.btn-approve {
    background-color: transparent;
    color: #4caf50;

    border: 1px solid #e4e4e4;
    box-shadow: 0 0px 2px rgba(0, 0, 0, 0.1)
}

.btn-approve:hover {
    background-color: transparent;
    border: none;
}

.btn-reject {
    background-color: transparent;
    color: #ec645a;
    border: 1px solid #e4e4e4;
    box-shadow: 0 0px 2px rgba(0, 0, 0, 0.1)
}

.btn-reject:hover {
    background-color: transparent;
  
}

.btn-delete {
    background-color: transparent;
    color: #ed1c24;
    border: 1px solid #e4e4e4;
    box-shadow: 0 0px 2px rgba(0, 0, 0, 0.1)
}

.btnForward {
    background-color: transparent;
    color: #d49714;
    border: 1px solid #e4e4e4;
    box-shadow: 0 0px 2px rgba(0, 0, 0, 0.1)
}

.btn-delete:hover {
    background-color: transparent;
    
}

.btn-edit {
    background-color: transparent;
    color: #007cef;
    border: 1px solid #e4e4e4;
    box-shadow: 0 0px 2px rgba(0, 0, 0, 0.1)
}

.btn-edit:hover {
    background-color: transparent;
    color: #02427e;
    
}

.btn-ChangePermission{
    background-color: transparent;
    color: #efbc49;
    border: 1px solid #e4e4e4;
    box-shadow: 0 0px 2px rgba(0, 0, 0, 0.1);   
    
}

.btn-ChangePermission:hover {
    color: #a1740a;
    background-color: transparent;
}
.custom-file {
    position: relative;
    display: inline-block;
    width: 100%;
    height: 38px;
    margin-bottom: 0;
}

.custom-file-input {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 38px;
    margin: 0;
    opacity: 0;
}

.custom-file-label {
    left: 0;
    z-index: 1;
    /*height: 38px;*/
    background-color: #FFF;
    border: 1px solid #DFE3E7;
    border-radius: .267rem;
    position: absolute;
    padding: .65rem .8rem;
    line-height: 1.4;
    /* color: #475F7B; */
    color: #db5c5c !important;
    top: 0;
    right: 0;
}

.custom-file-input:lang(en)~.custom-file-label::after {
    content: 'Browse';
}

.custom-file-label::after {
   bottom: 0;
    z-index: 3;
    display: block;
    height: calc(1.4em + 1.269rem);
    content: 'Browse';
    /* background-color: #F0F4F7; */
    background-color: #e5e7e9 !important;
    border-left: inherit;
    border-radius: 0 .267rem .267rem 0;
    position: absolute;
    padding: .65rem .8rem;
    line-height: 1.4;
    /* color: #475F7B; */
    color:#4973a5 !important;
    top: 0;
    right: 0; 
    
}

.dt-center {
    text-align: center;
}

table.dataTable th.dt-left,
table.dataTable td.dt-left {
    text-align: left;
}

table.dataTable th.dt-center,
table.dataTable td.dt-center,
table.dataTable td.dataTables_empty {
    text-align: center;
}

table.dataTable th.dt-right,
table.dataTable td.dt-right {
    text-align: right;
}

table.dataTable tbody th.dt-body-left,
table.dataTable tbody td.dt-body-left {
    text-align: left;
}

table.dataTable tbody th.dt-body-center,
table.dataTable tbody td.dt-body-center {
    text-align: center;
}

table.dataTable tbody th.dt-body-right,
table.dataTable tbody td.dt-body-right {
    text-align: right;
}

table.dataTable thead th.dt-head-left,
table.dataTable thead td.dt-head-left,
table.dataTable tfoot th.dt-head-left,
table.dataTable tfoot td.dt-head-left {
    text-align: left;
}

table.dataTable thead th.dt-head-center,
table.dataTable thead td.dt-head-center,
table.dataTable tfoot th.dt-head-center,
table.dataTable tfoot td.dt-head-center {
    text-align: center;
}

table.dataTable thead th.dt-head-right,
table.dataTable thead td.dt-head-right,
table.dataTable tfoot th.dt-head-right,
table.dataTable tfoot td.dt-head-right {
    text-align: right;
}

.modal-body {
    position: relative;
    padding: 0;
}

.btn:not(:disabled):not(.disabled),
[type="button"]:not(:disabled),
button:not(:disabled) {
    cursor: pointer;
}

.btn[class*="btn-outline-"] {
    padding-top: calc(.467rem - 1px);
    padding-bottom: calc(.467rem - 1px);
}

.btn-outline-export {
    border: 1px solid #247e4b;
    background-color: transparent;
    color: #247e4b !important;
}

.btn-outline-export:hover {
    background-color: #247e4b !important;
    color: #FFF !important;
    border-color: #247e4b;
}

/* .import-excel-button {
        margin-top: -8px;
        background-color: #247e4b;
        border-color: #1c7542;
        font-weight: 600;
        box-shadow: 0 2px 2px 0 rgba(244, 67, 54, .14), 0 3px 1px -2px rgba(244, 67, 54, .2), 0 1px 5px 0 rgba(244, 67, 54, .12);
        padding: 10px 12px;
    } */
.import-excel-button {
    margin-left: 5px;
    margin-right: 3px !important;
    background: #7535dc !important;
    color: #fff;
    border: none;
    border-radius: 5px !important;
    padding: 9px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    transition: background 0.3s ease;
}

/* .download-button {
    margin-top: -8px;
    background-color: #f96a32;
    border-color: #e75821;
    font-weight: 600;
    box-shadow: 0 2px 2px 0 rgba(244, 67, 54, .14), 0 3px 1px -2px rgba(244, 67, 54, .2), 0 1px 5px 0 rgba(244, 67, 54, .12);
    padding: 10px 12px;
} */
.download-button {
    margin-right: 3px !important;
    background: #28a745 !important;
    color: #fff;
    border: none;
    border-radius: 5px !important;
    padding: 9px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.download-button2 {
    background: #f37724 !important;
    color: #fff;
    border: none;
    border-radius: 5px !important;
    padding: 9px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.download-button3 {
    margin-right: 3px !important;
    background: #a7287d !important;
    color: #fff;
    border: none;
    border-radius: 5px !important;
    padding: 9px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.btnProcessInvDecl {
    margin-right: 3px !important;
    background: #2683d4 !important;
    color: #fff;
    border: none;
    border-radius: 5px !important;
    padding: 9px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    transition: background 0.3s ease;
}

/* .btn-past-records {
    margin-top: -8px;
    background-color: #367fa9;
    border-color: #204d74;
    font-weight: 600;
    box-shadow: 0 2px 2px 0 rgba(244, 67, 54, .14), 0 3px 1px -2px rgba(244, 67, 54, .2), 0 1px 5px 0 rgba(244, 67, 54, .12);
    padding: 10px 12px;
} */

.btn-past-records {
    margin-right: 3px;
    background: #2683d4 !important;
    color: #fff;
    border: none;
    border-radius: 5px !important;
    padding: 9px;
    /* display: flex; */
    align-items: center;
    gap: 6px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.view-btn {
    margin-top: -6px;
    margin-right: 3px;
    background: #2683d4 !important;
    color: #fff;
    border: none;
    border-radius: 5px !important;
    padding: 9px;
    /* display: flex; */
    align-items: center;
    gap: 6px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.btn-export-user {
    margin-left: 5px !important;
    background: #a7287d !important;
    color: #fff;
    border: none;
    border-radius: 5px !important;
    padding: 9px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.bs-select-all {
    background-color: #ed1c24 !important;
}

.bs-deselect-all {
    background-color: #ed1c24 !important;
}

.btnUserGrid {
    padding: 4px;
}

div.dataTables_wrapper {
    width: 100% !important;
    margin: 0 auto;
    overflow-x: auto;
    clear: both;
}

.mb15 {
    margin-bottom: 15px;
}

.custom-table-container.inner-table-custom {
    width: 100%;
    margin-right: -18px;
}



.skin-blue .sidebar-form {
    border-radius: 0px;
    border: 1px solid #e6e6e6;
    margin: 0px;
    bottom: 0px;
    position: fixed;
    width: 230px;
    height: auto;
    background-color: #e6e6e6;
    z-index: 99999;
}

.skin-blue .sidebar-form input[type="text"],
.skin-blue .sidebar-form .btn {
    box-shadow: none;
    background-color: #e6e6e6 !important;
    border: 1px solid transparent;
    height: 35px;
}

.skin-blue .sidebar-form input[type="text"] {
    border-radius: 0px;
}

.skin-blue .sidebar-form .btn {
    border-radius: 0px;
}

@media screen and (max-width:800px) {
    .skin-blue .sidebar-form {
        bottom: 9px;
    }
}

.sidebar-menu {
    margin-bottom: 40px !important;
}

.twoLinesData {
    display: grid;
    gap: 5px;
}

.fammemberErrorText {
    font-size: 10px;
    color: #ed1c24;
}

.RegularEmployee {
    border-left: 3px solid #1b00ff !important;
    border-radius: 5px;
}

.ContractEmployee {
    border-left: 3px solid #fff700 !important;
    border-radius: 5px;
}

.fa-refresh{
    background-color: transparent;
    color: #333;
    border: 1px solid #e4e4e4;
    box-shadow: 0 0px 2px rgba(0, 0, 0, 0.1);
    padding: 5px 15px;
    margin-left: -20px; 
}
.fa-refresh:hover {  
    color: #f0c567;
}
.ResetFilters {
    margin-top: 20px !important;
}


/* ld training exam cards */
.trainingcard {
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    color: white !important;
    cursor: pointer !important;
}

.trainingcard-icon {
    padding: 12px;
    font-size: 25px;
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
}

.card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 0;
    top: 10px !important;
}

.card-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-name {
    text-align: right !important;
}

/* fsc Survey report table */
.fscSurveytable {
    width: 100%;
    text-align-last: center !important;
    border: 2px solid #efefef !important;
    margin-top: 25px !important;
}

    .fscSurveytable th {
        align-content: center !important;
    }

.buttons-excel {
    padding: 7px 20px;
    margin-right: 5px;
    border: solid 1px #dddddd;
    border-radius: 4px;
    background-color: #f4f4f4;
}

/* competency matrix table */
.competencymatrixtable {
    width: 100%;
    text-align-last: center !important;
    border: 2px solid #efefef !important;
    margin-top: 25px !important;
}


.card-panel {
    margin-top: 10px !important;
    font-size: 15px !important;
    margin-bottom: 15px;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    padding: 12px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(10, 20, 30, 0.06);
    margin: 0 5px;
}

.icon-box {
    min-width: 39px;
    min-height: 39px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    /* padding: 8px; */
    font-size: 20px;
}

.stat-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1;
}

.stat-value {
    font-size: 35px;
    font-weight: bold;
    letter-spacing: 0.4px;
}

.stat-label {
    font-size: 14px;
    opacity: 0.95;
    margin-top: 6px;
    font-weight: 600;
    white-space: nowrap;
    text-overflow: ellipsis;
}

@media screen and (max-width:1280px) {
    .stat-label {
        font-size: 12px !important;
    }
}
        /* .row2 {
    margin-top: 15px !important;
    margin-bottom: 50px !important;
} */

        .card-container {
        margin-left: 20px;
        margin-right: 25px;
    }

    .card1 {
        background-color: #02c8c82e;
    }

        .card1 .icon-box {
            background-color: #02c8c8;
        }

        .card1 .stat-body {
            color: #175454;
        }

    .card2 {
        background-color: #ef5d5d38;
    }

        .card2 .icon-box {
            background-color: #ef5d5d;
        }

        .card2 .stat-body {
            color: #8d3b3b;
        }

    .card3 {
        background-color: #ebb9793d;
    }

        .card3 .icon-box {
            background-color: #d9a25c;
        }

        .card3 .stat-body {
            color: #3c2506b8;
        }

    .card4 {
        background-color: #00a65a24;
    }

        .card4 .icon-box {
            background-color: #00a65a;
        }

        .card4 .stat-body {
            color: #116c42;
        }

    .card5 {
        background-color: #ff851b36;
    }

        .card5 .icon-box {
            background-color: #ff851b;
        }

        .card5 .stat-body {
            color: #bd5a04;
        }


    .card6 {
        background-color: #8791c057;
    }

        .card6 .icon-box {
            background-color: #8791c0;
        }

        .card6 .stat-body {
            color: #29377a;
        }

.card7 {
    background-color: #dcc88e59;
}

    .card7 .icon-box {
        background-color: #b99740;
    }

    .card7 .stat-body {
        color: #785b10;
    }

.card8 {
    background-color: #976acc38;
}

    .card8 .icon-box {
        background-color: #a879db;
    }

    .card8 .stat-body {
        color: #50168f;
    }

.card9 {
    background-color: #aaeb7959;
}

    .card9 .icon-box {
        background-color: #89c956;
    }

    .card9 .stat-body {
        color: #376810;
    }

        
    .card-icon {
        width: 28px;
    }

    .chart-divider {
        padding: 0 !important;
    }

    .chart-fullarea {
        width: 95%;
        margin-left: 15px;
    }

    .chart-container {
        background: #fff;
        border-radius: 12px;
        padding: 0 15px 15px 15px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        position: relative;
    }

    .chart-header {
        font-size: 17px;
        font-weight: 600;
        margin-bottom: 10px;
        color: #444;
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .color-legend {
        display: flex;
        justify-content: flex-end;
        gap: 10px;
        font-size: 13px;
        margin-right: 39px;
        margin-bottom: 17px;
    }

    .legend-item {
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .legend-color {
        width: 16px;
        height: 16px;
        border-radius: 4px;
    }

    .a-color {
        background-color: #ef5d5dbf;
    }

    .b-color {
        background-color: #d9a25c;
    }

    .c-color {
        background-color: #02c8c8;
    }

.chart-area {
    display: flex;
    position: relative;
    height: 260px;
    padding-left: 45px;
    padding-bottom: 28px;
    margin-bottom:10px;
}

    .y-axis {
        position: absolute;
        left: 0;
        bottom: 28px;
        top: 0;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: flex-end;
        font-size: 12px;
        color: #666;
    }

        .y-axis span {
            margin-right: 5px;
        }

    .x-axis {
        position: absolute;
        bottom: -10px;
        left: 45px;
        right: 0;
        display: flex;
        justify-content: space-around;
        font-size: 13px;
        font-weight: 500;
        color: #444;
    }

    .bar-group {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-end;
        flex: 1;
    }

    .bars {
        display: flex;
        gap: 4px;
        align-items: flex-end;
        height: 100%;
    }

    .bar:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
    }

    .bar {
        width: 28px;
        border-radius: 6px 6px 0 0;
        position: relative;
        /* important for label positioning */
    }

    .bar-label {
        position: absolute;
        top: -15px;
        /* above the bar */
        left: 50%;
        /* center horizontally */
        transform: translateX(-50%);
        font-size: 11px;
        font-weight: 600;
        color: #4a4242;
        white-space: nowrap;
    }


    .bar::after {
        content: "Employees: " attr(data-emp) ", Surveys: " attr(data-survey);
        position: absolute;
        bottom: 100%;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(0, 0, 0, 0.75);
        color: #fff;
        font-size: 11px;
        padding: 3px 6px;
        border-radius: 5px;
        white-space: nowrap;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease-in-out;
    }


    .bar:hover::after {
        opacity: 1;
    }

    /* Bar Heights */
    .a {
        background-color: #ef5d5dbf;
    }

    .b {
        background-color: #d9a25c;
    }

    .c {
        background-color: #02c8c8;
    }

    .a1 {
        height: 70%;
    }

    .b1 {
        height: 50%;
    }

    .c1 {
        height: 40%;
    }

    .a2 {
        height: 60%;
    }

    .b2 {
        height: 45%;
    }

    .c2 {
        height: 35%;
    }

    .a3 {
        height: 50%;
    }

    .b3 {
        height: 35%;
    }

    .c3 {
        height: 25%;
    }

    /*  
/* /* competency table  */

.competency-fullarea {
    /*width: 38%;*/
    width: 95%;
    margin-left: 30px;
    background: #fff;
    border-radius: 12px;
    /*max-width: 900px;*/
    max-width: 1000px;
    /*margin: auto;*/
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

    .competency-card {
        padding: 0 14px 14px 0;
    }

    /* Legend */
    .dashboard-legend {
        display: flex;
        gap: 20px;
        font-size: 14px;
        margin-bottom: 20px;
    }

        .dashboard-legend span {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 12px;
        }

    .dashboard-legend-box {
        width: 16px;
        height: 16px;
        border-radius: 3px;
    }

    /* Chart grid wrapper */
    .dashboard-chart-area {
        position: relative;
        padding-left: 95px; /* space for y labels */
    }

    /* Grid lines */
    .dashboard-grid {
        display: grid;
        grid-template-columns: repeat(7, 1fr);
        position: relative;
        height: 200px;
        border-left: 1px solid #d1d5db;
    }

        .dashboard-grid div {
            border-right: 1px solid #e5e7eb;
            position: relative;
        }

    /* X-axis numbers */
    .dashboard-x-axis {
        display: grid;
        grid-template-columns: repeat(7, 1fr);
        margin-left: 93px;
        font-size: 12px;
        color: #6b7280;
        margin-top: 6px;
    }

        .dashboard-x-axis span {
            text-align: left;
        }

    /* Y labels and bars */
.dashboard-row {
    display: flex;
    align-items: center;
    /* gap: 15px; */
    position: absolute;
    left: 0;
    /*width: 100%;*/
    width: 100%;
}

    .dashboard-y-label {
        width: 75px;
        /* text-align: right; */
        font-size: 14px;
        font-weight: 500;
        margin-right: 20px;
    }

    .dashboard-bars {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    .dashboard-bar {
        height: 20px;
        border-radius: 0 4px 4px 0;
    }

    .dashboard-mapped {
        background: #00a65acf;
    }

    .dashboard-survey {
        background: #ff851bd4;
    }

    /* Dummy values */
    .foreman-row .dashboard-mapped {
        width: 25%;
    }

    .foreman-row .dashboard-survey {
        width: 12%;
    }

    .supervisors-row .dashboard-mapped {
        width: 20%;
    }

    .supervisors-row .dashboard-survey {
        width: 35%;
    }

    .workers-row .dashboard-mapped {
        width: 80%;
    }

    .workers-row .dashboard-survey {
        width: 17%;
    }

    /* Position rows */
    .foreman-row {
        top: 5px;
    }

    .supervisors-row {
        top: 70px;
    }

    .workers-row {
        top: 140px;
    }

    /* Tooltip */
    /* .dashboard-bar::after {
      content: attr(data-count);
      position: absolute;
      right: 10px;
      background: #111827;
      color: #fff;
      font-size: 12px;
      padding: 2px 6px;
      border-radius: 4px;
      white-space: nowrap;
      opacity: 0;
      pointer-events: none;
      transition: 0.3s;
    }
    .dashboard-bar:hover::after {
      opacity: 1;
    } */
    .dashboard-bar::after {
        content: attr(data-count);
        transform: translateY(-50%);
        font-size: 12px;
        font-weight: 500;
        color: #fff;
        float: inline-end;
        padding-top: 20px;
        padding-right: 4px;
    }
    /*  
.competency-table-container {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

}


.competency-table {
    width: 100%;
    border-collapse: collapse;
}


.competency-table th {
    background-color: #4CAF50;
    color: #1e2129;
    padding: 10px 15px;
    text-align: center;
    font-weight: bold;
    border: 1px solid white;
}

.competency-table td {
    padding: 10px 15px;
    text-align: center;
    border-bottom: 1px solid #ddd;
}


.competency-table tbody tr:hover {
    background-color: #f1f1f1;
}

.competency-table {
    border: 1px solid #ddd;
    border-radius: 10px;
}


.competency-table tfoot {
    font-weight: bold;
}


@media (max-width: 767px) {

    .competency-table th,
    .competency-table td {
        padding: 8px 12px;
    }
}
*/

    .survey {
        width: 61.666667%;
    }

    .competency-matrix {
        width: 39.333333%;
        /*margin-left: -14px;*/
    }