.dashboard-bg {
    min-height: 100vh;
    padding: 16px 0;
}


.dashboard-card {
    background: #fff;
    border-radius: 0.6rem;
    box-shadow: 0 2px 8px 0 rgba(31, 38, 135, 0.08);
    padding: 0.15rem 0.1rem 0.1rem 0.1rem;
    transition: box-shadow 0.18s, transform 0.12s, border-color 0.12s;
    position: relative;
    min-height: 12px;
    max-width: 99vw;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 2px solid transparent;
    margin-left: 2px;
    margin-right: 2px;
    animation: fadeInCard 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.dashboard-card:hover {
    box-shadow: 0 10px 28px 0 rgba(31, 38, 135, 0.18);
    transform: translateY(-3px) scale(1.02);
    border-color: #6366f1;
}
.dashboard-card.projects:hover {
    border-color: #6366f1;
}
.dashboard-card.clients:hover {
    border-color: #eab308;
}
.dashboard-card.users:hover {
    border-color: #2563eb;
}
.dashboard-card.departments:hover {
    border-color: #ef4444;
}
@keyframes fadeInCard {
    from {
        opacity: 0;
        transform: translateY(15px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.icon-bg {
    box-shadow: 0 2px 10px 0 rgba(99, 102, 241, 0.1);
    border-radius: 9999px;
    transition: box-shadow 0.2s, transform 0.2s;
}
.icon-bg:hover {
    box-shadow: 0 5px 20px 0 rgba(99, 102, 241, 0.18);
    transform: scale(1.04);
}
.dashboard-title {
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 0.02em;
    margin-bottom: 0.03rem;
}
.dashboard-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 0.03rem;
    letter-spacing: 0.01em;
    text-shadow: 0 2px 8px rgba(99, 102, 241, 0.07);
}
.dashboard-divider {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 0.4rem 0 0.6rem 0;
}
.dashboard-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.4rem;
    margin-left: 0.6rem;
    box-shadow: 0 2px 8px rgba(31, 38, 135, 0.1);
}
.icon-blue {
    background: #e0f2fe;
    color: #2563eb;
}
.icon-green {
    background: #dcfce7;
    color: #22c55e;
}
.icon-yellow {
    background: #fef9c3;
    color: #eab308;
}
.icon-red {
    background: #fee2e2;
    color: #ef4444;
}
.icon-indigo {
    background: #ede9fe;
    color: #6366f1;
}
.dashboard-link {
    text-decoration: none;
}

/* new css */

body {
    font-family: "Inter", sans-serif;
    font-size: 14px;
}

a:hover {
    text-decoration: none !important;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.middle_Content_scroll {
    overflow-y: auto;
}

.Data-value-setting {
    animation: spin 5s linear infinite;
    position: absolute;
    font-size: 154px;
    top: 10px;
    left: 0;
    margin: 10px;
    z-index: 1;
    left: 35px;
    line-height: 1;
    color: #a9c3e336;
}

.Data-value-icon .icon-bg {
    position: relative;
    z-index: 2;
}

.theme_main_wrapper {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 0;
    background: #f0f2f8;
    max-height: 100%;
    width: 100%;
}

.pagger_custom_design p.text-sm {
    padding-right: 10px;
}

.main-tabs-link li {
    margin: 0 !important;
}
/* .main-tabs-link {
    background-color: #fff;
    position: sticky;
    top: 72px;
} */
.main-tabs-link > ul > li > a {
    font-size: 14px;
    color: #3e3e3e;
    border-radius: 8px;
    padding: 8px 20px;
    margin: 0 2px;
}

.main-tabs-link ul {
    flex-wrap: wrap;
}

.main-tabs-link li a.active-navbar {
    font-weight: normal !important;
}
.main-tabs-link > ul > li > a:hover {
    background-color: #2563eb !important;
    color: #fff;
}

.main-tabs-link li a i {
    font-size: 15px;
}
.dashboard_row {
    display: flex;
}

.dashboard_col-4 {
    flex: 0 0 25%;
    max-width: 25%;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e3f0fe;
    border-radius: 12px;
    box-shadow: 0 2px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #c2d5eb;
    position: relative;
}

.dashboard_col-8 {
    flex: 1;
    max-width: 100%;
    padding-left: 20px;
}

.Data-value-icon {
    flex: 1;
    text-align: center;
}
.Data-value-icon a i {
    font-size: 72px;
}
.Data-value .Data-value {
    font-size: 44px;
}

.Data-value .dashboard-title {
    font-size: 24px;
    font-weight: normal;
    display: block;
    text-align: center;
    line-height: 1;
}

.Data-value .dashboard-value {
    font-size: 64px;
    line-height: 1;
    display: block;
    text-align: center;
}
.dashboard_col_value .status-label {
    display: block;
    font-size: 15px;
    font-weight: 500;
}

.dashboard_col_value {
    flex: 1;
    text-align: left;
}

.dashboard_col_icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all ease-in-out 0.1s;
    -webkit-transition: all ease-in-out 0.1s;
}
.dashboard-inner-card.active_tag {
    background: #e0faef;
}

.dashboard-inner-card.active_tag i.fa.fa-check-circle {
    color: #00c962;
    font-size: 24px;
}

.dashboard-inner-card.inactive_tag {
    background: #f2f3f5;
}

.dashboard-inner-card.inactive_tag .fa.fa-user-slash {
    color: #000000;
    font-size: 24px;
}

select,
input[type="text"],
input[type="email"],
input[type="number"],
input[type="password"],
input[type="date"],
textarea {
    font-size: 14px;
    border: 1px solid #e4edfa !important;
    padding: 12px 15px !important;
    color: #333;
    border-radius: 6px !important;
    background-color: #fff!important;
}


select:focus-visible,
input[type="text"]:focus-visible,
input[type="email"]:focus-visible,
input[type="number"]:focus-visible,
input[type="password"]:focus-visible,
input[type="date"]:focus-visible,
textarea:focus-visible {outline: none;}




.action-style {
    min-height: 44px;
}

html,.payment_table {
    scrollbar-gutter: stable; /* keeps layout from shifting */
}


.payment_table table tr:last-child .paid-popover {
    bottom: 100%!important;
}

.payment_table table tbody .paid-popover:not(.payment_table table tbody tr:first-child .paid-popover,.payment_table table tbody tr:nth-child(2) .paid-popover) {
    bottom: 24px;
    top: auto;
}

.paid-popover table{
    max-height: 100px!important;
    overflow-y: auto;
}

/* width */
::-webkit-scrollbar {
    width: 5px;
    height: 10px;
    border-radius: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #b8b8b8;
    border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #636363;
    border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.theme_main_wrapper::-webkit-scrollbar {
    width: 4px;
}
.header_style {
    border-bottom: 1px solid #eee;
}
.login_section {
    display: flex;
    max-width: 840px;
    margin: auto;
    box-shadow: 0 2px 6px 0px rgba(0, 0, 0, 0.1);
    border-radius: 1rem;
    background: #fff;
    overflow: hidden;
    height: 580px;
}

.header_Right {
    min-width: 220px;
}

.login_section figure {
    flex: 1;
    max-width: 50%;
    height: 100%;
}
.login_section figure img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.table_action_Link i {
    font-size: 13px;
    background: #f0f2f8;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 100px;
}

.modal_Custom_size {
    max-width: 640px;
    padding: 0;
    width:100%;
}

.image_upload_box input[type="file"] {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    max-width: 100% !important;
    opacity: 0;
}

.image_upload_box {
    position: relative;
}

.themeBlueBG {
    background: linear-gradient(90deg, #2563eb 0%, #1e40af 100%);
}

.form_block_divider {
    border: 1px solid #f1f1f1;
    background: #f9f9f9;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.add_fixed {
    padding: 12px;
    margin-left: 10px;
    width: 50px;
    justify-content: center;
    background: #3142c1;
    color: #fff;
    flex-shrink: 0;
}

.addClient {
    display: flex;
}

.select2-container .select2-selection--single {
    height: auto;
    border: 1px solid #e4edfa !important;
    border-radius: 6px;
}

.select2-dropdown {
    border: 1px solid #e4edfa !important;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    padding: 10px;
}

.select2-container--default
    .select2-selection--single
    .select2-selection__arrow {
    top: 12px;
    right: 8px;
}

.form_block_divider .grid {
    padding: 15px;
}

.form_block_divider h4 {
    background: #eee;
    padding: 15px;
    font-size: 20px;
    font-weight: bold;
}
.middle_Content_scroll2:has(.login_section) {
    display: flex;
    align-items: center;
}

/* .filter_Form_outer label {
    display: none;
} */

.filter_Form_outer{width:100%;}

.admin-tab-btn.active i {
    color: #fff;
}

.projects_page {
    min-height: calc(100vh - 142px);
}
.addClient button {
    margin-left: 10px;
}

.blank_modal_header {
    border: none;
    padding: 0;
    position: relative;
}

.blank_modal_header button {
    position: absolute;
    right: -10px;
    top: -10px;
    background: #fde7f2;
    padding: 8px;
    width: 36px;
    height: 36px;
    border-radius: 100px;
    box-shadow: 0 0 10px;
}
.pagger_outer div p {
    margin: 0 8px;
}

nav[aria-label="Pagination Navigation"] p {
    margin-right: 5px;
}
/* new css */

@media (max-width: 640px) {
    .header_Right {
        min-width: initial;
    }

    .dashboard-card .dashboard-inner-card {
        min-height: initial;
        padding: 10px;
    }

    .dashboard-card .p-4 {
        padding: 0 10px;
    }

    .form_block_divider h4 {
        font-size: 16px;
        padding: 10px;
    }

    .form_block_divider .grid {
        padding: 10px;
    }

    .form_block_divider {
        border-radius: 6px;
    }
}

@media (max-width: 600px) {
    .dashboard-card {
        padding: 0.6rem 0.4rem;
    }
    .dashboard-value {
        font-size: 1.1rem;
    }
    .dashboard-title {
        font-size: 0.8rem;
    }
    .dashboard-icon {
        width: 28px;
        height: 28px;
        font-size: 1rem;
        margin-left: 0.3rem;
    }
}
/* Enhanced Legend Bar */
.legend-icon-bg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 9999px;
    background: #f3f4f6;
    transition: box-shadow 0.2s, transform 0.2s;
    box-shadow: 0 2px 8px rgba(31, 38, 135, 0.07);
}
.legend-icon-bg:hover {
    background: #e0e7ff;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.15);
    transform: scale(1.08);
}
.dashboard-inner-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 0.6rem;
    box-shadow: 0 3px 10px 0 rgba(31, 38, 135, 0);
    padding: 1rem 1rem;
    font-weight: 700;
    font-size: 0.65rem;
    margin-bottom: 0.4rem;
    margin-right: 0.4rem;
    margin-left: 0.4rem;
    min-width: 60px;
    min-height: 84px;
    border: 1.5px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background: #fff;
    text-align: center;
}

.dashboard-inner-card:hover {
    box-shadow: 0 0px 15px 0 rgba(12, 12, 12, 0.712);
}

.dashboard-inner-card .status-icon {
    font-size: 1.3rem;
    opacity: 0.9;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    color: #fff;
}
.dashboard-inner-card .status-label {
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 0.15rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}
.dashboard-inner-card .status-count {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-shadow: 0 2px 4px rgba(99, 102, 241, 0.1);
    color: #000;
}
.dashboard-inner-card.active {
    background: #f0fdf4;
    border-color: #b9f8cf;
    color: #0d542b;
}
.dashboard-inner-card.inactive {
    background: #fef2f2;
    border-color: #ffc9c9;
    color: #82181a;
}
.dashboard-inner-card.completed {
    background: #eff6ff;
    border-color: #bedbff;
    color: #1c398e;
}
.dashboard-inner-card.onhold {
    background: #fff7ed;
    border-color: #ffd7a8;
    color: #7e2a0c;
}
.dashboard-inner-card.oncall {
    background: #faf5ff;
    border-color: #e9d4ff;
    color: #59168b;
}
.dashboard-inner-card.onsupport {
    background: #fef2f2;
    border-color: #ffc9c9;
    color: #82181a;
}
.dashboard-inner-card:hover {
    box-shadow: 0 2px 6px -1px rgba(0, 0, 0, 0.1);
    z-index: 2;
}
.dashboard-inner-card:not(:last-child) {
    margin-bottom: 0.4rem;
}

.nav_toggle {
    display: none;
}

.active_none {
    border-bottom: none;
}

.close_sidebar {
    padding: 0;
    font-size: 24px;
    margin-left: auto;
    width: 32px;
    height: 32px;
    line-height: 1;
    margin-bottom: 10px;
    background: #ffffff1a;
    border-radius: 5px;
    display: none;
}

.skills_Outer .select2.select2-container.select2-container--default {
    width: 100% !important;
}

.board_listing_header {
    margin-top: -10px;
    margin-left: -10px;
    margin-right: -10px;
    background-color: #ffffff !important;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.more_detail_dropBox {
    background: #edf1ff !important;
    width: 210px;
    position: absolute;
    left: 0;
    right: 0;
    z-index: 9999;
    max-height: 240px;
    overflow-y: auto;
    border-radius: 8px;
    border: 1px solid #dbdce1;
    display: none;
}

.more_detail_info:hover .more_detail_dropBox {
    display: block;
}

.more_detail_info {
    position: relative;
}

.theme_accordion_active .theme-accordian-body {
    display: block;
}

.theme-accordian-body {
    background: #f5f5f5;
    padding: 0 15px 15px;
    margin-top: -6px;
    display: none;
}

.theme_accordion-header {
    background:#e9e9e9;
    padding: 10px;
    border-radius: 5px;
    margin: 0;
}

.more_detail_dropBox > span {
    display: block;
    background: transparent;
    border-bottom: 1px solid #cfd7ef;
    border-radius: 0;
    padding: 10px;
    font-size: 12px;
}

.circle-infoBtn {
    font-size: 22px;
    color: #3957e7;
}

.accordian_plush_minus {
    width: 30px;
    height: 30px;
    margin-left: 10px;
    background: #f0f2f8;
    border-radius: 100px;
    position: relative;
}
/* .table_inner_sprite {
    width: 100%;
    position: absolute;
    left: 0;
    right: 0;
} */
.accordian_plush_minus span {
    width: 14px;
    height: 2px;
    display: inline-block;
    background: #000;
    line-height: 1;
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    top: 0;
    bottom: 0;
}

.accordian_plush_minus span:after {
    content: "";
    position: absolute;
    height: 14px;
    width: 2px;
    background: #000;
    top: -1px;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.theme_accordion_active .accordian_plush_minus span:after {
    display: none;
}

table th { font-size: 12px; min-width:100px; } 
table td { font-size: 13px; }
.odd-even-tableStyle tr:nth-child(even) {
    background: #ffffff;
}

.Project_Timesheet_Summary .group-header {
    background: #c0d9fd;
}
.total_timesheet_hours {
    background: #eff6ff;
}

table td span {
    display: inline-block;
}

#addPaymentTabBtn:hover i {
    color: #fff;
}

.graph_outer.gap-6 {
    display: flex;
    width: 100%;
    padding-bottom:54px;
}

.graph_left {
    width: 40%;
}

.graph_right_lg {
    width: 60%;
}

.large_modal_outer {
    max-width: 1024px;
}
.blue_ring_none {
    box-shadow: none;
    border-color: #000;
}
.roll_check_label {
    background: #ffffff;
    padding: 5px 15px;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0,0,0,.1);
}



select{
    appearance: none;      /* remove default arrow */
  -webkit-appearance: none;
  -moz-appearance: none;
    padding-right:24px!important;   /* space for arrow */
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>")
    no-repeat right 0.50rem center;
  background-size: 1rem;
}


input[type="date"]{
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
    padding-right: 32px!important; 
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='4' width='18' height='18' rx='2' ry='2'/><line x1='16' y1='2' x2='16' y2='6'/><line x1='8' y1='2' x2='8' y2='6'/><line x1='3' y1='10' x2='21' y2='10'/></svg>")
    no-repeat right 0.75rem center;
 background-size: 1rem;  
 position: relative;
}
input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0;
  position: absolute;
  right: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.Header_drop_down_Menu li a i {
    width: 18px;
    text-align: center;
}


.select2-container .select2-search--inline textarea.select2-search__field { 
    border: none !important;
    background: transparent !important;
    padding: 5px 0 !important;
    margin:0 0 0 10px;
    height: 100%;
}
.select2-container--default .select2-selection--multiple {
    border: 1px solid #e4ecfa!important;
    padding: 8px;
    height: 48px;
}
 


@media screen and (max-width: 1440px) {
    .Data-value-setting {
        font-size: 140px;
        left: 0;
        top: 21px;
    }

    .Data-value-icon a i {
        font-size: 50px;
    }

    .Data-value-icon {
        text-align: left;
    }

    .Data-value-icon .icon-bg {
        left: 30px;
    }

    .main-tabs-link > ul > li > a {
        font-size: 14px;
        padding: 8px 10px;
    }
}

@media screen and (max-width: 1199px) {

    .large_modal_outer {
    max-width: calc(100% - 40px);
    width: 100%;
}


    table {
        min-width: 1200px;
    }
    table.none_content_table {
        min-width: 400px;
    }
        .minimum_content_table {
        min-width: 540px;
    }

    table th,
    table td,
    table td a,
    table th a {
        font-size: 13px;
    }

    .client_folder_action table {
        min-width: initial;
    }

    .client_folder_action {
        overflow-x: auto;
    }

    .admin_Dashboard_Tabs ul {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .admin_Dashboard_Tabs ul li button {
        white-space: nowrap;
        font-size: 12px;
    }

    #projects-view table {
        min-width: 1024px !important;
    }

    #projects-view table * {
        font-size: 12px;
    }
}

