body{
    overflow-y: hidden !important;
}
.login-form-position {
    position: absolute;
    width: 100%;
    height: 100vh;
}
/*   z-index    */
.z-index-4{
    position: relative;
    z-index: 4;
}
.z-index-5{
    position: relative;
    z-index: 5;
}
.z-index-9{
    position: relative;
    z-index: 9;
}
.z-index-94{
    position: relative;
    z-index: 94;
}
.z-index-98{
    position: relative;
    z-index: 98 !important;
}
.z-index-99{
    position: relative;
    z-index: 99 !important;
}
.z-index-999{
    position: relative;
    z-index: 999 !important;
}
.z-index-9999{
    position: relative;
    z-index: 9999 !important;
}
/*   positions    */
.left-0{
    left: 0 !important;
}

/*   paddings    */
.padding-all-5{
    padding: 5px;
}
.padding-all-10{
    padding: 10px;
}
.padding-top-1{
    padding-top: 1px !important;
}
.padding-top-2{
    padding-top: 2px !important;
}
.padding-top-3{
    padding-top: 3px !important;
}
.padding-top-4{
    padding-top: 4px;
}
.padding-top-5{
    padding-top: 5px;
}
.padding-top-10{
    padding-top: 10px;
}
.padding-top-30{
    padding-top: 30px;
}
.padding-right-10{
    padding-right: 10px;
}
.padding-bottom-2{
    padding-bottom: 2px;
}
.padding-bottom-3{
    padding-bottom: 3px;
}
.padding-bottom-5{
    padding-bottom: 5px;
}
.padding-bottom-10{
    padding-bottom: 10px;
}
.padding-left-4{
    padding-left: 4px;
}
.padding-left-5{
    padding-left: 5px;
}
.padding-left-10{
    padding-left: 10px;
}
.padding-left-right-5{
    padding-left: 5px !important;
    padding-right: 5px !important;
}
.padding-right-5{
    padding-right: 5px !important;
}

.padding-all-5{
    padding: 5px;
}
.padding-all-0{
    padding: 0 !important;
}
.padding-all-3{
    padding: 3px;
}
.padding-all-20{
    padding: 20px;
}
.padding-top-20{
    padding-top: 20px;
}
.padding-right-20{
    padding-right: 20px;
}
.padding-bottom-20{
    padding-bottom: 20px;
}
.padding-left-20{
    padding-left: 20px;
}
.padding-left-50{
    padding-left: 50px;
}
.
padding-left-7{
    padding-left: 7px;
}

.padding-top-bottom-5{
    padding-top: 5px;
    padding-bottom: 5px;
}
.padding-left-right-5{
    padding-left: 5px;
    padding-right: 5px;
}
.padding-top-bottom-10{
    padding-top: 10px;
    padding-bottom: 10px;
}
.padding-left-right-10{
    padding-left: 10px;
    padding-right: 10px;
}
.padding-left-right-20{
    padding-left: 20px;
    padding-right: 20px;
}

/*   width    */
.w-70{
    width: 70px !important;
}
.w-30{
    width: 30px !important;
}
.w-150{
    width: 150px !important;
}
.w-200{
    width: 200px !important;
}
.w-300{
    width: 300px !important;
}
/*   height    */
.h-60{
    height: 60px !important;
}
.h-80{
    height: 80px !important;
}
.h-100{
    height: 100px !important;
}
.h-300{
    height: 300px !important;
}
.h-100-vh{
    height: 100vh !important;
}
.h-160{
    max-height: 160px !important;
}
.h-10-px{
    height: 10px;
}
.h-38-px{
    height: 38px;
}

/*   cursors    */
.cursor-pointer{
    cursor: pointer;
}

