body {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    color: var(--textGreyDark)!important;
}

input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 1px solid #ced4da;
    border-radius: 3px;
    cursor: pointer;
    vertical-align: middle; 
    display: block;        
    margin: 2px;
}

input[type="checkbox"]:checked {
    background-color: var(--AgConsole);
    border-color: var(--AgConsoleDark);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 17 17'%3E%3Cpath fill='none' stroke='white' stroke-width='2.5' stroke-linecap='' stroke-linejoin='round' d='M3 8l3.5 3.5 7-7'/%3E%3C/svg%3E");
    background-size: 15px;
    background-repeat: no-repeat;
    background-position: center;
}

input::placeholder {
  color: #cccccc!important;
  font-style: italic;
  font-size: 0.85rem;
  opacity: 1;
}

.custom-control-input:focus~.custom-control-label::before {
    border: 1px solid var(--AgConsole)!important;
    box-shadow: 0 0 0 .2rem rgba(12, 150, 111, 0.25)!important;
}

.custom-control-input:hover {
    cursor: pointer!important;
}

.leaflet-control-layers-overlays input[type="checkbox"] {
    display: none;   
}

.bs-checkbox label{
    display: flex;
    padding-bottom: 0px;
    padding-bottom: 0px;
}

.bs-checkbox input[type="checkbox"] {
    display: block;
    margin: 0 auto;
}

::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

.card { border: none; box-shadow: 0 2px 12px rgba(0,0,0,0.08); }

.nowrap {
    white-space: nowrap!important;
}

/*--- PIN input styling ---*/

.pinTxt::-webkit-inner-spin-button,
.pinTxt::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.pinTxt {
    -moz-appearance: textfield;
}


/*--- HIGHLIGHT ---*/

.red {
    border: 1px solid red;
}

/*--- MOBILE / DESKTOP ---*/

.desktop { display: none; } 
.mobile { display: block; }

@media (min-width: 992px) {
  .desktop { display: block; } 
  .mobile { display: none; }   
}

/*-- Spinner Loader START ---*/

.page-loader {
    position: fixed;
    right: 0;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 2001;
    background: #fff;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column
}

.page-loader .spinner-border {
    margin-bottom: 15px;
    color: var(--AgConsole);
    width: 3rem;
    height: 3rem
}

.bs-checkbox {
    justify-content: center;
    align-content: center;
    align-items: center;
    vertical-align: middle;
}

.page-loader span {
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #646464;
    font-size: 9px
}

/*-- Spinner Loader END ---*/

.hide {
    display: none!important;
}

/* All anchor links */
a:focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem #03ac7d46 !important;
}

/* Remove default outline and add custom glow */
a:focus-visible {
    outline: none;
    box-shadow: 0 0 0 0.2rem #03ac7d46 !important;
}

input::file-selector-button {
    background: red;
}

/* CUSTOM GLOBAL ELEMENTS */

.infoElement {
    background-color: var(--AgConsoleHighlight);
    padding: 5px 10px;
    font-size: 0.8em;
    color: var(--AgConsoleDark);
}

.infoElement i {
    margin-right: 1em;
}

input.no-spinner::-webkit-inner-spin-button,
input.no-spinner::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input.no-spinner[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

/* BOOTSRAP COLOURS */

/*--Buttons--*/

#toolbar .btn.btnlabel{
    background-color: var(--highlightGrey)!important;
    color: #a8a8a8!important;
    border: 1px solid #CCC!important;
}

#toolbar .bootstrap-select > .btn {
    background-color: #FFF!important;
    color: var(--textGreyDark)!important;
    border: 1px solid #CCC!important;
}

.btn:focus,
.btn.focus,
.btn:not(:disabled):not(.disabled):active:focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem #03ac7d46 !important; 
}

.btn-primary {
    background-color: #0C966F !important;
    border-color: #03AC7D !important;
}

.btn-grey {
    background-color: #e6e6e6 !important;
    border-color: #e6e6e6 !important;
    color: var(--textGreyDark)!important;
}

.btn-lightGrey {
    background-color: var(--highlightGrey) !important;
    border-color: var(--highlightGrey) !important;
    color: var(--textGreyDark)!important;
}

.btn-success {
    background-color: var(--AgConsole) !important;
    border-color: var(--AgConsoleDark) !important;
}

.btn-lightsuccess {
    background-color: var(--AgConsoleHighlight);
    border-color: var(--AgConsoleHighlight);
    color: var(--AgConsoleDark) !important;
}

.btn-warning {
    background-color: var(--AgWarning) !important;
    border-color: var(--AgWarningDark) !important;
    color: #FFFFFF !important;
}

.btn-warning:hover {
    color: #FFFFFF!important;
    cursor: pointer;
}

.btn-lightwarning {
    background-color: var(--AgWarningHighlight) !important;
    border-color: var(--AgWarningHighlight) !important;
    color: var(--AgWarningDark) !important;
}

.btn-danger {
    background-color: var(--AgDanger) !important;
    border-color: var(--AgDangerDark) !important;
    color: #FFFFFF !important;
}

.btn-lightdanger {
    background-color: var(--AgDangerHighlight) !important;
    border-color: var(--AgDangerHighlight) !important;
    color: var(--AgDangerDark) !important;
}

.btn-reset {
    border: 1px solid red !important;
    color: red !important;
}

.btn-blank {
    background: rgb(237, 237, 237);
    color: var(--midGrey);
    border: 1px solid var(--midGrey);
}

.btn-inList {
    background: rgba(255, 255, 255, 0);
    color: var(--textGreyDark);
    border: 1px solid var(--midGrey);
}

.btn-inList.disabled {
    opacity: 0.6;
    color: var(--midGrey)!important;
}

.btn-inList i {
    color: var(--midGrey);
    pointer-events: none!important;
}

.btn-inList .fa-location-dot {
    color: var(--textGreyDark);
    pointer-events: none!important;
}

.btn-inList:hover .fa-location-dot {
    color: #FFF;
    pointer-events: none!important;
}

.btn-inList:hover {
    background: var(--textGreyDark);
    color: #FFF!important;
    border: 1px solid var(--textGreyDark);
}

.btn-inList-success {
    background: var(--AgConsole)!important;
    color: #FFF!important;
}

.btn-inList-danger {
    background: var(--AgDanger)!important;
    color: #FFF!important;
}

.btn-inList-midwarning {
    background: #eb7124!important;
    color: #FFF!important;
}

.btn-inList-warning {
    background: var(--AgWarning)!important;
    color: #FFF!important;
}

.btn-inList-grey {
    background: var(--midGrey)!important;
    color: #FFF!important;
}

.pointer {
    cursor: pointer!important;
}

.checkBox {
    color: var(--midGrey);
    cursor: pointer;
}

.checkBoxdelete {
    color: var(--midGrey);
    cursor: pointer;
}

.checkBoxdelete:hover {
    color: var(--textGreyDark);
    cursor: pointer;
}

.checkBoxdelete.delete{
    color: var(--AgDanger);
}

tr:has(.checkBoxdelete.delete) td:not(:has(.fa-trash-can)) {
    opacity: 0.3;
    text-decoration: line-through;
}

/* ANIMATIONS */

@keyframes bounce5 {
    0%, 80%, 100% { transform: scale(100%); }
    85%            { transform: scale(110%); }
    90%            { transform: scale(95%); }
    95%            { transform: scale(105%); }
}

.bounce-4 {
    animation: bounce5 4s infinite;
}

.bounce3 {
    transform-box: fill-box;
    transform-origin: center;
    animation: bounce5 3s infinite;
}

