.form-control::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #666;
    opacity: 1; /* Firefox */
}

.form-control::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    /*font-family: Impact, sans-serif;*/
}
.form-control:-ms-input-placeholder { /* IE 10+ */
    /*font-family: Impact, sans-serif;*/
}
.form-control::-ms-input-placeholder { /*Edge - only work on some properties */
    /*color: green;*/
    /*letter-spacing: 5px;*/
}

select.formControl + .chosen-container.chosen-container-single .chosen-single {
    /*display: block;*/
    width: 100%;
    height: 53px;
    padding: 25px 12px;
    font-size: 16px;
    color: #111;
    margin-top: -22px;
    background-color: #fff;
    vertical-align: top;
    border: 1px solid #a7a7a7;
    border-radius: 0px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    -webkit-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}

label[for=categorySelect] {
    margin-top: -20px;
}

label[for=vendor] {
    margin-top: -20px;
}

.select2-container--open{
    z-index: 99999;
}


.moneyFormat{
    text-align: right;
}

#newAlertCountContainer{
    font-size: 16px;
    color: white;
    background: #7188a6;
    border: 2px solid #485469;
    border-radius: 15px;
    min-width: 28px;
    display: inline-block;
    font-weight: 600;
    margin-left: 10px;
    text-align: center;
}

.newAlert > td{
    font-weight: 600;
}

.sidebar .nav > li.active-pro {
    position: absolute;
    width: 100%;
    bottom: 10px;
}

.newProject{
    font-size: 34px;
    color: #fff;
    background: #28a745;
    border: 2px solid #28a745;
    border-radius: 50px;
    width: 80px;
    font-weight: 600;
    text-align: center;
    padding: 15px;
    position: fixed;
    bottom: 25px;
    right: 25px;
    cursor: pointer;
}
.newProject:hover{
    background: #1e7e4b;
}

.addNew{
    font-size: 34px;
    color: #fff;
    background: #28a745;
    border: 2px solid #28a745;
    border-radius: 50px;
    width: 80px;
    font-weight: 600;
    text-align: center;
    padding: 15px;
    position: fixed;
    bottom: 25px;
    right: 25px;
    cursor: pointer;
}
.addNew:hover{
    background: #1e7e4b;
}



.newInvoice{
    font-size: 34px;
    color: #fff;
    background: #28a745;
    border: 2px solid #28a745;
    border-radius: 50px;
    width: 80px;
    font-weight: 600;
    text-align: center;
    padding: 15px;
    position: fixed;
    bottom: 25px;
    right: 25px;
    cursor: pointer;
}
.newInvoice:hover{
    background: #1e7e4b;
}

.errorDisplay{
    text-align: center;
    font-size: 22px;
}


#actionDone{
    z-index: 9999;
    font-size: 18px;
    color: #fff;
    border-radius: 5px;
    text-align: center;
    padding: 15px 30px;
    position: fixed;
    top: 25px;
    right: 45px;
}

.actionDoneHide{
    display: none;
}

.actionDoneShow{
    display: inline-block;
}


/*For PopUp*/

.modal {
    font-family: -apple-system,BlinkMacSystemFont,avenir next,avenir,helvetica neue,helvetica,ubuntu,roboto,noto,segoe ui,arial,sans-serif;
}

.modal__overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal__container {
    background-color: #fefefe;
    padding: 30px;
    max-width: 750px;
    max-height: 100vh;
    border-radius: 4px;
    overflow-y: auto;
    box-sizing: border-box;
    min-width: 400px;
    position: relative;
    display: flex;
    flex-direction: column;
    pointer-events: auto;
    border: 1px solid rgba(0, 0, 0, 0.2);
    outline: 0;
    z-index: 99;
}

.modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #cdd4e0;
    border-top-left-radius: calc(0.3rem - 1px);
    border-top-right-radius: calc(0.3rem - 1px);
}

.modal__title {
    margin-top: 0;
    margin-bottom: 0;
    font-weight: 600;
    font-size: 1.25rem;
    line-height: 1.25;
    color: #00449e;
    box-sizing: border-box;
}

.modal__close {
    background: transparent;
    border: 0;
}

.modal__header .modal__close:before {
    content: "\2715";
}

.modal__content {
    /*margin-top: 2rem;*/
    /*margin-bottom: 2rem;*/
    line-height: 1.5;
    color: rgba(0,0,0,.8);
}

.modal__btn {
    font-size: .875rem;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: .5rem;
    padding-bottom: .5rem;
    background-color: #e6e6e6;
    color: rgba(0,0,0,.8);
    border-radius: .25rem;
    border-style: none;
    border-width: 0;
    cursor: pointer;
    -webkit-appearance: button;
    text-transform: none;
    overflow: visible;
    line-height: 1.15;
    margin: 0;
    will-change: transform;
    -moz-osx-font-smoothing: grayscale;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    transition: -webkit-transform .25s ease-out;
    transition: transform .25s ease-out;
    transition: transform .25s ease-out,-webkit-transform .25s ease-out;
}

.modal__btn:focus, .modal__btn:hover {
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
}

.modal__btn-primary {
    background-color: #00449e;
    color: #fff;
}



/**************************\
  START Pop up editor
\**************************/
@keyframes mmfadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes mmfadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@keyframes mmslideIn {
    from {
        transform: translateY(15%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes mmslideOut {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-10%);
    }
}

.micromodal-slide {
    display: none;
}

.micromodal-slide.is-open {
    display: block;
}

.micromodal-slide[aria-hidden="false"] .modal__overlay {
    animation: mmfadeIn .3s cubic-bezier(0.0, 0.0, 0.2, 1);
}

.micromodal-slide[aria-hidden="false"] .modal__container {
    animation: mmslideIn .3s cubic-bezier(0, 0, .2, 1);
}

.micromodal-slide[aria-hidden="true"] .modal__overlay {
    animation: mmfadeOut .3s cubic-bezier(0.0, 0.0, 0.2, 1);
}

.micromodal-slide[aria-hidden="true"] .modal__container {
    animation: mmslideOut .3s cubic-bezier(0, 0, .2, 1);
}

.micromodal-slide .modal__container,
.micromodal-slide .modal__overlay {
    will-change: transform;
}


/* Uploader*/

.drop_file_zone {
    background-color: #c8dadf;
    outline: 2px dashed #afafaf;
    outline-offset: -5px;
    width: 100%;
    /*height: 75px;*/
    padding: 8px;
    font-size: 18px;
    margin: 0px 0px 5px;
}
#drag_upload_file {
    width:90%;
    margin:0 auto;
}
#drag_upload_file p {
    text-align: center;
}
#drag_upload_file #selectfile {
    display: none;
}

.is-dragover {
    background-color: #ffffff;
    outline: 2px dashed #afafaf;
    outline-offset: -5px;
    width: 100%;
    /*height: 75px;*/
    padding: 8px;
    font-size: 18px;
    margin: 0px 0px 5px;
}


.uploaderTile{
    /*Make title clickable to div*/
    pointer-events:none;
}




.search-field{
    border-color:#e3e3e3;

}






.loadingContainer{
    position: fixed;
    top: 40%;
    left: 45%;
    z-index: 99;
}

.loadingBody{
    font-size: 42px;
    margin: 0px auto;
    max-width: 645px;
    text-align:center;
    padding:25px 35px;
    transform:translate(0,40%);
    background: #00000075;
    border-radius: 10px;
    color:white;
}

section{
    margin: 20px auto;
    background-color: #fff;
    max-width: 1200px;
    box-shadow: 0px 0px 15px #cccccc;
    padding: 20px;
}

.flexContainer{
    display: flex;
    flex-wrap: wrap;
}


.innerSection{
    padding: 20px;
}

.noPadding{
    padding:0px;
}

.noMargin{
    margin:0px;
}

.formControl{
    min-width:150px;
    max-width: 100%;
    height: 55px;
    display: block;
    padding: 0px 0px 0px 10px;
    padding-top: 20px;
    margin: 5px 0px;
    font-size: 16px;
    line-height: 1.5;
    color: #111;
    background-color: #fefefe;
    background-clip: padding-box;
    border: 1px solid #a7a7a7;
    border-radius: 0px !important;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}


.formControl:focus{
    outline: 0px;
    border: 2px solid #7188a6;
}


.form-control:focus{
    border: 1px solid #2a9bd1;
}


/* we put label on top of the input*/
.floatLable {
    position: absolute;
    right: 1px;
    bottom: 1px;
    left:12px;
    top:-5px;
    z-index: 1;
    height: 1em;
    font-size: 16px;
    line-height: 3.5em;
    color: red;
    white-space: nowrap;
    cursor: text;
    transition:all .1s ease;
}

