:root {
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-light: #eff6ff;
  --primary-light-hover: #dbeafe;
  --navbar-bg: #fff;
  --navbar-text: #334155;
  --navbar-active-bg: #f1f5f9;
  --navbar-active-text: #0f172a;
  --navbar-hover-bg: #f1f5f9;
  --navbar-border: #e2e8f0;
  --body-bg: #f8fafc;
  --btn-radius: 8px;
  --btn-font-weight: 600;
  --card-radius: 12px;
  --card-border: 1px solid #e5e7eb;
  --card-shadow: 0 2px 10px rgba(0,0,0,.04);
  --input-radius: 8px;
  --input-border: #d1d5db;
  --input-focus-border: var(--primary);
  --input-focus-shadow: 0 0 0 3px rgba(37,99,235,.1);
  --table-header-bg: #f1f5f9;
  --table-header-color: #1e293b;
  --table-header-weight: 600;
  --transition-fast: .15s ease;
  --transition-normal: .25s ease;

  --card-hover-shadow: 0 12px 25px rgba(0,0,0,.08);
  --btn-transition: all .25s ease;
  --table-row-hover: #f1f5f9;
  --table-radius: 12px;
  --badge-radius: 6px;
  --badge-weight: 500;
  --progress-height: 10px;
  --progress-radius: 10px;
  --modal-radius: 12px;
  --modal-shadow: 0 20px 60px rgba(0,0,0,.15);
  --alert-radius: 10px;
  --dropdown-radius: 10px;
  --dropdown-shadow: 0 10px 30px rgba(0,0,0,.1);
  --pagination-radius: 8px;
  --pagination-active-bg: var(--primary);
  --search-radius: 30px;
  --search-bg: #f1f5f9;
  --tab-active-border: var(--primary);
  --tab-active-color: var(--primary);
  --navbar-glass-bg: rgba(255,255,255,0.85);
  --scrollbar-thumb: #cbd5e1;
  --scrollbar-track: transparent;
  --empty-color: #94a3b8;

  --heading-color: #0f172a;
  --text-color: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --link-color: var(--primary);
  --link-hover-color: var(--primary-hover);
  --divider-color: #e5e7eb;

  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 12px;
  --spacing-base: 16px;
  --spacing-lg: 20px;
  --spacing-xl: 24px;
  --spacing-2xl: 32px;
  --spacing-3xl: 48px;

  --focus-ring: 0 0 0 3px rgba(37,99,235,.15);
  --btn-padding-y: 7px;
  --btn-padding-x: 16px;
  --btn-height: 36px;
  --input-padding-y: 8px;
  --input-padding-x: 12px;
  --input-height: 36px;
  --select-height: 36px;
  --badge-padding-y: 4px;
  --badge-padding-x: 10px;
  --alert-padding: 14px 16px;
  --modal-body-padding: 24px;
  --modal-header-padding: 16px 24px;
  --modal-footer-padding: 16px 24px;
  --panel-body-padding: 20px;
  --panel-footer-padding: 12px 20px;
  --table-cell-padding-y: 12px;
  --table-cell-padding-x: 16px;
  --widget-spacing: 24px;
  --section-spacing: 24px;
  --form-group-margin: 16px;
}
body {
  font-family: "Inter", sans-serif;
  color: #334155;
  background: var(--body-bg);
  margin: 0;
  padding: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  min-height: 100vh;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

body,
html {
  font-size: 16px;
}

body > * {
  font-size: 14px;
}

rt.display-block {
  display: block;
}

.tooltip {
  position: fixed;
}

.color-white {
  color: #fff !important;
}

.col-xs-5ths,
.col-sm-5ths,
.col-md-5ths,
.col-lg-5ths {
  position: relative;
  min-height: 1px;
  padding-right: 15px;
  padding-left: 15px;
}

.col-xs-5ths {
  width: 20%;
  float: left;
}

@media (min-width: 768px) {
  .col-sm-5ths {
    width: 20%;
    float: left;
  }
}

@media (min-width: 992px) {
  .col-md-5ths {
    width: 20%;
    float: left;
  }
}

@media (min-width: 1200px) {
  .col-lg-5ths {
    width: 20%;
    float: left;
  }
}

[dir="rtl"] .mright5 {
  margin-right: 0px;
  margin-left: 5px;
}

[dir="rtl"] .mright10 {
  margin-right: 0px;
  margin-left: 10px;
}

[dir="rtl"] .mleft5 {
  margin-left: 0px;
  margin-right: 5px;
}

[dir="rtl"] .mleft10 {
  margin-left: 0px;
  margin-right: 10px;
}

[dir="rtl"] .input-group-addon:last-child {
  border-left: 1px solid #ccc;
}

[dir="rtl"] .colorpicker.colorpicker-visible.dropdown-menu {
  left: 0px !important;
  right: auto;
  padding-left: 3px;
  margin-left: 45px;
}

.border-right {
  border-right: 1px solid #f0f0f0;
}

.line-throught {
  text-decoration: line-through;
}

.full-width {
  width: 100%;
}

.no-margin {
  margin: 0px !important;
}

.no-mtop {
  margin-top: 0px !important;
}

.no-p-left {
  padding-left: 0px !important;
}

.no-p-right {
  padding-right: 0px;
}

.relative {
  position: relative;
}

.font-medium {
  font-size: 15px;
}

.inline-block {
  display: inline-block;
}

.alert-validation {
  margin-top: 5px;
}

.table-image {
  height: 75px;
  width: 250px;
  margin: 15px 0px;
}

.announcement small {
  font-size: 12px;
  color: #333;
}

.announcement {
  font-size: 14px;
}

.bgwhite {
  background: white;
  border: 1px solid #e4e5e7;
}

.warning-bg {
  background: #ff6f00 !important;
  color: #fff !important;
  border: 1px solid #ff6f00 !important;
}

.success-bg {
  background: #84c529 !important;
  color: #fff !important;
  border: 1px solid #84c529 !important;
}

.primary-bg {
  background: #28b8da;
  color: #fff !important;
  border: 1px solid #28b8da;
}

.info-bg {
  background: #03a9f4 !important;
  color: #fff !important;
  border: 1px solid #03a9f4 !important;
}

.danger-bg {
  background: #fc2d42 !important;
  color: #fff !important;
  border: 1px solid #fc2d42 !important;
}

.submenu {
  display: inline-block;
  float: right;
  margin-bottom: 25px;
}

.submenu li {
  display: inline-block;
  margin-right: 15px;
}

.submenu li:last-child {
  margin-right: 0px;
}

.submenu li a {
  font-size: 17px;
  color: #475569 !important;
}

.submenu li a:hover,
.submenu li a:active,
.submenu li a:focus {
  color: #1e293b !important;
}

.tickets table tr.text-danger a {
  color: #fc2d42;
}

.animated {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.fadeIn {
  -webkit-animation-name: fadeIn;
  animation-name: fadeIn;
}

@-webkit-keyframes fadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

.fadeOut {
  -webkit-animation-name: fadeOut;
  animation-name: fadeOut;
}

@-webkit-keyframes fadeInRight {
  from {
    opacity: 0;
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

.fadeInRight {
  -webkit-animation-name: fadeInRight;
  animation-name: fadeInRight;
}

@-webkit-keyframes fadeInLeft {
  from {
    opacity: 0;
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

.fadeInLeft {
  -webkit-animation-name: fadeInLeft;
  animation-name: fadeInLeft;
}

@-webkit-keyframes fadeOutLeft {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
  }
}

@keyframes fadeOutLeft {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
  }
}

.fadeOutLeft {
  -webkit-animation-name: fadeOutLeft;
  animation-name: fadeOutLeft;
}

@-webkit-keyframes fadeOutRight {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
  }
}

@keyframes fadeOutRight {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
  }
}

.fadeOutRight {
  -webkit-animation-name: fadeOutRight;
  animation-name: fadeOutRight;
}

.text-white {
  color: #fff !important;
}

#wrapper {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

footer {
  background: #f1f5f9;
  padding: 15px;
  width: 100%;
  height: 50px;
  margin-top: 25px;
  border-top: 1px solid #e2e8f0;
}

h1,
h2,
h3,
h4 {
  font-weight: 400;
}

h1,
h2 {
  font-size: 24px;
}

h3 {
  font-size: 20px;
}

h4 {
  font-size: 18px;
}

.h4,
h4,
.h3,
h3 {
  font-weight: 400;
}

a:hover,
a:focus,
a:active,
a:visited {
  text-decoration: none;
}

.navbar {
  padding: 0;
  min-height: 56px;
  border-radius: 0;
}

.navbar-default {
  border: 0;
}

.navbar-default .navbar-nav > li > a {
  color: var(--navbar-text);
  line-height: 60px;
  font-size: 14.5px;
  display: inline-block;
  margin-right: 3px;
  font-weight: 500;
  padding: 0 12px !important;
}

.navbar-default .navbar-nav > li > a i {
  margin-right: 5px;
  color: inherit;
}

.navbar-default .navbar-nav > li:last-child > a {
  margin-right: 0;
}

@media (min-width: 768px) {
  .navbar-nav > li > a {
    padding: 8px 10px;
  }
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:focus,
.navbar-default .navbar-nav > .active > a:hover {
  color: #fff;
  border-radius: 24px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
}

.navbar-default .navbar-nav > li.dropdown > a.dropdown-toggle:focus,
.navbar-default .navbar-nav > li.dropdown > a.dropdown-toggle:hover {
  background: transparent;
  border-radius: 0;
}
.navbar-default .navbar-nav > li.customers-nav-item-profile > a {
  padding: 0 !important;
  margin-top: 10px;
  line-height: 1 !important;
}

.navbar a.navbar-brand {
  padding: 14px 0;
  height: auto;
  margin-right: 10px;
}

.navbar a.navbar-brand img {
  width: auto;
  height: 34px;
}

.navbar-default .navbar-nav > li.customers-nav-item-login > a {
  background: var(--primary) !important;
  color: #fff !important;
  display: inline-block;
  font-weight: 600;
  font-size: 14px;
  border-radius: 24px !important;
  padding: 8px 22px;
  margin-left: 10px;
  margin-top: 12px;
  line-height: 1.4 !important;
}

.navbar-default .navbar-nav > li.customers-nav-item-login > a:hover,
.navbar-default .navbar-nav > li.customers-nav-item-login > a:active {
  background: var(--primary-hover) !important;
  border-radius: 6px !important;
}

@media (max-width: 767px) {
  .customers-nav-item-languages {
    display: none;
  }
}

.btn.btn-input-group {
  padding: 7px 16px;
  border: 1px transparent;
}

.btn-icon {
  padding: 2px 6px 2px 6px !important;
}

.original-button {
  margin-top: 22px;
  padding: 6px 12px;
}

#client-home-chart {
  max-width: 100%;
}

.client-reply .panel-body {
  background: #fefce8 !important;
  color: #854d0e;
}

body.viewinvoice .alert {
  margin-top: 10px;
  margin-bottom: -7px;
  border-radius: 1px;
}

.navbar-default .navbar-brand.logo-text {
  font-size: 24px;
  margin-top: 13px;
  display: inline-block;
  color: var(--navbar-text);
  font-weight: 600;
}

.logo-text:hover,
.logo-text:focus,
.logo-text:active {
  color: var(--navbar-active-text);
}

@media (max-width: 767px) {
  .navbar a.navbar-brand img {
    margin-left: 25px;
  }

  .navbar-default .navbar-brand.logo-text {
    margin-left: 15px;
    margin-top: 15px;
  }
}

.p7 {
  padding: 7px;
}

.p8 {
  padding: 8px;
}

.p8-half {
  padding: 8.5px;
}

.p15 {
  padding: 15px;
}

.valign-middle {
  vertical-align: middle;
}

.mtop5 {
  margin-top: 5px;
}

.mtop7 {
  margin-top: 7px;
}

.mtop10 {
  margin-top: 10px;
}

.mtop15 {
  margin-top: 15px;
}

.mtop20 {
  margin-top: 20px;
}

.mtop25 {
  margin-top: 25px;
}

.mtop30 {
  margin-top: 30px;
}

.mtop40 {
  margin-top: 40px;
}

.mbot5 {
  margin-bottom: 5px;
}

.mbot10 {
  margin-bottom: 10px;
}

.mbot15 {
  margin-bottom: 15px;
}

.mbot20 {
  margin-bottom: 20px;
}

.mbot25 {
  margin-bottom: 25px;
}

.mbot30 {
  margin-bottom: 30px;
}

.mbot40 {
  margin-bottom: 40px;
}

.mleft5 {
  margin-left: 5px;
}

.mleft10 {
  margin-left: 10px;
}

.mright5 {
  margin-right: 5px;
}

.mright10 {
  margin-right: 10px;
}

.padding-30 {
  padding: 30px !important;
}

.no-mbot {
  margin-bottom: 0px;
}

.invoice-quick-info h5 {
  margin-top: 0px;
}

.table.items {
  margin-top: 25px;
  font-size: 13.5px;
}

.table.items thead {
  background: var(--table-header-bg);
  color: var(--table-header-color);
}

.table.items > thead:first-child > tr:first-child > th {
  border-top: 1px solid #e2e8f0;
}

.table.items thead th {
  border-right: 1px solid #e2e8f0;
}

.table.items thead th:first-child {
  border-left: 1px solid #e2e8f0;
}

.table.items tbody > tr > td,
.table.items thead > tr > th {
  padding: 8px 10px;
}

.navbar-default .navbar-collapse,
.navbar-default .navbar-form {
  border-color: #e2e8f0;
}

.navbar-default .navbar-toggle {
  border-color: transparent;
}

.navbar-default .navbar-toggle .icon-bar {
  background-color: #cbd5e1;
}

.navbar-default .navbar-toggle:focus,
.navbar-default .navbar-toggle:hover {
  background-color: transparent;
}

@media (max-width: 767px) {
  .navbar-default .navbar-nav > li > a {
    line-height: 35px;
    color: #64748b;
  }

  .navbar-default .navbar-nav > .active > a,
  .navbar-default .navbar-nav > .active > a:focus,
  .navbar-default .navbar-nav > .active > a:hover,
  .navbar-default .navbar-nav > li > a:focus,
  .navbar-default .navbar-nav > li > a:hover {
    background: transparent;
  }

  .navbar-default .navbar-nav .open .dropdown-menu > li > a {
    color: #475569;
  }

  .navbar-default .navbar-nav > li.customers-nav-item-login {
    padding-bottom: 10px;
  }

  .navbar-default .navbar-nav > li.customers-nav-item-login > a {
    margin-left: 15px;
  }

  .navbar a.navbar-brand {
    padding: 13px 0px 19px 0px;
  }

  .navbar-toggle {
    margin-top: 15px;
  }

  #staff_logged_in {
    display: none;
  }

  .viewestimate .panel-body,
  .viewinvoice .panel-body {
    padding: 0px;
  }
}

.dataTables_length select {
  padding-top: 5px;
  height: inherit;
}

[dir="rtl"] div.dataTables_wrapper div.dataTables_filter {
  text-align: left;
}

[dir="rtl"] div.dataTables_wrapper {
  direction: rtl;
}

[dir="rtl"] div.dataTables_wrapper div.dataTables_filter .input-group-addon {
  border-right: 1px solid #bfcbd9;
}

.label-href:visited,
.label-href {
  outline: 0 !important;
  border: 0 !important;
}

.pointer {
  cursor: pointer;
}

.mime {
  background-repeat: no-repeat;
  background-position: 0 0;
  padding: 1px 0 4px 26px;
}

.mime-word {
  background-image: url(../../../images/mime/word.png);
}

.mime-excel {
  background-image: url(../../../images/mime/excel.png);
}

.mime-powerpoint {
  background-image: url(../../../images/mime/powerpoint.png);
}

.mime-pdf {
  background-image: url(../../../images/mime/pdf.png);
}

.mime-zip {
  background-image: url(../../../images/mime/zip.png);
}

.mime-image {
  background-image: url(../../../images/mime/image.png);
}

.mime-file {
  background-image: url(../../../images/mime/file.png);
}

.mime-photoshop {
  background-image: url(../../../images/mime/photoshop.png);
}

.mime-illustrator {
  background-image: url(../../../images/mime/illustrator.png);
}

.mime-video {
  background-image: url(../../../images/mime/video.png);
}

.mime-audio {
  background-image: url(../../../images/mime/audio.png);
}

.files-container {
  margin: 0 0 10px;
}

.files {
  padding-left: 0;
  list-style: none;
  margin: 0;
}

.hr-10 {
  margin-top: 10px;
  margin-bottom: 10px;
}

.mime > a {
  color: #555 !important;
  text-decoration: none;
}

.white {
  color: #fff;
}

.advanced-editor-wrapper {
  border: 1px solid #ccc;
  margin-bottom: 15px;
}

.staff-profile-image-small {
  height: 32px;
  width: 32px;
  border-radius: 50%;
}

.staff-profile-xs-image {
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

.staff-profile-image-small {
  height: 32px;
  width: 32px;
  border-radius: 50%;
}

.staff-profile-image-thumb {
  height: 160px;
  width: 160px;
  border-radius: 50%;
}

.task-attachment {
  border: 1px solid #f0f0f0;
  padding: 10px;
  border-radius: 3px;
  max-height: 255px;
  min-height: 255px;
  overflow: hidden;
}

.task-attachment .task-attachment-no-preview {
  margin-top: 45px;
  text-align: center;
}

.task-attachment .preview_image {
  margin: 0px;
  width: 100%;
}

.task-attachment .open-in-external {
  position: absolute;
  right: 30px;
}

.task-attachment .task-attachment-user {
  padding-bottom: 10px;
  display: inline-block;
  width: 100%;
  margin-left: 0px;
  border-bottom: 1px solid #f0f0f0;
}

.media-body {
  word-break: break-word;
}

#proposal-wrapper {
  overflow: hidden;
  min-height: 100%;
}

#proposal-wrapper .proposal-left img {
  margin-left: 10px;
  margin-right: 10px;
}