@keyframes bounce3 {
    0%, 80%, 100% { transform: scale(100%); }
    85%            { transform: scale(130%); }
    90%            { transform: scale(80%); }
    95%            { transform: scale(105%); }
}


/* CUSTOM COLOURS */

:root {
    /* Colours */
    --AgConsole: #03AC7D;
    --AgConsoleDark: #0C966F;
    --AgConsoleHighlight: #D9FFE6;
    --AgGradient: linear-gradient(180deg,rgba(0, 199, 143, 1) 0%, rgba(0, 150, 108, 1) 100%);
    --AgGradient30: linear-gradient(210deg,rgba(0, 199, 143, 1) 0%, rgba(0, 150, 108, 1) 100%);
    --registerGradient: linear-gradient(180deg,rgba(233, 77, 68, 1) 0%, rgba(181, 59, 53, 1) 100%);
    --registerGradient30: linear-gradient(210deg,rgba(233, 77, 68, 1) 0%, rgba(181, 59, 53, 1) 100%);
    --construction: #ffdd9c;
    --constructionDark: #7e5403;
    --agriculture: #a2f0c6;
    --agricultureDark: #136d3d;
    --highlightGrey: #F2F2F2;
    --midGrey: #c9c9c9;
    --textGreyDark: #494949;
    --textBox: #ced4da;
    --AgWarning: #F2A929;
    --AgWarningHighlight: #ffdc9e;
    --AgWarningDark: #BD7E13;
    --AgDangerHighlight: #ffafa9;
    --AgDanger: #d0493f;
    --AgDangerDark: #6b1e14;
    --AgReporting: #794feb;
    /* Box Shadows */
    --BoxShadow: 0px 0px 20px #49494970;
    --BoxShadowSM: 0px 0px 10px #2d2d2d59;
    /* Software Packages */
    --StarterPackage: linear-gradient(30deg,rgb(0, 126, 137) 0%, rgb(0, 226, 157) 100%);
    --GrowthPackage: linear-gradient(30deg,rgb(0, 81, 132) 0%, rgb(19, 206, 200) 100%);
    --EnterprisePackage: linear-gradient(30deg,rgb(36, 0, 132) 0%, rgb(147, 0, 255) 100%); 
    --ProfessionalPackage: linear-gradient(30deg,rgb(55, 39, 141) 0%, rgb(0, 181, 204) 100%);
    /* Components */
    --Register: #a83931;
    --Assets: #f76239;
}

/* BACKGROUND COLOURS */

.bg-AgGradient {
    background: var(--AgGradient);
}

.bg-AgGradient30 {
    background: var(--AgGradient30);
}

.bg-registerGradient {
    background: var(--registerGradient);
}

.bg-registerGradient30 {
    background: var(--registerGradient30);
}

.bg-grey {
    background: #e9ecef!important;
}

.bg-white {
    background-color: white !important;
}

.bg-gray {
    background-color: #EFEFEF !important;
}


.bg-theme {
    background-color: var(--AgConsole) !important;
}

.bg-Overtime {
    background: #ffa70040!important;
    color: #6d4c0b!important;
} 

.bg-AgDanger {
    background: var(--AgDanger)!important;
    color: #FFF!important;
}

.bg-GeoFence {
    background: #ff0a0050;
    color: #6d0b0b!important;
    border-radius: 3px;
    width: auto;
    font-weight: 400;
    white-space: nowrap;
}

.bg-Register {
    background: var(--Register);
}

.bg-Assets {
    background: var(--Assets);
}


/* BG - Tiers */

.bg-Starter {
    background: var(--StarterPackage)!important;
}

.bg-Growth {
    background: var(--GrowthPackage)!important;
}

.bg-Professional{
    background: var(--ProfessionalPackage)!important;
}

.bg-Enterprise {
    background: var(--EnterprisePackage)!important;
}

/* DIV RADIUS */

.rad-5 {
    border-radius: 5px;
}

.rad-10 {
    border-radius: 10px!important;
}

/* DIV BORDER */

.bdr-textbox {
    border: 1px solid var(--textBox)!important;
}

.bdr-dark {
    border: 1px solid rgba(0, 0, 0, 0.3);
}

.bdr-danger {
    border: 1px solid var(--AgDanger)!important;
}

/* TEXT COLOURS */

.txt-Agconsole {
    color: var(--AgConsole)!important;
}

.txt-textGreyDark {
    color: var(--textGreyDark)!important;
}

.txt-highlightGrey {
    color: var(--highlightGrey);
}

.txt-AgConsoleHighlight {
    color: var(--AgConsoleHighlight);
}

.txt-AgWarning {
    color: var(--AgWarning)!important;
}

.txt-AgDanger {
    color: var(--AgDanger)!important;
}

.txt-AgConsoleDark {
    color: var(--AgConsole);
}

.txt-reporting {
    color: var(--AgReporting)!important;
}

.txt-ccc {
    color: #a5a5a5;
}

.txt-late {
    cursor: pointer!important;
    position: relative;
    font-weight: 600;
    color: var(--AgDanger);
}

.txt-late:hover::after {
    content: "Late";
    position: absolute;
    color: #FFF;
    font-size: 0.6em;
    background: var(--AgDanger);
    margin-left: 4px;
    padding: 3px;
    border-radius: 3px;
}

.txt-overtime {
    cursor: pointer!important;
    position: relative;
    font-weight: 600;
    color: var(--AgWarning);
}

.txt-overtime:hover::after {
    content: "Overtime";
    position: absolute;
    color: #FFF;
    font-size: 0.6em;
    background: var(--AgWarning);
    margin-left: 4px;
    padding: 3px;
    border-radius: 3px;
}

/* BLUR EFFECTS */

.blur-1 {
    filter: blur(1px);
}

.blur-2 {
    filter: blur(2px);
}

.blur-3 {
    filter: blur(3px);
}

.blur-4 {
    filter: blur(4px);
}

.blur-5 {
    filter: blur(5px);
}

/* ALERTS */

.alert-construction {
    background: var(--construction);
    color: var(--constructionDark);
}

.alert-agriculture {
    background: var(--agriculture);
    color: var(--agricultureDark);
}

.alert-grey {
    background: var(--highlightGrey);
}

/* NOTIFICATION BADGES */

.badge-in {
    font-size: 0.9em;
    background: var(--AgConsole);
    font-weight: 400;
}

.badge-out {
    font-size: 0.9em;
    background: var(--AgDanger);
    font-weight: 400;
}

.badge-yellow {
    background: #ffce00;
}

li:has(.list-badge) {
    position: relative;
}

.list-badge{
    position: absolute;
    right: 0;
    top: 0;
    padding: 4px 6px!important;
}

.badge-input {
    background: var(--AgConsoleHighlight);
    padding: 3px 10px 3px 10px;
    border-radius: 5px;
    width: 100%;
    font-size: 0.8em;
    color: var(--AgConsole);
    margin-top: 0.5em;
}

.inputInfo {
    position: relative!important;
    margin-right: 0.1em;
    cursor: pointer;
}

.inputInfo:hover .fa-solid {
    color: var(--AgConsole);
}

.inputInfo:hover .inputInfoBox {
    display: block;
    position: absolute;
    background: #FFF;
    margin-top: 5px;
    right: -8px;
    width: 280px;
    z-index: 9999;
    font-weight: 400;
    font-size: 0.8em;
    padding: 8px 12px;
    border: 1px solid #CCC;
    border-radius: 5px;
    box-shadow: var(--BoxShadowSM);
}