input:focus ~ label, input:valid ~label, input:disabled ~label {
    position: absolute;
    right: 1px;
    bottom: 1px;
    left:12px;
    top:-5px;
    z-index: 1;
    height: 1em;
    font-size: 14px;
    line-height: 3.5em;
    color: #495057;
    white-space: nowrap;
    cursor: text;
    transition:all .1s ease;
}

textarea:focus ~ label, textarea:valid ~label {
    position: absolute;
    right: 1px;
    bottom: 1px;
    left:12px;
    top:-5px;
    z-index: 1;
    height: 1em;
    font-size: 14px;
    line-height: 3.5em;
    color: #495057;
    white-space: nowrap;
    cursor: text;
    transition:all .1s ease;
}

select:valid ~ label{
    position: absolute;
    right: 1px;
    bottom: 1px;
    left:12px;
    top:-9px !important;
    z-index: 1;
    height: 1em;
    font-size: 14px;
    line-height: 3.5em;
    color: #495057;
    white-space: nowrap;
    cursor: text;
    transition:all .1s ease;
}

textarea:valid ~ label{
    position: absolute;
    right: 1px;
    bottom: 1px;
    left:12px;
    top:-5px;
    z-index: 1;
    height: 1em;
    font-size: 11px;
    line-height: 3.5em;
    color: #495057;
    white-space: nowrap;
    cursor: text;
    transition:all .1s ease;
}

select:disabled ~ label{
    cursor: not-allowed !important;
    position: absolute;
    right: 1px;
    bottom: 1px;
    left:12px;
    top:-5px;
    z-index: 1;
    height: 1em;
    font-size: 14px;
    line-height: 3.5em;
    color: #495057;
    white-space: nowrap;
    cursor: text;
    transition:all .1s ease;
}

input:valid ~label {
    font-size: 14px;
    color:#6e6e6e;
}
input:focus:invalid ~label{
    font-size: 14px;
    color:red;
}

input:required ~label::before {
    content:"*";
    color:red;
}

input:required:valid ~label::before {
    color:#6e6e6e;
}

select:valid ~label {
    color:#6e6e6e;
}
select:focus:invalid ~label{
    color:red;
}

select:required ~label::before {
    content:"*";
    color:red;
}

select:required:valid ~label::before {
    color:#6e6e6e;
}


select{
    font-family: "Roboto", "fontAwesome" ;
}

select option:hover  {
    background-color: yellow !important;
}

select option:focus  {
    background-color: yellow !important;
}

select option:focus-within  {
    background-color: yellow !important;
}


select option:target  {
    background-color: yellow !important;
}


input, textarea {
    padding:1em;
    border: 1px solid #ccc;
    -webkit-box-shadow: inset 0 1px 0 #eee,#fff 0 1px 0;
    box-shadow: inset 0 1px 0 #eee,#fff 0 1px 0;
    border-radius:0px;
    /*width:100%;*/
}

.inputContainer {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
}


.inline{
    display: inline-block;
}

.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
    margin: 3px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .2s;
    transition: .2s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 4px;
    bottom: 3px;
    background-color: white;
    -webkit-transition: .2s;
    transition: .2s;
}

input:checked + .slider {
    background-color: #008CBA;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
    outline: black solid 1px
}

input:checked + .slider:before {
    -webkit-transform: translateX(18px);
    -ms-transform: translateX(18px);
    transform: translateX(18px);
}


input:disabled, textarea:disabled, select:disabled  {
    cursor: not-allowed !important;
    background: #e3e7ed !important;
}

.chosen-disabled > .chosen-single {
    cursor: not-allowed !important;
    background: #e3e7ed  !important;
    opacity: 1 !important;
}

.chosen-disabled > .chosen-single {
    cursor: not-allowed !important;
    background: #e3e7ed  !important;
    opacity: 1 !important;
}


.validationError {
    border-color: #dc3545;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.validationError-Text{
    font-size: 12px;
}


/*Uploader style*/
.uploader{
    /*	min-height:40px;
            padding: 0px 0px 0px 10px;
            text-align: left;
            background: #fefefe;
    
            cursor: pointer;
            font-size: 14px;
            color: #6e6e6e;*/
}

.uploaderContainer{
    min-height:40px;
    padding: 0px 0px 0px 10px;
    text-align: left;
    /*background: #e7e7e7;*/
    border: 1px solid #8e8e8e;
    border-radius: 5px;
    cursor: pointer;
}



.uploader.is-dragover {
    background-color: grey;
}



.uploderInsp{
    min-height:40px;
    /*max-width: 250px;*/
    padding: 0px 10px;
    text-align: left;
    background: #fefefe;
    border: 1px solid #a7a7a7;
    border-radius: 5px;
    cursor: pointer;
    display: inline-block;
    font-size: 14px;
    color: #6e6e6e;
}

.uploderInsp.is-dragover {
    background-color: grey;
}


.uploaderTile{
    padding-top: 8px;
    display: inline-block;

}

.uploaderRemove{
    float:right;
    color:white;
    background:#db2637b0;
    height:38px;
    padding:10px 8px;
    margin-top:0px;
    border-radius: 0px 4px 4px 0px;
}

.uploaderRemove:hover{
    background:#db2637;
}

.uploaderViewFile{
    float:right;
    color:white;
    background:#3bb001b0;
    height:38px;
    padding:10px 8px;
    margin-top:0px;
}

.uploaderViewFile:hover{
    background:#3bb001;
}

/*Progress Bar Guide*/
.progressBarCurrent{
    background: #7188a6;
    padding:10px;
    color:white;
}

.progressBarDone{
    background: #7188a6;
    padding:10px;
    color:white;
}

.progressBarNotDone{
    background: #e2e2e2;
    padding:10px;
    color:black;
}

/*Auto Fill*/
.autocomplete {
    position: relative;
    display: inline-block;
}

.autocomplete-items {
    position: absolute;
    border: 1px solid #d4d4d4;
    border-bottom: none;
    border-top: none;
    z-index: 99;
    top: 100%;
    left: 0;
    right: 0;
}

.autocomplete-items div {
    padding: 10px;
    cursor: pointer;
    background-color: #fff;
    border-bottom: 1px solid #d4d4d4;
}

.autocomplete-items div:hover {
    background-color: #e9e9e9;
}

.autocomplete-active {
    background-color: DodgerBlue !important;
    color: #ffffff;
}


.clickable{
    cursor: pointer;
}
.moveable{
    cursor: move;
}

.adminOptions{
    background: #9a001b !important;
    color: white !important;
}

.recordInfoContainer{
    margin-top: 15px;
}


.serviceSelectBlock{
    padding:20px;
    border-radius: 5px;
    border: 3px solid #e5e5e5;
}

.serviceSelectBlockSelected{
    background: #edf8f0;
    border: 3px solid #35ad56;
}


.serviceSelectBlock > .iconBlock{
    font-size:30px;
    text-align: center;
    color: #485469;
}

.budgetRangeSelectBlock{
    padding:20px;
    border-radius: 5px;
    border: 3px solid #e5e5e5;
}

.budgetRangeSelectBlockSelected{
    background: #edf8f0;
    border: 3px solid #35ad56;
}

.selectBlockSelected{
    background: #edf8f0;
    border: 3px solid #35ad56;
}


.budgetRangeSelectBlock > .iconBlock{
    font-size:30px;
    text-align: center;
    color: #485469;
}




.card-hover:hover{
    cursor: pointer;
    box-shadow: 0 5px 20px 0 rgb(147 147 147 / 50%);
}

.card-shadow{
    box-shadow: 0 2px 10px 0 rgb(207 207 207 / 50%);
}

.iconAlert:after{
    content: " ";
    position: absolute;
    background: red;
    height: 10px;
    top: 1rem;
    left: 15px;
    width: 10px;
    border-radius: 50%;
}


.alertDot{
    content: " ";
    position: absolute;
    background: red;
    height: 10px;
    /*top: 1rem;*/
    /*left: 15px;*/
    width: 10px;
    border-radius: 50%;
}



.criteriaAction{
    margin-top: 15px;
}

.reportCriteriaContainer{
    margin-top: 20px;
}

.dt-button embed {
    outline: none
}

div.dt-buttons {
    position: relative;
    float: left;
}

div.dt-buttons.buttons-right {
    float: right
}

div.dataTables_layout_cell div.dt-buttons {
    float: none
}

div.dataTables_layout_cell div.dt-buttons.buttons-right {
    float: none
}

div.dt-btn-split-wrapper {
    display: inline-block
}