div.proposal-wrapper img:not(.media-object) {
  display: block;
  max-width: 100%;
  height: auto;
}

.proposal-comment {
  display: inline-block;
  width: 100%;
  margin-bottom: 15px;
}

.table.proposal-items thead > tr > th {
  padding-left: 10px;
}

.table.proposal-items tbody > tr > td,
.table.proposal-items thead > tr > th {
  text-align: left;
}

.client-profile-image-small {
  height: 32px;
  width: 32px;
  border-radius: 50%;
}

.client-profile-image-thumb {
  height: 160px;
  width: 160px;
  border-radius: 50%;
}

#task h4 {
  font-size: 15px;
}

#task h5 {
  font-size: 14px;
}

#task .task-info {
  font-size: 10px;
  vertical-align: middle;
  padding: 10px;
}

#task .task-info h5 {
  font-size: 13px;
  font-weight: 400;
}

.jquery-comments [contentEditable="true"]:empty:not(:focus):before {
  color: #a1b4cc;
  font-size: 14px;
}

.jquery-comments ul.main {
  list-style: none !important;
}

.jquery-comments.tc-content ul.main ul:not(.child-comments) {
  list-style: initial !important;
}

.jquery-comments ul.navigation li,
.jquery-comments ul.main li.comment .actions > *,
.jquery-comments ul.main li.comment .name,
.jquery-comments .highlight-font-bold {
  font-weight: 500 !important;
}

