:root {
  --grey-light: #E0E0E0;
  --grey-medium: #B0B0B0;
  --grey-dark: red;
  --grey-darker: red;
  --white-soft: #F7F7F7;
  --black-soft: #E0E0E0;
}
.modal-2xl{
    max-width: 1250px !important;
}
.board {
    display: block;
    white-space: nowrap;
    overflow-x: auto;
}
.btn-blue {
  background-color: var(--grey-dark);
  color: var(--white-soft);
}

.action-item:hover {
  color: var(--black-soft) !important; /* Closest match to #011c4b */
}

.page-content {
    min-height: 800px;
}
.rowmlmr0{
  margin-left: 0px !important;
  margin-right: 0px !important;
}
.ap{
    border-radius: 50% !important;
    padding: 2px 5px !important;
}
.cur {
    width: fit-content !important;
    height: 40px !important;
    border-radius: 10px !important;
    background: var(--grey-dark) !important;
    color: var(--white-soft) !important;
    font-weight: bold !important;
    text-align: center !important;
    float: left;
    position: absolute;
    left: 0;
    top: 0;
}

.action-item:hover {
    color: var(--white-soft);
}

.btn-white:hover {
    color: var(--white-soft);
    background-color: var(--grey-dark);
    border-color: var(--white-soft);
}
/*Max Height*/
.min-750 {
    min-height: 750px !important;
}

.mh-500 {
    max-height: 500px !important;
}

.mh-280 {
    max-height: 280px !important;
}

.mh-300 {
    max-height: 300px !important;
}

.mh-350 {
    max-height: 350px !important;
}

.mh-430 {
    max-height: 430px !important;
}

/*Min Height*/

.min-410 {
    min-height: 410px;
}

.mx-410 {
    max-height: 410px;
    overflow-y: auto;
}

.mx-450 {
    max-height: 450px;
    height: 450px !important;
    overflow-y: auto;
}

.mx-428 {
    max-height: 428px;
    height: 428px !important;
    overflow-y: auto;
}

.min-428 {
    min-height: 428px;
}

.min-h-750 {
    min-height: 750px !important;
}

.min-h-430 .min-410 .mx-410{
    min-height: 430px !important;
}

.min-h-500 {
    min-height: 500px !important;
}

.min-h-280 {
    min-height: 280px !important;
}

.min-h-250 {
    min-height: 250px !important;
}

.min-h-300 {
    min-height: 300px !important;
}

.min-h-350 {
    min-height: 350px !important;
}

.h-250 {
    height: 250px !important;
}

.h-300 {
    height: 300px !important;
}


/*END*/
.tasks {
    display: inline-block;
    width: 19rem;
    padding: 0 .5rem 0 .5rem;
    border: 0px solid #ffffff99;
    vertical-align: top;
    border-radius: 20px;
    background: #ffffff99;
}

.tasks.tasks:not(:last-child) {
    margin-right: .35rem;
}

.tasks .task-header {
    flex: 0 0 auto;
    padding: 12px 8px;
    position: relative;
    overflow: hidden;
    overflow-wrap: break-word;
    font-weight: bolder;
    color: #34395e;
    font-size: 13px;
}

.task-list-items {
    min-height: 120px;
    position: relative;
    box-shadow: 0 0 49px rgba(105, 105, 105, 0.09);
    border-radius: 10px;
}
.forproject{
  padding: 0px 20px !important;
}
.task-list-items:before {
    content: "";
    position: absolute;
    line-height: 110px;
    width: 100%;
    text-align: center;
    font-weight: 600;
}

.task-list-items h6 .badge {
    font-size: 5px !important;
    padding: 0px 8px !important;
}

/* ==========================================================
   2026 Modern UI Theme (Tables + Kanban)
   - Soft card containers
   - Rounded search/filters
   - Clean tables like screenshots
   - Kanban cards modernized
   ========================================================== */

:root{
    --ui-primary: #ff3b30;
    --ui-bg: #f6f7fb;
    --ui-card: #ffffff;
    --ui-border: #e9eef5;
    --ui-muted: #6b7280;
    --ui-text: #111827;
    --ui-radius: 16px;
    --ui-radius-sm: 12px;
    --ui-shadow: 0 10px 30px rgba(17, 24, 39, 0.06);
    --ui-shadow-sm: 0 8px 18px rgba(17, 24, 39, 0.06);
}

/* Page background (keeps existing layout) */
body{
    background: var(--ui-bg);
}

/* Primary action button in page header (e.g. Add Employee / Run Payroll) */
.all-button-box .btn.btn-white,
.payslip-btn .btn.btn-white,
.btn-create.badge-blue{
    background: var(--ui-primary) !important;
    border-color: var(--ui-primary) !important;
    color: #fff !important;
    border-radius: 12px !important;
    height: 44px;
    padding: 10px 16px !important;
    box-shadow: var(--ui-shadow-sm);
}