div.dt-button-collection {
    position: absolute;
    top: 0;
    left: 0;
    width: 200px;
    margin-top: 3px;
    padding: 4px 4px 2px 4px;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, 0.4);
    background-color: white;
    overflow: hidden;
    z-index: 2002;
    border-radius: 5px;
    box-shadow: 3px 4px 10px 1px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
    background-color: #485469;
    border-color: #485469;
}

.dt-button{
    display: inline-block;
    font-weight: 400;
    color: #fff;
    background-color: #485469 !important;
    border-color: #485469  !important;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    line-height: 1.5;
    border-radius: 0px;
}

.dt-button:hover{
    display: inline-block;
    font-weight: 400;
    color: #fff;
    background-color: #7987a1 !important;
    border-color: #7987a1  !important;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    line-height: 1.5;
    border-radius: 0px;
}

.cardHoverable:hover{
    box-shadow: 0px 0px 10px #807a7a;
}

.list-item-hover:hover{
    background:#f7f7f7;
}

/*Data Table Style*/
.dataTables_length{
    margin-left: 10px;
}

.dataTables_info{
    margin-top: 10px;
    margin-left: 10px;
}

.paging_simple_numbers{
    margin-right: 10px;
}

.dataTables_filter{
    margin-right: 10px;
}


.dragging {
    border: 4px solid #aaa !important;
}



/* timeline CSS*/

.timeline-steps {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.timeline-steps .timeline-step {
    align-items: center;
    display: flex;
    flex-direction: column;
    position: relative;
    margin: 1rem;
}

@media (min-width:768px) {
    .timeline-steps .timeline-step:not(:last-child):after {
        content: "";
        display: block;
        border-top: .25rem dotted #7987a1;
        width: 3.46rem;
        position: absolute;
        left: 7.5rem;
        top: 1.1rem;
    }
    .timeline-steps .timeline-step:not(:first-child):before {
        content: "";
        display: block;
        border-top: .25rem dotted #7987a1;
        width: 3.8125rem;
        position: absolute;
        right: 7.5rem;
        top: 1.1rem;
    }
}

.timeline-steps .timeline-content {
    width: 10rem;
    text-align: center;
}

.timeline-steps .timeline-content .inner-circle {
    border-radius: 1.5rem;
    height: 3rem;
    width: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #485369;
}

.timeline-steps .timeline-content .current {
    border-radius: 1.5rem;
    height: 1rem;
    width: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #71a68f;
}

.timeline-steps .timeline-content .current:before  {
    content: "";
    background-color: green;
    display: inline-block;
    height: 3rem;
    width: 3rem;
    min-width: 3rem;
    border-radius: 6.25rem;
    opacity: .5;
}



datalist {
    position: absolute;
    max-height: 20em;
    border: 0 none;
    overflow-x: hidden;
    overflow-y: auto;
}

datalist option {
    font-size: 0.8em;
    padding: 0.3em 1em;
    background-color: #ccc;
    cursor: pointer;
}

/* option active styles */
datalist option:hover, datalist option:focus {
    color: #fff;
    background-color: #036;
    outline: 0 none;
}

/*info Tooltip style*/
.tooltipInfo{
    /*background:#fff !important;*/
}

.tooltipBody{
    text-align: left !important;
    background:#fafafa !important;
    padding:0px !important;
    ;
    font-size: 12px !important;
    max-width: 350px !important;
    border: 1px solid #999;
}



/*Table freezing*/
@media (min-width: 576px) {
    .freezeCol {
        position: block;
    }
}

@media (min-width: 992px) {
    .freezeCol{
        position: sticky;
        left: 0;
    }
}

@media (min-width: 576px) {
    .freezeRow {
        position: block;
    }
}

@media (min-width: 992px) {
    .freezeRow{
        position: sticky;
        left:0;
        z-index: 3;
        top: 0;
    }
}


/*Toggle systle placeholder*/

.az-toggle-disabled {
    width: 60px;
    height: 25px;
    background-color: #b4bdce;
    padding: 2px;
    position: relative;
    overflow: hidden;
}

.az-toggle-disabled span {
    position: absolute;
    top: 3px;
    bottom: 3px;
    left: 3px;
    display: block;
    width: 20px;
    background-color: #fff;
    cursor: not-allowed;
    transition: all 0.2s ease-in-out;
}

@media (prefers-reduced-motion: reduce) {
    .az-toggle-disabled span {
        transition: none;
    }
}

.az-toggle-disabled span::before, .az-toggle-disabled span::after {
    position: absolute;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: #fff;
    top: 2px;
    line-height: 1.38;
}

.az-toggle-disabled span::before {
    content: 'yes';
    left: -25px;
}

.az-toggle-disabled span::after {
    content: 'no';
    right: -29px;
}

.az-toggle-disabled.on {
    background-color: #b4bdce;
}

.az-toggle-disabled.on span {
    left: 37px;
}

.tosHeader{
    font-weight: 600;
    text-decoration: underline;
    margin-top: 35px;
}





/*Standard Icons classes*/

.iconOpened:before {
    font-family: "Font Awesome 5 Free";
    content: '\f078';
    font-weight: 900;
}

.iconClosed:before {
    font-family: "Font Awesome 5 Free";
    content: '\f054';
    font-weight: 900;
}


.iconVisable:before {
    font-family: "Font Awesome 5 Free";
    content: '\f06e';
    font-weight: 900;
}

.iconHidden:before {
    font-family: "Font Awesome 5 Free";
    content: '\f070';
    font-weight: 900;
}

.deleted > td{
    color:red;
}


.disabled  {
    cursor: not-allowed !important;
}

#ui-datepicker-div{
    z-index: 9999 !important;
}

.settingsGroupButtonSelector{
    margin: 5px 0px;
}


.alignTextLeft{
    text-align: left;
}

.alignTextCenter{
    text-align: center;
}

.alignTextRight{
    text-align: right;
}

.form-group{
    margin-right: 10px;
    margin-bottom: 10px;
}

.form-group > label{
    font-weight: 500;
    font-size: 13px;
    text-transform: uppercase;
    margin-bottom: 0px;
}

.labelStyle{
    font-weight: 500;
    font-size: 13px;
    text-transform: uppercase;
    margin-bottom: 0px;
    color: #596882;
}


.uploader-container {
    background-color: #fff;
    border-radius: 5px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 600px;
}

.uploader-text h1 {
    font-size: 20px;
    margin-bottom: 5px;
}

.uploader-text p {
    font-size: 14px;
    color: #999;
    margin-bottom: 15px;
}


.uploaderItem{
    border: 2px solid black;
    display: block;
}


@keyframes growProgressBar {
    0%, 33% {
        --pgPercentage: 0;
    }
    100% {
        --pgPercentage: var(--value);
    }
}

@property --pgPercentage {
    syntax: '<number>';
    inherits: false;
    initial-value: 0;
}

