.cursor-pointer{ cursor: pointer; }
p.parsley-success {color: #ea5455;background-color: #DFF0D8;border: 1px solid #ea5455;font-size: 0.857rem;}
p.parsley-error {color: #ea5455;background-color: #F2DEDE;border: 1px solid #ea5455;font-size: 0.857rem;}
ul.parsley-errors-list {list-style: none;color: #ea5455;padding-left: 0;font-size: 0.857rem;}
input.parsley-error,textarea.parsley-error,select.parsley-error {/*background: #FAEDEC;*/border: 1px solid #ea5455 !important;/*border-bottom: 1px solid #E85445;*/font-size: 0.857rem;}
.btn-group .parsley-errors-list{display: none;}
.menu .app-brand {height: 64px; }
/* Admin Country Select & Phone Input Group */
.input-group select[name="country_code"],
.input-group select.country_code,
.input-group select.phone-country-select {
    width: 125px !important;
    min-width: 110px !important;
    max-width: 140px !important;
    flex: 0 0 125px !important;
    padding-left: 10px !important;
    padding-right: 28px !important;
    font-size: 0.85rem !important;
}
.input-group select[name="country_code"] + input,
.input-group select.country_code + input,
.input-group select.phone-country-select + input {
    flex: 1 1 auto !important;
    width: calc(100% - 125px) !important;
}
.client-badge-link { transition: all 0.2s ease; }
.client-badge-link:hover { transform: translateY(-1px); filter: brightness(0.95); }
.manage-client-link { font-size: 0.75rem; font-weight: 500; color: var(--bs-primary, #7367f0); text-decoration: none; display: inline-flex; align-items: center; transition: all 0.2s ease; }
.manage-client-link:hover { color: var(--bs-primary, #7367f0); text-decoration: underline; }

/* Client List Portal Login Badge */
.client-portal-badge {
    font-size: 0.72rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.2px;
    padding: 0.24rem 0.65rem !important;
    border-radius: 50rem !important;
    display: inline-flex !important;
    align-items: center;
    background: linear-gradient(135deg, rgba(115, 103, 240, 0.12), rgba(115, 103, 240, 0.05)) !important;
    color: #7367f0 !important;
    border: 1px solid rgba(115, 103, 240, 0.3) !important;
    box-shadow: 0 1px 3px rgba(115, 103, 240, 0.08);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none !important;
    cursor: pointer;
    vertical-align: middle;
}
.client-portal-badge:hover {
    background: #7367f0 !important;
    color: #ffffff !important;
    border-color: #7367f0 !important;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(115, 103, 240, 0.35);
}
.client-portal-badge i {
    font-size: 0.8rem;
    transition: transform 0.2s ease;
}
.client-portal-badge:hover i {
    transform: scale(1.15);
}
.client-portal-badge .badge-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #28c76f;
    display: inline-block;
    box-shadow: 0 0 0 2px rgba(40, 199, 111, 0.25);
    transition: all 0.2s ease;
}
.client-portal-badge:hover .badge-status-dot {
    background-color: #ffffff;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.4);
}

.client-portal-badge-empty {
    font-size: 0.72rem !important;
    font-weight: 500 !important;
    padding: 0.22rem 0.6rem !important;
    border-radius: 50rem !important;
    display: inline-flex !important;
    align-items: center;
    background: transparent !important;
    color: #8592a3 !important;
    border: 1px dashed rgba(133, 146, 163, 0.55) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none !important;
    cursor: pointer;
    vertical-align: middle;
}
.client-portal-badge-empty:hover {
    background: rgba(115, 103, 240, 0.1) !important;
    color: #7367f0 !important;
    border: 1px solid #7367f0 !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(115, 103, 240, 0.2);
}
.client-portal-badge-empty i {
    font-size: 0.78rem;
    transition: transform 0.2s ease;
}
.client-portal-badge-empty:hover i {
    transform: scale(1.15);
}

/* Rounded Status Badges */
.status-badge-pill,
.badge.change-status,
.badge.change-switch {
    border-radius: 50rem !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.3px;
    padding: 0.32rem 0.75rem !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease-in-out;
    line-height: 1.25;
}
.status-badge-pill:hover,
.badge.change-status:hover,
.badge.change-switch:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}
.status-badge-pill i,
.badge.change-status i,
.badge.change-switch i {
    font-size: 0.78rem;
}
.layout-wrapper{position: absolute;}

.autocomplete-suggestions { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; border: 1px solid #999; background: #FFF; cursor: default; overflow: auto; -webkit-box-shadow: 1px 4px 3px rgba(50, 50, 50, 0.64); -moz-box-shadow: 1px 4px 3px rgba(50, 50, 50, 0.64); box-shadow: 1px 4px 3px rgba(50, 50, 50, 0.64); }
.autocomplete-suggestion { padding: 2px 5px; white-space: nowrap; overflow: hidden; }
.autocomplete-no-suggestion { padding: 2px 5px;}
.autocomplete-selected { background: #F0F0F0; }
.autocomplete-suggestions strong { font-weight: bold; color: #000; }
.autocomplete-group { padding: 2px 5px; font-weight: bold; font-size: 16px; color: #000; display: block; border-bottom: 1px solid #000; }

.tox .tox-promotion, .tox .tox-statusbar__branding{
    display: none !important;
}

.file-upload {
  position: relative;
  overflow: hidden;
  margin: 10px;
}
.file-upload input.upload {
  position: absolute;
  top: 0;
  right: 0;
  margin: 0;
  padding: 0;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  filter: alpha(opacity=0);
}

.crop-box {
  position: relative;
  height: 400px;
  width: 100%;
  background: #fff;
  overflow: hidden;
  background-repeat: no-repeat;
  background-position: center;
  cursor: move;
}
.crop-box .thumb-box {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200px;
  height: 200px;
  margin-top: -100px;
  margin-left: -100px;
  box-sizing: border-box;
  box-shadow: 0 0 0 1000px rgba(0, 0, 0, 0.5);
  background: none repeat scroll 0% 0% transparent;
}
.crop-box .spinner {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  text-align: center;
  line-height: 400px;
  background: rgba(0, 0, 0, 0.7);
}

.state-loading{
  position:relative
}
.state-loading::before{
  content:" ";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  top:-2px;
  background:rgba(0,0,0,0.5);
  z-index:99
}
.state-loading::after{
  display:inline-block;
  font-family:tabler-icons;
  font-kerning:auto;
  line-height:35px;
  font-size:35px;
  font-style:normal;
  font-synthesis:weight style;
  font-weight:normal;
  animation:2s linear 0s normal none infinite running fa-spin;
  color:#fff;
  content:"\eca3";
  left:50%;
  position:absolute;
  text-align:center;
  top:50%;
  z-index:100;
  margin-top:-10px;
  margin-left:-10px
}
.mobile-700 {
    min-width: 100% !important;
}
@media only screen and (max-width: 600px) {
    .mobile-700 {
        min-width: 700px !important;
    }
}





.file-preview-item h6 {
    font-size: 13px;
    margin-bottom: 0;
}

.file-preview-item {
    padding: 8px;
    border: 1px solid #ebedf2;
    border-radius: 0.25rem;
}

.file-preview-item p {
    font-size: 10px;
    margin-bottom: 0;
    color: var(--secondary);
}
.file-preview-item .thumb {
    -ms-flex: 0 0 50px;
    flex: 0 0 50px;
    max-width: 100%;
    text-align: center;
    background: #f1f2f4;
    font-size: 20px;
    color: #92969b;
    border-radius: 0.25rem;
    overflow: hidden;
}
.file-preview-item .remove {
    -ms-flex: 0 0 52px;
    flex: 0 0 52px;
    max-width: 52px;
    width: 52px;
}
.file-preview-item .body {
    min-width: 0;
}

.file-preview.box a {
    color: inherit;
}
.file-preview.box:after {
    content: "";
    clear: both;
    display: table;
}
.file-preview.box .file-preview-item {
    width: 160px;
    float: left;
    margin-right: 0.5rem;
    padding: 0;
    display: block !important;
    position: relative;
}
.file-preview.box .thumb {
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0;
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
}
.file-preview.box.sm .file-preview-item {
    width: 100px;
    float:left;
}
.file-preview.box .body {
    padding: 0;
    padding: 8px 8px 2px;
}
.file-preview.box .remove {
    position: absolute;
    top: -6px;
    right: -6px;
    width: auto;
    max-width: 100%;
}
.file-preview.box .remove .btn {
    padding: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #eaeaea;
}
.h-300px{
    height: 300px;
}

.heartbeat {
    animation: heartbeat 1.2s infinite;
}

/* Ensure SweetAlert2 confirmation dialogs always display in front of MagnificPopup and Bootstrap modals */
.swal2-container,
div:where(.swal2-container),
.light-style .swal2-container,
.dark-style .swal2-container,
.swal2-modal-top-layer {
    z-index: 20000 !important;
}

/* Ensure Select2 dropdowns always display in front of modals and Magnific Popup */
.select2-container--open,
.select2-dropdown {
    z-index: 10050 !important;
}

/* Documents Vault Custom Styling */
.text-hover-primary {
    transition: color 0.15s ease-in-out;
}
.text-hover-primary:hover {
    color: #7367f0 !important;
    text-decoration: underline;
}
#documents_vault_table td {
    vertical-align: middle !important;
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
}

/* Dashboard Activity Card Segmented Tabs */
.dashboard-activity-pills {
    border: 1px solid #e2e8f0 !important;
}
.dashboard-activity-pills .nav-link {
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border: none !important;
    color: #64748b !important;
    background: transparent !important;
}
.dashboard-activity-pills .nav-link:hover:not(.active) {
    background-color: #f1f5f9 !important;
    color: #0f172a !important;
}
.dashboard-activity-pills .nav-link.active {
    background: var(--bs-primary, #7367f0) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 6px rgba(115, 103, 240, 0.32) !important;
}
.dashboard-activity-pills .nav-link.active i {
    color: #ffffff !important;
}
.dashboard-activity-pills .nav-link.active .badge {
    background-color: rgba(255, 255, 255, 0.28) !important;
    color: #ffffff !important;
}