.inputInfoBox {
    display: none;
    position: fixed;
    white-space: normal;
    background: #FFF;
    margin-top: 5px;
    right: -8px;
    width: 300px;
    font-weight: 400;
    font-size: 10px!important;
    line-height: 1.5!important;
    padding: 5px 10px;
    border: 1px solid #CCC;
    border-radius: 5px;
    box-shadow: var(--BoxShadowSM);
    text-transform: none;
    letter-spacing: 0px;
    z-index: 2000;
}

.inputInfo:hover .inputInfoBox {
    display: block;
}

.inputInfoBox::before {
    content: '';
    position: absolute;
    display: block;
    height: 8px;
    width: 8px;
    transform: rotate(45deg);
    background: #FFF;
    right: 10px;
    top: -5px;
    border-left: 1px solid #CCC;
    border-top: 1px solid #CCC;
}


/* BOS SHADOWS */

.BoxShadowSM {
    box-shadow: var(--BoxShadowSM);
}

.layout-builder {
    position: fixed;
    width: 400px;
    background: white;
    z-index: 1000;
    right: -400px;
    top: 0;
    bottom: 0;
    box-shadow: 8px 0 10px 3px rgba(0, 0, 0, 0.50);
    overflow: auto;
    transition: right .2s;
}

.layout-builder.show {
    right: 0;
}

.card-body-table {
    width: 100%;
    height: 100%;
    overflow-x: auto;
}

@media (max-width: 992px) {
    .popupImg {
        display: none;
    }
}

.layout-builder .layout-builder-toggle.shw i {
    -webkit-animation: spin 2s linear infinite;
    -moz-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

.dataTables-wrapper {
    flex-direction: column;
    align-content: flex-end;
    justify-content: flex-start;
    align-items: stretch;
}

canvas {
    height: 100% !important
}

@-webkit-keyframes spin {
    100% {
	  -webkit-transform: rotate(360deg);
    }
}

@-moz-keyframes spin {
    100% {
	  -moz-transform: rotate(360deg);
    }
}

@keyframes spin {
    100% {
	  transform: rotate(360deg);
    }
}

.layout-builder .layout-builder-toggle.hdn {
    display: none;
}

.layout-builder.show .layout-builder-toggle.hdn {
    display: flex;
}

.layout-builder .layout-builder-toggle {
    cursor: pointer;
    width: 50px;
    height: 50px;
    color: white;
    background: black;
    position: fixed;
    top: 50%;
    margin-left: -50px;
    display: flex;
    font-size: 23px;
    justify-content: center;
    align-items: center;
    margin-top: -25px;
}

.layout-builder .layout-builder-body {
    padding: 30px;
}

.layout-builder .layout-builder-body .custom-control input[type="checkbox"]:checked + label {
    color: black;
}

.layout-builder .layout-colors {
    display: flex;
    flex-wrap: wrap;
    margin-left: -10px;
}

.layout-builder .layout-colors .layout-color-item {
    width: 40px;
    height: 40px;
    background: red;
    margin: 10px;
    border-radius: 3px;
    overflow: hidden;
    border: 5px solid transparent;
    cursor: pointer;
}

.layout-builder .layout-colors .layout-color-item.active {
    box-shadow: 0px 0px 0px 1px black
}

.layout-builder .layout-colors .layout-color-item span {
    display: block;
    height: 45%;
}

.layout-builder .layout-colors .layout-color-item span:first-child {
    background: black;
    transform: rotate(15deg);
    width: 110%;
    height: 70%;
    margin-top: -5px;
}

.layout-alert {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 5px 10px;
}

@media (max-width: 992px) {
    .layout-builder {
	  display: none;
    }


}

@media (max-width: 768px){
    .searchBar {
        flex-direction: column
    }
}

.form-container {
    border: 2px solid #9F0000;
    width: 450px;
    border-radius: .50rem;
}

label {
    font-weight: 600!important;
    font-size: 13px!important;
    margin-bottom: 5px!important;
}

.footerArea {
    bottom: 0;
    position: fixed;
    width: 75%;
}

.myNavBtn {
    border-radius: 10px 10px 0 0;
    font-size: large;
}

.container {
    max-width: inherit;
}

#myWidthOverlay > section {
    position: absolute;
    margin-top: 10%;
}
/*
@media screen and (max-width: 1200px) {
    #myMainContainer {
        display: none !important;
    }

    #myWidthOverlay {
        display: block !important;
    }

    body {
        background-color: white !important;
    }
}

@media screen and (min-width: 1200px) {
    #myMainContainer {
        display: block !important;
    }

    #myWidthOverlay {
        display: none !important;
    }

    body {
        background-color: #e7ebee !important;
    }
}*/

/** SORTING STYLES **/

.sortable-ghost {
    opacity: 0.4;
  }

/** MAPPING STYLES **/

.mapContainer {
    overflow: hidden;
}

/** MODAL STYLES**/

.modal-body > .modal-title {
    font-size: 2.2em;
    font-weight: 700;
    margin-bottom: 0.5em;
    color: var(--textGreyDark);
}

.scrollable-table-wrapper {
    max-height: 300px;
    overflow-y: auto;
    display: block;
    scrollbar-width: thin;
    scrollbar-color: rgba(0,0,0,0.3) transparent;
}

.scrollable-table-wrapper table {
    margin-bottom: 0;
}

.scrollable-table-wrapper thead th,
.scrollable-table-wrapper thead td {
    position: sticky;
    top: 0;
    background-color: white;
    z-index: 1;
    box-shadow: 1px 1px 0 0 var(--midGrey);
}

.scrollable-table-wrapper table {
  border-collapse: separate!important;
  border-spacing: 0; /* Keeps cells touching */
}

.scrollable-table-wrapper thead th {
  position: sticky;
  top: 0;
  border-bottom: 1px solid #000; /* Now this works! */
}

/* Webkit scrollbar */
.scrollable-table-wrapper::-webkit-scrollbar {
    width: 8px;
}

.scrollable-table-wrapper::-webkit-scrollbar-track {
    background: transparent;
}

.scrollable-table-wrapper::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

.scrollable-table-wrapper::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.5);
}

/* Accordian List */

.SearchInput {
    border-radius: 5px;
    padding: 4px;
    border: 1px solid #CCC;
}

.button {
    height: 40px;
    width: 100%;
    margin-top: 20px;
    background-color: #119029;
    color: #FFF;
    font-weight: 500;
    text-align: center;
    line-height: 40px;
    border-radius: 5px;
    box-shadow: none;
}

.button:hover {
    background-color: #09761e;
    cursor: pointer;
}

.siteForm {
    height: 100%;
}

.button2 {
    height: 30px;
    width: 200px;
    margin: 0px 0px 15px 0px;
    background-color: #ffffff;
    color: #323232;
    font-weight: 600;
    text-align: center;
    line-height: 30px;
    border-radius: 3px;
    border: solid 1px #CCC;
}

.button2:hover {
    background-color: #115bd1;
    cursor: pointer;
}

.containDiv {
    position: absolute;
    height: inherit;
    width: 100%;
    top: 0;
    bottom: 0;
    right: 0;
}

.LocationsList {
    flex: 1;
    padding: 0px!important;
    margin-bottom: 0px;
    background: #FFF;
    height: 100%;
    overflow-y: auto;
}

.LocationsList ul{
    padding: 2px 0px!important;
    margin: none;
}


.LocationsList > li a {
    display: flex;
    padding: 15px 10px 15px 10px;
    height: 23px;
    line-height: 2;
    align-items: center;
    font-size: 14px;
    white-space: nowrap;
}

