

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

:root{
    --blue-color: #154788;
}
*{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}
body{
    font-family: "DM Sans", sans-serif;
}
a{
    text-decoration: none;
}
form label, label{
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 3px;
    display: block;
    text-transform: capitalize;
}
.form-checkbox label{
    font-weight: 400;
}
.form-field {
    margin-bottom: 20px;
}
.cs-form-control{
    height: 45px;
    padding: 5px 10px;
    border-radius: 8px;
    width: 100%;
    border: 1px solid rgba(0,0,0,.2) !important;
    outline: 0 !important;
    box-shadow: none !important;
}
.cs-btn{
    height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    border-width: 1px;
    border-style: solid;
    padding: 5px 30px;
    border-radius: 30px;
    cursor: pointer;
    text-transform: uppercase;
}
.cs-btn-primary{
    background-color: var(--blue-color);
    color: #fff;
    border-color: var(--blue-color);
}
.login {
    display: flex;
    min-height: 100vh;
    align-items: center;
}
.login-container {
    width: 100%;
    padding: 20px 15px;
}
.login-container h1{
    margin-bottom: 30px;
    text-align: center;
    font-weight: 600;
}
.login-form{
    max-width: 450px;
    width: 100%;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 4px 12px 0 rgba(0,0,0,.2);
    padding: 40px;
    margin: 0 auto;
}
.form-checkbox label{
    display: flex;
}
.form-checkbox label input{
    opacity: 0;
    width: 0;
    height: 0;
}
.form-checkbox .cs-checkmark{
    width: 18px;
    height: 18px;
    border: 1px solid rgba(0,0,0,.2);
    border-radius: 3px;
    background-color: transparent;
    position: relative;
    transition: .3s ease all;
    display: block;
    margin-right: 5px;
}
.form-checkbox .cs-checkmark::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 8px;
    height: 4px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    opacity: 0;
    transform: rotate(-45deg);
    transition: .3s ease all;
}
.form-checkbox input:checked ~ .cs-checkmark{
    background-color: var(--blue-color);
    border: 1px solid var(--blue-color);
}
.form-checkbox input:checked ~  .cs-checkmark::before{
    opacity: 1;
}
.cs-form-action{
    margin-top: 40px;
    text-align: center;
}
.cs-list-nostyle{
    list-style: none;
    padding: 0;
    margin: 0;
}
.main-inner {
    display: flex;
}

/* CSS For sidebar */
.sidebar{
    background: var(--blue-color);
    max-width: 270px;
    width: 100%;
    height: 100vh;
}
.side-logo {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}
.side-logo h2{
    color: #fff;
    text-align: center;
}
.side-nav {
    height: calc(100% - 160px);
    padding: 30px 0px;
}
.side-logout {
    display: flex;
    align-items: center;
    padding: 0 20px;
    height: 80px;
}
.side-logout a{
    color: #fff;
}
.side-nav li a{
    color: #fff;
    display: flex;
    align-items: center;
    padding: 10px 20px;
    transition: .3s ease all;
}
.side-nav li + li{
    margin-top: 5px;
}
.side-nav li:hover a,
.side-nav li.menu-active a {
    background: rgba(255,255,255,.1);
}
.side-nav li a i {
    font-size: 18px;
    width: 35px;
    display: block;
}
.hamburger {
    display: none;
    position: absolute;
    right: -34px;
    top: 25px;
}
.nav-menu-bars {
    background: #154788;
    color: #fff;
    width: 34px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    cursor: pointer;
    margin-right: 0;
}
.nav-menu-bars .cs-bars {
    width: 18px;
    height: 2px;
    background: #fff;
    position: relative;
    transition: all 0.3s ease;
}
.nav-menu-bars .cs-bars::before,
.nav-menu-bars .cs-bars::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    background: #fff;
    transition: all 0.3s ease;
}
.nav-menu-bars .cs-bars::before {
    top: -6px;
}
.nav-menu-bars .cs-bars::after {
    top: 6px;
}
.nav-menu-bars.menu-active .cs-bars {
    background: transparent;
}
.nav-menu-bars.menu-active .cs-bars::before {
    transform: rotate(45deg);
    top: 0;
}
.nav-menu-bars.menu-active .cs-bars::after {
    transform: rotate(-45deg);
    top: 0;
}
body.body-overlay:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