div[role="progressbar"] {
    --fg: #00aeef;
    --bg: #def;
    animation: growProgressBar 3s 1 forwards;
    width: 65px;
    height: 65px;
    place-items: center;
    background:
        radial-gradient(closest-side, #EEE 80%, transparent 0 99.9%, #EEE 0),
        conic-gradient(var(--fg) calc(var(--pgPercentage) * 1%), var(--bg) 0)
        ;
    font-size: 18px;
    color: var(--fg);
    margin-left: 15px;
    padding-top: 20px;
    margin-top: -10px;
}

div[role="progressbar"]::before {
    counter-reset: percentage var(--value);
    content: counter(percentage) '%';
}


/*Uploader Normal View*/
.dropArea{
    text-align: center;
    font-size: 24px;
    border: 3px dotted #777;
    border-radius: 5px;
    margin-bottom: 40px;
    padding: 15px;
    cursor: pointer;
}

.uploadRestrictions{
    font-size: 18px;
    margin-top: -35px;
    margin-bottom: 40px;
    padding-left: 5px;
    color: #999;
}

/*.uploaderItemContainer {
    border: 2px solid #999;
    border-radius: 5px;
    margin-bottom: 15px;
    height: 95px;
    position: relative;
}

.uploaderItemContainer.error:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background-color: red;
    z-index: 2;
}*/


/*.uploaderItemPreview{
    min-width: 95px;
    width: 95px;
    text-align: center;
    font-size: 25px;
    padding-top: 25px;
    cursor: pointer;
    background: #EEE;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}*/

/*.uploaderItemPreview:hover{
    text-align: center;
    font-size: 28px;
    padding-top: 22px;
}


.uploaderItemInfo{
    padding-left: 20px;
    padding-top: 15px;
    margin-right: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}*/

/*.uploaderItemOptions{
    color: #555;
    text-align: right;
    min-width:50px;
    font-size: 25px;
    padding-right: 20px;
    vertical-align: middle;
    padding-top: 27px;
    cursor: pointer;
}

.uploaderItemOptions:hover{
    text-align: right;
    width:50px;
    font-size: 28px;
    padding-right: 18px;
    vertical-align: middle;
    padding-top: 22px;

}*/

/*.uploaderItemFileName{
    font-size: 20px;
    padding-bottom: 3px;

}

.uploaderItemFileSize{
    font-size: 16px;

}*/



/*Uploader Slim View*/
/*.dropArea.slim{
    text-align: center;
    font-size: 18px;
    border: 2px dotted #777;
    border-radius: 5px;
    margin-bottom: 10px;
    padding: 5px;
    cursor: pointer;
}

.uploadRestrictions.slim{
    font-size: 14px;
    margin-top: -35px;
    margin-bottom: 10px;
    padding-left: 5px;
    color: #999;
}

.uploaderItemContainer.slim {
    border: 2px solid #999;
    border-radius: 5px;
    margin-bottom: 5px;
    height: 40px;
    position: relative;
    padding-left: 3px;
}

.uploaderItemFileName.slim{
    font-size: 18px;
    padding-top: 5px;
}

.uploaderItemFileSize.slim{
    display:none;
}

.uploaderItemPreview.slim{
    min-width: 40px;
    width: 40px;
    text-align: center;
    font-size: 20px;
    padding-top: 5px;
    cursor: pointer;
    background: #fff;
    color: #555;
    background-image: none !important;
}

.uploaderItemInfo.slim{
    padding-left: 10px;
    padding-top: 0px;
    margin-right: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.uploaderItemOptions.slim{
    color: #555;
    text-align: right;
    min-width: 20px;
    font-size: 20px;
    padding-right: 5px;
    vertical-align: middle;
    padding-top: 5px;
    cursor: pointer;
}*/

div[role="progressbar"].slim {
    --fg: #00aeef;
    --bg: #def;
    animation: growProgressBar 3s 1 forwards;
    width: 35px;
    height: 35px;
    place-items: center;
    background:
        radial-gradient(closest-side, #FFF 80%, transparent 0 99.9%, #FFF 0),
        conic-gradient(var(--fg) calc(var(--pgPercentage) * 1%), var(--bg) 0)
        ;
    font-size: 14px;
    color: var(--fg);
    margin-left: 5px;
    padding-top: 6px;
    margin-top: -5px;
}



.loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 100px;
    margin: 50px auto;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;    /* Important for pseudo-elements */
}

.loading::before {
    content: '';
    display: block;
    width: 34px;
    height: 34px;
    margin-bottom: 10px;
    border-radius: 50%;
    border: 4px solid #f3f3f3;
    border-color: #007bff transparent #007bff transparent;
    animation: spin 1.5s linear infinite;
}

.loading::after {
    content: 'Loading...';
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}




/* Snapshot */
.snapshotViewBody{
    margin-top:0px;
}

.snapshotSection{
    border: 2px solid #dbdbdb;
    border-radius: 2px;
    padding: 10px;
    background: rgb(230 230 230);
    min-height: 80vmin;
}


.snapshotSectionTableView{
    heigh:auto;
}

.snapshotSectionHeader{
    font-weight: 700;
    color: #1c273c;
    margin-bottom: var(--bs-card-title-spacer-y);
    font-size: 1.48rem;
}

.snapshotCardGroup{
    border: 1px solid #cecece;
    border-radius: 3px;
    background: white;
    margin-bottom: 10px;
}

.snapshotCardGroupHeader{
    font-weight: 500;
    color: #1c273c;
    font-size: 1.1rem;
    padding: 10px;
    background:#f7f8f9;
}

.snapshotCardGroupBody{
    color: #1c273c;
    padding: 0px 10px 10px;
    margin-bottom: var(--bs-card-title-spacer-y);
    font-size: 14px;
    margin-bottom:5px;
}

.snapshotCard{
    border: 1px solid #cecece;
    border-radius: 3px;
    padding: 10px;
    background: white;
    min-height: 115px;
    margin-top:10px;
    cursor:pointer;
    position: relative;
}

.snapshotCardText {
    color: black;
}

.snapshotCardText> .title{
    font-size: 16px;
    font-weight:700;
}

.snapshotCardText> .address{
    font-size: 14px;
}

.priorityIcon::before {
    font-family: "Font Awesome 6 Free";
    content: "\f7e4";
    color:red;
}

.scheduledIcon::before {
    font-family: "Font Awesome 6 Free";
    content: "\f017";
}


.page-header{
    background:white;
    padding: 20px 0px 10px;
    margin-bottom:20px;
}


.toggleText{
    display: inline-block;
    vertical-align: middle;
    padding-bottom: 18px;
}


.taskOptions{
    cursor: pointer;
}


.folderTag{
    cursor: pointer;
    border-bottom: solid 1px #cdd4e0;
    padding:10px;
}

.folderTag:hover{
    background:#dfdfdf;
}

.folderTitle{
    font-size:15px;
}


.folderTag.selected{
    background:#dfdfdf;
}

.rounded-top-left-8{
    border-radius: 8px 0px 0px;
}
.rounded-bottom-left-8{
    border-radius: 0px 0px 0px 8px;
}


.buttonBar{
    margin-top:10px;
}


/*Form Builder*/
#formBuilderCanvas {
    display: flex;
    flex-wrap: wrap;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 10px; /* Space between rows */
}

.form-element {
    margin-right: 1%; /* Space between columns */
    margin-bottom: 10px; /* Space between rows */
    box-sizing: border-box;
}

.form-element.inline {
    margin-right: 1%;
}

.form-element:last-child {
    margin-right: 0; /* No margin for the last element in the row */
}

.sortable-placeholder {
    background-color: rgba(0, 123, 255, 0.3);
    flex: 1 1 24%; /* Match form-element width */
    height: 100%; /* Ensure placeholder height matches */
    border: 2px dashed blue;
    margin-right: 1%;
}

.sortable-placeholder:last-child {
    margin-right: 0; /* No margin for the last placeholder in the row */
}






/* Ensure the phase list is displayed in a row */
.phase-list {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto; /* Allow horizontal scrolling if phases exceed container width */
    padding: 10px;
    gap: 10px; /* Add some space between the phase items */
    border-bottom: 1px solid #ddd; /* Optional: Add a border to separate the phases from the settings */
}

/* Container for phase item and chevron */
.phase-container {
    display: flex;
    align-items: center;
}

/* Style each phase item */
.phase-item {
    background-color: #f8f9fa;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ddd;
    cursor: pointer;
    display: flex;
    align-items: center;
    white-space: nowrap;
    margin: 0px 5px;
}

.phase-item.selected {
    background:#353535;
    color:white;
}

.phase-item .moveable {
    cursor: move;
}

/* Style the chevron between phases */
.phase-chevron {
    font-size: 16px;
    color: #007bff; /* Blue color for the chevron */
    margin-left: 5px;
    margin-right: 5px;
}

/* Style the placeholder during drag */
.sortable-placeholder {
    background-color: #e3f2fd;
    border: 2px solid #2196f3;
    border-radius: 4px;
}

/* Style the inspection details section */
.inspection-details {
    padding: 20px;
    border-bottom: 1px solid #ddd; /* Optional: Add a border to separate the settings from the phases */
}

/* Style the phase settings section */
.phase-settings {
    border-top: 1px solid #ddd; /* Optional: Add a border to separate the settings from the phases */
}

/* Ensure the settings bar is displayed in a row */
.phase-settings-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

/* Style the form container items */
.form-container-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    margin-bottom: 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.form-container-item button {
    margin-left: 10px;
}

.formEditSections {
    border-bottom: 2px solid #888;
    padding: 5px 0px;
}

.formsHeader {
    padding-left: 10px;
}
.editSections {
    padding-top: 15px;
    padding-bottom: 35px;
}




.textarea-container {
    position: relative;
}

.field-selector-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.field-selector-dropdown {
    position: absolute;
    top: 40px;
    right: 10px;
    background: white;
    border: 1px solid #ccc;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    width: 200px;
}

.field-selector-dropdown option {
    padding: 5px;
    cursor: pointer;
}

.field-selector-dropdown option:hover {
    background-color: #f0f0f0;
}


.passFailToggle span::before {
    content: "Pass";
    left: -32px;
}

.passFailToggle span::after {
    content: "Fail";
    right: -32px;
}

.passFailToggle {
    background-color: #dc3545;
}

.formOptions{
    padding-left:10px;
    padding-right:10px;
}

.hidden {
    display: none;
}


/* START Company Select */
.custom-select-container {
    position: relative;
    width: 180px;
    margin: 0px 0px 0px 15px;
}