.LocationsList > li ul li a {
    margin-left: 20px;
    height: 23px;
    line-height: 2;
    align-items: center;
    font-size: 14px;
    transition: background 0.3s;
    white-space: nowrap;
}

.LocationsList > li ul li ul li a {
    margin-left: 40px;
    height: 23px;
    line-height: 2;
    align-items: center;
    font-size: 14px;
    transition: background 0.3s;
    white-space: nowrap;
}

.LocationsList > li a:hover {
    background: #efefef;
    cursor: pointer;
    transition: background 0.3s;
}

.LocationsList ul {
    padding-left: 0px;
    padding-bottom: 0px;
    margin-bottom: 0px;
}

/*.FeatureList {
    overflow: auto;
    height: 240px;
    background: #FFF;
    border-radius: 5px;
    border: 1px solid #CCC;
}*/

.resize {
    min-height: 100px;
    resize: vertical;
}

.dropMenu {
    box-sizing: border-box;
    margin-left: auto;
    float: right;
    /*animation: spinReturn 0.3s forwards;*/
}

.plus::before {
    font-family: "themify";
    font-size: 10px;
    content: "\e61a";
}

.LocationsList li a > * {
    transition: transform 0.3s ease;
    display: inline-block; /* Required for transform to work */
    transform: rotate(0deg);
}

.rotate {
    transform: rotate(315deg) !important;
}

.Pcolour {
    background: #f7f7f7;
    box-shadow: inset 3px 0 0 0 var(--AgConsole);
}

.cluster i {
    color: var(--cluster-color, #000); 
}

.farm i {
    color: var(--farm-color, #CCC); 
}

.aSelected .farm i {
    color: var(--AgConsoleDark); 
}

.LocationsList .aSelected a {
    box-shadow: inset 3px 0 0 0 var(--AgConsole);
    -webkit-box-shadow: inset 3px 0 0 0 var(--AgConsole);
    -moz-box-shadow: inset 3px 0 0 0 var(--AgConsole);
    box-shadow: inset 3px 0 0 0 var(--AgConsole);
    color: var(--AgConsoleDark)!important;
    background: var(--AgConsoleHighlight);
    font-weight: 500;
}

.LocationsList .aSelected a:hover {

}

.targetA {
    box-sizing: border-box;
    margin-left: auto;
    float: right;
}

.targetA::after {
    font-family: "themify";
    font-size: 10px;
    content: "\e607";
    color: var(--AgConsoleDark);
}

/** VERTICAL NAVIGATION STYLES**/

.navigation-icon-menu {
    background: var(--AgGradient)!important;
}

.navIcon i {
    font-size: 1.5em;
    opacity: 0.9;
    color: #adffdc!important;
    mix-blend-mode: lighten;
}

.navigation .navigation-icon-menu ul li.active a i {
    opacity: 0.95 !important;
    color: #FFF !important;
    mix-blend-mode: screen!important;
}

.navIcon img {
    height: 30px;
}

/** HORIZONTAL NAVIGATION STYLES**/

.nav-link {
    color: var(--textGreyDark);
    background: var(--highlightGrey);
    border: 1px solid var(--highlightGrey);
}

.nav-link:hover {
    transform: scale(1.015);
    box-shadow: 0px 0px 2px #2d2d2d30;
}

.nav-pills {
    gap: 5px;
}

#modulePills .nav-link.active svg {
    fill: #FFF;
}

/* TIER METRICS */

.tierTile {
    margin: 10px 15px 0px 10px;
    border-radius: 5px;
    box-shadow: 0px 0px 5px #2d2d2d50;
    font-size: 0.9em;
    overflow: hidden;
    cursor: pointer;
}

.tierTile > div:nth-child(2) {
    padding: 6px 10px;
}

.progress-bar-track {
  width: 100%;
  height: 5px;
  background: #e5e5e5;     
  border-radius: 999px;
  overflow: hidden;          
}

.progress-bar-fill {
  height: 100%;
  width: var(--progress, 0%);  
  border-radius: 999px;
  transition: width 0.4s ease;
}

.tierAlert {
    color: #FFF;
    background: var(--registerGradient30);
    transition: max-height 1s ease;
    max-height: 0;
    overflow: hidden;
}

.tierAlert.activeel {
    max-height: 200px;
}

.tierAlert > div {
    padding: 0.4em 0.6em;
}

#tier > div {
    height: 0;
    padding: 0px 10px;
    color: #FFF;
    overflow: hidden;
    transition: height 0.5s ease-out;
}

#tierMetrics:hover #tier > div {
    height: 30px;
}

#tierUpgradeBtn {
    font-weight: 500;
    padding: 2px 5px 0px 5px;
    border-radius: 3px;
    background: rgba(0, 0, 0, 0.30);
}

#tierUpgradeBtn:hover {
    background: #FFF;
    color: var(--AgConsole);
}

/* TIER TABS */

.currentPackageNav {
    position: relative;
    white-space: nowrap;
}

.currentPackageNav::after {
    content: "Current";
    position: absolute;
    top: -10px;
    right: -5px;
    color: var(--textGreyDark) !important;
    font-size: 0.7em;
    font-weight: 600;
    background: #ffffff;
    box-shadow: 0px 0px 5px #2d2d2d50;
    padding: 2px 5px;
    border-radius: 3px;
    border: 1px solid var(--textGreyDark) !important;
}

.tierAllowances {
    color:#FFF; 
    padding: 0.5em 1em;
}

.tierAllowances div div:nth-child(1){
    font-weight: 600;
    font-size: 1.2em;
}

.tierAllowances div div:nth-child(2){
    font-weight: 600;
    font-size: 2em;
}

.tierTiles .card-header {
    font-weight: 800;
    background: var(--highlightGrey);
    padding: 5px 10px;
}

.tierTiles td {
    padding: 5px 10px;
}

.tierTiles .card-body {
    padding: 10px 15px;
}

.priceTitle {
    line-height: 1.3em;
}

.tierTiles div < div:nth-child(1) {
    color: #747474;
}

.tierTiles div div:nth-child(2) {
    font-size: 2.3em;
    font-weight: 700;
}

.tierTiles div div:nth-child(2) .currency {
    color: #838383;
}

/* fileNav */

.fileNav {
    border-bottom: 1px solid var(--AgConsole)!important;
    padding: 0px 0px 0px 10px!important;
    margin: 0px!important;
}

.fileNav .nav-link {
    color: var(--highlightGrey);
    background: var(--highlightGrey);
    border-radius: 0.25em 0.25em 0em 0em!important;
    border: 0px!important;
    margin-bottom: -1px;
}

.fileNav .nav-link.active {
    border: none!important;
    color: var(--AgConsole);
    background: #FFF;
    border-radius: 0.25em 0.25em 0em 0em!important;
    border-top: 1px solid var(--AgConsole)!important;
    border-right: 1px solid var(--AgConsole)!important;
    border-left: 1px solid var(--AgConsole)!important;
    font-weight: 600;
    margin-bottom: -px;
}

.nav-link:hover {
    background: var(--highlightGrey);
}