.cursor-pointer button{
    padding: 0;
    border: none;
    background: transparent;
}
.cursor-no-drop{
    cursor: no-drop !important;
}
.cursor-not-allowed{
    cursor: not-allowed !important;
}
/*   margins    */
.minus-margin-top-1{
    margin-top: -1px !important;
}
.minus-margin-top-10{
    margin-top: -10px !important;
}
.minus-margin-right-200{
    margin-right: -200px !important;
}
.margin-right-200{
    margin-right: 200px !important;
}
.margin-top-2{
    margin-top: 2px !important;
}
.margin-top-3{
    margin-top: 3px !important;
}
.margin-top-24{
    margin-top: 24px !important;
}
.margin-top-4{
    margin-top: 4px !important;
}
.margin-top-5{
    margin-top: 5px !important;
}
.margin-top-6{
    margin-top: 6px !important;
}
.margin-top-8{
    margin-top: 8px !important;
}
.margin-top-10{
    margin-top: 10px !important;
}
.margin-top-15{
    margin-top: 15px !important;
}
.margin-bottom-0{
    margin-bottom: 0px !important;
}
.margin-bottom-4{
    margin-bottom: 4px !important;
}
.margin-bottom-7{
    margin-bottom: 7px !important;
}
.margin-all-10{
    margin: 10px;
}
.margin-top-10{
    margin-top: 10px;
}
.margin-top-30{
    margin-top: 30px;
}
.margin-right-1{
    margin-right: 1px !important;
}
.margin-right-2{
    margin-right: 2px !important;
}
.margin-right-5{
    margin-right: 5px !important;
}
.margin-right-10{
    margin-right: 10px !important;
}
.margin-bottom-10{
    margin-bottom: 10px;
}
.margin-left-auto{
    margin-left: auto !important;
}
.margin-left-5{
    margin-left: 5px;
}
.margin-left-7{
    margin-left: 7px;
}
.margin-left-10{
    margin-left: 10px;
}
.margin-left-50-percent{
    margin-left: -50% !important;
}
.minus-margin-left-50-percent{
    margin-left: -50% !important;
}
.minus-margin-left-20{
    margin-left: -20px !important;
}

.margin-bottom-2{
    margin-bottom: 2px;
}
.margin-bottom-5{
    margin-bottom: 5px;
}
.margin-all-20{
    margin: 20px;
}
.margin-top-minus-20{
    margin-top: -20px !important;
}
.margin-top-10{
    margin-top: 10px;
}
.margin-top-16{
    margin-top: 16px;
}
.margin-top-20{
    margin-top: 20px;
}
.margin-right-20{
    margin-right: 20px;
}
.margin-bottom-20{
    margin-bottom: 20px;
}
.margin-left-20{
    margin-left: 20px;
}
.margin-left-minus-17{
    margin-left: -17px;
}
.margin-left-minus-25{
    margin-top: 25px;
}

.margin-right-auto{
    margin-right: auto !important;
}
.margin-top-bottom-5{
    margin-top: 5px;
    margin-bottom: 5px;
}
.margin-left-right-5{
    margin-left: 5px;
    margin-right: 5px;
}
.margin-top-bottom-10{
    margin-top: 10px;
    margin-bottom: 10px;
}
.margin-left-right-10{
    margin-left: 10px;
    margin-right: 10px;
}

.input-extra-padding{
    padding-top: 4px !important;
    padding-bottom: 1px !important;
}

.font-size-14{
    font-size: 14px !important;
}
.font-size-18{
    font-size: 18px !important;
}
.font-size-20{
    font-size: 20px !important;
}
.font-size-22{
    font-size: 22px !important;
}
.font-size-24{
    font-size: 24px !important;
}
.font-size-28{
    font-size: 28px !important;
}
.font-size-40{
    font-size: 40px !important;
}

.font-weight-600{
    font-weight: 600 !important;
}
.font-weight-700{
    font-weight: 700 !important;
}
.font-weight-800{
    font-weight: 800 !important;
}
.font-weight-900{
    font-weight: 900 !important;
}
.font-weight-1000{
    font-weight: 1000 !important;
}


button{
    background: transparent;
    border: none;
    /*!*padding: 5px 15px;*! this will effect table arrow design*/
}
.no-white-space {
    white-space: nowrap !important;
}
.text-decoration-underlined{
    text-decoration: underline;
}

.inner-button-shadow {
    box-shadow: inset 1px 1px 5px #00000070, 0px 1px 1px #333;
}
/*   cards    */
.border-radius-all-5{
    border-radius: 5px;
}
.card.no-top-left-border-radius{
    border-top-left-radius: 0 !important;
}
.card.no-top-right-border-radius{
    border-top-right-radius: 0 !important;
}