.jquery-comments ul.main li.comment .name {
  color: #0081bb;
}

.jquery-comments ul.main li.comment .wrapper .content {
  padding: 5px 0px 5px 0px;
}

.jquery-comments ul.navigation li {
  color: #323a45;
}

.jquery-comments .textarea-wrapper .control-row > span.upload {
  padding: 5px 20px;
  background-color: #7d838b;
}

.jquery-comments .highlight-background {
  background: #03a9f4 !important;
}

.jquery-comments .textarea-wrapper .control-row > span {
  padding: 5px 20px !important;
  border-radius: 4px;
}

.jquery-comments .textarea-wrapper .control-row {
  margin-top: 10px;
}

.jquery-comments ul.main li.comment .actions > * {
  color: #7c838b;
}

.jquery-comments ul.navigation .navigation-wrapper {
  padding: 10px 0px 0px 0px;
}

.jquery-comments ul.navigation {
  border-bottom: 1px solid #efefef;
  margin-bottom: 1.5em;
}

.jquery-comments .textarea-wrapper {
  padding-left: 21px;
}

.jquery-comments .textarea-wrapper:before {
  border: 0px;
}

.jquery-comments .textarea-wrapper .textarea {
  border-radius: 3px;
  border: 1px solid #bfcbd9;
}

.project-info-bg {
  background: #fbfbfb !important;
  color: #333 !important;
  border-top: 1px solid #e4e5e7;
  border-left: 1px solid #e4e5e7;
  border-right: 1px solid #e4e5e7;
  font-weight: 500;
}

.no-radius {
  border-radius: 0px !important;
}

.team-members .panel-body {
  padding: 0px;
}

.team-members .media-left {
  padding: 10px;
}