.all-button-box .btn.btn-white i,
.payslip-btn .btn.btn-white i{
    color: #fff !important;
}

/* Soft cards across the app */
.card{
    border: 1px solid var(--ui-border) !important;
    border-radius: var(--ui-radius) !important;
    box-shadow: var(--ui-shadow) !important;
}

.card-header{
    background: transparent !important;
    border-bottom: 1px solid var(--ui-border) !important;
}

/* Inputs / selects (search, filters) */
.form-control,
.select2-container--default .select2-selection--single{
    border: 1px solid var(--ui-border) !important;
    border-radius: 12px !important;
    height: 44px !important;
    padding: 10px 14px !important;
    background: #fff !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered{
    line-height: 24px !important;
    color: var(--ui-text) !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow{
    height: 44px !important;
}

/* =====================================
   TABLES (Bootstrap + DataTables)
   ===================================== */

/* Table container spacing like screenshot */
.table-responsive{
    border-radius: var(--ui-radius);
    overflow: hidden;
}

.table{
    margin-bottom: 0 !important;
    background: #fff;
}

.table thead th{
    background: #f8fafc !important;
    color: var(--ui-muted) !important;
    font-weight: 600 !important;
    border-bottom: 1px solid var(--ui-border) !important;
    border-top: 0 !important;
    padding: 14px 16px !important;
    white-space: nowrap;
}

.table tbody td{
    border-top: 1px solid var(--ui-border) !important;
    padding: 16px !important;
    vertical-align: middle;
    color: var(--ui-text);
}

.table-striped tbody tr:nth-of-type(odd){
    background: #ffffff !important;
}

.table tbody tr:hover{
    background: #fbfcff !important;
}

/* Actions (Edit/Delete links) */
.edit-icon,
.delete-icon{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 28px;
    border-radius: 10px;
    background: #f3f4f6;
    border: 1px solid var(--ui-border);
}

.edit-icon i{ color: #2563eb !important; }
.delete-icon i{ color: #ef4444 !important; }

.edit-icon:hover,
.delete-icon:hover{
    background: #fff;
    box-shadow: var(--ui-shadow-sm);
}

/* Status pills like screenshots */
.badge,
.badge.badge-pill{
    border-radius: 999px !important;
    padding: 6px 12px !important;
    font-weight: 600 !important;
    font-size: 12px !important;
}

.badge-success{
    background: #d1fae5 !important;
    color: #047857 !important;
}

.badge-danger{
    background: #fee2e2 !important;
    color: #b91c1c !important;
}

.badge-secondary{
    background: #e5e7eb !important;
    color: #374151 !important;
}

.badge-warning,
.badge-info{
    background: #fef3c7 !important;
    color: #92400e !important;
}

/* DataTables top controls (search + length) */
div.dataTables_wrapper div.dataTables_filter input{
    border: 1px solid var(--ui-border) !important;
    border-radius: 12px !important;
    height: 44px !important;
    padding: 10px 14px !important;
    background: #fff !important;
}

div.dataTables_wrapper div.dataTables_length select{
    border: 1px solid var(--ui-border) !important;
    border-radius: 12px !important;
    height: 44px !important;
    padding: 8px 14px !important;
    background: #fff !important;
}

div.dataTables_wrapper .dataTables_paginate .paginate_button{
    border-radius: 10px !important;
    border: 1px solid var(--ui-border) !important;
    padding: 6px 10px !important;
    margin: 0 3px !important;
}

div.dataTables_wrapper .dataTables_paginate .paginate_button.current{
    background: var(--ui-primary) !important;
    color: #fff !important;
    border-color: var(--ui-primary) !important;
}

/* =====================================
   KANBAN
   ===================================== */

.container-kanban{
    padding: 18px 16px;
}

.kanban-board{
    gap: 16px;
}

.kanban-col{
    padding: 0 10px !important;
}

.card-list-body.task-list-items{
    background: #fff;
    border: 1px solid var(--ui-border);
    border-radius: var(--ui-radius);
    padding: 12px;
    box-shadow: var(--ui-shadow);
}

.card.card-progress{
    border: 1px solid var(--ui-border) !important;
    border-radius: 14px !important;
    box-shadow: var(--ui-shadow-sm) !important;
    margin-bottom: 12px;
}

.card.card-progress .card-body{
    padding: 14px;
}

.card-list-title h6{
    font-size: 16px;
    font-weight: 700;
    color: var(--ui-text);
}

.task-name-break{
    color: var(--ui-text) !important;
}

.action-item{
    color: var(--ui-muted) !important;
}

.dropdown-menu{
    border-radius: 12px !important;
    border: 1px solid var(--ui-border) !important;
    box-shadow: var(--ui-shadow) !important;
}

/* Avatar group (same size as screenshot chips) */
.avatar-group .avatar,
.avatar.rounded-circle.avatar-sm{
    width: 36px !important;
    height: 36px !important;
    border: 2px solid #fff;
    box-shadow: 0 4px 10px rgba(17,24,39,.08);
}


.pro-task-list-items {
    min-height: 120px;
    position: relative;
    box-shadow: 0 0 49px rgba(105, 105, 105, 0.09);
    border-radius: 10px;
}

.pro-task-list-items:before {
    content: "No Tasks";
    position: absolute;
    line-height: 110px;
    width: 100%;
    text-align: center;
    font-weight: 600;
}

.pro-task-list-items h6 .badge {
    font-size: 5px !important;
    padding: 0px 8px !important;
}

.for-leads:before {
    content: "No Leads";
}

.tasks .card {
    white-space: normal;
    margin-top: 1rem;
    border-radius: 10px !important;
}

.tasks .card .text-body {
    font-size: 14px;
}

.gu-mirror {
    position: fixed !important;
    margin: 0 !important;
    z-index: 9999 !important;
    opacity: .8
}

.gu-mirror .text-body {
    font-size: 14px !important;
}

.gu-mirror .badge {
    font-size: 5px !important;
    padding: 0px 8px !important;
}

.gu-hide {
    display: none !important
}
.comment-holder .media-body h5 {
    font-size: 14px;
    margin: 0;
}

.comment-holder .media-body p {
    font-size: 13px;
}

.comment-holder .media {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f1f1f1;
}
.gu-unselectable {
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important
}

.gu-transit {
    opacity: .2;
}

.action-item:focus {
    outline: none;
}

.dragula-handle {
    position: relative;
    width: 36px;
    height: 36px;
    font-size: 14px;
    text-align: center;
    cursor: move
}

.dz-message {
    border: none !important;
}

.dropzone .dz-preview .dz-image img {
    width: 100% !important;
}

.dropzone.dz-clickable {
    background: #fff !important;
}

.dropzone .dz-preview {
    margin: 10px !important;
    padding: 10px !important;
    width: 120px !important;
}

.dropzone .dz-preview .dz-image {
    width: 100px !important;
    height: 100px !important;
}

.dz-filename {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.dropzone {
    display: block !important;
}

.strike {
    text-decoration: line-through;
}

.dropdown-toggle::after {
    content: none;
}

body.sidebar-mini .main-footer {
    position: fixed;
    bottom: 0;
}

.deal_title:hover .deal_icon {
    display: inline-block;
}

.deal_icon {
    display: none;
}

.deal_status {
    float: right;
    position: absolute;
    right: 0;
}

.deal_status a:hover {
    text-decoration: none;
}

.due_amount tr {
    border-bottom: 1px solid #f7f8f9;
}

.due_amount tr:last-child {
    border-bottom: none;
}

.h-1050 {
    /*height: 1050px !important;*/
    height: 990px !important;
}

.beep:after {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 6px;
    height: 6px;
    background-color: #ffa426;
    border-radius: 50%;
    animation: pulsate 1s ease-out;
    animation-iteration-count: infinite;
    opacity: 1;
}

@-webkit-keyframes pulsate {
    0% {
        -webkit-transform: scale(0.1, 0.1);
        opacity: 0.0;
    }
    50% {
        opacity: 1.0;
    }
    100% {
        -webkit-transform: scale(1.2, 1.2);
        opacity: 0.0;
    }
}

.max-380 {
    max-height: 380px;
    min-height: 380px;
    overflow-y: auto;
}

.setting-img {
    height: 68px !important;
    width: auto !important;
    filter: drop-shadow(1px 1px 2px #222);
}

/*TIMESHEET PAGE CSS*/
.project-timesheet table .task-name {
    white-space: unset;
}

.project-timesheet tbody tr td span {
    margin: 5px;
    cursor: pointer;

}

.project-timesheet th.heading span {
    display: block;
}

.project-timesheet th.heading {
    text-align: center;
}

.project-timesheet tbody tr td {
    padding: 1rem !important;
    vertical-align: middle;
}

.project-timesheet tbody tr td:first-child, .project-timesheet tfoot tr td:first-child {
    min-width: 200px;
    text-align: left;
}

.project-timesheet tbody tr td:not(:first-child) span {
    width: 60px;
    border: 1px solid #dee2e6;
    padding: 5px 20px;
    transition: padding 0.15s ease 0s;
    border-radius: 5px;
}
/* ✅ FIX: allow horizontal scroll on all table containers */
.table-responsive{
  overflow-x: auto !important;
  overflow-y: hidden !important;
  -webkit-overflow-scrolling: touch;
}