/*   overflow    */
.overflow-y-scroll{
    overflow-y: auto !important;
}
.overflow-x-scroll{
    overflow-x: auto !important;
}
.overflow-x-hidden{
    overflow-x: hidden !important;
}
.modal{
    z-index: 9999 !important;
}
.modal-backdrop{
    display: none !important;
}
.display-none{
    display: none !important;
}
.display-block{
    display: block !important;
}
/*.modal-backdrop.show {*/
/*    opacity: 0 !important;*/
/*}*/
/*   border radius    */
.no-border-top{
    border-top: 0 !important;
}
/*   border radius    */
.no-all-border{
    border: 0 !important;
}
.no-border-bottom{
    border-bottom: 0 !important;
}
.no-border-left{
    border-left: 0 !important;
}
.no-border-right{
    border-right: 0 !important;
}
.border-radius-025{
    border-radius: 0.25rem !important;
}
.border-radius-8{
    border-radius: 8px;
}
.border-radius-right-8{
    border-top-right-radius: 8px !important;
    border-bottom-right-radius: 8px !important;
}
.border-radius-left-8{
    border-top-left-radius: 8px !important;
    border-bottom-left-radius: 8px !important;
}
.border-radius-8{
    border-radius: 8px !important;
}
.border-radius-12{
    border-radius: 12px !important;
}
.border-radius-16{
    border-radius: 16px !important;
}
.border-radius-top-16{
    border-top-left-radius: 16px !important;
    border-top-right-radius: 16px !important;
}
.border-radius-bottom-16{
    border-bottom-left-radius: 16px !important;
    border-bottom-right-radius: 16px !important;
}
.border-radius-50{
    border-radius: 50% !important;
}
.border-top-radius-025{
    border-top-left-radius: 0.25rem !important;
    border-top-right-radius: 0.25rem !important;
}
.border-radius-left-025{
    border-top-left-radius: 0.25rem !important;
    border-bottom-left-radius: 0.25rem !important;
}
.border-radius-right-025{
    border-top-right-radius: 0.25rem !important;
    border-bottom-right-radius: 0.25rem !important;
}

.no-border-radius-left{
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}
.no-border-radius-right{
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}
.border-radius-top-right{
    border-top-right-radius: 0.25rem !important;
}
.border-radius-bottom-right{
    border-bottom-right-radius: 0.25rem !important;
}

.border-radius-top-left{
    border-top-left-radius: 0.25rem !important;
}
.border-radius-bottom-left{
    border-bottom-left-radius: 0.25rem !important;
}
/*   transitions    */
.transition-3sec-ease{
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
}

.quickgrid .col-header-content {
    padding-right: 0 !important;
}
.form-control:focus {
    box-shadow: none !important;
    outline: none !important;
    
}

.form-control {
    padding: 0.2rem 0.75rem !important;
}
input[type=number] {
    -moz-appearance: textfield;
}
.main-button button.greyOut,
.main-button a.greyOut,
.main-button button:disabled,
.grey-out-button{
    color: #b8b3b3 !important;
    box-shadow: inset 1px 1px 5px #00000070, 0px 1px 1px #333;
    border: 1px solid #00000070 !important;
}
.main-button button.greyOut:hover{
    color: #b8b3b3 !important;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.5) !important;
}
sup.required{
    font-size: 17px;
    color: red;
    margin-left: 2px;
}

/*.row {*/
/*    margin-right: 0 !important;*/
/*    margin-left: 0 !important;*/
/*}*/
/*.row > * {*/
/*    padding-right: 0 !important;*/
/*    padding-left: 0 !important;*/
/*}*/
input{
    margin: 0 !important;
}
/*.form-control {*/
/*    padding: 1px 10px 0 10px !important;*/
/*}*/
.position-absolute{
    position: absolute !important;
}
.position-inherit{
    position: inherit;
}

/*   rotate text    */
.rotate-minus-90{
    transform: rotate(-90deg) !important;
}
.go-first,
.go-last{
    display: none !important;
}