.team-members .media-body {
  padding-right: 10px;
  padding-top: 12px;
}

.team-members .media:last-child {
  border-bottom: 0px;
}

.team-members .media {
  margin-top: 0px;
  border-bottom: 1px solid #f0f0f0;
}

.project-percent {
  position: absolute;
  font-size: 33px;
  font-weight: 500;
  top: 35%;
  left: 0;
  right: 0;
}

.project-file-image {
  border: 1px solid #f0f0f0;
  border-radius: 4px;
  margin-right: 15px;
}

#task-tracking-stats-modal {
  z-index: 999999999999;
}

.phase-logged-time {
  color: #3b6900;
}

.progress-bg-dark {
  background-color: #7c838b;
}

.project-overview-progress-bar {
  height: 50px;
  background-color: #7c838b;
  position: relative;
}

.project-overview-progress-bar .project-progress-number {
  font-size: 16px;
  position: absolute;
  display: block;
  width: 100%;
  color: #fff;
  font-weight: 500;
  margin-top: 15px;
  text-shadow: 0px 0px 2px #333;
}

.task-user {
  border: 1px solid #f0f0f0;
  padding: 2px;
  border-radius: 50%;
  vertical-align: middle;
  margin-right: 10px;
  display: inline-block;
  position: relative;
}

.task-checklist-indicator {
  border-radius: 50%;
  border: 1px solid #f0f0f0;
  width: 20px;
  height: 21px;
  display: inline-block;
}

.task-checklist-indicator i {
  margin: 0 auto;
  vertical-align: middle;
  margin-left: 3px;
}

#task-comments {
  background: #fdfdfd;
  margin-right: -20px;
  margin-left: -20px;
  padding: 20px;
  display: inline-block;
}

form.dropzone {
  background-color: #fbfdff;
  border: 1px dashed #c0ccda;
  border-radius: 6px;
}

.dropzone .dz-message {
  margin-top: 45px;
  color: #03a9f4;
}

@media (max-width: 768px) {
  #content {
    padding: 15px;
  }

  ._buttons .mleft5 {
    margin-left: 0px !important;
  }

  ._buttons .mright10 {
    margin-right: 0px !important;
  }

  ._buttons .pull-left,
  ._buttons .pull-right {
    float: none !important;
  }

  ._buttons .btn,
  ._buttons .btn-group {
    display: inline-block;
    margin-left: 0px !important;
    width: 100%;
    margin-bottom: 5px !important;
    float: none !important;
  }

  .project-overview-column {
    margin-top: 15px;
  }
}

.tasks-phases .kan-ban-col .panel-heading {
  padding-left: 15px;
  padding-right: 15px;
  padding-top: 5px;
  padding-bottom: 5px;
}

.tasks-phases .panel-body {
  background: #fbfbfb;
  padding: 10px;
}

.tasks-phases ._task_wrapper {
  background: #fff;
  padding: 5px 10px 5px 10px;
  border: 1px solid #e4e5e7;
  border-radius: 4px;
}

.activity-feed {
  padding: 15px;
}

.activity-feed .feed-item {
  position: relative;
  padding-bottom: 20px;
  padding-left: 30px;
  border-left: 2px solid #84c529;
}

.activity-feed .feed-item:last-child {
  border-color: transparent;
}

.activity-feed .feed-item:after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: -6px;
  width: 10px;
  height: 10px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid #4b5158;
}

.activity-feed .feed-item .date {
  position: relative;
  top: -5px;
  color: #333;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 500;
}

.activity-feed .feed-item .text {
  position: relative;
  top: -3px;
}

.full-screen-modal {
  width: 90%;
  height: 90%;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  overflow-y: initial !important;
}

.full-screen-modal .modal-content {
  height: 100%;
  min-height: 100%;
  max-height: 100%;
}

.full-screen-modal .modal-footer {
  bottom: 0px;
  position: absolute;
  width: 100%;
}

.project_file_discusssions_area,
.project_file_area {
  overflow-y: scroll;
  height: 400px;
}

@media (max-width: 768px) {
  .project_file_discusssions_area,
  .project_file_area {
    height: auto !important;
  }

  .full-screen-modal {
    width: auto;
    height: auto;
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    margin: 10px;
    overflow-y: initial !important;
  }

  .project_file_discusssions_area {
    margin-top: 30px;
  }

  .full-screen-modal .modal-footer {
    width: auto;
    position: relative !important;
  }
}

.preview_image {
  height: auto;
  width: 250px;
  overflow: hidden;
  margin-bottom: 15px;
  margin-top: 15px;
}

.preview_image:last-child {
  margin-top: 0px;
  margin-bottom: 0px;
}

.preview_image img {
  width: 100%;
  height: auto;
}

.fc-event {
  padding: 8px !important;
  border: 0px !important;
  border-radius: 2px !important;
  margin: 5px 10px 5px 10px !important;
  font-size: 11px;
  cursor: pointer;
}

.fc-view {
  overflow-y: scroll;
}

#calendar .fc-header-toolbar button,
#calendar .fc-day-header,
#calendar .fc-toolbar .fc-center {
  text-transform: capitalize;
}

.tc-content ul,
.tc-content ol {
  list-style: inherit;
  margin-left: 15px;
}

.tc-content ol {
  list-style-type: decimal;
}

.tc-content ul {
  list-style-type: disc;
}

.tc-content table {
  margin-top: 0px;
  border-collapse: initial;
}

.tc-content table > tbody > tr > td {
  padding: 5px 10px 5px 10px;
}

.tc-content img {
  max-width: 100%;
}

.tc-content table[border="1"],
.tc-content table[border="1"] td {
  border: 1px solid;
}

.tc-content em {
  font-style: italic;
}

.tc-content p:empty:before {
  content: ' ';
  white-space: pre;
}

.proposal-view .tc-content ul,
.proposal-view .tc-content ol,
.contract-view .tc-content ul,
.contract-view .tc-content ol {
  margin-left: 0px;
}

.kb-search-jumbotron {
  margin-top: -20px;
  margin-bottom: 10px;
  background: #f9fafb;
}

.has-feedback.has-feedback-left .form-control-feedback {
  left: 0;
}

.kb-search .form-control-feedback {
  left: 6px !important;
  top: 17px;
  font-size: 16px;
}

.kb-search input[type="search"] {
  padding-left: 45px;
  height: 50px;
  font-size: 16px;
}

.kb-search button[type="submit"] {
  height: 50px;
  padding-left: 25px;
  padding-right: 25px;
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
  font-weight: 600;
}

#toplink,
#botlink {
  position: fixed;
  right: 7.5%;
  bottom: 53%;
  padding: 10px;
  margin: 0 -20px 0 0;
  color: #666;
  background: #e9ebef;
  font-size: 1.5em;
  border: 1px solid #b4b4b4;
  border-bottom: 1px solid #b8b8b8;
  border-radius: 6px 6px 0 0;
  z-index: 99;
  -webkit-box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.25);
  box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.25);
}

#botlink {
  top: 47%;
  padding: 10px;
  bottom: auto;
  border: 1px solid #b4b4b4;
  border-top: 1px solid #ddd;
  border-radius: 0 0 6px 6px;
}