@media screen and (max-width: 991px) {
 ::-webkit-scrollbar {
        width: 5px;
        height: 6px;
        border-radius: 10px;
    }

    .main-tabs-link {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        width: 280px;
        background: #252530;
        display: block;
        transition: all 0.3s;
        -webkit-transition: all 0.3s;
        transform: translateX(-100%);
        height: 100vh;
        overflow-y: auto;
        padding-bottom: 64px;
    }

    .opensidebar .main-tabs-link {
        transform: translate(0);
    }
    .Header_drop_down_Menu {
        position: initial;
        width: 100%;
    }
    .nav_toggle {
        flex-shrink: 0;
        width: 40px;
        display: block;
    }

    .nav_toggle i {
        font-size: 20px;
    }

    .main-tabs-link > ul {
        display: block;
    }

    .main-tabs-link > ul > li > a {
        font-size: 13px;
        padding: 12px;
        color: #dfdfdf;
    }

    .main-tabs-link li a i {
        font-size: 14px;
    }

    .Data-value-icon {
        text-align: center;
    }

    .Data-value {
        padding-top: 40px;
    }

    .Data-value-icon .icon-bg {
        left: 0;
        top: 10px;
    }

    .Data-value-setting {
        top: 10px;
        left: 25px;
    }
    .dashboard_col-4 {
        flex: 0 0 320px;
        max-width: 230px;
        flex-shrink: 0;
    }

    .close_sidebar {
        display: block;
    }

.graph_outer.gap-6 {flex-direction:column;}
.graph_right_lg {
    width: 100%;
}


.graph_left {
    width: 100%;
}

}

