﻿/*body {
    transform: scale(0.8);
    transform-origin: top left;
    font-size: 17px;
}*/
/*.content-body {
    transform: scale(0.8);*/ /* scale down 80% */
    /*transform-origin: top left;*/ /* scale from top-left corner */
    /*width: 110%;*/ /* 1 / 0.8 = 125% to compensate for scaling */
    /*min-height: 100vh !important;
}
.deznav {
    transform: scale(0.8) !important;
    transform-origin: top left !important;
    height: 120vh;*/ /* full viewport height */
    
/*}
.metismenu > li > ul.mm-show {
    top:0px !important;
}
.select2-results {
    transform-origin: top left;
    transform: scale(00.9);
    width: 110%;
}
#main-wrapper {
    padding-bottom: 0px !important ;
}
.footer {
    padding-left: 95px !important;
}*/

    @font-face {
        font-family: 'Cairo';
        src: url('../App_Themes/UIUX/fonts/Cairo-Medium.woff2') format('woff2');
        font-weight: 500;
        font-style: normal;
        font-display: swap;
    }

    @font-face {
        font-family: 'Cairo';
        src: url('../App_Themes/UIUX/fonts/Cairo-Regular.woff2') format('woff2');
        font-weight: normal;
        font-style: normal;
        font-display: swap;
    }

    @font-face {
        font-family: 'Cairo';
        src: url('../App_Themes/UIUX/fonts/Cairo-ExtraLight.woff2') format('woff2');
        font-weight: 200;
        font-style: normal;
        font-display: swap;
    }

    @font-face {
        font-family: 'Cairo';
        src: url('../App_Themes/UIUX/fonts/Cairo-Bold.woff2') format('woff2');
        font-weight: bold;
        font-style: normal;
        font-display: swap;
    }

    @font-face {
        font-family: 'Cairo';
        src: url('../App_Themes/UIUX/fonts/Cairo-Black.woff2') format('woff2');
        font-weight: 900;
        font-style: normal;
        font-display: swap;
    }

    @font-face {
        font-family: 'Cairo';
        src: url('../App_Themes/UIUX/fonts/Cairo-ExtraBold.woff2') format('woff2');
        font-weight: bold;
        font-style: normal;
        font-display: swap;
    }

    @font-face {
        font-family: 'Cairo';
        src: url('../App_Themes/UIUX/fonts/Cairo-SemiBold.woff2') format('woff2');
        font-weight: 600;
        font-style: normal;
        font-display: swap;
    }

    @font-face {
        font-family: 'Cairo';
        src: url('../App_Themes/UIUX/fonts/Cairo-Light.woff2') format('woff2');
        font-weight: 300;
        font-style: normal;
        font-display: swap;
    }

    .table {
    border: 0px solid #f0f1f5;
    background: #fff;
    border-radius: 14px;
    /*margin-top:2rem !important;*/
}

    .table thead-primary th {
        background: var(--primary);
    }

    .table tbody tr td {
        border-bottom: 0.4px solid #9797974f;
        border-right: 0.4px solid #9797974f;
    }

        .table tbody tr td:first-child {
            border-left: 0;
        }

    .table tbody tr:last-child td {
        border-bottom: 0
    }

.table tbody tr td {
    color: #43474B;
    font-size: 15px;
    line-height: 100%;
    letter-spacing: 0px;
    text-align: center;
}
    .table tr:nth-child(even) {
        background-color: #f2f2f2; /* Light gray */
    }

    .table tr:hover {
        background-color: #f2f2f2;
    }


    .table thead th {
        background: var(--primary);
        padding-top: 14px;
        padding-bottom: 14px;
        text-align: center;
        color: #fff !important;
        border-bottom-width: 1px !important;
        font-size: 14px !important;
        letter-spacing: 0.5px !important;
        border-color: #8ca3ff !important;
        border-width:0 !important;
    }


 