.dropdown-menu {
    display: block !important;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.dropdown-menu.show {
    opacity: 1;
    pointer-events: all;
}

/* Present - Absent */



/** NOTIFICATION STYLES**/

.notiHeading {
    background: var(--AgGradient)
}

figure.avatar.avatar-state-info:before {
    background: var(--AgConsole);
}

.list-group-item.unRead {
    opacity: 1!important;
    background: var(--highlightGrey);
    color: var(--textGreyDark)!important;
}

.notiHeading .list-group-item {
    opacity: 0.5;
}

/** DATA DISPLAY **/
.summaryCard {
    color: var(--textGreyDark) !important;
}

.summaryCardImg {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: auto;
    color: #FFF;
    font-size: 2em;
    border-radius: 5px 0px 0px 5px;
}

.summaryCardTxt {
    margin: 1em 1em 1em 1.5em;
}

/** LOGIN **/

.loginCard {
    box-shadow: var(--BoxShadow);
}

/** OVERVIEW **/

.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9); /* Semi-transparent white background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.loadOverview {
    width: 35px;
    height: 35px;
    padding: 4px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #25b09b;
    --_m: conic-gradient(#0000 10%,#000), linear-gradient(#000 0 0) content-box;
    -webkit-mask: var(--_m);
    mask: var(--_m);
    -webkit-mask-composite: source-out;
    mask-composite: subtract;
    animation: l3 1s infinite linear;
}

@keyframes l3 {
    to {
        transform: rotate(1turn)
    }
}

/** LOADERS **/

.GWLoader {
    z-index: 1000;
    /*margin-left: -1rem;
    margin-top: -1rem;*/
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: grayscale(100%);
    flex-wrap: wrap;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-content: center;
}

/* Notifications */

/* Tables */

.dropdown-item.active, .dropdown-item:active {
    background-color: var(--highlightGrey)!important;
}


/** USER PROFILES **/

.empInfPhoto {
    width: 150px;
    height: 150px;
    overflow: hidden;
    margin-right: 2em;
    background-color: var(--highlightGrey);
    border-radius: 5px;
    text-align: center;
}

.empInfPhoto img {
    height: 150px;
    width: auto;
}

.empInfPhoto img {
    height: 150px;
    width: auto;
}

.softPackage {
    height: 35px;
    width: 35px;
    border-radius: 3px;
    margin: 5px;
    float: right;
    box-shadow: var(--BoxShadowSM);
}

.profDownload {
    height: 200px;
    width: 200px;
}

.natIdDownload {
    height: 200px;
    width: auto;
}

.mediaContainer {
    text-align: center;
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid grey;
    background-color: var(--highlightGrey);
    overflow: hidden;
}

.mediaContainer img {
    height: 230px;
    width: auto;
}

.docName {
    background: var(--midGrey);
    padding: 0.5em;
    color: var(--textGreyDark);
}

/* TASK CREATION */

.unitBoxTxt {
    border-radius: 5px 0px 0px 5px !important;
}

.unitBox {
    width: auto;
    height: calc(1.5em + .75rem + 3px);
    color: #8c8c8c;
    font-weight: 600;
    text-align: center;
    padding: 7px;
    margin-left: -1px;
    background-color: var(--highlightGrey);
    border: 1px solid #CCC;
    border-radius: 0px 5px 5px 0px;
    box-sizing: border-box;
}

/* Task Selection */

.brightness {
}

.brightness {
    cursor: pointer;
    width: 45px;
    height: 45px;
    margin: 10px
}

.radio {
    cursor: pointer;
    width: 50px;
    padding: 5px;
}

.radioBorder {
    opacity: 15%;
    padding: 5px;
}

    .radioBorder:hover {
        opacity: 60%;
    }

.Selected {
    border: 2px solid var(--AgConsole);
    border-radius: 10px;
}

/** BUTTON lOAD **/

.spinBtLoad {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-left: 5px;
    vertical-align: middle;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.spinBtLoadDark {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(0, 0, 0, 0.15);
    border-top-color: rgba(0, 0, 0, 0.65);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    vertical-align: middle;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/** FULLSCREEN CARD **/

/* Attendance Activty Table */

.attActivity {
    max-height: 330px;
    overflow-y: hidden;
}

.card-fullscreen .attActivity {
    max-height: 100%;
}

/* Attendance Indicators */

#AttendanceIndicator {
    display: none;
}

.card-fullscreen #AttendanceIndicator {
    display: flex;
}

.AtIndOUT {
    height: 160px;
    padding: 0px !important;
    display: flex;
    align-items: center;
    font-size: 65px;
    font-weight: 600;
    box-shadow: inset 0px -10px 20px -10px #62070760;
}

.AtIndOUT.bg-danger div:first-child {
    flex-grow: 1;
    text-align: left;
    font-size: 110px;
    line-height: 110px;
    padding-left: 0.3em;
}

.AtIndOUT.bg-danger div:nth-child(2) {
    opacity: 0.2;
    font-weight: 600;
    margin-left: 0.7em;
    color: #000;
    mix-blend-mode: multiply;
}

.AtIndOUT.bg-success div:nth-child(2) {
    flex-grow: 1;
    text-align: right;
    font-size: 110px;
    line-height: 110px;
    padding-right: 0.3em;
    margin-left: 0px!important;
}

.AtIndOUT.bg-success div:first-child {
    opacity: 0.2;
    font-weight: 600;
    color: #000;
    margin-right: 0.7em;
    mix-blend-mode: multiply;
}

/* Live Time */

.LiveDateTime {
    display: none;
}

.LiveDateTime div:nth-child(2) {
    text-align: center;
}

.LiveDateTime div:nth-child(2) img {
    width: 20%; 
    min-width: 200px;
    opacity: 1;
}

.LiveDateTime div div:nth-child(2) {
    font-size: 20px;
    letter-spacing: 1px;
    margin-top: 10px;
    opacity: 0.3;
    color: #000;
    mix-blend-mode: multiply;
}

.card-fullscreen .LiveDateTime {
    display: flex!important;
    position: absolute;
    width: calc(100% - 20px);
    border-radius: 10px;
    bottom: 0;
    background: var(--AgGradient30);
    box-shadow: var(--BoxShadow);
    align-items: center;
    justify-content: space-between;
    padding: 25px 35px;
    color: #FFF;
    font-weight: 600;
    z-index: 1;
    margin: 10px;
    animation: fadeIn 0.3s ease-in-out;
}

.card-fullscreen .card-body-table {
    width: 67.5%;
    vertical-align: center;
    transform: scale(1.5) translateX(16%) translateY(17%);
}

.LiveData {
    font-size: 70px;
    line-height: 70px;
    letter-spacing: 2px;
}

/* Fullscreen card styles */

.fullscreenBtn {
    cursor: pointer;
}

.card-fullscreen {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 1035 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    transition: all 0.3s ease-in-out;
}

/* Make card body scrollable in fullscreen */
.card-fullscreen .card-body {
    overflow-y: auto;
    max-height: calc(100vh - 60px); /* Adjust based on header height */
}

/* Backdrop overlay */
.card-fullscreen-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1034 !important;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Change icon when fullscreen */
.card-fullscreen .fa-expand:before {
    content: "\f066"; /* fa-compress icon */
}

/* Smooth transition */
.card {
    transition: all 0.3s ease-in-out;
}

/** MODAL LOADER **/

.GWLoader {
    z-index: 2001;
    backdrop-filter: grayscale(100%);
    flex-wrap: wrap;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-content: center;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.8);
}

/** SWEET ALERT **/

.swal2-styled.swal2-confirm {
    background-color: var(--AgConsole)!important;
}

.swal2-styled:focus {
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgb(25, 235, 132, 0.40)!important;
}

/** CALENDAR STYLING **/

.day-start {
    background-color: #FFFFFF !important;
}

.day-start > .day-content {
    background-color: var(--AgConsole) !important;
    margin: 2px;
    width: 28px;
    color: #FFFFFF !important;
}