.custom-select {
    padding: 10px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.custom-select::after {
    content: '▼';
    margin-left: 10px;
}

.dropdown-options {
    position: absolute;
    width: 100%;
    border: 1px solid #ccc;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-options div {
    padding: 10px;
    cursor: pointer;
}

.dropdown-options div:hover {
    background-color: #f0f0f0;
}



/* END Company Select */



/* Rotation for different compass directions */
.arrow-n {
    transform: rotate(0deg);
}     /* North */
.arrow-nne {
    transform: rotate(22.5deg);
} /* North-Northeast */
.arrow-ne {
    transform: rotate(45deg);
}    /* Northeast */
.arrow-ene {
    transform: rotate(67.5deg);
} /* East-Northeast */
.arrow-e {
    transform: rotate(90deg);
}     /* East */
.arrow-ese {
    transform: rotate(112.5deg);
}/* East-Southeast */
.arrow-se {
    transform: rotate(135deg);
}   /* Southeast */
.arrow-sse {
    transform: rotate(157.5deg);
}/* South-Southeast */
.arrow-s {
    transform: rotate(180deg);
}    /* South */
.arrow-ssw {
    transform: rotate(202.5deg);
}/* South-Southwest */
.arrow-sw {
    transform: rotate(225deg);
}   /* Southwest */
.arrow-wsw {
    transform: rotate(247.5deg);
}/* West-Southwest */
.arrow-w {
    transform: rotate(270deg);
}    /* West */
.arrow-wnw {
    transform: rotate(292.5deg);
}/* West-Northwest */
.arrow-nw {
    transform: rotate(315deg);
}   /* Northwest */
.arrow-nnw {
    transform: rotate(337.5deg);
}/* North-Northwest */



.user-filter-container {
    display: flex;
    align-items: center;
    gap: 5px;
}

.user-icon-filter {
    width: 38px;
    height: 38px;
    background-color: #D9D9D9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-icon-filter img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.user-badge-filter {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    font-weight: bold;
    font-size: 13px;
    text-transform: uppercase;
    border-radius: 50%;
    transition: box-shadow 0.3s ease; /* Smooth transition for box-shadow effect */

}

.user-badge-filter-selected {
    box-shadow: 0 0 0 4px #4285F4; /* Blue border effect outside */

}




.compact-table td {
    padding: 5px; /* Reduce padding */
}
.compact-table td:first-child {
    padding-right: 5px; /* Optional: Additional tweak for the first column */
}
.compact-table td:nth-child(2) {
    padding-left: 5px; /* Optional: Additional tweak for the second column */
}





.select2-results__group{
    font-size:16px;
    font-weight:700;
    background: #454545;
    color: white;
}


.select2-results__options {
    max-height: 400px !important; /* Default is around 200px */
    overflow-y: auto; /* Ensures scrolling */
}


@media (min-width: 992px) { /* Bootstrap's lg breakpoint */
    .snapshotContainerView.horizontal-scroll-lg {
        flex-wrap: nowrap !important; /* Override Bootstrap .row's wrap */
        overflow-x: auto !important;  /* Enable horizontal scroll */
        overflow-y: hidden; /* Usually good to hide vertical scroll on the container itself */
        /* Consider a min-height if you want the scrollbar to appear consistently */
        /* min-height: calc(100vh - YOUR_HEADER_HEIGHT - YOUR_FOOTER_HEIGHT - SOME_PADDING); */
    }

    .snapshot-column.col-lg-fixed-width {
        flex: 0 0 350px !important; /* Don't shrink, don't grow, basis of 350px */
        max-width: 350px !important; /* Ensure it doesn't exceed 350px */
        /* Override col-lg-4 or similar if it was set for a different layout */
    }
}


.option-new {
    background: #eef9f1;
    color: black;
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
}
.option-new:hover {
    color: black; /* override default hover */
    background: #def2e2; /* optional slightly darker hover background */
}


.map-responsive {
    overflow: hidden;
    padding-bottom: 75%;
    position: relative;
    height: 0;
}
.map-responsive iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
}


/*.snapshot-column > .card > .card-body {
    max-height: 68vh;  Adjust this value to your desired scrollable height 
    overflow-y: hidden;
     Optional: Add some padding if scrollbars overlay content or for better spacing 
    padding-right: 10px;  For the scrollbar 
    padding-bottom: 10px;  Bottom spacing within the scrollable area 
}

 Optional: Nicer scrollbars (Webkit example) for the card-body 
*/
.snapshot-column > .card > .card-body::-webkit-scrollbar {
    width: 8px;
}

.snapshot-column > .card > .card-body::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.3);  /* subtle dark for a sleek look */
    border-radius: 6px;
    border: 2px solid transparent;
    background-clip: padding-box;
    transition: background-color 0.3s ease;
}

.snapshot-column > .card > .card-body::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, 0.5);  /* visual feedback on hover */
}

.snapshot-column > .card > .card-body::-webkit-scrollbar-track {
    background-color: transparent;  /* minimal design */
}


.snapshotContainerView::-webkit-scrollbar {
    width: 6px;
}

.snapshotContainerView::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.3);  /* subtle dark tone */
    border-radius: 6px;
    border: 2px solid transparent;         /* gives a 'floating' look */
    background-clip: padding-box;
    transition: background-color 0.3s;
}

.snapshotContainerView::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, 0.5);  /* stronger on hover */
}

.snapshotContainerView::-webkit-scrollbar-track {
    background-color: transparent;         /* minimal, avoids looking bulky */
}


.phaseGroupContainer{
    overflow:auto;
}

.beta-tag {
    font-size: 0.6em;
    color: #777;
    vertical-align: super; /* Or middle, top, etc. */
    margin-left: 5px;
    font-weight: normal;
    background-color: #f0f0f0;
    padding: 2px 6px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    text-transform: uppercase; /* Common for BETA tags */
    display: inline-block; /* Ensures padding and background apply correctly */
    line-height: 1; /* Adjust if vertical alignment is off */
}



.inspector-list-container .list-group-item {
    margin-bottom: 5px; /* Add a little space between inspector items */
    border-radius: .375rem; /* Consistent Bootstrap border-radius */
}

.inspector-initials-badge {
    display: inline-flex; /* Use flex to center content */
    align-items: center;
    justify-content: center;
    width: 40px;  /* Adjust size as needed */
    height: 40px; /* Adjust size as needed */
    border-radius: 50%; /* Makes it a circle */
    color: white;
    font-weight: bold;
    font-size: 0.9em; /* Adjust font size for initials */
    text-transform: uppercase;
    border: 1px solid rgba(0,0,0,0.1); /* Subtle border */
}

.inspector-name {
    font-weight: 600; /* Make name a bit bolder */
}

.inspector-zone-status {
    font-size: 0.8em;
    display: block; /* Make it take its own line if needed */
}

.inspector-zone-status .fa-map-marked-alt.text-success {
    color: #198754 !important; /* Bootstrap success green */
}

.inspector-zone-status .fa-map-marked-alt.text-muted {
    color: #6c757d !important; /* Bootstrap muted grey */
}

.capacity-badge { /* Custom class for capacity badges */
    font-size: 0.7em !important; /* Smaller font for badges */
    padding: .3em .5em !important;
    margin-bottom: 2px; /* Space between AM/PM badges */
    min-width: 50px; /* Give them a consistent width */
    text-align: right;
}
.capacity-am-badge { /* Sunrise Orange/Yellow */
    background-color: #fff3cd !important; /* Bootstrap's light yellow (bg-warning) */
    color: #664d03 !important;      /* Darker text for contrast */
}
.capacity-pm-badge { /* Nighttime Blue */
    background-color: #cfe2ff !important; /* Bootstrap's light blue (bg-info) */
    color: #052c65 !important;      /* Darker text for contrast */
}

.inspector-daily-load {
    border-top: 1px solid #eee;
    padding-top: 5px;
    margin-top: 8px !important;
}

/* Active state for inspector item */
#inspectorList .list-group-item.active {
    background-color: #e7f1ff; /* A light blue for active state */
    border-color: #0d6efd;
}
#inspectorList .list-group-item.active .inspector-name {
    color: #0b5ed7; /* Darker blue for name when active */
}

.advanced-pin-marker * {
    pointer-events: auto !important;
}


.edit-points-toggle-btn-minimal {
    background: transparent;
    border: none;
    padding: 2px; /* Minimal padding, adjust as needed */
    line-height: 1; /* Crucial for vertical slimness */
    cursor: pointer;
    color: #6c757d; /* Or your preferred icon color */
    display: inline-flex; /* Helps align icon if needed */
    align-items: center;
    justify-content: center;
}

.edit-points-toggle-btn-minimal:hover {
    color: #343a40; /* Darker on hover */
}