#toplink:hover,
#botlink:hover {
  color: #84c529;
  background: #fcfcfc;
  text-decoration: none;
}

.panel-body.project-description {
  padding: 11px;
}

.custom-field-inline-edit-link {
  float: left;
  margin-right: 5px;
}

.task-single-status .label {
  float: left;
}

._task_wrapper.overdue-task {
  background: #f2dede !important;
  border-color: #eab8b7 !important;
}

.form-group + p.alert-validation {
  margin-top: -10px;
}

@media screen and (max-height: 575px),
  screen and (min-width: 992px) and (max-width: 1199px) {
  #rc-imageselect,
  .g-recaptcha {
    transform: scale(0.83);
    -webkit-transform: scale(0.83);
    transform-origin: 0 0;
    -webkit-transform-origin: 0 0;
  }
}

th[align="left"],
td[align="left"] {
  text-align: left;
}

th[align="right"],
td[align="right"] {
  text-align: right;
}

th[align="center"],
td[align="center"] {
  text-align: center !important;
}

[dir="rtl"] th[align="left"],
[dir="rtl"] td[align="left"] {
  text-align: right !important;
}

[dir="rtl"] th[align="right"],
[dir="rtl"] td[align="right"] {
  text-align: left !important;
}

.signature-pad--body {
  border-radius: 4px;
  position: relative;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  border: 1px solid #c0cbda;
}

.gdpr-right {
  background: white;
  border: 1px solid #e2e8f0;
  padding: 35px 15px;
  text-align: center;
  margin-bottom: 25px;
  border-radius: 6px;
}

.gdpr-right .gdpr-right-heading {
  margin-top: 0px;
  margin-bottom: 20px;
  font-size: 22px;
}

.gdpr-purpose {
  border: 1px solid #d8d8d8;
  padding: 15px;
  margin-bottom: 10px;
  border-radius: 4px;
}

.gdpr-purpose .gdpr-purpose-heading {
  margin-top: 0px;
  margin-bottom: 0px;
  font-size: 18px;
  font-weight: 500;
  color: #5a5a5a;
}

.list-status h3 {
  margin-top: 0px;
}

.list-status:last-child {
  border-right: 0px;
}

.list-status a {
  border: 1px solid #eeeeee;
  padding: 15px;
  display: inline-block;
  width: 100%;
  border-radius: 4px;
}

.list-status a.active {
  background: #f9fafb;
}

.ticket-info p:last-child {
  margin-bottom: 0px;
}

.gpicker {
  opacity: 0;
}

.gpicker + div[id^="dropbox-chooser"] {
  float: right;
  margin-left: 5px;
}

.gpicker {
  height: 14px;
  font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 11px;
  color: #4c4c4c;
  text-decoration: none;
  padding: 1px 7px 5px 3px;
  border: 1px solid #ebebeb;
  border-radius: 2px;
  border-bottom-color: #d4d4d4;
  background: #fcfcfc;
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#fcfcfc),
    to(#f5f5f5)
  );
  background: linear-gradient(to bottom, #fcfcfc 0%, #f5f5f5 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fcfcfc', endColorstr='#f5f5f5', GradientType=0);
  line-height: 18px !important;
  text-decoration: none !important;
  box-sizing: content-box !important;
  -webkit-box-sizing: content-box !important;
  -moz-box-sizing: content-box !important;
}

.preview-sticky-header {
  z-index: 1;
  background: #fff;
  padding-top: 15px;
  padding-bottom: 15px;
  -webkit-box-shadow: 0px 1px 15px 1px rgba(90, 90, 90, 0.08);
  box-shadow: 0px 1px 15px 1px rgba(90, 90, 90, 0.08);
  width: 100% !important;
  left: 0px !important;
}

@media (max-width: 767px) {
  .preview-sticky-header {
    padding-right: 20px;
    padding-left: 20px;
  }
}

.preview-sticky-header .sticky-hidden {
  display: none !important;
}

.preview-sticky-header .sticky-visible {
  display: inherit !important;
}

.mobile .preview-sticky-header {
  padding: 15px;
}

/*
  ##Device = Desktops
  ##Screen = 1281px to higher resolution desktops

  ##Device = Laptops, Desktops
  ##Screen = B/w 1025px to 1280px
*/
@media (min-width: 1281px), (min-width: 1025px) and (max-width: 1280px) {
  .preview-top-wrapper {
    margin-top: 25px;
  }
}

[dir="rtl"] .bootstrap-select .dropdown-toggle .filter-option {
  right: 0;
  margin-right: auto;
  text-align: right;
  padding-right: 16px;
}

.task-comment .task-attachment-col-more {
  display: block !important;
}

.comment-content .task-attachment-col:nth-child(2),
.comment-content .task-attachment-col:nth-child(3),
.comment-content .task-attachment-col:nth-child(4) {
  margin-top: 15px;
}

.task-comment .task-attachment-col {
  margin-left: 0;
  padding-left: 0;
}

.tasks-phases {
  overflow: scroll hidden;
}

.kan-ban-col {
  width: 326px;
  height: 416px;
  margin-right: 6px;
  display: inline-block;
}

.tasks-phases .kan-ban-col .panel-body {
  height: 100%;
  overflow-y: auto;
}

@media (max-width: 768px) {
  .kan-ban-col {
    width: 216px;
    height: 416px;
    margin-right: 6px;
    display: inline-block;
  }
}

body[dir="rtl"].safari .table-responsive .table {
  max-width: none;
  -webkit-overflow-scrolling: touch !important;
}

@media (max-width: 991px) {
  .register-heading.text-right {
    text-align: center;
  }
}

.g-recaptcha > div {
  margin: 0 auto;
}

.honey-element {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  height: 0;
  width: 0;
  z-index: -1;
}

@media screen and (max-height: 575px),
  screen and (min-width: 992px) and (max-width: 1199px) {
  #rc-imageselect,
  .g-recaptcha {
    transform: scale(0.83);
    -webkit-transform: scale(0.83);
    transform-origin: 0 0;
    -webkit-transform-origin: 0 0;
  }
}

/* ========================================
   GLOBAL UI IMPROVEMENTS
   ======================================== */

/* Typography */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  color: var(--heading-color);
}
h1, .h1 { font-size: 24px; font-weight: 700; line-height: 1.3; }
h2, .h2 { font-size: 20px; font-weight: 600; line-height: 1.35; }
h3, .h3 { font-size: 18px; font-weight: 600; line-height: 1.4; }
h4, .h4 { font-size: 16px; font-weight: 600; line-height: 1.4; }
h5, .h5 { font-size: 14px; font-weight: 600; line-height: 1.4; }
h6, .h6 { font-size: 13px; font-weight: 500; line-height: 1.4; }

.text-muted { color: var(--text-muted) !important; }

a {
  color: var(--link-color);
  transition: color var(--transition-fast);
}
a:hover { color: var(--link-hover-color); }