.CustomEmployeeSearchContainer {
    display: flex;
    justify-content: space-between;
    width: 100%;
}
.CustomEmployeecolumn {
    flex: 1;
    padding: 6px;
}
@media (min-width: 576px) {
    .modal-dialog.modal-content-auto {
        max-width: none;
        width: auto;
    }
}
.card .row {
    margin-top: 0.2rem;
    position: static;
}
.btn {
    padding: 0.375rem 0.75rem !important;
    border-radius: 0.625rem;
    font-weight: 400;
    font-size: 14px;
}
.btn {
    width: auto !important;
    display: inline-flex;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 5px !important;
    text-decoration: none !important;
    font-size: 14px !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15) !important;
    transition: transform 0.2s, box-shadow 0.2s !important;
}
    .btn:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    }

    .btn:has(i[class*="fa"]) {
        width: 35px !important;
        height: 35px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 15px !important;
        text-decoration: none !important;
        font-size: 14px !important;
        box-shadow: 0 5px 15px rgba(0,0,0,0.15) !important;
        transition: transform 0.2s, box-shadow 0.2s !important;
    }
.delete-btn {
    margin-left: 10px;
    color: red;
    border: none;
    background: transparent;
    cursor: pointer;
}

    .delete-btn:hover {
        color: darkred;
    }

.fade-out {
    opacity: 0;
    transition: opacity 0.4s ease;
}



















/* Calendar container */
.flatpickr-calendar {
    border-color: var(--primary);
}

/* Navigation arrows */
.flatpickr-months .flatpickr-next-month,
.flatpickr-months .flatpickr-prev-month {
    color: var(--primary);
}

    .flatpickr-months .flatpickr-next-month:hover svg,
    .flatpickr-months .flatpickr-prev-month:hover svg {
        fill: var(--primary) !important;
        opacity: 0.7;
    }

/* Weekday headers */
.flatpickr-weekdays,
.flatpickr-weekdaycontainer {
    background: var(--primary);
}

.flatpickr-weekday {
    background: var(--primary) !important;
    color: white !important;
    font-weight: 600;
}

/* Days */
.flatpickr-day:hover {
    background: var(--primary);
    color: white;
    opacity: 0.7;
}

.flatpickr-day.today {
    border-color: var(--primary) !important;
    color: var(--primary) !important;
}

    .flatpickr-day.today:hover {
        background: var(--primary) !important;
        color: white !important;
    }

/* Selected days */
.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected.inRange,
.flatpickr-day.startRange.inRange,
.flatpickr-day.endRange.inRange,
.flatpickr-day.selected:focus,
.flatpickr-day.startRange:focus,
.flatpickr-day.endRange:focus,
.flatpickr-day.selected:hover,
.flatpickr-day.startRange:hover,
.flatpickr-day.endRange:hover,
.flatpickr-day.selected.prevMonthDay,
.flatpickr-day.selected.nextMonthDay {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: white !important;
}

/* Range selection */
.flatpickr-day.inRange {
    background: var(--primary) !important;
    opacity: 0.3;
    border-color: var(--primary) !important;
    color: white;
}

/* Time picker */
.flatpickr-time input:hover,
.flatpickr-time .flatpickr-am-pm:hover,
.flatpickr-time input:focus,
.flatpickr-time .flatpickr-am-pm:focus {
    background: var(--primary) !important;
    color: white !important;
}

.flatpickr-time .arrowUp:hover,
.flatpickr-time .arrowDown:hover {
    color: var(--primary) !important;
}

/* Confirm button */
.flatpickr-confirm {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: white !important;
}

    .flatpickr-confirm:hover {
        background: var(--primary) !important;
        opacity: 0.8 !important;
    }

/* Month dropdown */
.flatpickr-monthDropdown-months {
    background: white;
    border-color: var(--primary);
}

    .flatpickr-monthDropdown-months .flatpickr-monthDropdown-month:hover {
        background: var(--primary) !important;
        color: white !important;
    }

.flatpickr-months .flatpickr-month {
    background: var(--primary) !important;
}
.flatpickr-current-month .flatpickr-monthDropdown-months {
    background: var(--primary) !important;
}

    .flatpickr-current-month .flatpickr-monthDropdown-months .flatpickr-monthDropdown-month {
        background-color: #cacaca;
    }















    #rounded-corner thead {
        border: 0px solid #f0f1f5;
        background: #fff;
        border-radius: 14px;
        margin-top: 2rem !important;
    }
  #rounded-corner tbody  {
    border: 0px solid #f0f1f5;
    background: #fff;
    border-radius: 14px;
    margin-top: 2rem !important;
}
    