.day-start > .day-content:hover {
    background-color: var(--AgConsoleDark) !important;
}

.day-content.public-holiday {
    background-color: #fff6d9 !important;
    color: #967400 !important;
}

.day-content.public-holiday:hover {
    background-color: #ebdaa3 !important;
}

/** CREATE POSITION - MODULE SELECTION **/

.module-card {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s;
}
.module-card:hover {
    border-color: #05ac7d;
    background: #fafafa;
}
.module-card.selected {
    border-color: #05ac7d;
    background: #fafafa;
}
.module-card input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #0C966F;
}

.deadOption {
    position: absolute;
    /*backdrop-filter: grayscale(1010%) brightness(1);*/
    background-color: rgba(255, 255, 255, 0.66); 
    width: 99%;
    height: 100%;
    z-index: 3000;
}

/** UNIVERSAL - DRAG & DROP **/

.drop-area {
    border: 1px dashed #ccc;
    border-radius: 5px;
    padding: 50px;
    text-align: center;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
    cursor: pointer;
}

.drop-area:hover {
    border-color: var(--AgConsole);
    background-color: rgba(201, 201, 201, 0.25);
    color: var(--AgConsole)!important;
}

.drop-area.dragover {
    border-color: var(--AgConsole);
    color: var(--AgConsole);
    background-color: rgba(0, 203, 145, 0.3);
    border: 1px solid var(--AgConsole);
}

/* CONTRACT SELECT */

.SelectListWrap {
    border-radius: 5px;
    border: 1px solid var(--textBox);
    overflow: hidden;
}

.SelectionsHeader {
    background: var(--highlightGrey);
    font-weight: 600;
    text-align: center;
    padding: 0.5em;
    font-size: 0.95em;
    border-bottom: 1px solid var(--textBox);
}

.SelectionsList ul {
    padding: 5px;
}

.SelectionsList {
    height: 250px;
    overflow: scroll;
    margin-top: -1px;
    -ms-overflow-style: none; 
    scrollbar-width: none;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    margin-bottom: 10px;
    background-color: #f8f9fa;
    border-radius: 5px;
    border: 1px solid #dee2e6;
}

.file-item i {
    margin-right: 10px;
    color: var(--AgConsole);
}

.remove-file {
    cursor: pointer;
    color: var(--AgDanger)!important;
}

.remove-file:hover {
    color: #570009;
}

.list-group {
    min-height: 250px;
    background: #fcfcfc;
}

.list-item-selectable {
    cursor: pointer;
}

.list-item-selectable:hover {
    background-color: #f8f9fa;
}

#availableList .list-group-item:nth-child(2) {
    border-radius: 5px 5px 0px 0px;
}

#selectedList .list-group-item {
    justify-content: space-between;
    align-items: center;
}

/* TIME & ATTENDANCE */

.TA-dataBox {
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1.2em;
    background: #efefef;
    color: var(--textGreyDark);
}

.TA-dataBox > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.TA-dataBox > .drow {
    font-size: 0.8em;
    padding: 5px 0px;
}

.TA-dataBox > .drow i {
    opacity: 0.4;
}

.TA-dataBox > div:first-child{
}

.presentBadge {
    display: inline-block;
    padding: 2px 8px;
    background: #ffffff;
    color: var(--AgConsole);
    border: 1px solid var(--AgConsole);
    border-radius: 3px;
    width: auto;
    font-weight: 600;
}

.absentBadge {
    display: inline-block;
    padding: 2px 8px;
    background: #ffffff;
    color: var(--AgDanger);
    border: 1px solid var(--AgDanger);
    border-radius: 3px;
    width: auto;
    font-weight: 600;
    white-space: nowrap;
}

.overtimeBadge {
    display: inline-block;
    padding: 2px 8px;
    background: #ffa70050;
    color: #6d4c0b;
    border-radius: 3px;
    width: auto;
    font-weight: 600;
}

.signOutBadge {
    display: inline-block;
    padding: 2px 8px;
    background: #ff0a0050;
    color: #6d0b0b!important ;
    border-radius: 3px;
    width: auto;
    font-weight: 600;
    white-space: nowrap;
}

.lateBadge {
    display: inline-block;
    padding: 2px 8px;
    background: #ff0a0050;
    color: #6d0b0b;
    border-radius: 3px;
    width: auto;
    font-weight: 600;
    white-space: nowrap;
}

.GeoFenceBadge {
    display: inline-block;
    padding: 2px 8px;
    background: #ff0a0050;
    color: #6d0b0b!important;
    border-radius: 3px;
    width: auto;
    font-weight: 600;
    white-space: nowrap;
}

.sickBadge {
    display: inline-block;
    padding: 2px 8px;
    background: #40e27150;
    color: #0a5c22;
    border-radius: 3px;
    width: auto;
    font-weight: 600;
    white-space: nowrap;
}

.maternityBadge {
    display: inline-block;
    padding: 2px 8px;
    background: #e240cf50;
    color: #800972;
    border-radius: 3px;
    width: auto;
    font-weight: 600;
    white-space: nowrap;
}

.paternityBadge {
    display: inline-block;
    padding: 2px 8px;
    background: #9740e250;
    color: #3b008b;
    border-radius: 3px;
    width: auto;
    font-weight: 600;
    white-space: nowrap;
}

.workTravelBadge {
    display: inline-block;
    padding: 2px 8px;
    background: #4078e250;
    color: #183b7e;
    border-radius: 3px;
    width: auto;
    font-weight: 600;
    white-space: nowrap;
}

.studyBadge {
    display: inline-block;
    padding: 2px 8px;
    background: #e2404050;
    color: #7c0707;
    border-radius: 3px;
    width: auto;
    font-weight: 600;
    white-space: nowrap;
}

.leaveBadge {
    display: inline-block;
    padding: 2px 8px;
    background: #fcae0050;
    color: #7c5600;
    border-radius: 3px;
    width: auto;
    font-weight: 600;
    white-space: nowrap;
}

.unpaidBadge {
    display: inline-block;
    padding: 2px 8px;
    background: #00a5fc50;
    color: #035e8e;
    border-radius: 3px;
    width: auto;
    font-weight: 600;
    white-space: nowrap;
}

.unpaid::after {
   content: "Unpaid";
    background: #FFF;
    color: var(--AgDanger);
    font-size: 0.9em;
    margin-left: 3px;
    padding: 1px 4px;
    border-radius: 2px;
}

.paid::after {
   content: "Paid";
    background: #FFF;
    color: var(--AgConsole);
    font-size: 0.9em;
    margin-left: 3px;
    padding: 1px 4px;
    border-radius: 2px;
}

.bg-Danger { 
    padding: 2px 10px;
    background: #ffd8d1;
    color: #7e1b09;
    border-radius: 3px;
    width: auto;
}

/* APEX CHARTS - TIMELINE */

#AttendanceChart .apexcharts-xaxis-annotations {
    overflow: visible;
}

#AttendanceChart svg,
#AttendanceChart .apexcharts-inner {
    overflow: visible;
}

#AttendanceChart g[seriesName="Breach"] {
    transform-box: fill-box;
    transform-origin: center;
    animation: bounce3 2.5s infinite;
}

.apexcharts-yaxis-label {
    font-weight: 600;
    font-size: 14px;
    color: #ccc!important;
}

#AttendanceChart .apexcharts-keyboard-focused {
    fill: inherit !important;
}

.apexcharts-rangebar-area.apexcharts-keyboard-focused {
    stroke: #d3d3d3 !important;
    stroke-width: 2 !important;
    stroke-opacity: 1 !important;
}