/* When collapsed, show pencil, hide times */
.edit-points-toggle-btn-minimal[aria-expanded="false"] .fa-pencil-alt {
    display: inline-block;
}
.edit-points-toggle-btn-minimal[aria-expanded="false"] .fa-times {
    display: none;
}

/* When expanded, hide pencil, show times */
.edit-points-toggle-btn-minimal[aria-expanded="true"] .fa-pencil-alt {
    display: none;
}
.edit-points-toggle-btn-minimal[aria-expanded="true"] .fa-times {
    display: inline-block;
}


.project-grid-column {
    margin-bottom: 24px;
}

.project-grid-card-v2 {
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}

.project-grid-card-v2:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.project-grid-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

.project-grid-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.project-status-badge-v2 {
    position: absolute;
    bottom: 8px;
    left: 8px;
    padding: 4px 8px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #fff;
    border-radius: 4px;
    line-height: 1.2;
}
.project-status-badge-v2.status-active {
    background-color: #28a745;
}
.project-status-badge-v2.status-completed {
    background-color: #007bff;
}
.project-status-badge-v2.status-other {
    background-color: #6c757d;
}


.project-grid-content-v2 {
    padding: 12px 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-title-v2 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: calc(1.1rem * 1.3 * 2);
}

.project-location-v2 {
    font-size: 0.85rem;
    color: #555;
    margin-bottom: 10px;
    line-height: 1.4;
    display: flex;
    align-items: center;
}
.project-location-v2 i {
    margin-right: 6px;
    color: #777;
}

.project-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 8px;
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 12px;
}

.meta-item {
    display: flex;
    align-items: center;
    line-height: 1.4;
    overflow: hidden;
}

.meta-item i {
    margin-right: 6px;
    color: #555;
    flex-shrink: 0;
}
.meta-item span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.project-inspections-v2 {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}

.inspections-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 6px;
}
.inspections-label i {
    margin-right: 4px;
    color: #555;
}

.project-table td .status-icon {

}
.project-table td .status-icon-active {
    color: #28a745; /* Bootstrap Green */
}
.project-table td .status-icon-pending {
    color: #ffc107; /* Bootstrap Amber */
}
.project-table td .status-icon-needs-info {
    color: #17a2b8; /* Bootstrap Info Blue */
}
.project-table td .status-icon-error {
    color: #dc3545; /* Bootstrap Red */
}
.project-table td .status-icon-completed {
    color: #007bff; /* Bootstrap Blue */
}
.project-table td .status-icon-placeholder {
    color: #6c757d; /* Bootstrap Grey */
}
.project-table td .status-icon-deleted {
    color: #343a40; /* Bootstrap Dark */
}
.project-table td .status-icon-unknown {
    color: #6c757d; /* Bootstrap Grey */
}

.project-status-badge-v2.status-active {
    background-color: #28a745;
}
.project-status-badge-v2.status-completed {
    background-color: #007bff;
}
.project-status-badge-v2.status-error {
    background-color: #dc3545;
}
.project-status-badge-v2.status-pending {
    background-color: #ffc107;
    color: #212529;
}
.project-status-badge-v2.status-needs-info {
    background-color: #17a2b8;
}
.project-status-badge-v2.status-other {
    background-color: #6c757d;
}



.az-toggle span::before {
    content: "✔";
    left: -25px;
}

.az-toggle span::after {
    content: "✖";
    right: -29px;
}

.az-toggle span::before, .az-toggle span::after {
    font-size: 15px;
    top: 0px;
}


.na-placeholder {
    color: #bbb;
    font-style: italic;
    font-size: 0.9em;
}



.project-toast-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #28a745; /* Success green */
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 9999;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.project-toast-notification.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.project-toast-notification.fade-out {
    opacity: 0;
    transform: translateY(20px);
}

.toast-content {
    display: flex;
    align-items: center;
}

.toast-message strong {
    font-weight: 600;
}

.toast-action-link {
    color: white;
    background-color: rgba(0, 0, 0, 0.3);
    padding: 5px 10px;
    border-radius: 5px;
    text-decoration: none;
    margin-left: 15px;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.toast-action-link:hover {
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
}

.toast-close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    line-height: 1;
    opacity: 0.7;
    margin-left: 15px;
    cursor: pointer;
}

.toast-close-btn:hover {
    opacity: 1;
}

.builder-toast-notification {
    background-color: #00aeef;
}



/*
 * NOTES VIEW STYLES
 */

.notes-view-container {
    padding: 5px;
    /*background-color: #f8f9fa;*/
}

.notes-view-container h2,
.notes-view-container h3 {
    color: #343a40;
    margin-bottom: 20px;
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 10px;
}

.notes-feed {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 25px;
    height: 240px;
    overflow-y: auto;
    padding-right: 10px;
}

.note-item {
    display: flex;
    align-items: flex-start;
    gap: 12px; /* Space between avatar and text bubble */
}

/* --- MODIFIED --- Avatar is smaller */
.note-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 0.9em; /* Adjusted font size for smaller circle */
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* --- NEW --- This wrapper helps stack the bubble and timestamp */
.note-bubble-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.note-content {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 5px 10px;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: relative;
}

.note-header {
    /*    margin-bottom: 0px;*/
}

.note-author {
    font-weight: 600;
}

/* --- MODIFIED --- Styles for the timestamp moved below the bubble */
.note-timestamp {
    font-size: 0.75em;
    color: #6c757d;
    text-align: right; /* Aligns the text to the right */
    padding-top: 4px;  /* Adds space between bubble and time */
    padding-right: 5px;
}

.note-text p {
    margin: 0;
    color: #212529;
    line-height: 1.5;
    word-wrap: break-word;
}

.notes-divider {
    margin-top: 25px;
    margin-bottom: 15px;
    border-color: #4d4d4d;
}

/* Styles for the 'Add a Note' form */
.add-note-form .note-textarea {
    resize: vertical;
}

.add-note-form .saveNote {
    margin-top: 10px;
}


/* Styles for when there are no notes */
.empty-notes-message {
    text-align: center;
    padding: 40px 0px;
    margin-left:10px;
    margin-top:10px;
    background-color: #fff;
    border: 2px dashed #e0e0e0;
    border-radius: 8px;
    color: #6c757d;
}