#rounded-corner tbody tr:nth-child(even) {
    background-color: #f2f2f2; /* Light gray */
}


    #rounded-corner thead-primary th {
        background: var(--primary);
    }

    #rounded-corner tbody tr td {
        border-bottom: 0.4px solid #9797974f !important;
        border-right: 0.4px solid #9797974f !important;
        padding: 8px 10px;
    }
       
        #rounded-corner tbody tr td:first-child {
            border-left: 0;
        }

    #rounded-corner tbody tr:last-child td {
        border-bottom: 0
    }

    #rounded-corner tbody tr td {
        color: #43474B;
        font-size: 13px;
        line-height: 100%;
        letter-spacing: 0px;
        text-align: center;
    }

    #rounded-corner tr:nth-child(even) {
        background-color: #f2f2f2; /* Light gray */
    }

#rounded-corner tbody tr:hover td {
    background-color: #f2f2f2;
}


    #rounded-corner tr th {
        background: var(--primary);
        padding-top: 8px;
        padding-bottom: 8px;
        text-align: center;
        color: #fff !important;
        border-bottom-width: 1px !important;
        font-size: 14px !important;
        letter-spacing: 0.5px !important;
        border-color: #8ca3ff !important;
        border-width: 0 !important;
        line-height:1.4;
    }
#rounded-corner tr.odd td {
    border-top: 0px solid #fff !important;
}


  
#rounded-corner tr.even > * {
    background-color: #e9ecef;  
    color: #212529 ; 
}
#rounded-corner tr.odd > * {
    background-color: #fff;  
    color: #212529;  
}


.action-btns button {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    text-decoration: none;
    background: white;
    font-size: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15) !important;
    transition: transform 0.2s, box-shadow 0.2s !important;
    border:0;
}

    .action-btns button:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    }


.container {
    width: 100%;
    padding: 0;
    max-width: 100%;
}

.lsImport {
    width: 100% !important;
    }

.radio-list input[type="radio"] {
    margin-right: 2px; /* space between radio and label */
}

.radio-list label {
    /*margin-right: 20px;*/ /* space between items */
    margin-inline-end: 10px;
}
.WaterMark {

    padding-top: 3px !important;
    background: #fff !important;
    border: 1px solid #D6E4EC !important;
    padding: 5px 15px !important;
    color: #43474B !important;
    border-radius: 6px !important;
    height: 42px !important;
}

.WaterMark,
input.watermarked {
    color: #999 !important;
    padding-top: 3px !important;
    padding: 5px 15px !important;
    border: 1px solid #D6E4EC !important;
    border-radius: 6px !important;
    height: 42px !important;
    background-color: white !important;
}
.form-control {
    display: unset;
}
div[id*=_calendar ] {
    left: unset !important;
    right: unset !important;
    right: unset !important;
    top: unset !important;
    height:150px;
}
div[id*=_calendar ] table{
    height:100%;
}

.calendar-rtl input[type="button"] {
    background-color: var(--primary);
    color: white;
    border-radius: 5px;
    width: 35px !important;
    padding: 6px;
    margin: 2px;
    height: 37.3px !important;
    border-color: transparent;
}
textarea.form-control
 {
    margin-top: 3px !important;
}


#ctl00_ContentPlaceHolder1_TabContainer1 .ajax__tab_header * {
    box-sizing: content-box !important;
}

 .ajax__tab_header * {
    box-sizing: content-box !important;
}
.c-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}



.collapsiblediv-container {
    /*border: 1px solid #ccc;*/
    border-radius: 5px;
    width: 100%;
    margin-bottom: 10px;
    overflow: hidden;
}