@media screen and (max-width: 767px) {
    .main-tabs-link {
        overflow-x: auto;
    }

    .main-tabs-link > ul > li > a {
        white-space: nowrap;
    }

    .dashboard_row {
        flex-direction: column;
    }

    .dashboard_col-8 {
        flex: 1;
        padding-left: 0;
        padding-top: 20px;
        margin: 0 -5px;
    }

    .dashboard_col-4 {
        flex: 1;
        max-width: 100%;
    }

    .Data-value-setting {
        top: 10px;
        font-size: 100px;
        margin: auto;
        left: 0;
        right: 0;
    }

    .Data-value-icon .icon-bg {
        top: 26px;
        left: 0px;
    }

    .Data-value-icon a i {
        font-size: 36px;
    }

    .Data-value-icon {
        width: 100px;
        height: 100px;
        flex: 0;
        flex-shrink: 0;
        margin: auto;
    }

    .dashboard_project {
        display: flex;
        align-items: center;
    }

    .Data-value {
        padding-top: 0;
        text-align: right;
    }

    .modal_Custom_size {
        max-width: calc(100% - 40px);
    }
}

@media (max-width: 600px) {
    .dashboard-inner-card .status-count {
        font-size: 1.2rem;
    }
    .dashboard-inner-card .status-icon {
        font-size: 1rem;
    }

    #projectFilterForm select,
    #projectFilterForm input {
        width: 100%;
        margin-bottom: 15px;
    }
}