/* table, quickgrid component */
.quickgrid[theme="default"] {
    --col-gap: 0 !important;
}
table {
    width: 100%;
}
table thead th .headerStick{
    white-space: nowrap !important;
    padding: 5px 5px !important;
}
table thead tr{
    position: sticky;
    top: -1px;
    left: 0;
    z-index: 999999;
}
table tbody td{
    padding-left: 10px !important;
    padding-right: 10px !important;
    white-space: nowrap !important;
}
table tbody td:last-child{
    padding-left: 0px !important;
    padding-right: 0px !important;
    white-space: nowrap !important;
}

/* Card transition animations */
.card-show {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    visibility: visible;
    display: block;
}

.card-hide {
    opacity: 0;
    transform: translateY(-30px) scale(0.9);
    transition: all 0.4s cubic-bezier(0.55, 0.085, 0.68, 0.53);
    visibility: hidden;
    pointer-events: none;
}

.card-fade-in {
    animation: slideInFromBottom 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.card-fade-out {
    animation: slideOutToTop 0.5s cubic-bezier(0.55, 0.085, 0.68, 0.53) forwards;
}

@keyframes slideInFromBottom {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.8);
        filter: blur(4px);
    }
    50% {
        opacity: 0.7;
        transform: translateY(20px) scale(0.9);
        filter: blur(2px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes slideOutToTop {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
    50% {
        opacity: 0.5;
        transform: translateY(-20px) scale(0.95);
        filter: blur(2px);
    }
    100% {
        opacity: 0;
        transform: translateY(-40px) scale(0.8);
        filter: blur(4px);
        display: none;
    }
}

/* Cards visible by default with animations */
.individual-service-card {
    display: block;
    opacity: 1;
    transform: translateY(0) scale(1);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.group-service-card {
    display: block;
    opacity: 1;
    transform: translateY(0) scale(1);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* SIMPLE - NO SPACE, NO OPACITY BULLSHIT */
[data-service-type="group"] .individual-service-card {
    display: none !important;
}

[data-service-type="individual"] .group-service-card {
    display: none !important;
}

/* Smooth transitions for all cards */
.card-transition {
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Scale effect for the Service Type card when active */
.service-type-active {
    transform: scale(1.03) !important;
    box-shadow: 0 12px 35px rgba(0, 123, 255, 0.2) !important;
    border-color: rgba(0, 123, 255, 0.4) !important;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.05), rgba(0, 123, 255, 0.02)) !important;
}

/* Group items section special animation */
.group-items-show {
    animation: expandIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}


/* Service type card special styling */
.service-type-card {
    transition: all 0.4s ease;
}

[data-service-type="group"] .service-type-card {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.15);
    border-color: rgba(0, 123, 255, 0.3);
}
table thead th:first-child,
table tfoot th:first-child,
table tbody td:first-child{
    position: sticky !important;
    left: -1px;
}
table thead th:last-child.actions,
table tfoot th:last-child.actions,
table tbody td:last-child.actions{
    position: sticky;
    right: -1px;
}
table tbody td p{
    padding-right: 10px !important;
    padding-left: 10px !important;
    margin-bottom: 0 !important;
}
.lines{
    padding-left: 3px !important;
}
/* forms */
.form-error-message{
    color: red !important;
    font-size: 12px;
}
.form-error-message-border{
    border: 1px solid red !important;
}

/*   toast notification    */


.custom-toast-notification {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    width: 300px;
    height: auto;
    top: 10px;
    right: 10px;
    z-index: 99999999999;
}

.custom-toast-notification-title i{
    color: #4CAF50;
    font-size: 18px;
}
.custom-toast-notification-line {
    width: 100%;
    height: 2px;
    background-color: #4CAF50;
    position: absolute;
    left: 0;
    bottom: 0;
    animation: shrinkLine 6s linear forwards;
}

@keyframes shrinkLine {
    0% {
        width: 100%;
    }
    100% {
        width: 0%;
    }
}


.small-text-size{
    font-size: 12px;
}
.medium-text-size{
    font-size: 14px;
}
.large-text-size{
    font-size: 16px;
}

.small-title-size{
    font-size: 14px;
    font-weight: 900;
}
.medium-title-size{
    font-size: 18px;
    font-weight: 900;
}
.large-title-size{
    font-size: 22px;
    font-weight: 900;
}




.custom-modal {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: 9999;
    background-color: #000;
    opacity: 0.5;
    -webkit-transition: all .3s ease;
  -moz-transition: all .3s ease;
  -ms-transition: all .3s ease;
  -o-transition: all .3s ease;
  transition: all .3s ease;
}
.custom-modal-extra-small{
    width: 100%;
    max-width: 320px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9999999999;
    -webkit-transition: all .3s ease;
  -moz-transition: all .3s ease;
  -ms-transition: all .3s ease;
  -o-transition: all .3s ease;
  transition: all .3s ease;
}
.custom-modal-small{
    width: 500px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9999999999;
    -webkit-transition: all .3s ease;
  -moz-transition: all .3s ease;
  -ms-transition: all .3s ease;
  -o-transition: all .3s ease;
  transition: all .3s ease;
}
.custom-modal-medium{
    width: 70%;
    max-width: 800px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9999999999;
    -webkit-transition: all .3s ease;
  -moz-transition: all .3s ease;
  -ms-transition: all .3s ease;
  -o-transition: all .3s ease;
  transition: all .3s ease;
}
.custom-modal-large{
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9999999999;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
}
@media (max-width: 880px) {
    .custom-modal-large {
        width: 100%;
        height: 100vh;
        overflow-y: scroll;
        position: fixed;
        top: 0;
        left: 0;
    }
    .task-management-buttons{
        display: grid;   
        width: 100%;
        text-align: center;
    }
    .task-management-buttons button{
        width: 250px;
        padding-top: 10px;
        padding-bottom: 10px;
    }
}
@media (min-width: 881px) {
    .custom-modal-large {
        width: 80%;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    .task-management-buttons{
        display: flex;
        width: 100%;
        justify-content: left;
    }
}
.custom-modal-extra-large{
    width: 95%;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 0.25rem !important;
    z-index: 99999;
    -webkit-transition: all .3s ease;
  -moz-transition: all .3s ease;
  -ms-transition: all .3s ease;
  -o-transition: all .3s ease;
  transition: all .3s ease;
}
.card{
    -webkit-transition: all .3s ease !important;
    -moz-transition: all .3s ease !important;
    -ms-transition: all .3s ease !important;
    -o-transition: all .3s ease !important;
    transition: all .3s ease !important;
}
.transition-3sec-ease{
    -webkit-transition: all .3s ease !important;
    -moz-transition: all .3s ease !important;
    -ms-transition: all .3s ease !important;
    -o-transition: all .3s ease !important;
    transition: all .3s ease !important;
}




.dropdown {
    position: relative;
    display: inline-block;
}
.dropdown:hover .dropdown-title{
    background-color: #1f2940 !important;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    bottom: 0;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 9 !important;
}

.dropdown {
    z-index: 2147483646;
}
.dropdown-content .action-button:hover{
    background-color: #141B2D !important;
    border-radius: 12px !important;
}
.dropdown-content .action-button{
    border-radius: 12px !important;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {background-color: #f1f1f1;}
.dropdown:hover .dropdown-content {display: block;}

.flex-container {
    display: flex;
    flex-wrap: wrap;
    width: 200px;
    margin-left: auto;
    margin-right: auto;
    gap: 5px;
}

.flex-container .item {
    flex: 0 0 23%; /* This ensures each item takes exactly 25% of the container width */
    height: 50px; /* Fixed height, adjust as needed */
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}
.colourActive{
    border: 2px solid #FFFFFF;
}


/* Media query for smaller screens */
@media (max-width: 600px) {
    .flex-container .item {
        flex: 0 0 50%; /* On smaller screens, each item takes 50% width */
    }
}

/* Media query for even smaller screens */
@media (max-width: 400px) {
    .flex-container .item {
        flex: 0 0 100%; /* On very small screens, each item takes full width */
    }
}


.draggable-item {
    transition: all 0.2s ease;
}

.dragging-active:not(.dragged):hover {
    background-color: #f0f0f0;
    margin-top: 2rem;
}

.dragged {
    padding-bottom: 40px;
}


.tabs {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.tabs nav {
    display: flex;
    background-color: #f1f1f1;
}

.tabs nav a {
    flex: 1;
    padding: 10px;
    text-align: center;
    background-color: #e0e0e0;
    color: #333;
    text-decoration: none;
    transition: background-color 0.3s;
}

.tabs nav a:hover {
    background-color: #d0d0d0;
}

.tab-content {
    display: none;
    padding: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
}

.tab-content:target {
    display: block;
}

.empty-state {
    width: 750px;
    margin: 0 auto;
}
.empty-state__content {
    display: flex;
    align-items: center;
    flex-direction: column;
}
.empty-state__content .empty-state__icon {
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    border-radius: 200px;
    text-align: center;
    box-shadow: 0px 2px 1px #e1e3ec;
}
.empty-state__content .empty-state__icon img {
    width: 170px;
}
.empty-state__content .empty-state__message {
    color: #38a169;
    font-size: 1.5rem;
    font-weight: 500;
    margin-top: 0.85rem;
}
.empty-state__content .empty-state__help {
    color: #a2a5b9;
    font-size: 0.875rem;
}

.credit {
    color: #A2A5B9;
    font-size: 0.75rem;
    text-align: center;
}
.credit a {
    color: #444;
}


/* Keyframe for spinning the ring */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Keyframe for the dots animation */
@keyframes loadingAnimation {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}



.login-buttons-dark{
    margin-top: 10px;
    border: 1px solid #000000;
    color: #000000;
    border-radius: 10px;
}
.login-buttons-light{
    margin-top: 10px;
    border: 1px solid #FFFFFF;
    color: #FFFFFF;
    border-radius: 10px;
}

/* This file is now scoped to WeeklyScheduler.razor */

.scheduler-container {
    font-family: Arial, sans-serif;
    padding: 1rem;
}

.scheduler-table {
    border-collapse: collapse;
    width: 100%;
    border: 1px solid #ccc;
    table-layout: fixed;
}

.scheduler-table th, .scheduler-table td {
    border: 1px solid #ddd;
    text-align: center;
    padding: 8px;
}

.scheduler-table th {
    background-color: #f2f2f2;
    font-weight: bold;
}

.time-slot {
    height: 25px;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}

.time-slot:hover {
    background-color: #e0e0e0;
}

/* 
  This selector is now scoped by Blazor.
  It will be rewritten to something like .highlighted[b-c1x2y3z4]
  which makes it extremely specific and guarantees it will apply.
*/
.scheduler-table td.highlighted {
    background-color: #0d6efd !important; /* Blue */
    color: white !important;
}

.time-header {
    font-weight: bold;
    background-color: #f8f9fa;
    min-width: 70px;
}



.services_builder .item-title {
    font-size: 16px;
    font-weight: 600;
    color: #212529;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.services_builder .item-price,
.service-card .item-price {
    font-size: 18px;
    font-weight: 700;
    color: #28a745;
    text-shadow: 0 1px 2px rgba(40, 167, 69, 0.2);
}

.services_builder .edit-btn,
.service-card .edit-btn {
    position: absolute;
    top: 12px;
    right: 48px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(40, 167, 69, 0.2);
    border: 1px solid rgba(40, 167, 69, 0.2);
    color: #28a745;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    font-size: 14px;
}
.services_builder .edit-btn:hover,
.service-card .edit-btn:hover {
    background: #28a745;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.2);
}
.services_builder .remove-btn,
.service-card .remove-btn {
     position: absolute;
     top: 12px;
     right: 12px;
     width: 32px;
     height: 32px;
     border-radius: 50%;
     background: rgba(220, 53, 69, 0.1);
     border: 1px solid rgba(220, 53, 69, 0.2);
     color: #dc3545;
     display: flex;
     align-items: center;
     justify-content: center;
     opacity: 0;
     transition: all 0.3s ease;
     font-size: 14px;
 }
.services_builder .action-buttons-card,
.service-card .action-buttons-card {
    height: 40px; width: 100px; position: absolute; top: 4px; right: 0;
    opacity: 0;
}

.services_builder .menu-item-card:hover .remove-btn,
.services_builder .menu-item-card:hover .edit-btn,
.services_builder .menu-item-card:hover .action-buttons-card,
.service-card:hover .action-buttons-card,
.service-card:hover .remove-btn,
.service-card:hover .edit-btn{
    opacity: 1;
}

.services_builder .remove-btn:hover,
.service-card .remove-btn:hover {
    background: #dc3545;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
}

.services_builder .item-content {
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.services_builder .item-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
}

.services_builder .item-info {
    flex: 1;
    min-width: 0;
}

.services_builder .item-meta {
    display: flex;
    align-items: center;
    margin-top: auto;
}

.services_builder .empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
}

.services_builder .empty-state i {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.services_builder .empty-state h5 {
    margin-bottom: 8px;
    color: #495057;
}

.services_builder .empty-state p {
    margin: 0;
    font-size: 14px;
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .services_builder .menu-item-card {
        min-height: 120px;
    }

    .services_builder .item-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
        margin-right: 12px;
    }

    .services_builder .item-title {
        font-size: 14px;
    }

    .services_builder .item-price {
        font-size: 16px;
    }
}


/* Enhanced Menu Item Cards */
.services_builder .menu-item-card {
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    min-height: 90px;
}

.services_builder .menu-item-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    border-color: #dee2e6;
}

.services_builder .menu-item-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #007bff, #6f42c1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.services_builder .menu-item-card:hover::before {
    opacity: 1;
}

.services_builder .menu-item-card.category-card::before {
    background: linear-gradient(90deg, #ffc107, #fd7e14);
}

.services_builder .menu-item-card.group-card::before {
    background: linear-gradient(90deg, #28a745, #20c997);
}

.services_builder .menu-item-card.item-card::before {
    background: linear-gradient(90deg, #007bff, #17a2b8);
}

.services_builder .item-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-right: 16px;
    transition: all 0.3s ease;
}

.services_builder .category-icon {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    color: #856404;
    border: 2px solid #ffeaa7;
}

.services_builder .group-icon {
    background: linear-gradient(135deg, #d1f2eb, #a3e9d0);
    color: #155724;
    border: 2px solid #a3e9d0;
}

.services_builder .item-icon-style {
    background: linear-gradient(135deg, #cce7ff, #99d6ff);
    color: #004085;
    border: 2px solid #99d6ff;
}

.services_builder .menu-item-card:hover .item-icon {
    transform: scale(1.1);
}

.services_builder .item-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 8px;
    transition: all 0.3s ease;
}

.services_builder .badge-category {
    background: linear-gradient(135deg, #ffc107, #fd7e14);
    color: #212529;
    box-shadow: 0 2px 4px rgba(255, 193, 7, 0.3);
}

.services_builder .badge-group {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    box-shadow: 0 2px 4px rgba(40, 167, 69, 0.3);
}

.services_builder .badge-item {
    background: linear-gradient(135deg, #007bff, #17a2b8);
    color: white;
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.3);
}


/*dropArea*/

.dropArea {
    border: 2px dashed #5988ff;
    position: relative;
    height: 65px;
    width: 293px;
    padding: 20px;
    text-align: center;
    color: #5988ff;
    overflow: hidden;
}

.dropAreaHover {
    background-color: #e1f0ff;
    border-color: #ff7e67;
}

.dropArea input[type="file"] {
    opacity: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    cursor: pointer;
    top: 0;
    left: 0;
}

.dropArea-button {
    border: 2px dashed #5988ff;
    border-left: none;
    position: relative;
    height: 65px;
    width: 100px;
    padding: 20px;
    text-align: center;
    color: #5988ff;
    overflow: hidden;
}

/* Full-modal drop overlay */
.modal-drop-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(241, 245, 249, 0.85);
    border: 3px dashed #5988ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 50;
    pointer-events: auto;
}

.modal-drop-overlay .hint {
    text-align: center;
    color: #3b82f6;
}

.modal-drop-overlay .hint .icon {
    font-size: 64px;
    margin-bottom: 8px;
}

.modal-drop-overlay header {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.form-check-input {
    padding: 10px 10px !important;
}

/* Chart container - position toolbar and legend on same line as title */
.chart-with-header {
    position: relative;
}

.chart-with-header .menu-item-card {
    margin-bottom: 10px;
}

.chart-with-header .apexcharts-toolbar {
    position: absolute !important;
    top: -50px !important;
    right: 16px !important;
    z-index: 100 !important;
}

.chart-with-header .apexcharts-legend.apx-legend-position-top {
    position: absolute !important;
    top: 20px !important;
    left: 250px !important;
    right: 150px !important;
}
.apexcharts-legend-group-vertical {
    flex-direction: inherit !important;
}

.bank-cards-carousel {
    display: flex;
    align-items: stretch;
    gap: 12px;
    width: 100%;
    position: relative;
    z-index: 99 !important;
}

.bank-cards-track-outer {
    flex: 1;
    min-width: 0;
    overflow: visible;
}

.bank-cards-track {
    display: flex;
    flex: 1;
    min-width: 0;
    gap: 16px;
    flex-wrap: nowrap;
    overflow-x: auto !important;
    overflow-y: visible !important;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    scrollbar-width: none;
}

.bank-cards-track::-webkit-scrollbar {
    display: none;
}

.bank-cards-carousel .dropdown-content {
    z-index: 9999;
}

.bank-cards-track > * {
    flex: 0 0 auto;
}

.bank-cards-track::-webkit-scrollbar {
    height: 8px;
}

.bank-cards-track::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
}

.bank-account-card {
    flex: 0 0 auto;
    width: 300px;
}

.bank-cards-fixed-right {
    display: flex;
    align-items: stretch;
    gap: 12px;
    flex: 0 0 auto;
}

.bank-add-card {
    width: 80px;
    flex: 0 0 auto;
}

.bank-cards-arrow {
    width: 56px;
    flex: 0 0 56px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bank-cards-arrow span {
    font-size: 32px;
    color: var(--main-text-color);
}

.dark .bank-cards-arrow,
.black .bank-cards-arrow {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
}

.bank-cards-arrow:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .bank-account-card,
    .bank-add-card {
        width: 260px;
    }
    .bank-cards-arrow {
        width: 44px;
        flex-basis: 44px;
        border-radius: 14px;
    }
    .bank-cards-arrow span {
        font-size: 28px;
    }
}
.view-switcher {
    display: flex;
    gap: 4px;
    background: rgba(15, 23, 42, 0.3);
    padding: 4px;
    border-radius: 12px;
}

.view-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--text-muted, #94a3b8);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.8rem;
    font-weight: 500;
}

.view-btn:hover {
    color: var(--text-color, #e2e8f0);
    background: rgba(148, 163, 184, 0.1);
}

.view-btn.active {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.view-btn .material-icons-outlined {
    font-size: 18px;
}
.nav-btn:hover {
    background: rgba(99, 102, 241, 0.2);
    transform: translateY(-1px);
}

.back-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.3);
    color: var(--text-color, #94a3b8);
    cursor: pointer;
    transition: all 0.2s ease;
}

.back-btn:hover {
    background: rgba(148, 163, 184, 0.2);
    color: var(--text-color, #e2e8f0);
}

.back-btn .material-icons-outlined {
    font-size: 20px;
}

.add-level-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #e3945e 0%, #ea580c 100%);
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
}

.randform-iframe body {
    margin: 0;
    padding: 0;
    font-weight: 400;
    color: #333;
    background: transparent !important;
    position: relative
}

/* More specific rules to override form preview inline styles */
.randform-iframe html,
.randform-iframe .form-preview-page,
.randform-iframe .form-preview-page.theme-light,
.randform-iframe .form-preview-page.theme-dark {
    background: transparent !important;
}

/* Override any element that might have background */
.randform-iframe * {
    background-color: transparent !important;
}

/* But preserve form card background */
.randform-iframe .form-card,
.randform-iframe .form-body-section,
.randform-iframe .form-header-section {
    background-color: var(--form-bg, #ffffff) !important;
}
.randform-iframe body {
    margin: 0;
    padding: 0;
    font-weight: 400;
    color: #333;
    background: #f8f4ee00 !important;
    position: relative
}