.collapsiblediv-header {
    background-color: var(--primary);
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.toggle-button-div {
    border: none;
    background-color: transparent;
    /*font-size: 20px;
    font-weight: bold;*/
    cursor: pointer;
    color: white;
}

.collapsiblediv-body {
    padding: 10px;
    height: auto;
    overflow: hidden;
    transition: max-height 0.4s ease;
    max-height: max-content; /* Enough space to show all content */
}

    .collapsiblediv-body.hide {
        padding: 0 10px;
        max-height: 0;
        transition: max-height 0.4s ease;
    }

.rowColor {
    margin-bottom: -1px;
    background: none;
    border: 1px solid transparent;
    border-top-left-radius: 0.75rem;
    border-top-right-radius: 0.75rem;
}
.rowColorprimary {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--primary);
    text-decoration: none;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}
.rowColordanger {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--primary);
    text-decoration: none;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}
fieldset {
    /* border: none;*/
    margin: 0;
    padding: 0;
    display: block;
    margin-inline-start: 2px;
    margin-inline-end: 2px;
    padding-block-start: 0.35em;
    padding-inline-start: 0.75em;
    padding-inline-end: 0.75em;
    padding-block-end: 0.625em;
    min-inline-size: min-content;
    border-width: 2px;
    border-style: groove;
    border-color: threedface;
    border-image: initial;
    min-width:auto !important;
}
.menu-li {
    user-select: none; /* Prevent text selection */
    cursor: pointer; /* Show pointer cursor */
}
.action-btns .custom-warning-btn {
    color: #1f2d3d;
    background-color: #ffc107;
    border-color: #ffc107;
    box-shadow: none;
    width: auto;
    height: auto;
    text-size-adjust: auto;
    font-size: inherit;
}
/*label{
    padding-left: 3px !important;
    padding-right: 2px !important;
}*/


fieldset legend {
    float: inherit !important;
    width: auto !important;
    display: block;
    padding-inline-start: 2px;
    padding-inline-end: 2px;
    border-width: initial;
    border-style: none;
    border-color: initial;
    border-image: initial;
}

.select2-container[dir="rtl"] .select2-selection--single .select2-selection__rendered {
    text-align: start !important;
}
.dropdown-menu.show {
    right: 0;
    overflow-y: overlay;
    max-height: 300px;
}


td span[id*="ProgressBar"] {
    font-weight: 700;
    /* display: inline-block; */
    margin-bottom: .5rem;
    color: gray;
}
td img[id*="ProgressBar"] {
   max-width:unset !important;
}
#ctl00_ContentPlaceHolder1_ProgressBar1_table {
    height:20px !important;
}

/*div#ctl00_ContentPlaceHolder1_ProgressBar1_ind {
    position: static !important;
    height: 17px !important;
    width: 952px !important;
    overflow: hidden !important;
    background-repeat: repeat-x !important;
    background-color: white !important;
}
div#ctl00_ContentPlaceHolder1_Panel4 {
    z-index: 0;
}*/



/*
    to disaple curser in text or div 
    .table td {
    user-select: none;
    caret-color: transparent;
}

    .table td:focus {
        outline: none;
    }

div {
    user-select: none;*/ /* disable text selection */
    /*caret-color: transparent;*/ /* hide blinking text cursor */
/*}

    div:focus {
        outline: none;*/ /* remove focus outline */
/*}
        end disaple curser in text or div 
    */

.checkbox.checkbox-primary > label {
    display: unset !important;
}
.req {
    /* vertical-align: top; */
    font: 12px tahoma, arial, sans-serif;
    color: #CC0000;
}

/*disgin for collaps*/
.collaps-header {
    background-color: var(--primary);
    color: white;
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 10px;
   /* min-height: 35px;*/
}

.collaps-title {
    margin-bottom: 0;
    font-size: 1rem;
    color: white;
}

.collaps-body {
    padding: 1.25rem;
}

/* For the color dropdown options */
.form_select option[style*="background-color"] {
    padding: 5px;
    color: white;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.5);
}
.btn-collaps-toggle {
    background: transparent;
    border: none;
    color: white;
    padding: 0;
    font-size: xx-small;
}

    .btn-collaps-toggle:hover {
        color: rgba(255,255,255,0.8);
    }

    .btn-collaps-toggle .fas {
        transition: all 0.2s;
    }

/*end disgin for collaps*/

.table-padding td {
    padding: 4px; /* try 2 or 4 px  */ 
}