#AttendanceChart .apexcharts-series:hover .apexcharts-rangebar-area {
    cursor: pointer;
}

#AttendanceChart .apexcharts-grid-borders line:nth-child(4) {
    display: none;
}

.custom-annotation-label {
    transform: translateY(18px) !important; 
}

/* AIR DATEPICKER - RANGE */

.air-datepicker-body--day-name {
    color: var(--AgConsole)!important;
}

.air-datepicker-cell.-selected- {
    background: var(--AgConsole)!important;
}

.air-datepicker-cell.-in-range- {
    background: var(--AgConsoleHighlight)!important;
}

.air-datepicker-cell:hover  {
    background: var(--highlightGrey)!important;
}

.air-datepicker-cell.-current- {
    color: var(--AgConsole)!important;
    background: var(--AgConsoleHighlight)!important;
    border: 1px solid var(--AgConsole)!important;
}

.air-datepicker-cell.-selected-.-current- {
    color: #FFF!important;
}

.-selected-.air-datepicker-cell.-day-.-current- {
    color: var(--AgConsole)!important;
}

.-selected-.air-datepicker-cell.-month-.-current- {
    color: var(--AgConsole)!important;
}

.-selected-.air-datepicker-cell.-year-.-current- {
    color: var(--AgConsole)!important;
}


/* TOM SELECT - DROPDWON SEARCH */

#setect_site + .ts-wrapper {
    flex: 1;
    min-width: 0; /* prevents flex overflow */
    width: 200px;
}

#setect_site + .ts-wrapper .ts-control {
    height: 100%;
    border-radius: 0 4px 4px 0; 
    border-left: none;
}

#setect_site + .ts-wrapper .ts-control {
    padding: 0.375rem 0.75rem; /* match Bootstrap form-control padding */
}

.ts-wrapper.single .ts-control input {
    width: 0 !important;
    min-width: 0 !important;
    padding: 0 !important;
}

/* DATE ATTENDANCE - TOGGLE SWITCH */

.toggle-switch {
    position: relative;
    padding: 0px;
    display: inline-flex;
    background: #FFF;
    border: 1px solid #ced4da;
    border-radius: 5px;
    gap: 1px;
    cursor: pointer;
    z-index: 0;
}

.toggle-option {
    position: relative;
    z-index: 1;
    padding: 6px 10px;
    font-size: 15px;
    font-weight: 500;
    color: #CCC;
    transition: color 0.3s ease;
    user-select: none;
    width: 40px;
    text-align: center;
}

#toggle-present.toggle-option:hover::after,
#toggle-both.toggle-option:hover::after,
#toggle-absent.toggle-option:hover::after,
#toggle-active.toggle-option:hover::after,
#toggle-inactive.toggle-option:hover::after {
    position: absolute;
    bottom: calc(100% + -60px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.65);
    color: #fff;
    font-size: 11px;
    white-space: nowrap;
    padding: 3px 8px;
    border-radius: 4px;
    pointer-events: none;
}

#toggle-present.toggle-option:hover::after { content: "Filter by Present"; }
#toggle-both.toggle-option:hover::after    { content: "Show Present & Absent"; }
#toggle-absent.toggle-option:hover::after  { content: "Filter by Absent"; }

#toggle-active.toggle-option:hover::after    { content: "Activate Site"; }
#toggle-inactive.toggle-option:hover::after  { content: "Deactivate Site"; }

.toggle-option.active {
    color: #fff;
}

.toggle-slider {
    position: absolute;
    height: calc(100% - 0px);
    width: 40px;
    border-radius: 4px;
    transition: all 0.3s ease;
    z-index: 0;
}

#present.toggle-option.active {
    box-shadow: inset 0 0 0 1px var(--AgConsoleDark);
}

#both.toggle-option.active {
    box-shadow: inset 0 0 0 1px #b5b5b5;
}

#absent.toggle-option.active {
    box-shadow: inset 0 0 0 1px var(--AgDangerDark);
}

#present.toggle-option.active,
#both.toggle-option.active, 
#absent.toggle-option.active {
    border-radius: 4px;
}

.TA-dataBox {
    transition: opacity 0.3s ease;
}

/* JS-CALENDAARE-YEAR */

.today {
    box-shadow: inset 0 0 0 1px var(--AgConsole);
    font-weight: bold;
    color: var(--AgConsoleDark);
    background: var(--AgConsoleHighlight);
    border-radius: 50%;
}

.event-tooltip-content {
    padding: 0px !important;
    max-width: 150px!important;
}

.JsCal-Present {
    color: #FFF !important;
    width: 100%;
    font-size: 0.8em;
    background: var(--AgConsole) !important;
    padding: 3px 8px;
    border-radius: 3px;
}

.JsCal-Absent {
    color: #FFF !important;
    width: 100%;
    font-size: 0.8em;
    background: var(--AgDanger) !important;
    padding: 3px 8px;
    border-radius: 3px;
}

.day-content {
    position: relative;
}

.calendar-alert-dot {
    position: absolute;
    top: -4px;
    right: -4px;
    border: 2px solid #FFF;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--AgWarning);
}

.calendarKey {
    height: 28px;
    width: 28px;
    border-radius: 4px;
    padding: 3px;
}

.CK-today {
    background: var(--AgConsoleHighlight);
    border: 1px solid var(--AgConsole);
    font-weight: 600;
    color: var(--AgConsoleDark);
}

.calendarKey.CK-upload {
    background: var(--AgConsole);
    color: #FFF;
    padding: 4px;
}

.calendarKey.CK-noData {
    background: #ededed;
    color: var(--textGreyDark);
    padding: 4px;
    font-weight: 200;
}

.calendarKey.CK-publicHoliday {
    background: #fff6d9 !important;
    color: #967400 !important;
    padding: 4px;
    font-weight: 200;
}

.calendarKey.CK-alert {
    position: relative;
    background: var(--AgConsole);
    color: #FFF;
    padding: 4px;
}

.CK-alert::after {
    content:"";
    position: absolute;
    top: -4px;
    right: -4px;
    border: 2px solid #FFF;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--AgWarning);
}

/* OVERTIME LIST STYLES */

.Overtime-List div {
    color: var(--AgWarning)!important;
}

.Overtime-List input {
    border: 2px solid var(--AgWarning)!important;
    background: #FFF!important;
}

tr:has(.Overtime-List) {
    background-color: rgba(255, 167, 0, 0.08)!important;
    color: rgb(118, 78, 1)!important
}

tr:has(.Overtime-List) .btn-inList {
    border: 1px solid rgb(118, 78, 1)!important;
    color: rgb(118, 78, 1)!important;
}

/* GEO-FENCE BREACH LIST STYLES */

.GeoBreach-Listist div {
    color: rgb(177, 7, 0)!important;
}

.GeoBreach-List input {
    border: 2px solid rgb(177, 7, 0)!important;
    background: #FFF!important;
}

tr:has(.GeoBreach-List) {
    background-color: rgba(255, 10, 0, 0.1)!important;
    color: rgb(142, 6, 0)!important
}

tr:has(.GeoBreach-List) .btn-inList {
    border: 1px solid rgb(177, 7, 0)!important;
    color: rgb(177, 7, 0)!important;
}

tr:has(.GeoBreach-List) .fa-location-dot {
    color: rgb(177, 7, 0)!important;
}

/* GEO-FENCE BREACH LIST STYLES */

.SignOutBreach div {
    color: rgb(177, 7, 0)!important;
}