/* Cards / Panels */
.panel,
.panel_s {
  border-radius: var(--card-radius) !important;
  border: var(--card-border) !important;
  box-shadow: var(--card-shadow) !important;
  transition: box-shadow var(--transition-normal), transform var(--transition-normal);
  background: #fff;
}
.panel:hover,
.panel_s:hover {
  box-shadow: var(--card-hover-shadow);
  transform: translateY(-2px);
}
.panel-footer {
  border-radius: 0 0 var(--card-radius) var(--card-radius);
  background: #fafafa;
  border-top: 1px solid var(--divider-color);
  padding: var(--panel-footer-padding);
}
.panel_s + .panel_s {
  margin-top: var(--section-spacing);
}
.panel-body {
  padding: var(--panel-body-padding) !important;
}

/* Buttons */
.btn {
  border-radius: var(--btn-radius) !important;
  font-weight: var(--btn-font-weight) !important;
  transition: var(--btn-transition) !important;
  padding: var(--btn-padding-y) var(--btn-padding-x);
  line-height: 1.4;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.btn:active {
  transform: translateY(0);
}
.btn-lg {
  padding: 10px 20px;
  font-size: 15px;
}
.btn-sm {
  padding: 5px 10px;
  font-size: 12px;
  line-height: 1.5;
}
.btn-xs {
  padding: 2px 8px;
  font-size: 11px;
  line-height: 1.5;
}
.btn-default {
  background: #fff;
  border-color: #d1d5db;
  color: #374151;
}
.btn-default:hover, .btn-default:focus, .btn-default:active {
  background: #f9fafb;
  border-color: #9ca3af;
  color: #111827;
}
.btn-link {
  color: var(--link-color);
  font-weight: 500;
}
.btn-link:hover, .btn-link:focus {
  color: var(--link-hover-color);
  text-decoration: none;
}
.btn-primary {
  background-color: var(--primary) !important;
  border-color: var(--primary) !important;
}
.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus,
.btn-primary:active:focus {
  background-color: var(--primary-hover) !important;
  border-color: var(--primary-hover) !important;
}
.btn-info {
  background-color: #06b6d4;
  border-color: #06b6d4;
}
.btn-info:hover, .btn-info:focus, .btn-info:active {
  background-color: #0891b2;
  border-color: #0891b2;
}
.btn-success {
  background-color: #10b981;
  border-color: #10b981;
}
.btn-success:hover, .btn-success:focus, .btn-success:active {
  background-color: #059669;
  border-color: #059669;
}
.btn-danger {
  background-color: #ef4444;
  border-color: #ef4444;
}
.btn-danger:hover, .btn-danger:focus, .btn-danger:active {
  background-color: #dc2626;
  border-color: #dc2626;
}
.btn-warning {
  background-color: #f59e0b;
  border-color: #f59e0b;
}
.btn-warning:hover, .btn-warning:focus, .btn-warning:active {
  background-color: #d97706;
  border-color: #d97706;
}

.navbar-default .navbar-nav > li.customers-nav-item-login > a {
  border-radius: var(--btn-radius) !important;
}

/* Inputs */
.form-control {
  border-radius: var(--input-radius) !important;
  border-color: var(--input-border) !important;
  transition: var(--btn-transition) !important;
  box-shadow: none !important;
  height: var(--input-height);
  padding: var(--input-padding-y) var(--input-padding-x);
  font-size: 13.5px;
}
.form-control:focus {
  border-color: var(--input-focus-border) !important;
  box-shadow: var(--input-focus-shadow) !important;
}
select.form-control {
  height: var(--select-height);
}
textarea.form-control {
  height: auto;
}
.form-control[type="file"] {
  height: auto;
  padding: var(--spacing-sm);
}
.form-group {
  margin-bottom: var(--form-group-margin);
}

.checkbox, .radio {
  margin-top: var(--spacing-sm);
  margin-bottom: var(--spacing-sm);
}
.checkbox label, .radio label {
  padding-left: 4px;
  font-weight: 400;
  cursor: pointer;
}

/* Tables */
.table > thead > tr > th {
  background: var(--table-header-bg) !important;
  color: var(--table-header-color) !important;
  font-weight: var(--table-header-weight) !important;
  border-bottom: none !important;
}
.table > tbody > tr:hover > td {
  background: var(--table-row-hover) !important;
}
.table > thead > tr > th {
  padding: var(--table-cell-padding-y) var(--table-cell-padding-x) !important;
}
.table > tbody > tr > td {
  padding: var(--table-cell-padding-y) var(--table-cell-padding-x) !important;
  vertical-align: middle !important;
}
.table > tbody > tr {
  transition: background var(--transition-fast);
}
.table thead {
  border-radius: var(--table-radius);
}
.dataTable {
  border-collapse: separate !important;
  border-spacing: 0 !important;
}
.table.items thead th {
  font-weight: var(--table-header-weight) !important;
}
.table-striped > tbody > tr:nth-child(odd) > td {
  background: #fff;
}
.table-striped > tbody > tr:nth-child(even) > td {
  background: #fafbfc;
}
.table-striped > tbody > tr:hover > td {
  background: var(--table-row-hover) !important;
}

/* Badges */
.badge {
  border-radius: var(--badge-radius) !important;
  font-weight: var(--badge-weight) !important;
  padding: var(--badge-padding-y) var(--badge-padding-x) !important;
}
.label {
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
  padding: 3px 8px;
}

/* Progress bars */
.progress {
  height: var(--progress-height) !important;
  border-radius: var(--progress-radius) !important;
  overflow: hidden;
  background: #e5e7eb !important;
}
.progress-bar {
  border-radius: var(--progress-radius) !important;
  transition: width .6s ease;
}

/* Tabs */
.nav-tabs {
  border-bottom: 1px solid var(--divider-color);
  margin-bottom: 0;
}
.nav-tabs > li > a {
  transition: all var(--transition-fast);
  border-radius: 8px 8px 0 0;
  margin-right: 2px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 10px 16px;
}
.nav-tabs > li > a:hover {
  background: #f3f4f6;
  border-color: var(--divider-color);
  color: var(--heading-color);
}
.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
  border-bottom-color: var(--tab-active-border) !important;
  color: var(--tab-active-color) !important;
  font-weight: 600 !important;
}
.tab-content {
  padding-top: var(--spacing-lg);
}

/* Dropdowns */
.dropdown-menu {
  border-radius: var(--dropdown-radius) !important;
  box-shadow: var(--dropdown-shadow) !important;
  border: 1px solid var(--divider-color) !important;
  padding: 6px !important;
}
.dropdown-menu > li > a {
  border-radius: 6px !important;
  padding: 8px 14px !important;
  transition: background var(--transition-fast);
}
.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
  background: #f3f4f6 !important;
}
.dropdown-menu .divider {
  margin: var(--spacing-xs) 0;
  background: var(--divider-color);
}
.dropdown-header {
  padding: 8px 14px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--text-muted);
}