/*this form span input thead system 
/*span {
    font-weight: bold;
}
li.has-menu span {
    font-weight: 500;
}
top-tabs span {
    font-weight: 500;
}
table#rounded-corner th span {
    font-weight: 700;
}
table#rounded-corner  span {
    font-weight: normal;
}
span.select2-selection.select2-selection--single span {
    font-weight: normal;
}
.top-tabs span {
    font-weight:normal;
}
.select2-results {
    font-weight: normal;
}
span label {
    font-weight: 600;
} end span  */



table#rounded-corner tr td a[href]:not([class*="btn"]) {
    color: var(--primary);
}
table#rounded-corner a.badge.badge-pill.badge-success, table#rounded-corner a.badge.badge-pill.badge-warning, table#rounded-corner a.badge.badge-pill.badge-danger, table#rounded-corner a.badge.badge-pill.badge-dark,
table#rounded-corner a.badge.badge-pill.badge-success:hover {
    color: white;
}
.select2-container--default.select2-container--disabled .select2-selection--single {
 
    padding-inline-start: 8px !important;
}

.textpnl {
    padding-right: 5px;
    padding-left: 5px;
    border-radius: 0.50rem !important;
    border: solid 1px;
}
.thead-primary tr td a[href] {
    color: var(--primary);
}
@media screen and (max-width: 1600px) {
    span[id*="_dt"] > input[id$="_textBox"] {
        width: 106px !important;
    }
}
.col-5 .select2-container {
    width:155px !important;
}
.btn-warning {
    background-color: #FE8024 !important;
    border-color: #FE8024 !important;
}
.table-padding td:has(> table) {
    padding: 1px !important;
}
.table-padding td > #ctl00_ContentPlaceHolder1_VoltEmployeeUserControl1_rdSataus {

    padding: 1px; 
}
.table-padding td > #ctl00_ContentPlaceHolder1_VoltEmployeeUserControl1_rdSataus label {
    padding: 0px;
}
.table-padding td table td{

    padding: 1px;
}
.historyimg{
    width: 10% !important;
}
.badge {
    padding: 0.25rem 0.250rem !important;
}
@media (min-width: 1400px) {
    .badge {
        padding: 0.25rem 0.400rem !important;
    }
}
@media (min-width: 900px) and (max-width: 1399px) {
    .badge {
        padding: 0.25rem 0.250rem !important;
    }
}

#ctl00_ContentPlaceHolder1_dvDownloadTemp a {
    color: blue;
    font-size: 14px;
    font-weight: 600;
}

td:has(.historyimg) {
    padding: 0px 0px !important; 
    background: #f9f9f9;
}
.historyimg {
    margin-right: 9px !important;
}
.badge {

    font-size: 10px !important;
}

table.dataTable thead th, table.dataTable tfoot th {
    text-align: center !important;
    vertical-align: middle !important;
    text-wrap-mode: wrap !important;
}
.container-fluid {
    overflow-x: auto;
    overflow-y: hidden;
}

/*input[type="radio"] + label {
    display: inherit;
    
}*/

input[type="radio"], input[type="checkbox"] {
    flex-shrink: 0 !important;
}
[id$="_promptDiv"] {
    display: none !important;
}

.custom-rbl {
    display: flex;
    flex-wrap: wrap; /* allow wrapping on smaller screens */
    gap: 8px; /* space between options */
}

    .custom-rbl > span {
        display: inline-flex; /* keep input + label together */
        align-items: center; /* align radio with text vertically */
        white-space: nowrap; /* prevent radio and label from splitting */
        width:auto !important;
    }

span:not(.deznav span):not(.header-content span) {
    font-weight: 700;
    font-size: 12px !important;
    /*font-family: "Helvetica Neue", Roboto, Arial, "Droid Sans", sans-serif;*/
}
label:not(.form-check-label):not(.custom-file-label) {
    font-weight: 700;
    font-size: 12px !important;
         /* font-family: "Helvetica Neue", Roboto, Arial, "Droid Sans", sans-serif;*/
}
.container-fluid span:not(.top-tabs span):not(.record span)
.container-fluid span:not(.select2-container span) {
    font-weight: 700 !important;
    font-size: 12px !important;
   /* font-family: "Helvetica Neue", Roboto, Arial, "Droid Sans", sans-serif;*/
}
.top-tabs a {
    font-weight: normal !important;
}
td span {
    font-weight: 700;
    font-size: 12px !important;
   /* font-family: "Helvetica Neue", Roboto, Arial, "Droid Sans", sans-serif;*/
}
#rounded-corner span {
    font-weight: normal !important;
}
#rounded-corner a {
    font-weight: normal !important;
}
.record span {
    font-weight: normal !important;
}
.top-tabs span {
    font-weight: normal !important;
}
.container-fluid table td li span {
    font-weight: normal !important;
}
.select2-selection__rendered {
    font-weight: normal !important;
}
.select2-results__options {
    font-weight: normal !important;
}