.empty-notes-message .fas {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.empty-notes-message p {
    font-size: 1.1em;
    font-weight: 500;
    margin-bottom: 5px;
}


/* New styles for the input form layout */
.note-input-container {
    display: flex;
    align-items: flex-start; /* Aligns items to the top */
    gap: 8px; /* Creates a small space between the input and button */
}

/* The textarea will now grow to fill the available space */
.add-note-form .note-textarea {
    flex-grow: 1;
    resize: vertical;
    min-height: 40px;
}


.notes-feed {
    padding-right: 10px;
}

/* Style the scrollbar itself (the draggable part) */
.notes-feed::-webkit-scrollbar-thumb {
    background-color: #cccccc;
    border-radius: 10px;
    border: 2px solid #f8f9fa; /* Creates padding around the thumb */
}

/* Style the track (the background of the scrollbar) */
.notes-feed::-webkit-scrollbar-track {
    background: #f8f9fa; /* Match the main container's background */
    border-radius: 10px;
}

/* Make the scrollbar thinner */
.notes-feed::-webkit-scrollbar {
    width: 12px;
}

/* Change color on hover for better user feedback */
.notes-feed::-webkit-scrollbar-thumb:hover {
    background-color: #a8a8a8;
}



/* Styles for the Edit/Delete actions menu */
.note-actions {
    position: absolute;
    top: 5px;
    right: 5px;
    cursor: pointer;
}

.note-action-toggle {
    color: #adb5bd;
    padding: 5px;
}
.note-action-toggle:hover {
    color: #343a40;
}

.note-actions-menu {
    display: none; /* Hidden by default */
    position: absolute;
    top: 20px;
    right: 0;
    background-color: white;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 10;
    width: 100px;
}

/* Show the menu when the parent has the 'show-menu' class */
.note-actions.show-menu .note-actions-menu {
    display: block;
}

.note-actions-menu a {
    display: block;
    padding: 8px 12px;
    color: #212529;
    text-decoration: none;
    font-size: 0.9em;
}

.note-actions-menu a:hover {
    background-color: #f8f9fa;
}

/* Styles for the hidden edit form */
.note-edit-form {
    display: none; /* Hidden by default */
}

.note-edit-textarea {
    width: 100%;
    resize: vertical;
    margin-bottom: 8px;
}

.note-edit-controls {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

/* When a note is being edited, hide the text and show the form */
.note-item.is-editing .note-text {
    display: none;
}

.note-item.is-editing .note-edit-form {
    display: block;
}

/* Hide the actions menu when in edit mode */
.note-item.is-editing .note-actions {
    display: none;
}


/* Container for the meta info */
.uploaderItemMeta {
    font-size: 0.8rem; /* Make the text slightly smaller */
    color: #6c757d;    /* A softer color to de-emphasize */
    margin-top: 4px;   /* Add a little space below the filename */
}

/* Add a separator and spacing */
.uploaderItemTimestamp::after {
    content: '•';
    margin: 0 6px;
}

/* Optional: Style the file size differently if you want */
.uploaderItemFileSize {
    font-size: 0.8rem; /* Make the text slightly smaller */
    /*margin: 0 0px;   Provides space around the bullet */
}
.view-switcher {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1rem;
    gap: 0.5rem;
}

.view-switcher i {
    font-size: 1.25rem;
    color: #adb5bd;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: color 0.2s, background-color 0.2s;
}

.view-switcher i:hover {
    color: #007bff;
    background-color: #e9ecef;
}

.view-switcher i.active-view {
    color: #007bff;
    font-weight: 900;
}

/* --- Files Container (Parent for Grid or List) --- */
.uploader-files-container {
    width: 100%;
}

/* --- Grid View Specific Styles --- */
.uploader-files-container.grid-view-container {
    display: flex;
    flex-wrap: wrap;
    gap: 16px; /* Space between cards */
}

/* Individual item when in GRID view */
.uploaderItemContainer.grid {
    position: relative;
    width: calc(25% - 12px); /* 4 cards per row, accounting for gap */
    height: auto;
    display: flex;
    flex-direction: column;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
    overflow: hidden;
    transition: box-shadow 0.2s ease-in-out;
}

.uploaderItemContainer.grid:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.uploaderItemPreview.grid {
    width: 100%;
    min-height: 160px;
    background-color: #e9ecef;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.uploaderItemPreview.grid .preview-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
}

.uploaderItemPreview.grid i {
    font-size: 48px;
    color: #adb5bd;
}

.uploaderItemPreview.grid .progress-bar-round {
    width: 80px;
    height: 80px;
}

.uploaderItemInfo.grid {
    padding: 12px;
    background-color: #fff;
    border-top: 1px solid #ddd;
    flex-grow: 1; /* Ensures info section fills space */
}

.uploaderItemFileName.grid {
    font-weight: 600;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}

.uploaderItemOptions.deleteImage.grid {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}

.uploaderItemContainer.grid:hover .uploaderItemOptions.deleteImage.grid {
    opacity: 1;
}
.uploaderItemContainer.grid.error {
    border-color: #dc3545;
}
.uploaderItemContainer.grid.error .uploaderItemPreview.grid i {
    color: #dc3545;
    padding-top: 55px
}
.uploaderItemContainer.grid.error .uploaderItemFileName.grid {
    color: #dc3545;
}


/* --- List View Specific Styles --- */
.uploaderItemContainer.list {
    display: flex;
    align-items: center; /* Vertically center content */
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
}

.uploaderItemPreview.list {
    width: 60px;
    height: 60px;
    flex-shrink: 0; /* Prevent shrinking */
    background-size: cover;
    background-position: center;
    background-color: #e9ecef;
    border-radius: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    cursor: pointer;
}

.uploaderItemPreview.list i {
    font-size: 24px;
    color: #adb5bd;
}

.uploaderItemPreview.list .progress-bar-round {
    width: 40px;
    height: 40px;
}

.uploaderItemInfo.list {
    text-align: left;
    flex-grow: 1; /* Takes up available space */
}

.uploaderItemFileName.list {
    font-weight: 500;
    margin-bottom: 4px;
}

.uploaderItemOptions.deleteImage.list {
    padding: 0 0.5rem 0 1rem;
    cursor: pointer;
    color: #6c757d;
    transition: color 0.2s;
}
.uploaderItemOptions.deleteImage.list:hover {
    color: #dc3545;
}

.uploaderItemContainer.list.error {
    background-color: #fbe_a_e;
    border-color: #dc3545;
}
.uploaderItemContainer.list.error .uploaderItemPreview.list i {
    color: #dc3545;
}
.uploaderItemContainer.list.error .uploaderItemFileName.list {
    color: #dc3545;
}


/* --- Common/Shared Styles --- */
.uploaderItemMeta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #6c757d;
    flex-wrap: wrap; /* Ensure meta wraps nicely */
}
.uploaderItemMeta span {
    margin-right: 10px;
}
/* Applied to the meta span in both views for error messages */
.uploaderItemFileSize.error {
    font-size: 0.8rem;
    color: #dc3545;
    width: 100%; /* Take full width for error message */
}

/* --- Responsive adjustments for Grid view --- */
@media (max-width: 1200px) {
    .uploaderItemContainer.grid {
        width: calc(33.333% - 11px);
    }
}
@media (max-width: 992px) {
    .uploaderItemContainer.grid {
        width: calc(50% - 8px);
    }
}
@media (max-width: 576px) {
    .uploaderItemContainer.grid {
        width: 100%;
    }
}

/* --- Slim View Specific Styles --- */
.uploader-files-container.slim-view-container .uploaderItemContainer.slim {
    display: flex;
    align-items: center;
    padding: 0.25rem 0.5rem; /* Reduced padding */
    margin-bottom: 4px; /* Tighter spacing */
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 0.25rem;
    height: 50px;
}

.uploader-files-container.slim-view-container .uploaderItemPreview.slim {
    width: 40px; /* Smaller preview */
    height: 40px;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
    background-color: #f8f9fa;
    border-radius: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem; /* Reduced margin */
    cursor: pointer;
}

.uploader-files-container.slim-view-container .uploaderItemPreview.slim i {
    font-size: 20px; /* Smaller icon */
    color: #adb5bd;
}

.uploader-files-container.slim-view-container .uploaderItemPreview.slim .progress-bar-round {
    width: 30px; /* Smaller progress bar */
    height: 30px;
}

.uploader-files-container.slim-view-container .uploaderItemInfo.slim {
    text-align: left;
    flex-grow: 1;
    overflow: hidden; /* Prevent long names from breaking layout */
}

.uploader-files-container.slim-view-container .uploaderItemFileName.slim {
    font-weight: 500;
    font-size: 0.9rem; /* Slightly smaller font */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.uploader-files-container.slim-view-container .uploaderItemMeta {
    font-size: 0.75rem; /* Smaller meta text */
}

.uploader-files-container.slim-view-container .uploaderItemOptions.deleteImage.slim {
    padding: 0 0.25rem 0 0.75rem;
    cursor: pointer;
    color: #6c757d;
    transition: color 0.2s;
}
.uploader-files-container.slim-view-container .uploaderItemOptions.deleteImage.slim:hover {
    color: #dc3545;
}

/* Error state for slim view */
.uploader-files-container.slim-view-container .uploaderItemContainer.slim.error {
    border-color: #dc3545;
}
.uploader-files-container.slim-view-container .uploaderItemContainer.slim.error .uploaderItemPreview.slim i {
    color: #dc3545;
}
.uploader-files-container.slim-view-container .uploaderItemContainer.slim.error .uploaderItemFileName.slim {
    color: #dc3545;
}

/* --- General styles for the new confirm/cancel icons --- */
.uploaderItemOptions .confirm-delete-btn,
.uploaderItemOptions .cancel-delete-btn {
    font-size: 1rem; /* Ensure icons are a consistent size */
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
}

.uploaderItemOptions .confirm-delete-btn:hover,
.uploaderItemOptions .cancel-delete-btn:hover {
    transform: scale(1.25); /* Add a little pop on hover */
}

/* --- GRID VIEW Confirmation Styling --- */
.uploaderItemOptions.deleteImage.grid.confirm-active {
    width: 68px;
    border-radius: 16px;
    background-color: rgba(0, 0, 0, 0.7);
    opacity: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.uploaderItemOptions.grid.confirm-active .confirm-delete-btn {
    color: #28a745; /* Green */
}
.uploaderItemOptions.grid.confirm-active .cancel-delete-btn {
    color: #ff4d4d; /* Brighter Red */
}


/* --- LIST & SLIM VIEW Confirmation Styling --- */
.uploaderItemOptions.list.confirm-active,
.uploaderItemOptions.slim.confirm-active {
    display: flex;
    gap: 15px;
    color: inherit !important;
}

.uploaderItemOptions.list .confirm-delete-btn,
.uploaderItemOptions.slim .confirm-delete-btn {
    color: #28a745; /* Green */
}

.uploaderItemOptions.list .cancel-delete-btn,
.uploaderItemOptions.slim .cancel-delete-btn {
    color: #dc3545; /* Red */
}



.media-viewer-body {
    text-align: center;
    padding: 10px;
}

.media-viewer-image {
    max-width: 80vw;
    max-height: 70vh;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
    margin-bottom: 15px;
}

.media-viewer-pdf {
    width: 80vw;
    height: 80vh;
}

.media-viewer-info {
    font-size: 0.9em;
    margin-bottom: 10px;
    color: #444;
}

.media-viewer-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.media-viewer-unsupported {
    color: #900;
    font-weight: bold;
}
/* --- Main Overlay and Modal Structure --- */
.custom-media-viewer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3000;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.custom-media-viewer {
    background: #2b2b2b;
    color: #f1f1f1;
    width: 95vw;
    height: 95vh;
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- Header --- */
.custom-media-header {
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #444;
    flex-shrink: 0;
    gap: 20px;
}
.custom-media-header h5 {
    margin: 0;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-grow: 1;
}
.custom-media-header .media-info {
    flex-shrink: 0;
    text-align: right;
    color: #aaa !important;
}

/* --- Body & Media Display --- */
.custom-media-body {
    flex-grow: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 10px;
    user-select: none;
    -webkit-user-select: none;
}

.media-display-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.media-inner {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.media-inner img {
    object-fit: contain;
    transform-origin: center center;
    transition: opacity 0.3s;
}

.media-viewer-pdf,
.media-viewer-text {
    width: 100%;
    height: 100%;
    border: none;
}
.media-viewer-text {
    background-color: #f8f9fa;
}
/* --- Navigation Arrows --- */
.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(30, 30, 30, 0.5) !important;
    border: 1px solid #666 !important;
    color: #fff !important;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}
.nav-arrow:hover {
    background: rgba(0, 0, 0, 0.7) !important;
}
#prevMedia {
    left: 20px;
}
#nextMedia {
    right: 20px;
}

/* --- Footer & Controls --- */
.custom-media-footer {
    border-top: 1px solid #444;
    padding: 12px 20px;
    background: rgba(0,0,0,0.2);
    flex-shrink: 0;
}

.media-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.zoom-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.zoom-controls input[type="range"] {
    width: 200px;
    cursor: pointer;
    box-shadow: 0 0 0 0px rgba(255, 255, 255, 0.15);
}

#zoomPercent {
    min-width: 50px;
    text-align: left;
    font-weight: bold;
    color: #f1f1f1;
}

.spinner-border {
    color: #f1f1f1;
}


/* Styling for the new repeatable container */
.repeatable-container {
    border: 1px solid #007bff;
    border-radius: 5px;
    margin-bottom: 15px;
    background-color: #fff;
}

.repeatable-content {
    display: flex;
    flex-wrap: wrap;
    gap: 1%;
}

.repeatable-header {
    display: flex;
    align-items: center;
    background-color: #e7f3ff;
    padding: 8px 12px;
    border-bottom: 1px solid #cce5ff;
    font-weight: bold;
    color: #004085;
}

.repeatable-header .edit-icon {
    margin-left: auto;
    cursor: pointer;
    color: #004085;
}

.repeatable-content {
    padding: 15px;
    min-height: 100px;
    background-color: #fdfdfd;
    border-radius: 0 0 4px 4px;
}

.repeatable-placeholder {
    color: #999;
    text-align: center;
    display: block;
    padding: 20px;
    border: 2px dashed #ddd;
    border-radius: 4px;
}

#formBuilderCanvas > .sortable-placeholder {
    display: block;
    width: 98%;
    background: #f0f8ff;
    border: 1px dashed #666;
    height: 50px;
    margin-bottom: 10px;
}

.repeatable-row {
    display: flex;
    align-items: flex-start;
    /*    border-bottom: 1px solid #e9ecef;
        padding: 15px 0;
        margin-bottom: 10px;*/
}

.repeatable-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.repeatable-row-content {
    flex-grow: 1;
    display: flex;
    flex-wrap: wrap;
}

.repeatable-row-actions {
    margin-left: 15px;
}


.remove-row-btn {
    background: none;
    border: none;
    padding: 5px;
    cursor: pointer;
    line-height: 1; /* Ensures the button doesn't take extra vertical space */
    font-size: 16px; /* Adjust icon size if needed */
    color: #95a5a6; /* A neutral gray color */
    transition: color 0.2s ease-in-out;
}

.remove-row-btn:hover {
    color: #e74c3c; /* A nice red color for hover */
}

/* Styles for the in-line delete confirmation */
.repeatable-row-actions.confirm-active {
    display: flex;
    gap: 8px; /* Adds a little space between the confirm/cancel buttons */
}

/* Hover color for the green confirm button */
.confirm-delete-row:hover {
    color: #27ae60 !important;
}

/* The cancel button can use the same red hover as the trash icon */
.cancel-delete-row:hover {
    color: #e74c3c !important;
}


.repeatable-content.invalid-drop {
    border-color: #e74c3c; /* Red border */
    background-color: #fff2f2; /* Light red background */
}

/* Style for the placeholder when the drop is invalid */
.sortable-placeholder.invalid-placeholder {
    background: #ffe3e3;
    border-color: #e74c3c;
    border-style: solid;
}


.snapshotCard .card-details-toggle {
    position: absolute;
    top: 0px;
    right: 8px;
    z-index: 10;

    /* Style it to be a subtle, clean icon button */
    border: none;
    background: none;
    color: #97a3b9; /* A light gray from your color variables */
    padding: .1rem .25rem;
    font-size: 1.1rem;
}

/* 3. Add a hover effect for better user experience */
.snapshotCard .card-details-toggle:hover {
    color: #3b4863; /* A darker gray from your color variables */
}

/* 4. Remove the blue outline when the button is clicked */
.snapshotCard .card-details-toggle:focus {
    box-shadow: none;
}



.media-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.action-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background-color: #2b2b2b;
    padding: 0.3rem 0.6rem;
    border-radius: 8px;
    border: 1px solid #495057;
}