/* Pagination */
.pagination > li:first-child > a,
.pagination > li:first-child > span {
  border-radius: var(--pagination-radius) 0 0 var(--pagination-radius) !important;
}
.pagination > li:last-child > a,
.pagination > li:last-child > span {
  border-radius: 0 var(--pagination-radius) var(--pagination-radius) 0 !important;
}
.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
  background: var(--pagination-active-bg) !important;
  border-color: var(--pagination-active-bg) !important;
}
.pagination > li > a,
.pagination > li > span {
  transition: all var(--transition-fast);
  color: #374151;
  border-color: var(--divider-color);
  padding: 8px 14px;
}
.pagination > li > a:hover,
.pagination > li > span:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
  color: var(--heading-color);
}
.pagination > .disabled > a,
.pagination > .disabled > span,
.pagination > .disabled > a:hover,
.pagination > .disabled > span:hover {
  background: #f9fafb;
  border-color: var(--divider-color);
  color: var(--text-light);
  cursor: not-allowed;
}
.dataTables_info {
  padding-top: 12px !important;
  color: var(--text-muted);
  font-size: 13px;
}
.dataTables_length {
  margin-bottom: var(--spacing-md);
}
.dataTables_length select {
  height: 32px;
  padding: 4px 8px;
}

/* Alerts */
.alert {
  border-radius: var(--alert-radius) !important;
  border-left-width: 4px !important;
  padding: var(--alert-padding);
}
.alert-dismissible .close {
  color: inherit;
}

/* Modals */
.modal-content {
  border-radius: var(--modal-radius) !important;
  border: none !important;
  box-shadow: var(--modal-shadow) !important;
}
.modal-header {
  border-bottom: 1px solid var(--divider-color) !important;
  border-radius: var(--modal-radius) var(--modal-radius) 0 0 !important;
  padding: var(--modal-header-padding);
}
.modal-body {
  padding: var(--modal-body-padding);
}
.modal-footer {
  padding: var(--modal-footer-padding);
  border-top: 1px solid var(--divider-color);
}
.modal-title {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
}
.close {
  font-size: 22px;
  font-weight: 400;
  color: var(--text-muted);
  text-shadow: none;
  opacity: 1;
  transition: color var(--transition-fast);
}
.close:hover {
  color: var(--heading-color);
  opacity: 1;
}

/* Widget spacing */
.widget {
  margin-bottom: var(--widget-spacing);
}

/* Custom scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--scrollbar-track);
}
::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}
* {
  scrollbar-width: thin;
  scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}

/* Empty states */
.dataTables_empty {
  color: var(--empty-color) !important;
  font-size: 14px !important;
  padding: 40px 20px !important;
}

/* Tooltips / Popovers */
.tooltip-inner {
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 12px;
}
.popover {
  border-radius: 10px;
  border: 1px solid var(--divider-color);
  box-shadow: 0 10px 30px rgba(0,0,0,.1);
}
.popover-title {
  border-radius: 9px 9px 0 0;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  border-bottom: 1px solid var(--divider-color);
  background: #fafafa;
}

/* Focus ring */
a:focus,
.btn:focus,
.form-control:focus,
input:focus,
select:focus,
textarea:focus {
  outline: none;
}

/* Transitions */
.nav-tabs > li > a,
.pagination > li > a,
.pagination > li > span,
.close {
  transition: all var(--transition-fast);
}

/* ========================================
   LOADING STATES
   ======================================== */

.dt-loader {
  display: block;
  width: 36px;
  height: 36px;
  margin: 24px auto;
  border: 3px solid var(--divider-color);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: dt-spin .6s linear infinite;
}
@keyframes dt-spin {
  to { transform: rotate(360deg); }
}
.fa-spinner, .fa-refresh {
  color: var(--text-muted);
}
.img-table-loading {
  filter: blur(4px);
  transition: filter var(--transition-normal);
}

/* ========================================
   ENHANCED PROGRESS BARS
   ======================================== */

.progress {
  background: #f1f5f9 !important;
  position: relative;
}
.progress-bar {
  position: relative;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  transition: width .6s ease;
}
.progress-bar .percent-text {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,.2);
  white-space: nowrap;
}
.progress-bar.percent-outside {
  overflow: visible;
}
.progress-bar.percent-outside .percent-text {
  right: auto;
  left: calc(100% + 6px);
  color: #6b7280;
  text-shadow: none;
}
.progress-bar.percent-zero {
  background: transparent !important;
  min-width: 0;
}
.progress-bar.percent-zero .percent-text {
  display: none;
}
.no-percent-text .percent-text {
  display: none !important;
}

/* ========================================
   TOGGLE SWITCHES (ONOFFSWITCH)
   ======================================== */

.onoffswitch {
  position: relative;
  width: 50px;
  display: inline-block;
  vertical-align: middle;
}
.onoffswitch-checkbox {
  display: none;
}
.onoffswitch-label {
  display: block;
  overflow: hidden;
  cursor: pointer;
  border-radius: 20px;
  height: 24px;
  padding: 0;
  line-height: 24px;
  border: 2px solid #d1d5db;
  background: #d1d5db;
  transition: all .25s ease;
  position: relative;
}
.onoffswitch-label:before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  margin: 0;
  background: #fff;
  position: absolute;
  top: 0;
  left: 0;
  border: 2px solid #d1d5db;
  border-radius: 50%;
  transition: all .25s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,.1);
}
.onoffswitch-checkbox:checked + .onoffswitch-label {
  background: var(--primary);
  border-color: var(--primary);
}
.onoffswitch-checkbox:checked + .onoffswitch-label:before {
  left: 26px;
  border-color: var(--primary);
}
.onoffswitch-checkbox:disabled + .onoffswitch-label {
  opacity: .5;
  cursor: not-allowed;
}

/* ========================================
   DATE PICKER OVERRIDES (jQuery DateTimePicker)
   ======================================== */

.xdsoft_datetimepicker {
  border-radius: 12px !important;
  box-shadow: 0 10px 30px rgba(0,0,0,.1) !important;
  border: 1px solid #e5e7eb !important;
  padding: 8px !important;
  font-family: "Inter", sans-serif !important;
}
.xdsoft_datetimepicker .xdsoft_datepicker {
  width: 260px !important;
}
.xdsoft_datetimepicker .xdsoft_current {
  background: var(--primary) !important;
  color: #fff !important;
}
.xdsoft_datetimepicker .xdsoft_default {
  background: var(--primary) !important;
  border-radius: 6px !important;
  color: #fff !important;
}
.xdsoft_datetimepicker .xdsoft_today {
  color: var(--primary) !important;
  font-weight: 600 !important;
}
.xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box {
  border-top: 1px solid #e5e7eb !important;
}
.xdsoft_datetimepicker .xdsoft_nav {
  transition: background var(--transition-fast);
  border-radius: 6px;
}
.xdsoft_datetimepicker .xdsoft_nav:hover {
  background: #f3f4f6;
}
.xdsoft_datetimepicker .xdsoft_label i {
  opacity: .6;
}
.xdsoft_datetimepicker .xdsoft_label:hover {
  background: #f3f4f6;
}

/* ========================================
   BOOTSTRAP SELECT OVERRIDES
   ======================================== */