.accordion-header-indicator {
    font-family: 'themify' !important;
    font-weight: normal !important;
}
.datalist-cards span:not(b span) {
    font-weight: normal !important;
}

select:disabled {
    background-color: lightgrey !important;
    color:black !important
}

td span > input[type="checkbox"] + label {
    display:inherit;
    white-space: normal;
}
.select2-container--disabled .select2-selection__rendered {
    padding-right: 15px !important; 
}


.top-tabs ul li::after {
    
     padding-left: 2px !important; 
}
.top-tabs ul li {
     padding-right: 2px !important; 
}
    .top-tabs ul li a {
        font-size:12px !important
    }
.action-btns a {
    width:40px !important;
    height:40px !important;
    font-size:20px !important
}
    .action-btns a:not(:has(i)) {
        width: auto !important;
        font-size:13px !important
    }
.select2-container--open {
    z-index: 999990 !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding:0 !important;
}
#main-wrapper.rtl .dataTables_wrapper .dataTables_paginate {
    float: left !important;
    text-align: left !important;
    direction: rtl !important;
}

    /* Fix button order for RTL */
    #main-wrapper.rtl .dataTables_wrapper .dataTables_paginate .paginate_button {
        float: right !important;
    }

    /* Reverse next/previous positions for RTL */
    #main-wrapper.rtl .dataTables_wrapper .dataTables_paginate .previous {
        float: right !important;
    }

    #main-wrapper.rtl .dataTables_wrapper .dataTables_paginate .next {
        float: left !important;
    }




.select2-selection select2-selection--single {
    height: 30px !important;
    line-height: 30px !important;
    min-height: 30px !important
}

.select2-selection__rendered {
    height: 30px !important;
    line-height: 30px !important;
    min-height: 30px !important
}

.select2-selection__arrow {
    height: 30px !important;
    line-height: 30px !important;
    min-height: 30px !important
}

.select2-container .select2-selection--single {
    height: 30px !important;
    line-height: 30px !important;
    min-height: 30px !important
}

.align-items-center.d-flex.flex-wrap  .select2-container .select2-selection--single {
    height: 45px !important;
    line-height: 45px !important;
    min-height: 45px !important
}
.align-items-center.d-flex.flex-wrap .select2-selection__rendered {
    height: 45px !important;
    line-height: 45px !important;
    min-height: 45px !important
}
.align-items-center.d-flex.flex-wrap .select2-selection select2-selection--single {
    height: 45px !important;
    line-height: 45px !important;
    min-height: 45px !important
}
.align-items-center.d-flex.flex-wrap .select2-selection__arrow {
    height: 45px !important;
    line-height: 45px !important;
    min-height: 45px !important
}

/*.form-control {
    height: calc(1.85rem + 2px) !important;
    padding: 0.1rem 0.75rem !important;
}*/
    .form-control:not(textarea) {
        height: calc(1.85rem + 2px) !important;
        padding: 0.1rem 0.75rem !important;
    }
textarea.form-control {
    /*height: auto !important;
    min-height: 80px !important;*/
    resize: vertical;
    background: #fff;
    border: 1px solid #D6E4EC;
    color: #43474B;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    width: 100% !important;
}
.align-items-center.d-flex.flex-wrap .form-control {
    height: 45px !important;
}
.filter-search button {
    top: 5px !important;
}
.align-items-center.d-flex.flex-wrap .filter-search button {
    top: 10px !important;
}