.SignOutBreach input {
    border: 2px solid rgb(177, 7, 0)!important;
    background: #FFF!important;
}

tr:has(.SignOutBreach) {
    background-color: rgba(255, 10, 0, 0.1)!important;
    color: rgb(142, 6, 0)!important
}

tr:has(.SignOutBreach) .btn-inList {
    border: 1px solid rgb(177, 7, 0)!important;
    color: rgb(177, 7, 0)!important;
}

tr:has(.SignOutBreach) .fa-location-dot {.SignOutBreach-L
    color: rgb(177, 7, 0)!important;
}

/* SHIFTS */

.primaryShift {
    color: var(--AgWarning)!important;
}
    
.shiftSpan {
    background: #727272!important;
    color: #FFF;
    display: inline-block;
    background: #FFF;
    padding: 2px 15px;
    font-weight: 600;
    border-radius: 5px;
}

.shiftWarning:before {
    content: '';
    position: absolute;
    display: block;
    height: 8px;
    width: 8px;
    transform: rotate(45deg);
    background: var(--AgDanger);
    right: 50%;
    top: -5px;
    border-left: 1px solid var(--AgDanger);
    border-top: 1px solid var(--AgDanger);
}

.shiftWarning {
    display: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 10px;
    width: 250px;
    white-space: normal;
    z-index: 1;
    box-shadow: var(--BoxShadowSM);
    font-size: 0.8em;
    font-weight: 400!important;
    line-height: 1.4em;
    border: 1px solid var(--AgDanger);
    border-radius: 5px;
}

.shiftWarning div:first-child {
    background: var(--AgDanger);
    display: flex;
    justify-content: space-between;
    color: #FFF;
    padding: 5px 10px;
    width: 100%;
}

.shiftWarning div:nth-child(2) {
    background: #FFF;
    padding: 8px 10px;
    width: 100%;
    border-radius: 3px;
}

.shiftTime {
    position: relative;
    text-align: center;
    width: 100%; 
    margin-top: -14px;
    white-space: nowrap;
    min-width: 145px;
}

.shiftTime:before {
    content: "\f0da";      
    font-family: "Font Awesome 6 Free";
    font-weight: 900;  
    display: inline-block;
    float: left;
    margin-top: 3.5px;
    margin-left: -2px;
    color: var(--AgConsole);
}

.shiftTime:after {
    content: "\f0d9";      
    font-family: "Font Awesome 6 Free";
    font-weight: 900;  
    display: inline-block;
    float: right;
    margin-top: 3.5px;
    margin-right: -2px;
    color: var(--AgDanger);
}

/* CROPPER FUNCTION - cropping images */


.cropper-line {
    background-color: #00ff76!important;
}

.cropper-point {
    background-color: #00ff76!important;
    height: 5px;
    opacity: .75;
    width: 5px;
}

#png-list {
    text-align: left!important;
}

/* SETTINGS */

/* Payment types */

    /* ── Field Rows ── */
    .fields-container { display: flex; flex-direction: column; gap: 8px; }

    .field-row {
      border: 1px solid #ced4da;
      border-radius: 10px;
      padding: 12px 14px;
    }

    .field-row .field-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      cursor: pointer;
      user-select: none;
    }

    .field-row .field-header .field-summary {
      font-size: 0.85rem;
      color: #4a5568;
      font-weight: 500;
      display: flex;
      align-items: center;
      gap: 8px;
      flex: 1;
    }
    .field-summary .badge-type {
      background: #ebf4ff;
      color: #2b6cb0;
      border-radius: 20px;
      padding: 2px 9px;
      font-size: 0.73rem;
      font-weight: 600;
    }
    .field-summary .badge-rule {
      background: #f0fff4;
      color: #276749;
      border-radius: 20px;
      padding: 2px 9px;
      font-size: 0.73rem;
      font-weight: 600;
    }
    .field-summary .placeholder-text { color: #a0aec0; font-style: italic; }

    .field-row .field-actions { display: flex; gap: 8px; align-items: center; }
    .btn-icon {
      width: 30px; height: 30px;
      border: none; border-radius: 6px;
      display: inline-flex; align-items: center; justify-content: center;
      font-size: 0.78rem; cursor: pointer; transition: all 0.15s;
      background: transparent;
    }
    .btn-icon.delete { color: var(--AgDanger); }
    .btn-icon.delete:hover { background: #fff5f5; }

    /* ── Field Editor ── */
    .field-row { margin-bottom: 12px; }
    .field-row-inner { padding: 12px; background: #f9fafb; border: 1px solid #e2e8f0; border-radius: 8px; }
    .field-row-inner .form-group { margin-bottom: 0; }
    .field-row-inner label { font-size: 0.78rem; font-weight: 600; color: #4a5568; margin-bottom: 4px; display: block; }
    .field-row-inner .form-control {
        font-size: 0.85rem;
        border-radius: 6px;
        height: 34px;
    }
    .field-row-inner .form-control:focus { border-color: #4299e1; box-shadow: 0 0 0 3px rgba(66,153,225,0.15); }

    /* Delete button vertical alignment */
    .btn-icon.delete {
        height: 34px;
        width: 35px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #fff5f5;
        border: 1px solid var(--AgDanger);
    }

    /* Formatting rules section */
    .formatting-rules { border-top: 1px solid #e6e6e6; margin-top: 12px; padding-top: 10px; }
    .formatting-rules-title {
        font-size: 0.78rem; font-weight: 700; margin-bottom: 8px;
        display: flex; align-items: center; gap: 6px;
    }
    .rules-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
    .rule-item { display: flex; flex-direction: column; gap: 3px; }
    .rule-item label { font-size: 0.75rem; font-weight: 600; color: #4a5568; }
    .rule-item input, .rule-item select {
        font-size: 0.82rem;
        border: 1px solid #ced4da;
        border-radius: 5px;
        padding: 4px 8px;
        height: 35px;
        background: #fff;
    }
    .rule-item input:focus, .rule-item select:focus {
        border-color: var(--AgConsole);
    }
    .rule-checkbox-row { display: flex; align-items: center; gap: 7px; margin-top: 2px; }
    .rule-checkbox-row input[type=checkbox] { width: 15px; height: 19px; cursor: pointer; }
    .rule-checkbox-row label { font-size: 0.82rem; font-weight: 500; color: #4a5568; margin: 0!important; cursor: pointer; }

    /* ── Add Field Button ── */
    .add-field-btn {
      border: 1px dashed var(--AgConsole);
      background: transparent;
      border-radius: 8px;
      width: 100%;
      padding: 10px;
      color: var(--AgConsole);
      font-size: 0.85rem;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.15s;
      display: flex; align-items: center; justify-content: center; gap: 7px;
    }
    .add-field-btn:hover { border-color: var(--AgConsole); background: var(--AgConsoleHighlight); }

    .add-field-btn:focus,
    .add-field-btn:active {
        outline: none;
        box-shadow: none;
    }

    /* ── Empty state ── */
    .empty-state {
      text-align: center; padding: 20px 10px;
      color: #CCC; font-size: 0.85rem;
      border: 1px dashed #CCC;
      border-radius: 8px; margin-bottom: 10px;
    }
    .empty-state i { font-size: 1.5rem; display: block; margin-bottom: 6px; color: #CCC; }

    /* ── Section label ── */
    .section-label {
        font-size: 0.78rem;
        font-weight: 700;
        margin-bottom: 10px;
        margin-top: 4px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .field-count { background: var(--AgConsoleHighlight); color: var(--AgConsoleDark); border-radius: 20px; padding: 1px 8px; font-size: 0.72rem; }