.bootstrap-select > .dropdown-toggle {
  height: 36px;
  border-radius: var(--input-radius) !important;
  border-color: var(--input-border) !important;
  background: #fff !important;
  font-size: 13.5px;
  color: #374151;
  transition: border-color var(--transition-fast);
  box-shadow: none !important;
}
.bootstrap-select > .dropdown-toggle:focus {
  border-color: var(--input-focus-border) !important;
  box-shadow: var(--input-focus-shadow) !important;
  outline: none !important;
}
.bootstrap-select > .dropdown-toggle .filter-option {
  padding-left: 4px;
}
.bootstrap-select .dropdown-menu li a {
  padding: 8px 14px !important;
  border-radius: 6px !important;
  transition: background var(--transition-fast);
  font-size: 13.5px;
}
.bootstrap-select .dropdown-menu li a:hover,
.bootstrap-select .dropdown-menu li a:focus {
  background: #f3f4f6 !important;
}
.bootstrap-select .dropdown-menu li.selected a {
  background: var(--primary-light) !important;
  color: var(--primary) !important;
  font-weight: 600;
}
.bootstrap-select .bs-searchbox input {
  border-radius: 6px !important;
  height: 34px;
  padding: 6px 10px;
  border: 1px solid #d1d5db;
}
.bootstrap-select .bs-searchbox input:focus {
  border-color: var(--input-focus-border) !important;
  box-shadow: var(--input-focus-shadow) !important;
}

/* ========================================
   TABLE ACTION BUTTONS
   ======================================== */

.btn-icon {
  width: 32px;
  height: 32px;
  padding: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 3px;
  border-radius: 8px !important;
  transition: all var(--transition-fast);
}
.btn-icon:hover {
  background: #f3f4f6 !important;
  border-color: #d1d5db !important;
}
.btn-icon.btn-danger:hover {
  background: #fef2f2 !important;
  border-color: #fecaca !important;
  color: #dc2626 !important;
}
.btn-icon.btn-success:hover {
  background: #f0fdf4 !important;
  border-color: #bbf7d0 !important;
  color: #16a34a !important;
}
.btn-icon.btn-primary:hover {
  background: var(--primary-light) !important;
  border-color: var(--primary-light-hover) !important;
  color: var(--primary-hover) !important;
}
.btn-icon.btn-info:hover {
  background: #ecfeff !important;
  border-color: #a5f3fc !important;
  color: #0891b2 !important;
}
.btn-icon.btn-warning:hover {
  background: #fffbeb !important;
  border-color: #fde68a !important;
  color: #d97706 !important;
}
.btn-icon i, .btn-icon svg {
  font-size: 14px;
}

/* ========================================
   PANEL HEADING
   ======================================== */

.panel-heading {
  padding: 14px 20px;
  border-bottom: 1px solid var(--divider-color);
  border-radius: var(--card-radius) var(--card-radius) 0 0;
  background: #fafafa;
}
.panel-heading .panel-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--heading-color);
}

/* ========================================
   ACTIVITY FEED / TIMELINE
   ======================================== */

.activity-feed .feed-item {
  border-left-color: var(--primary) !important;
}
.activity-feed .feed-item:after {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 2px #fff;
}
.activity-feed .feed-item .date {
  color: var(--text-muted);
  font-size: 11px;
  letter-spacing: .03em;
}
.activity-feed .feed-item .text {
  color: var(--text-color);
}

/* ========================================
   EMPTY STATES
   ======================================== */

.widget-empty-state {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-light);
}
.widget-empty-state i {
  font-size: 32px;
  margin-bottom: 12px;
  opacity: .4;
}
.widget-empty-state p {
  font-size: 14px;
  margin: 0;
}

/* ========================================
   SMALL LABELS / ICONS IN TABLES
   ======================================== */

.table td .fa-lg,
.table td .fa-regular.fa-lg,
.table td .fa-solid.fa-lg {
  font-size: 14px;
}
.table td i[class*="fa-"] {
  vertical-align: middle;
}

/* ========================================
   CHECKBOX / RADIO MODERN STYLING
   ======================================== */

input[type="checkbox"]:not(.onoffswitch-checkbox):not(.select2-checkbox),
input[type="radio"] {
  width: 16px;
  height: 16px;
  margin-top: 0;
  margin-right: 4px;
  cursor: pointer;
  accent-color: var(--primary);
  vertical-align: middle;
  position: relative;
  top: -1px;
}
input[type="radio"] {
  border-radius: 50%;
}

/* ========================================
   PAGINATION MODERN
   ======================================== */

.pagination {
  margin: 16px 0 0;
}
.pagination > li > a,
.pagination > li > span {
  min-width: 36px;
  text-align: center;
  border-radius: 0 !important;
}
.pagination > li:first-child > a,
.pagination > li:first-child > span {
  border-radius: 8px 0 0 8px !important;
}
.pagination > li:last-child > a,
.pagination > li:last-child > span {
  border-radius: 0 8px 8px 0 !important;
}

/* ========================================
   WIDGET HEADERS (DASHBOARD)
   ======================================== */

.widget .panel-heading {
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--heading-color);
}

/* ========================================
   SKELETON LOADER
   ======================================== */

.skeleton-loader {
  display: block;
  height: 12px;
  margin-bottom: 8px;
  border-radius: 6px;
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
}
@keyframes skeleton-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ========================================
   LABEL / BADGE CONSISTENCY
   ======================================== */

.label {
  font-size: 11px;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 4px;
  line-height: 1.4;
  display: inline-block;
}

/* ========================================
   CUSTOMER PORTAL - PREMIUM NAVBAR
   ======================================== */

.navbar {
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
.navbar-default {
  border-bottom: none;
  background: linear-gradient(135deg, var(--primary), var(--primary-hover)) !important;
  position: relative;
  box-shadow: var(--navbar-shadow), 0 4px 20px rgba(0,0,0,0.12);
}

/* Active menu as rounded pill - glass effect */
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:focus,
.navbar-default .navbar-nav > .active > a:hover {
  color: #fff !important;
  border-radius: 24px !important;
  background: rgba(255,255,255,0.15) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25) !important;
  padding: 6px 18px !important;
  margin-top: 13px;
  line-height: 1.4 !important;
}

/* Better hover animation */
.navbar-default .navbar-nav > li > a {
  transition: all var(--transition-fast);
  position: relative;
}
.navbar-default .navbar-nav > li > a:focus,
.navbar-default .navbar-nav > li > a:hover {
  background: rgba(255,255,255,0.08);
  border-radius: 24px;
  color: var(--navbar-active-text);
  transition: all var(--transition-fast);
}

/* Login button enhanced */
.navbar-default .navbar-nav > li.customers-nav-item-login > a {
  background: var(--primary) !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12) !important;
  border-radius: 24px !important;
  padding: 8px 22px !important;
  margin-top: 12px;
  line-height: 1.4 !important;
  font-weight: 600;
  transition: all var(--transition-fast) !important;
  border: none !important;
}
.navbar-default .navbar-nav > li.customers-nav-item-login > a:hover {
  background: var(--primary-hover) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.16) !important;
}

/* User avatar styling */
.client-profile-image-small {
  border: 2px solid #fff !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.client-profile-image-small:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12) !important;
}

/* Navbar spacing */
.navbar-default .navbar-nav > li:last-child > a {
  margin-right: 0;
}
.navbar-brand {
  margin-top: 5px;
}
.navbar-toggle {
  margin-top: 13px;
}