.input-group.search-area.d-xl-inline-flex.d-none .form-control {
    width: 300px !important;
    height: 48px !important;
    background: #FFFFFF !important;
    gap: 12px;
    border-radius: 8px !important;
    padding-top: 8px !important;
    padding-right: 16px !important;
    padding-bottom: 8px !important;
    padding-left: 54px !important;
}

.nav-item.d-xl-inline-flex.d-none .form-control {
    height: 45px !important;
    line-height: 45px !important;
    min-height: 45px !important
}
.input-group-text.calendar-trigger {
    height:32px !important;
}


input[onchange*="CalendarPopup_FindCalendar"]:not(.filter-date input[onchange*="CalendarPopup_FindCalendar"]) + input[type="button"] {
    width: 32px !important;
    height: 29px !important;
    padding: 0px !important;
    margin-top: -4px !important;
}
/*hid the time in master page under the user name */
.dashboard_bar span {
    display:none;
}
.dashboard_bar {
    font-size: 17px !important;
}

/*resize the image profile */
.header-right .header-profile img {
    width: 40px !important;
    height: 41px;
    border-radius: 10px;
}
.header-right .header-profile > a.nav-link {
    width: 72px !important;
    height: 43px !important;
}
/*resize the color dropdown*/
.header-right .header-color > a.nav-link {
    height: 43px !important;
    width: 72px !important;
}

/*resize the image i in masterpage*/
.ess i {
    font-size: 25px;
}
.ess-title {
    font-size: 14px !important;
}
.language-change {
    height: 45px !important;
}

.badge.light.text-white.bg-primary.rounded-circle {
    padding:0px !important;
}
[class$="txtletterHTML_EndTab"] {
   width:auto !important;
}


.table.table-striped.table-bordered.table-hover {
    margin-top: 2rem !important
}
.modal-header {
    background: var(--primary);
}
button.btn-tool.collapse-btn {
    color: black;
}
button.btn-tool.remove-btn {
    color: black;
}
button.btn-tool.maximize-btn {
    color: black;
}


[id*="_ProgressBar1_table"],
[id*="_ProgressBar2_table"], [id*="_ProgressBar3_table"], [id*="_ProgressBar4_table"], [id*="_ProgressBar5_table"], [id*="_ProgressBar6_table"] {
height:20px !important;
}

.card-body {
    padding-top: 10px !important;
}
.content-body .container {
    margin-top:5px !important
}
.mb-4 {
    margin-bottom: 0.6rem !important;
}
.pt-5 {
    padding-top: 1.5rem !important;
}
.pt-3 {
     padding-top: 0.2rem !important; 
}
.ai-icon.menu-li.active i, .ai-icon.menu-li.active span {
    color:white !important;
}

.rtl i.fas.fa-bookmark.info.font-large-2.float-right {
    float: none !important;
}

#UserControlHeaderSearch td {
    padding:0px !important;
}

/*/// form edit homepage */
.edit-mode .draggable-item {
    cursor: move;
    border: 2px dashed #007bff;
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.4);
    }

    70% {
        box-shadow: 0 0 10px 10px rgba(0, 123, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0);
    }
}

.sortable-placeholder {
    background: rgba(0, 123, 255, 0.1);
    border: 2px dashed #007bff;
    height: 150px;
    border-radius: 10px;
}

/*end edit style*/

li.has-menu.mm-active > ul.left.mm-collapse.mm-show > li.mm-active > ul.left.mm-collapse.mm-show {
    background: #d9d3d34f !important;
}
li.has-menu.mm-active > ul.left.mm-collapse.mm-show > li.mm-active > a.has-arrow[aria-expanded="true"] {
    background: #9992924f !important;
}


li.has-menu > ul.left.mm-collapse.mm-show > li.mm-active > ul.left.mm-collapse.mm-show {
    background-color: #d9d3d34f !important; 
}


li.has-menu li.mm-active > a.has-arrow[aria-expanded="true"] {
    background-color: #9992924f !important;
}



.icon-circle {
    width: 55px;
    height: 55px;
    background: #00B5B8; /* your color */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff; /* icon color */
    font-size: 22px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    transition: 0.3s;
    cursor: pointer;
}

.DivCheckBoxList table tr td {
    text-align: start !important;
}