/* CSS Main Content */
header {
    padding: 10px 20px;
    height: 80px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 12px 0 rgba(0,0,0,.1);
}
.header-inner{
    display: flex;
    align-items: center;
    width: 100%;
}
.header-left,
.header-right{
    max-width: 50%;
    width: 100%;
}
.header-left {
    display: flex;
    align-items: center;
}
.header-right{
    display: flex;
    justify-content: flex-end;
    gap: 30px;
}
.header-search{
    max-width: 300px;
    width: 100%;
}
.main-content{
    max-width: 100%;
    width: 100%;
    min-height: 100vh;
}
.add-btn i{
    margin-left: 5px;
    font-size: 12px;
}
.main-content-container {
    max-width: 100%;
    width: 100%;
    padding: 30px 20px;
    overflow: auto;
    height: calc(100vh - 80px);
}
.table-responsive {
    overflow: auto;
}
table {
    width: 100%;
    border-collapse: collapse;
}
table th,
table td{
    text-align: left;
    vertical-align: middle;
    height: 50px;
    padding: 5px 10px;
}
table td{
    height: 60px;
}
table tbody tr:nth-child(odd){
    background-color: #f7fbff;
}
table th {
    border-bottom: 1px solid rgba(0,0,0,.1);
}
.action-btn {
    display: flex;
    gap: 15px;
}
.action-view i{
    color: var(--blue-color);
}
a.action-edit i{
    color: #000000
}
a.action-dlt i {
    color: #ff0000;
}

/* CSS for Popup */
.custom-popup-overlay, .custom-popup-overlay-action-view, .custom-popup-overlay-assign, .multipleoverlay, .custom-popup-overlay-add-dsr, .custom-dsr-timespend-pop-up {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.custom-popup {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    position: relative;
    max-width: 700px;
    width: 90%;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    animation: popupShow 0.3s ease;
    margin: 0 auto;
    top: 50%;
    transform: translateY(-50%) !important;
    max-height: 550px;
}
.close-popup {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}
.ck-editor__editable {
    min-height: 200px !important;
    max-height: 350px !important;
}
.custom-popup form {
    margin-top: 30px;
    overflow-y: scroll;
    height: 100% !important;
    max-height: 400px !important;
}
#logout-form button{
    background: transparent;
    color: #fff;
    border: 0;
    box-shadow: none !important;
    outline: 0 !important;
    cursor: pointer;
    font-size: 16px;
}
#clear_search {
    cursor: pointer;
    font-size: 13px;
    display: none;
}
.search-result {
    position: absolute;
    background-color: #fff;
    padding: 15px;
    border: 1px solid #000;
    display: none;
    z-index: 999;
}
.search-result .grid {
    display: grid;
    grid-template-columns: 50% 50%;
}
.search-result button.close-popup {
    top: -10px;
    right: 0;
}
button.show_passicon {
    border: unset; 
    background: unset; 
    position: relative;
    top: -35px;
    right: -90%;
}

.cstm-textarea{
    width: 100%;
    min-height: 150px;
    padding: 10px;
}
.main-accoudion.active .accoudion-body{
    display: block !important;
}
.timerecord {
    height: 250px;
    overflow-y: scroll;
}
.dsr-all-details {
    height: 300px;
    overflow-y: scroll;
}
.cstm-current-project-report-table, .cstm-userdata-height {
    height: 300px;
    overflow-y: scroll;
    margin-bottom: 30px;
}
span.cstm-addmore-pluse {
    background-color: #154788;
    color: #fff;
    padding: 0px 10px;
    border-radius: 5px;
    line-height: 0px;
}
.cstm-addmore-pluse{
    cursor: pointer;
}
.cstm-dsr-response-index{
    height: 260px;
    overflow-y: scroll;
}
.extraActivity-items {
    height: 200px;  
    overflow-x: hidden;
}
.client_editForm .cancle_edit {
    display: inline-block;
}
.cancle_edit {
    display: none;
}
.cstm-all-clientsresutl, .cstm-all-clientsresutlUP {
    height: 120px;
    overflow-x: hidden;
}

.cstm-slider-row {
    background-color: #d7e9ff;
    width: fit-content;
    height: 100vh;
    position: absolute;
    top: 0;
    right: 0;
    display: none;
    padding: 25px 15px;
}
.cstm-slider-row .col-sm-2 {
    width: 100%;
    margin: 10px 0;
}

span.cstm-full-des {
    display: none;
    width: 100%;
    max-width: 500px;
    position: absolute;
    background-color: #fff;
    padding: 5px;
    box-shadow: 1px 1px 2px 0px #a7a7a7;
    text-align: center;
    left: 20%;
}

@keyframes popupShow {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}


@media all and (max-width: 1199px){
    .sidebar{
        max-width: 220px;
    }
}
@media all and (max-width: 1023px){
    .sidebar{
        position: fixed;
        left: -220px;
        transition: .3s ease all;
    }
    .hamburger{
        display: block;
        right: -54px;
    }
    .header-left {
        padding-left: 42px;
    }
    .sidebar.sidebar-show{
        left: 0;
    }
    .sidebar.sidebar-show .hamburger{
        right: -34px;
    }
}

/*  */
.alert-danger{
    color: #ff0000;
}