.rotation-controls, .zoom-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #dee2e6;
}

.rotation-controls .btn {
    border: none;
    background: transparent;
    color: #dee2e6;
    padding: 0.2rem 0.4rem;
    transition: background-color 0.2s ease;
    border-radius: 4px;
}

.rotation-controls .btn:hover {
    background-color: #495057;
}

.nav-arrow {
    background: rgba(248, 249, 250, 0.15);
    color: #f8f9fa;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    border: none;
    transition: background-color 0.2s ease;
}

.nav-arrow:hover {
    background: rgba(248, 249, 250, 0.3);
}



.invoiceCard{
    border: 1px solid #cecece;
    border-radius: 3px;
    padding: 10px;
    background: white;
    margin-top:10px;
    cursor:pointer;
    position: relative;
}


/* * 1. SMS Body Styling
 * Ensures plain text SMS messages wrap correctly and look clean.
 */
.sms-body {
    white-space: pre-wrap;     /* Respects newlines and wraps text */
    word-wrap: break-word;     /* Breaks long words */
    font-family: inherit;      /* Uses your site's default font */
    font-size: 1rem;           /* Ensures it's readable */
    margin-bottom: 0;
}

/* * 2. Email Iframe Wrapper
 * Adds a nice border and shadow, resembling an email client.
 */
.email-preview-wrapper {
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    overflow: hidden; /* Clips the iframe to the rounded corners */
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* * 3. Email Iframe Styling
 * Makes the iframe borderless and sets a scrollable height.
 */
.email-preview-iframe {
    width: 100%;
    height: 600px; /* Provides a scrollable window */
    border: none;
}

/* * 4. Accordion Button Fix
 * Prevents the subject/details from breaking words awkwardly.
 */
.accordion-button .subject,
.accordion-button .details {
    word-break: break-word;
}


.uploader.sm-uploader .dropArea {
  /* Adjust padding to shrink the container's height */
  padding: 10px 15px; 

  /* Shrink the font size for text and the icon */
  font-size: 0.8rem; 
}

/* * You might also want to shrink the icon specifically 
 * if it looks too big after the text shrinks.
 */
.uploader.sm-uploader .dropArea .fa-solid {
  font-size: 1rem; /* Example: make icon slightly larger than text */
  margin-bottom: 5px; /* Example: adjust spacing */
}



.avatar-group {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    cursor: pointer;
}

/* The individual user circles */
.avatar-group .user-badge-filter {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    border: 2px solid #fff; /* Creates the "cutout" effect between badges */
    margin-left: -10px; /* This makes them overlap. Adjust as needed. */
    transition: margin 0.2s;
}

/* Hover effect to spread them out slightly */
.avatar-group:hover .user-badge-filter {
    margin-left: -2px;
    z-index: 2;
}