/*Employee Card*/
.CustomEmployeeCard {
    background: white;
    border-radius: 12px;
    padding: 18px;
    border: 1px solid #e9ecef;
    margin: 12px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* ------------------ MAIN LAYOUT ------------------ */
.employee-header {
    display: flex;
    align-items: flex-start; /* fix grid shifting upward */
    gap: 20px;
}

/* Avatar */
.avatar-circle-employee-card {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 34px;
    font-weight: 700;
    color: #fff;
    overflow: hidden;
}

/* Name + Job title */
.employee-main-info h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 2px;
}

.employee-main-info p {
    color: #6c757d;
    font-size: 14px;
}

/* ------------------ INFO GRID ON RIGHT ------------------ */
.employee-info-right {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    flex: 1;
}

/* Item */
.info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.info-icon {
    width: 38px;
    height: 38px;
    background: #f8f9fa;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

/* Labels + Values */
.info-content label {
    font-size: 11px;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.info-content div {
    font-size: 14px;
    color: #212529;
    font-weight: 500;
}

/* ------------------ MOBILE RESPONSIVE ------------------ */
@media (max-width: 768px) {
    .employee-header {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .employee-info-right {
        grid-template-columns: 1fr;
        margin-top: 15px;
    }
}
.status-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.status-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.status-label {
    font-size: 10px;
    color: #6c757d;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-successCustom {
    background-color: rgb(40, 167, 69);
}

#gotoPage {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 12px;
    vertical-align: middle;
    font-size: 13px;
    color: #555;
    font-family: inherit;
}

    /* Label text */
    #gotoPage span,
    #gotoPage {
        color: #6c757d;
        font-size: 13px;
    }

#txtGoToPage {
    width: 55px;
    height: 32px;
    padding: 4px 8px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    font-size: 13px;
    text-align: center;
    color: #333;
    outline: none;
    transition: border-color 0.2s;
    -moz-appearance: textfield; 
}
   #txtGoToPage::-webkit-outer-spin-button,
    #txtGoToPage::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

    #txtGoToPage:focus {
        border-color: #226A90;
        box-shadow: 0 0 0 2px rgba(34, 106, 144, 0.15);
    }

#btnGoToPage {
    height: 32px;
    padding: 0 14px;
    background-color: #226A90;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
    white-space: nowrap;
}

    #btnGoToPage:hover {
        background-color: #1a5272;
    }

    #btnGoToPage:active {
        transform: scale(0.97);
        background-color: #174a66;
    }




















/* ── Notification bar base ── */
.validationSummary {
    border-radius: 10px;
    overflow: hidden;
    margin: 12px 0;
    font-size: 14px;
    border: 0.5px solid transparent;
    animation: notifSlideDown 0.25s ease;
}

@keyframes notifSlideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Success state: lblMessageSucceed is visible ── */
.validationSummary:has(#lblMessageSucceed:not([style*="display: none"])) {
    border-left: 4px solid #1D9E75;
    background: #E1F5EE;
}

/* ── Error state: lblMessageFail is visible ── */
.validationSummary:has(#lblMessageFail:not([style*="display: none"])) {
    border-left: 4px solid #E24B4A;
    background: #FCEBEB;
}

/* ── Labels ── */
#lblMessageSucceed {
    font-weight: 500;
    color: #085041;
}

    #lblMessageSucceed::before {
        content: "✓  ";
    }

#lblMessageFail {
    font-weight: 500;
    color: #791F1F;
}

    #lblMessageFail::before {
        content: "✕  ";
    }

/* ── Layout cleanup ── */
.validationSummary .row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 1px 5px;
    margin: 0 !important;
}

.validationSummary .col-12 {
    padding: 0 14px 12px;
}

/* ── Close button ── */
#imbtnHide {
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0.45;
    border-radius: 4px;
    font-size: 14px;
    transition: opacity 0.15s;
}

    #imbtnHide:hover {
        opacity: 1;
    }

table.dataTable thead th, table.dataTable tfoot th {
    font-weight: normal !important;
}
.table thead th
 {
    font-size: 12px !important;
}
.table tbody tr td {
    font-size: 12px !important;
}