:root {
  --primary-color: #14965A;
  --secondery-color: #19B36B;
  --text-color: #262626;
  --font-heading: 'Noto Kufi Arabic', sans-serif;
  --font-body: 'Noto Kufi Arabic', sans-serif;
  font-size: 16px;
}

@media (max-width: 1199px) {
  :root {
    font-size: 15px;
  }
}

@media (max-width: 991px) {
  :root {
    font-size: 14px;
  }
}

@-webkit-keyframes vibe {
  0%,
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  25% {
    -webkit-transform: translateY(-4px);
    transform: translateY(-4px);
  }
  50% {
    -webkit-transform: translateY(4px);
    transform: translateY(4px);
  }
  75% {
    -webkit-transform: translateY(-4px);
    transform: translateY(-4px);
  }
}

@keyframes vibe {
  0%,
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  25% {
    -webkit-transform: translateY(-4px);
    transform: translateY(-4px);
  }
  50% {
    -webkit-transform: translateY(4px);
    transform: translateY(4px);
  }
  75% {
    -webkit-transform: translateY(-4px);
    transform: translateY(-4px);
  }
}

@-webkit-keyframes shine {
  100% {
    left: 125%;
  }
}

@keyframes shine {
  100% {
    left: 125%;
  }
}

@-webkit-keyframes pulse {
  0% {
    opacity: 0;
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  50% {
    opacity: .7;
    -webkit-transform: scale(1.4);
            transform: scale(1.4);
  }
  100% {
    opacity: 0;
    -webkit-transform: scale(1.7);
            transform: scale(1.7);
  }
}

@keyframes pulse {
  0% {
    opacity: 0;
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  50% {
    opacity: .7;
    -webkit-transform: scale(1.4);
            transform: scale(1.4);
  }
  100% {
    opacity: 0;
    -webkit-transform: scale(1.7);
            transform: scale(1.7);
  }
}

.modal-dialog-scrollable .modal-content {
  max-height: calc(100vh - 1rem);
  overflow: hidden;
}

.modal-dialog-scrollable .modal-footer,
.modal-dialog-scrollable .modal-header {
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

.modal-dialog-scrollable .modal-body {
  overflow-y: auto;
}

.modal-dialog-centered {
  display: -ms-flexbox;
  display: -webkit-box;
  display: flex;
  -ms-flex-align: center;
  -webkit-box-align: center;
          align-items: center;
  min-height: calc(100% - 1rem);
}

.modal-dialog-centered::before {
  display: block;
  height: calc(100vh - 1rem);
  height: -webkit-min-content;
  height: -moz-min-content;
  height: min-content;
  content: "";
}

.modal-dialog-centered.modal-dialog-scrollable {
  -ms-flex-direction: column;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
          flex-direction: column;
  -ms-flex-pack: center;
  -webkit-box-pack: center;
          justify-content: center;
  height: 100%;
}

.modal-dialog-centered.modal-dialog-scrollable .modal-content {
  max-height: none;
}

.modal-dialog-centered.modal-dialog-scrollable::before {
  content: none;
}

body {
  position: relative;
  font-family: var(--font-heading);
  color: var(--text-color);
  font-weight: normal;
  background-color: #f7f3f3;
}



/* ===== Global Scrollbar Styles ===== */
*::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}

*::-webkit-scrollbar-track {
  background: transparent;
}

*::-webkit-scrollbar-thumb {
  background-color: rgba(204, 204, 204, 0.8);
  border-radius: 10px;
}

*::-webkit-scrollbar-thumb:hover {
  background-color: rgba(170, 170, 170, 0.9);
}

html {
  scrollbar-width: thin;
  scrollbar-color: rgba(204, 204, 204, 0.8) transparent;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button,
input::-webkit-search-decoration,
input::-webkit-search-cancel-button,
input::-webkit-search-results-button,
input::-webkit-search-results-decoration {
  -webkit-appearance: none;
  margin: 0;
}

input {
  -moz-appearance: textfield;
}

.overflow {
  overflow: hidden !important;
}

* {
  outline: none !important;
}

@media (min-width: 1200px) {
  .container {
    max-width: 1170px;
  }
}

@media (min-width: 1400px) {
  .container {
    max-width: 1370px;
  }
}


@font-face {
  font-family: 'Noto Kufi Arabic';
  src: url("../fonts/NotoKufiArabic/NotoKufiArabic-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}


.header-search {
  position: relative;
}

@media (max-width: 991px) {
  .header-search {
    position: absolute;
    top: 100%;
    left: 15px;
    right: 15px;
    z-index: 99;
    display: none;
  }
}

.header-search .search-input {
  width: 200px;
  height: 37px;
  /* border-radius: 22.5px; */
  background-color: #fff;
  border: 2px solid #fff;
  font-size: 16px;
  color: var(--text-color);
  padding: 0 23px;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  border: solid 0.5px rgba(112, 112, 112, 0.10);
}

.header-search .search-input::-webkit-input-placeholder {
  color: #080808;
  font-size: 16px;
}

.header-search .search-input:-ms-input-placeholder {
  color: #080808;
  font-size: 16px;
}

.header-search .search-input::-ms-input-placeholder {
  color: #080808;
  font-size: 16px;
}

.header-search .search-input::placeholder {
  color: rgba(8, 8, 8, 0.35);
  font-size: 16px;
}

.header-search .search-input:focus {
  border-color: var(--secondery-color);
}

@media (max-width: 991px) {
  .header-search .search-input {
    width: 100%;
  }
}

.header-search .search-btn {
  cursor: pointer;
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  width: 30px;
  height: 30px;
  padding: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  left: 7px;
  border-radius: 50%;
  fill: #fff;
  background-color: var(--primary-color);
  border: none;
  outline: none;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.header-search .search-btn:hover {
  background-color: var(--secondery-color);
}

.search-msg-cont {
  position: relative;
}

.search-msg-cont .header-search {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 99;
  display: none;
}

/* .search-msg-cont .header-search input {
  -webkit-box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.4);
          box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.4);
} */

a:hover{
  text-decoration: none;
}

.form-group {
  position: relative;
}

.form-group .show {
  position: absolute;
  top: 37.5px;
  left: 16px;
  height: 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  cursor: pointer;
  fill: var(--text-color);
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.form-group .show svg {
  width: 20px;
}

.form-group .show:hover {
  fill: var(--secondery-color);
}

.group-line {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 1fr;
      grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@media (max-width: 767px) {
  .group-line {
    -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
    gap: 0;
  }
}

.form-control {
  border-radius: 0px;
  /* border: solid 1px rgba(38, 38, 38, 0.3); */
  height: 45px;
  width: 100%;
  /* padding: 0 22px; */
  /* font-size: 14px; */
  font-family: var(--font-body);
  font-weight: 400;
  /* color: var(--secondery-color); */
  /* -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out; */
}

.form-control::-webkit-input-placeholder {
  color: rgba(34, 34, 34, 0.8);
}

.form-control:-ms-input-placeholder {
  color: rgba(34, 34, 34, 0.8);
}

.form-control::-ms-input-placeholder {
  color: rgba(34, 34, 34, 0.8);
}

.form-control::placeholder {
  color: rgba(34, 34, 34, 0.35);
}

.form-control:focus {
  outline: none;
  border-color: var(--secondery-color);
  -webkit-box-shadow: none;
          box-shadow: none;
}

select.form-control {
  color: rgba(34, 34, 34, 0.8);
}

select.form-control:focus {
  outline: none;
  border-color: rgba(38, 38, 38, 0.3);
  -webkit-box-shadow: none;
          box-shadow: none;
}

textarea.form-control {
  color: rgba(34, 34, 34, 0.8);
  height: 200px;
  /* padding: 15px 22px; */
  resize: vertical;
  min-height: 100px;
  scrollbar-width: thin;
  scrollbar-color: rgba(204, 204, 204, 0.8) transparent;
}

textarea.form-control::-webkit-scrollbar {
  width: 4px;
}

textarea.form-control::-webkit-scrollbar-track {
  background: transparent;
}

textarea.form-control::-webkit-scrollbar-thumb {
  background-color: rgba(204, 204, 204, 0.8);
  border-radius: 10px;
}

textarea.form-control::-webkit-scrollbar-thumb:hover {
  background-color: rgba(170, 170, 170, 0.9);
}

.form-submit {
  height: 45px;
  width: 100%;
  /* border-radius: 5px; */
  background-color: var(--primary-color);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  font-size: 18px;
  color: #fff;
  cursor: pointer;
  border: none;
  margin-top: 15px;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.form-submit:hover {
  background-color: var(--secondery-color);
  text-decoration: none;
}

.radios-cont {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 15px;
}

.radios-cont .radio {
  width: 50%;
  position: relative;
}

.radios-cont .radio span {
  border: solid 1px rgba(34, 34, 34, 0.3);
  height: 45px;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  color: #393939;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font-body);
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.radios-cont .radio input {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  cursor: pointer;
  opacity: 0;
  z-index: 2;
  height: 100%;
  width: 100%;
}

.radios-cont .radio input:checked ~ span {
  color: #fff;
  background-color: #262626;
}

.radios-cont .radio:first-of-type span {
  /* border-top-right-radius: 5px;
  border-bottom-right-radius: 5px; */
}

.radios-cont .radio:last-of-type span {
  /* border-top-left-radius: 5px;
  border-bottom-left-radius: 5px; */
}

.terms {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  color: #222;
  font-size: 16px;
}

.terms input {
  cursor: pointer;
  margin: 0;
  -webkit-margin-end: 6px;
          margin-inline-end: 6px;
}

.terms a {
  -webkit-margin-start: 6px;
          margin-inline-start: 6px;
  color: var(--secondery-color);
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.terms a:hover {
  color: var(--primary-color);
  text-decoration: none;
}

.multi-select .select2-container .select2-selection.select2-selection {
  border: solid 1px rgb(206 212 218);
  /* padding: 0px; */
}

.multi-select .select2-container .select2-selection__rendered li.select2-selection__choice {
  padding: 0;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-orient: horizontal;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 10px;
    /* margin: 0; */
    background-color: #f7f3f3;
    border-radius: 5px;
    height: 35px;
    border: 0.6px solid #eae4e4;
}

/* .multi-select .select2-container .select2-selection__rendered li.select2-selection__choice .select2-selection__choice__display {
  padding: 0 9px;
  color: #fff;
} */

.multi-select .select2-container .select2-selection__rendered li.select2-selection__choice .select2-selection__choice__remove {
  padding: 0;
    margin: 0;
    margin-left: 5px;
    border: 0;
    /* color: #fff; */
    position: static;
    font-size: 15px;
    height: 25px;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    overflow: hidden;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.multi-select .select2-container .select2-selection__rendered li.select2-selection__choice .select2-selection__choice__remove:hover {
  background-color: transparent;
  color: #ccc;
}

.select2-container--default .select2-selection--single {
  border-radius: 0px !important;
  border: solid 1px rgb(206 212 218);
  height: 45px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  padding: 0 12px;
}

html[dir="rtl"] .select2-container--default .select2-selection--single .select2-selection__rendered {
  padding: 0;
  font-size: 16px;
}

html[dir="ltr"] .select2-container--default .select2-selection--single .select2-selection__rendered {
  padding: 0;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  position: static;
  width: auto;
  height: auto;
}

.select2-container--default .select2-selection--single .select2-selection__arrow::after {
  content: url(../images/select.svg);
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
  display: none;
}

.select2-dropdown {
  border-radius: 7px !important;
  -webkit-box-shadow: 0px 3px 6px #00000029;
          box-shadow: 0px 3px 6px #00000029;
  overflow: hidden;
  border: none !important;
}

.select2-dropdown.select2-dropdown--below {
  /* margin-top: 15px; */
}

.select2-dropdown.select2-dropdown--above {
  margin-top: -15px;
}

.select2-dropdown .select2-results__option {
  border-bottom: 1px solid rgba(112, 112, 112, 0.24);
  color: #222222;
  opacity: 0.89;
  padding: 10px;
  font-size: 14px;
}

.select2-dropdown .select2-results__option:last-of-type {
  border: none;
}

.select2-dropdown .select2-results__option--selected {
  background-color: #F5F5F5;
  color: #222222;
  opacity: 0.89;
}

.select2-dropdown .select2-results__option--highlighted.select2-results__option--selectable {
  background-color: #F5F5F5;
  color: #222222;
  opacity: 0.89;
  font-size: 14px;
}

/* Select2 dropdown thin scrollbar */
.select2-results__options {
  scrollbar-width: thin;
  scrollbar-color: #c5c5c5 transparent;
}

.select2-results__options::-webkit-scrollbar {
  background-color: transparent;
  width: 3px;
  height: 0px;
}

.select2-results__options::-webkit-scrollbar-thumb {
  background-color: #c5c5c5;
  border-radius: 10px;
}

.select2-results__options::-webkit-scrollbar-thumb:hover {
  background-color: #a0a0a0;
}

.select2-results__options::-webkit-scrollbar-track {
  background-color: transparent;
}

.header-navbar {
  -webkit-margin-start: 20px;
  margin-inline-start: 20px;
}

.header-navbar ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin: 0;
}

.header-navbar li {
  margin: 0 16px;
}

.header-navbar a {
  font-size: 15px;
  color: #fff;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  font-weight: 500;
}

.header-navbar a:hover {
  color: #000;
  text-decoration: none;
}

.inner-page .header-navbar a:hover {
  color: #000;
}

.header-navbar a.active {
  color: #000;
}

.inner-page .header-navbar a.active {
  color: #000;
}

.mo-panel {
  display: none;
  padding: 0 15px 0;
}

.mo-accordion {
  cursor: pointer;
  width: 100%;
  -webkit-transition: 0.4s;
  transition: 0.4s;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.mo-accordion.nav-foot-header:after {
  content: url(../images/svg/chevron.svg);
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.mo-accordion.active:after {
  -webkit-transform: rotate(-90deg);
          transform: rotate(-90deg);
}

html[dir='ltr'] .mo-accordion.active:after {
  -webkit-transform: rotate(90deg);
          transform: rotate(90deg);
}

@media (max-width: 767px) {
  .mo-accordion.nav-foot-header {
    margin-bottom: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
}

@media (max-width: 767px) {
  .nav-foot-cont {
    margin-bottom: 25px;
  }
}

.clickable.block-head {
  cursor: pointer;
  width: 100%;
  -webkit-transition: 0.4s;
  transition: 0.4s;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.clickable.block-head:after {
  content: url(../images/svg/acc.svg);
  -webkit-transform: scale(0.75);
          transform: scale(0.75);
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.clickable.block-head > a {
  display: none !important;
}

.clickable.block-head.active:after {
  -webkit-transform: scale(0.75) rotate(180deg);
          transform: scale(0.75) rotate(180deg);
}

.freelancer-item {
  /* -webkit-box-shadow: 0 1.5px 3px 0 rgba(0, 0, 0, 0.05);
          box-shadow: 0 1.5px 3px 0 rgba(0, 0, 0, 0.05); */
  background-color: #fff;
  /* border-radius: 10px; */
  padding: 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  /* border: solid 0.5px rgb(189 184 184 / 32%); */
}

/* @media (max-width: 767px) {
  .freelancer-item {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
} */

.freelancer-item ~ .freelancer-item {
  margin-top: 10px;
}

.freelancer-item .freelancer-img {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  position: relative;
  -webkit-margin-end: 15px;
          margin-inline-end: 15px;
}

/* @media (max-width: 767px) {
  .freelancer-item .freelancer-img {
    margin: 0 0 7px;
  }
} */

.freelancer-item .freelancer-img-link {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  border: solid 1px rgba(112, 112, 112, 0.15);
}

.freelancer-item .freelancer-img-link img {
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.freelancer-item .status {
  width: 12px;
  height: 12px;
  background-color: #8d8d97;
  position: absolute;
  top: 5px;
  right: 5px;
  border-radius: 50%;
  border: 2px solid #fff;
}

.freelancer-item.active .status {
  background-color: var(--primary-color);
}

.freelancer-item .freelancer-info {
  width: 100%;
  min-width: 0;
}

.freelancer-item .freelancer-head {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

/* @media (max-width: 991px) {
  .freelancer-item .freelancer-head div {
   max-width: 50%;
  }
} */

.freelancer-item .freelancer-name {
  font-size: 18px;
  color: var(--text-color);
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.freelancer-item .freelancer-name:hover {
  text-decoration: none;
  color: var(--secondery-color);
}

.freelancer-item .verified-badge {
  position: absolute;
  bottom: 0px;
  left: 0px;
  background: #60d049;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  border: 2px solid #fff;
}


.freelancer-item .freelancer-job {
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  height: 25px;
  border-radius: 5px;
  background-color: var(--secondery-color);
  font-size: 12px;
  font-weight: 400;
  font-family: var(--font-body);
  color: #fff;
  padding: 0 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-margin-end: auto;
          margin-inline-end: auto;
  -webkit-margin-start: 10px;
          margin-inline-start: 10px;
          margin-top: 10px;
}

/* @media (max-width: 767px) {
  .freelancer-item .freelancer-job {
    margin: 5px auto;
  }
} */

.freelancer-item .sendMsg {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #14965A;
  border: 1px solid #14965A;
  color: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.freelancer-item .sendMsg:hover {
  text-decoration: none;
  background-color: #28a745;
  color: #fff;
  border-color: #28a745;
}

.freelancer-item .freelancer-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.freelancer-item .addToFav {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  flex-shrink: 0;
  border: 1px solid #60d049;
}

.freelancer-item .addToFav svg {
  fill: rgba(96, 208, 73, 0);
  stroke-width: 1px;
  stroke: #8d8d97;
  transition: all 0.3s ease-in-out;
}

.freelancer-item .addToFav:hover svg,
.freelancer-item .addToFav.active svg {
  fill: #14965A;
  stroke: #14965A;
}

.freelancer-item .addToFav:disabled {
  opacity: 0.4;
  cursor: not-allowed !important;
  pointer-events: none;
}

.freelancer-item .addToFav:disabled svg {
  opacity: 0.5;
}

.freelancer-item .addToFav.processing {
  animation: pulse 1s infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.freelancer-item .freelancer-sec-head {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
          gap: 5px;
  /* margin-top: 10px; */
}

@media (max-width: 767px) {
  .freelancer-item .freelancer-sec-head {
    /* -webkit-box-orient: vertical; */
    /* -webkit-box-direction: normal; */
        -ms-flex-direction: column;
            flex-direction: column;
    /* -webkit-box-pack: center; */
        -ms-flex-pack: center;
            justify-content: center;
            align-items: flex-start;
        margin-top: 0px;
        gap: 15px;
  }
}

.freelancer-item .rating {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.freelancer-item .rating span {
  fill: none;
  stroke: #ffba00;
  stroke-width: 1px;
}

.freelancer-item .rating span ~ span {
  -webkit-margin-start: 3px;
          margin-inline-start: 3px;
}

.freelancer-item .rating span.active {
  fill: #ffba00;
}

/* @media (max-width: 767px) {
  .freelancer-item .rating {
    margin-bottom: 5px;
  }
} */

.freelancer-item .feats {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
          gap: 10px;
          margin-top: 5px;
}

.freelancer-item .feats span {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  font-size: 12px;
  color: rgb(26 26 46 / 81%);
  fill: #8c8c96;
  font-family: var(--font-body);
  font-weight: 400;
  gap: 5px;
  /* -webkit-margin-start: 10px;
          margin-inline-start: 10px; */
}

/* .freelancer-item .feats span svg {
  -webkit-margin-end: 5px;
          margin-inline-end: 5px;
} */

@media (max-width: 767px) {
  .freelancer-item .feats {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
  }
}

.freelancer-item .freelancer-summary {
  margin: 0;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.5;
  color: rgb(26 26 46 / 81%);
  margin-top: 8px;
}

.project-item {
  /* -webkit-box-shadow: 0 1.5px 3px 0 rgba(0, 0, 0, 0.05);
          box-shadow: 0 1.5px 3px 0 rgba(0, 0, 0, 0.05); */
  background-color: #fff;
  /* border-radius: 10px; */
  padding: 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  overflow: hidden;
  position: relative;
  /* border: solid 0.5px rgb(189 184 184 / 32%); */
}

@media (max-width: 767px) {
  .project-item {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    padding: 15px 15px 15px;
  }
}

.project-item ~ .project-item {
  margin-top: 10px;
}

.project-item .project-info {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.project-item .project-head {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: space-between;
          /* margin-bottom: -10px; */
}

@media (max-width: 767px) {
  .project-item .project-head {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        /* -ms-flex-direction: column; */
            /* flex-direction: column; */
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            /* justify-content: center; */
    /* text-align: center; */
  }
}

.project-item .project-name {
  font-size: 18px;
  color: var(--text-color);
  cursor: pointer;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  font-weight: 500;
}

.project-item .project-name:hover {
  text-decoration: none;
  color: var(--secondery-color);
}

@media (max-width: 991px) {
  .project-item .project-name {
    max-width: 90%;
    /* text-align: center; */
  }
}

.project-item .project-job {
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  height: 25px;
  border-radius: 5px;
  background-color: rgb(25 179 107);
  font-size: 12px;
  font-weight: 400;
  font-family: var(--font-body);
  color: #fff;
  padding: 0 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  /* -webkit-margin-start: 10px;
          margin-inline-start: 10px; */
          margin-top: 10px;
          /* display: none; */
}

/* @media (max-width: 767px) {
  .project-item .project-job {
    display: none;
  }
} */

.btn-edit-project {
  display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    /* gap: 5px; */
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    height: 35px;
    /* border-radius: 25px; */
    background-color: rgb(25 179 107);
    font-size: 12px;
    /* font-weight: 500; */
    font-family: var(--font-body);
    color: #fff;
    padding: 0px 10px;
    text-decoration: none;
    -webkit-margin-start: 8px;
    margin-inline-start: 8px;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.btn-edit-project svg {
  stroke: #fff;
  fill: none;
  flex-shrink: 0;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  margin-left: 5px;
}

.btn-edit-project:hover {
  background-color: #14965A ;
  color: #fff;
  text-decoration: none;
}

.btn-edit-project:hover svg {
  stroke: #fff;
}

.btn-close-project {
  background-color: #d17880;
  color: #fff;
} 

.btn-close-project:hover {
  background-color: #c05c64;
  color: #fff;
  text-decoration: none;
}

.btn-close-project svg {
  stroke: #fff !important;
}

.project-item .status-text {
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  height: 25px;
  /* border-radius: 25px; */
  font-size: 12px;
  font-weight: 400;
  font-family: var(--font-body);
  padding: 0 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-margin-start: 10px;
          margin-inline-start: 10px;
  background-color: rgba(46, 204, 113, 0.2);
  color: #60d049;
}

@media (max-width: 767px) {
  .project-item .status-text {
    display: none;
  }
}

.project-item .status-text.in-progress {
  background-color: rgba(46, 211, 13, 0.2);
  color: #2ed30d;
}

.project-item .status-text.wait {
  color: #ffc80f;
  background-color: rgba(255, 200, 15, 0.1);
}

.project-item .status-text.closed {
  color: #393939;
  background-color: rgba(57, 57, 57, 0.2);
}

.project-item .status-text.suspended {
  color: #db3838;
  background-color: rgba(219, 56, 56, 0.2);
}

.project-item .addToFav {
  width: 40px;
  /* height: 40px; */
  border-radius: 50%;
  border: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  background-color: transparent;
  cursor: pointer;
  -webkit-margin-start: auto;
          margin-inline-start: auto;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.project-item .addToFav svg {
  fill: rgba(96, 208, 73, 0);
  stroke-width: 1px;
  stroke: #8d8d97;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.project-item .addToFav:hover svg, .project-item .addToFav.active svg {
  fill: #19b36b;
  stroke: #19b36b;
}

.project-item .addToFav:disabled {
  opacity: 0.4;
  cursor: not-allowed !important;
  pointer-events: none;
}

.project-item .addToFav:disabled svg {
  opacity: 0.5;
}

@media (max-width: 767px) {
  .project-item .addToFav {
    position: absolute;
    top: 10px;
    left: 10px;
  }
}

.project-item .project-summary {
  margin: 0;
  /* font-family: var(--font-body); */
  font-size: 14px;
  /* font-weight: 300; */
  line-height: 2;
  color: rgb(26 26 46 / 81%);
  margin-top: 10px;
}

@media (max-width: 767px) {
  .project-item .project-summary {
    text-align: justify;
    /* text-align-last: center; */
  }
}

.project-item .project-foot {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-top: 5px;
}

.project-item .project-sub {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-top: 2px;
  gap: 7px;
}

@media (max-width: 767px) {
  .project-item .project-foot {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            /* justify-content: center; */
  }
  .project-item .project-sub {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
        gap: 5px;
            /* justify-content: center; */
  }
}

.project-item .foot-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

/* .project-item .foot-item ~ .foot-item {
  margin-right: 8px;
} */

/* @media (max-width: 767px) {
  .project-item .foot-item {
    margin: 1px 5px;
    margin-right: 0;
  }
} */

/* @media (max-width: 767px) {
  .project-item .foot-item {
    margin: 7px;
  }
} */

.project-item .item-text {
  color: rgb(26 26 46 / 81%);
  font-size: 12px;
  margin-top: 3px;
}

.project-item .item-icon {
  margin-left: 3px;
}

/* .project-item .item-icon svg {
  fill: rgba(26, 26, 46, 0.5);
} */

.project-item .status {
  width: 9px;
  height: 9px;
  background-color: #60d049;
  border-radius: 50%;
  display: block;
}

.project-item .status.in-progress {
  background-color: #2ed30d;
}

.project-item .status.wait {
  background-color: #ffc80f;
}

.project-item .status.closed {
  background-color: #393939;
}

.project-item .status.suspended {
  background-color: #db3838;
}

.project-item .project-hint {
  display: none;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  position: relative;
  /* width: 77px; */
}

@media (max-width: 1199px) {
  .project-item .project-hint {
    width: 120px;
  }
}

@media (max-width: 767px) {
  .project-item .project-hint {
    position: static;
  }
}

.project-item .project-hint .hint {
  width: 200px;
  height: 30px;
  color: var(--text-color);
  font-size: 16px;
  background-color: #ffc400;
  position: absolute;
  top: 13px;
  right: -80px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}

@media (max-width: 767px) {
  .project-item .project-hint .hint {
    top: 16px;
    right: -70px;
  }
}

.project-item .project-hint .star {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: solid 0.5px rgba(141, 141, 151, 0.27);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  background-color: transparent;
}

@media (max-width: 767px) {
  .project-item .project-hint .star {
    display: none;
  }
}

.project-item.top .project-hint {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.modal {
  padding: 0 !important;
}

.modal .modal-content {
  border-radius: 0;
  border: 0;
}

.project-modal {
  -webkit-transform: scale(0);
          transform: scale(0);
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  min-height: calc(100vh - 60px);
  max-height: calc(100vh - 60px);
}

.project-modal .modal-header {
  position: relative;
  padding: 15px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  border: none;
  border-radius: 0;
  border-bottom: solid 0.5px rgb(189 184 184 / 32%);
}

@media (max-width: 991px) {
  .project-modal .modal-header {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    text-align: center;
    /* padding: 20px 30px; */
  }
}

.project-modal .modal-header .close {
  position: absolute;
  top: 15px;
  left: 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  font-size: 13px;
  color: var(--text-color);
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  margin: 0;
  padding: 0;
}

@media (max-width: 991px) {
  .project-modal .modal-header .close {
    width: 40px;
    height: 40px;
    top: 5px;
    left: 5px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    background-color: var(--primary-color);
    border-radius: 50%;
  }
}

@media (max-width: 991px) {
  .project-modal .modal-header .close .text {
    display: none;
  }
}

.project-modal .modal-header .close .arrow {
  -webkit-margin-start: 5px;
          margin-inline-start: 5px;
  fill: var(--primary-color);
  width: 15px;
  overflow: hidden;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

@media (max-width: 991px) {
  .project-modal .modal-header .close .arrow {
    fill: #fff;
  }
}

.project-modal .modal-header .close .arrow svg {
  width: 35px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}

.project-modal .modal-header .modal-title {
  font-size: 24px;
  color: var(--text-color);
  font-weight: 400;
  margin: 0;
}

.project-modal .modal-header .popup-job {
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  height: 30px;
  /* border-radius: 30px; */
  background-color: rgba(46, 204, 113, 0.2);
  font-size: 16px;
  font-weight: 400;
  font-family: var(--font-body);
  color: #60d049;
  padding: 0 15px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-margin-start: 10px;
          margin-inline-start: 10px;
}

@media (max-width: 991px) {
  .project-modal .modal-header .popup-job {
    display: none;
  }
}

.project-modal .modal-header .main-info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

@media (max-width: 991px) {
  .project-modal .modal-header .main-info {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        /* -ms-flex-direction: column; */
            /* flex-direction: column; */
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            /* justify-content: center; */
  }
}

.project-modal .modal-header .sec-info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-top: 10px;
  font-size: 12px;
}

@media (max-width: 991px) {
  .project-modal .modal-header .sec-info {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    /* -webkit-box-pack: center;
        -ms-flex-pack: center; */
            /* justify-content: center; */
    margin: 0 auto 5px;
  }
}

.project-modal .modal-header .sec-info-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.project-modal .modal-header .sec-info-item ~ .sec-info-item {
  margin-right: 23px;
}

@media (max-width: 767px) {
  .project-modal .modal-header .sec-info-item ~ .sec-info-item {
    margin: 7px;
  }
}

@media (max-width: 767px) {
  .project-modal .modal-header .sec-info-item {
    margin: 7px;
  }
}

.project-modal .modal-header .item-text {
  color: rgba(26, 26, 46, 0.5);
}

.project-modal .modal-header .item-icon {
  margin-left: 5px;
}

.project-modal .modal-header .item-icon svg {
  fill: rgba(26, 26, 46, 0.5);
}

.project-modal .modal-header .status {
  width: 12px;
  height: 12px;
  background-color: #60d049;
  border-radius: 50%;
  display: block;
}

.project-modal .modal-btn {
  /* border-radius: 5px; */
  height: 35px;
  width: 140px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  background-color: var(--primary-color);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  color: #fff;
  font-size: 16px;
  border: none;
  cursor: pointer;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.project-modal .modal-btn:hover {
  text-decoration: none;
  background-color: var(--secondery-color) !important;
}

.project-modal .modal-body {
  padding: 0;
}

.project-modal .modal-body::-webkit-scrollbar {
  background-color: transparent;
  width: 4px;
  height: 4px;
}

.project-modal .modal-body::-webkit-scrollbar-thumb {
  background-color: rgba(204, 204, 204, 0.8);
  border-radius: 10px;
}

.project-modal .modal-body::-webkit-scrollbar-thumb:hover {
  background-color: rgba(170, 170, 170, 0.9);
}

.project-modal .modal-body-section {
  padding: 15px;
  border-bottom: solid 0.5px rgb(189 184 184 / 32%);
}

.project-modal .modal-body-section:last-of-type {
  border-bottom: none;
}

/* @media (max-width: 991px) {
  .project-modal .modal-body-section {
    padding: 20px 15px;
  }
} */

.project-modal .project-desc {
  /* color: #222222; */
  /* line-height: 1.6; */
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
}

.project-modal .project-desc:last-child {
  margin-bottom: 0;
}

.project-modal .modal-body-title {
  font-size: 18px;
  color: #222;
  font-weight: 400;
}

.project-modal h3.modal-body-title {
  margin-bottom: 8px;
}

.project-modal .general-info-section {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

@media (max-width: 991px) {
  .project-modal .general-info-section {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    /* -webkit-box-pack: center;
        -ms-flex-pack: center; */
            /* justify-content: center; */
    padding: 15px 10px;
  }
}

.project-modal .general-info {
  font-size: 14px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  color: var(--text-color);
  font-family: var(--font-body);
  font-weight: 400;
}

@media (max-width: 991px) {
  .project-modal .general-info {
    margin: 5px;
  }
}

.project-modal .owner-anchor {
  padding: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background-color: transparent;
  border: none;
  cursor: pointer;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
}

.project-modal .owner-anchor .owner-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
}

@media (max-width: 1199px) {
  .project-modal .owner-anchor .owner-img {
    width: 45px;
    height: 45px;
  }
}

.project-modal .owner-anchor .owner-text {
  -webkit-margin-start: 15px;
          margin-inline-start: 15px;
  text-align: start;
}

.project-modal .owner-anchor .owner-text h6 {
  font-size: 14px;
  font-weight: 400;
  color: var(--secondery-color);
  margin: 0;
}

.project-modal .owner-anchor .owner-text span {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 300;
  color: #454242;
}

.project-modal .owner-anchor:hover {
  text-decoration: none;
}

.project-modal .owner-feats {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  margin-top: 15px;
}

@media (max-width: 991px) {
  .project-modal .owner-feats {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    /* -webkit-box-pack: center;
        -ms-flex-pack: center; */
            /* justify-content: center; */
    margin-top: 10px;
  }
}

.project-modal .feat {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  font-weight: 400;
  font-family: var(--font-body);
  color: var(--text-color);
}

@media (max-width: 991px) {
  .project-modal .feat {
    margin: 5px;
  }
}

.project-modal .feat-icon {
  width: 35px;
}

.project-modal .feat-icon svg {
  fill: var(--primary-color);
  -webkit-transform: scale(0.75);
          transform: scale(0.75);
}

.project-modal .modal-footer {
  padding: 20px;
  border: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  border-top: solid 0.5px rgb(189 184 184 / 32%);
}

@media (max-width: 991px) {
  .project-modal .modal-footer {
    padding: 15px 10px;
  }
}

.project-modal .modal-footer button {
  margin: 0 5px;
}

@media (max-width: 767px) {
  .project-modal .modal-footer button {
    margin: 5px 0;
  }
}

.project-modal .modal-footer button.modal-btn {
  width: 170px;
}

@media (max-width: 767px) {
  .project-modal .modal-footer {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}

.project-modal .project-tool {
  /* border-radius: 5px; */
  height: 35px;
  min-width: 140px;
  padding: 0 15px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  background-color: #fff;
  border: 2px solid var(--primary-color);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  color: #747373;
  font-size: 16px;
  cursor: pointer;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.project-modal .project-tool svg {
  fill: var(--primary-color);
  width: 20px;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  -webkit-margin-end: 3px;
          margin-inline-end: 3px;
}

.project-modal .project-tool svg .cls-1 {
  fill: none;
  stroke: #60d049;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3px;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.project-modal .project-tool:hover {
  background-color: var(--secondery-color);
  border-color: var(--secondery-color);
  color: #fff;
}

.project-modal .project-tool:hover svg {
  fill: #fff;
}

.project-modal .project-tool:hover svg .cls-1 {
  stroke: #fff;
}

@media (max-width: 767px) {
  .project-modal .project-tool {
    width: 170px;
  }
}

.comment {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

@media (max-width: 991px) {
  .comment {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}

.comment ~ .comment {
  margin-top: 25px;
}

.comment .comment-first-div {
  width: 200px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}

@media (max-width: 991px) {
  .comment .comment-first-div {
    width: auto;
  }
}

.comment .comment-owner {
  padding: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background-color: transparent;
  border: none;
  cursor: pointer;
}

.comment .comment-owner .owner-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
}

@media (max-width: 1199px) {
  .comment .comment-owner .owner-img {
    width: 45px;
    height: 45px;
  }
}

.comment .comment-owner .owner-text {
  -webkit-margin-start: 15px;
          margin-inline-start: 15px;
  text-align: start;
}

.comment .comment-owner .owner-text h6 {
  font-size: 14px;
  font-weight: 400;
  color: var(--secondery-color);
  margin: 0;
}

.comment .comment-owner .owner-text span {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 300;
  color: #454242;
}

.comment .comment-owner:hover {
  text-decoration: none;
}

.comment .comment-cont {
  padding-right: 15px;
  border-right: solid 0.5px rgba(112, 112, 112, 0.14);
}

@media (max-width: 991px) {
  .comment .comment-cont {
    padding: 5px 0 0;
    border: none;
  }
}

.comment .comment-stars {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 8px;
}

.comment .comment-stars span {
  fill: none;
  stroke: #ffba00;
  stroke-width: 1px;
}

.comment .comment-stars span ~ span {
  -webkit-margin-start: 3px;
          margin-inline-start: 3px;
}

.comment .comment-stars span.active {
  fill: #ffba00;
}

.comment .comment-text {
  font-family: var(--font-body);
  font-weight: 300;
  color: #222222;
  line-height: 1.6;
  margin: 0;
}

.attaches-grid {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 1fr 1fr 1fr;
      grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 10px;
}

@media (max-width: 1199px) {
  .attaches-grid {
    -ms-grid-columns: 1fr 1fr 1fr;
        grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (max-width: 991px) {
  .attaches-grid {
    -ms-grid-columns: 1fr 1fr;
        grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .attaches-grid {
    -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
    gap: 10px;
  }
}

.block-body .attaches-grid {
  -ms-grid-columns: 1fr 1fr 1fr;
      grid-template-columns: 1fr 1fr 1fr;
}

@media (max-width: 1199px) {
  .block-body .attaches-grid {
    -ms-grid-columns: 1fr 1fr;
        grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 991px) {
  .block-body .attaches-grid {
    -ms-grid-columns: 1fr 1fr;
        grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .block-body .attaches-grid {
    -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
  }
}

.attaches-grid .attach-content {
  padding-bottom: 45%;
  position: relative;
  /* border-radius: 5px; */
  overflow: hidden;
  width: 100%;
  max-height: 100%;
  /* border: solid 0.5px rgba(112, 112, 112, 0.25); */
}

.attaches-grid .attach-content img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.attaches-grid .attach-content h2 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #f7f7f7;
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--text-color);
}

.attaches-grid .attach-name {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(38, 38, 38, 0.7);
  padding: 7px 10px;
  color: #fff;
  font-size: 12px;
  font-family: var(--font-body);
  /* font-weight: 700; */
  text-align: center;
}

/* PDF and File Attachments Styling */
.attaches-grid .pdf-attachment,
.attaches-grid .file-attachment {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #f7f7f7;
  padding: 10px;
  transition: all 0.3s ease-in-out;
  text-decoration: none;
}

/* .attaches-grid .pdf-attachment:hover,
.attaches-grid .file-attachment:hover {
  background-color: #e8f5e9;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
} */

.attaches-grid .pdf-icon,
.attaches-grid .file-icon {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* margin-bottom: 10px; */
}

.attaches-grid .pdf-icon svg,
.attaches-grid .file-icon svg {
  stroke: #60d049;
  margin-bottom: 5px;
}

.attaches-grid .file-icon svg {
  stroke: #1976d2;
}

.attaches-grid .pdf-label,
.attaches-grid .file-label {
  font-size: 12px;
  font-weight: 700;
  color: #262626;
  font-family: var(--font-body);
  text-transform: uppercase;
}

.attaches-grid .file-label {
  color: #1976d2;
}

.attaches-grid .pdf-attachment .attach-name,
.attaches-grid .file-attachment .attach-name {
  position: static;
  background-color: transparent;
  color: var(--text-color);
  font-size: 12px;
  padding: 0;
  text-align: center;
  word-break: break-word;
  max-width: 100%;
}


.rate-modal {
  -webkit-transform: scale(0);
          transform: scale(0);
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  min-height: calc(100vh - 60px);
  max-height: calc(100vh - 60px);
}

.rate-modal .modal-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  padding: 15px 30px;
  border-bottom: solid 0.5px rgb(189 184 184 / 32%);
}

.rate-modal .modal-header .modal-title {
  font-size: 24px;
  color: var(--text-color);
  font-weight: 400;
  margin: 0;
}

.rate-modal .modal-header .close {
  opacity: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  font-size: 13px;
  color: var(--text-color);
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  margin: 0;
  padding: 0;
}

@media (max-width: 991px) {
  .rate-modal .modal-header .close {
    width: 40px;
    height: 40px;
    top: 5px;
    left: 5px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    background-color: var(--primary-color);
    border-radius: 50%;
  }
}

.rate-modal .modal-header .close .arrow {
  -webkit-margin-start: 5px;
          margin-inline-start: 5px;
  fill: var(--primary-color);
  width: 15px;
  overflow: hidden;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

@media (max-width: 991px) {
  .rate-modal .modal-header .close .arrow {
    fill: #fff;
  }
}

.rate-modal .modal-header .close .arrow svg {
  width: 35px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}

.rate-modal .modal-body {
  border: none;
  padding: 23px 30px 15px;
}

.rate-modal .modal-footer {
  border: 0;
  padding: 0 30px 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 10px;
}

.rate-modal .body-head {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 10px;
}

.rate-modal .body-head span {
  color: #222;
  font-family: var(--font-body);
  font-weight: 400;
}

.rate-modal .title {
  font-size: 18px;
  color: #222;
  margin: 0;
  margin-left: 15px;
  font-weight: 400;
}

.rate-modal .big-stars {
  margin-bottom: 25px;
}

.rate-modal textarea {
  /* border-radius: 3.5px; */
  border: solid 0.5px rgba(112, 112, 112, 0.25);
  background-color: #fff;
  width: 100%;
  /* padding: 15px 23px; */
  resize: none;
  height: 110px;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.rate-modal textarea:focus {
  border-color: var(--primary-color);
}

.rate-modal textarea::-webkit-input-placeholder {
  color: #aaa;
  font-size: 13px;
}

.rate-modal textarea::-moz-placeholder {
  color: #aaa;
  font-size: 13px;
}

.rate-modal textarea:-ms-input-placeholder {
  color: #aaa;
  font-size: 13px;
}

.rate-modal textarea::placeholder {
  color: #aaa;
  font-size: 13px;
}

.rate-modal .done-button {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 100%;
  height: 50px;
  background-color: var(--primary-color);
  border: none;
  color: #fff;
  font-weight: 700;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  border-radius: 5px;
  cursor: pointer;
}

.rate-modal .done-button:hover {
  color: #fff;
  background-color: var(--secondery-color);
  text-decoration: none;
}

.rate-modal .cancel-button {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 100%;
  height: 50px;
  background-color: transparent;
  border: 1px solid #ddd;
  color: #666;
  font-weight: 600;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  border-radius: 5px;
  cursor: pointer;
}

.rate-modal .cancel-button:hover {
  background-color: #f5f5f5;
  color: #333;
}

.rate-user-card {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 14px;
  background: #f8f9fa;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 20px;
}

.rate-user-card .rate-user-avatar img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  border: 2px solid var(--primary-color);
}

.rate-user-card .rate-user-info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 3px;
}

.rate-user-card .rate-user-info strong {
  font-size: 15px;
  color: #222;
  font-weight: 700;
}

.rate-user-card .rate-user-info span {
  font-size: 13px;
  color: #888;
}

.confirm-modal {
  -webkit-transform: scale(0);
          transform: scale(0);
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  min-height: calc(100vh - 60px);
  max-height: calc(100vh - 60px);
}

.confirm-modal .modal-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 12px 30px;
  /* border: solid 0.5px rgb(189 184 184 / 32%); */
  background-color: #efefef;
}

.confirm-modal .modal-header .modal-title {
  font-size: 24px;
  color: var(--text-color);
  font-weight: 400;
  margin: 0;
}

.confirm-modal .modal-body {
  border: none;
  padding: 23px 30px 15px;
}

.confirm-modal .modal-body p {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.58;
  text-align: center;
  color: #222;
  width: 100%;
  max-width: 300px;
  margin: auto;
}

.confirm-modal .modal-footer {
  border: 0;
  padding: 0 20px 16px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.confirm-modal .modal-footer a,
.confirm-modal .modal-footer button {
  margin: 0 7.5px;
  width: 120px;
  height: 35px;
  /* border-radius: 5px; */
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  font-weight: 500;
  font-size: 16px;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
}

.confirm-modal .modal-footer a.submit,
.confirm-modal .modal-footer button.submit {
  background-color: #14965A;
  color: #fff;
}

.confirm-modal .modal-footer a.cancel,
.confirm-modal .modal-footer button.cancel {
  border: solid 0.5px #efefef;
  color: #707070;
  font-weight: 400;
  background: transparent;
}

.confirm-modal .modal-footer a:hover,
.confirm-modal .modal-footer button:hover {
  text-decoration: none;
  border-color: var(--secondery-color);
  background-color: var(--secondery-color);
  color: #fff;
}

.confirm-modal .sec-confirm {
  display: none;
}

.confirm-modal .sec-confirm .modal-body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.confirm-modal .sec-confirm .modal-body svg {
  width: 60px;
}

.confirm-modal .sec-confirm .modal-body h5 {
  font-size: 18px;
  color: #222;
  font-weight: 700;
  margin: 10px 0;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99;
  background-color: #19B36B;
}

.inner-page header {
  position: fixed;
  background-color: #19B36B;
}

.header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 5px 0 !important;
}

@media (max-width: 1199px) {
  .header {
    padding: 10px 0 !important;
  }
}

.inner-page .header {
  padding: 6px 0;
}

.logo {
  display: block;
  width: 123px;
}

@media (max-width: 1199px) {
  .logo {
    width: 95px;
  }
}

.menu-btn {
  border: none;
  fill: #fff;
  background-color: transparent;
  -webkit-margin-end: 25px;
          margin-inline-end: 25px;
  padding: 0;
  display: none;
}

.menu-btn svg {
  width: 20px;
}

@media (max-width: 1199px) {
  .menu-btn {
    display: block;
  }
}

.header-tools {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  -webkit-margin-start: auto;
          margin-inline-start: auto;
}

.non-reg-btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  height: 37px;
  /* border-radius: 22.5px; */
  padding: 0 15px;
  font-size: 14px;
  -webkit-margin-start: 15px;
          margin-inline-start: 15px;
  border: none;
  outline: none;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  border: solid 0.5px rgba(112, 112, 112, 0.10);
}

@media (max-width: 1199px) {
  .non-reg-btn {
    padding: 0;
    width: 45px;
  }
}

@media (max-width: 767px) {
  .non-reg-btn {
    width: 30px;
    height: 30px;
  }
  .non-reg-btn svg {
    width: 15px;
  }
}

.non-reg-btn .text {
  -webkit-margin-start: 9px;
          margin-inline-start: 9px;
}

@media (max-width: 1199px) {
  .non-reg-btn .text {
    display: none;
  }
}

.non-reg-btn.reg-btn {
  /* background-color: #fff;
  color: #080808;
  fill: var(--primary-color); */
  /* background-color: var(--primary-color); */
    color: #fff;
    fill: #fff;
    border: 0.5px solid #fff;
}

.non-reg-btn.log-btn {
  /* background-color: var(--primary-color); */
    color: #fff;
    fill: #fff;
    border: 0.5px solid #fff;
}

.non-reg-btn.search-btn {
  background-color: var(--primary-color);
  color: #fff;
  fill: #080808;
  display: none;
}

@media (max-width: 1199px) {
  .non-reg-btn.search-btn {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
}

.non-reg-btn:hover {
  text-decoration: none;
  background-color: var(--primary-color);
  fill: #fff;
  color: #fff;
}

.header-ico {
  border: none;
  background-color: transparent;
  position: relative;
  cursor: pointer;
  fill: #fff;
  padding: 0;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.header-ico:hover {
  fill: #000;
}

/* .header-ico.have-new-items:after {
  position: absolute;
  margin: 0;
  border: solid 3px #f3f3f3;
  background-color: #60d049;
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
} */

.header-ico.have-new-items.msg-btn::after {
  bottom: 5px;
  left: 0;
}

.header-ico.have-new-items.notification-btn::after {
  top: 30%;
  right: 0;
}

/* Notification Badge Styles */
.notification-badge {
 position: absolute;
    top: -5px;
    right: -5px;
    background-color: #f48892;
    color: white;
    border-radius: 100%;
    width: 18px;
    height: 18px;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    /* padding: 0 4px; */
    /* border: 2px solid #fff; */
    /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); */
    /* z-index: 1000; */
    pointer-events: none;
}

.notification-badge:empty {
  display: none;
}

/* Enhanced notification button hover effects */
.header-ico.notification-btn {
  transition: all 0.3s ease;
  position: relative;
}

.header-ico.notification-btn:hover {
  transform: scale(1.05);
}

.header-ico.notification-btn:hover .notification-badge {
  transform: scale(1.1);
  /* box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3); */
}

/* RTL Support for notification badge */
html[dir="rtl"] .notification-badge {
  right: auto;
  left: -5px;
}

/* Enhanced notification list styles */
.notification-list {
  max-height: 400px;
  /* overflow-y: auto; */
}

/* Prevent body scroll when dropdown is open */
body.dropdown-open {
  overflow: hidden;
}

.notification-list .notification-item {
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.notification-list .notification-item:hover {
  background-color: #f8f9fa;
  /* border-left-color: var(--primary-color); */
  /* transform: translateX(5px); */
}

.notification-list .notification-item.new-item {
  background-color: #f7f3f3;
}

.notification-list .notification-item.new-item:hover {
  background-color: #f7f3f3;
}

/* Notification item animations */
.notification-list .notification-item {
  animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Enhanced notification button states */
.header-ico.notification-btn:active {
  transform: scale(0.95);
}

/* .header-ico.notification-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
} */

.user-cont {
  -webkit-margin-start: 30px;
          margin-inline-start: 30px;
}

@media (max-width: 1199px) {
  .user-cont {
    margin: 0;
  }
}

.user-cont .user-anchor {
  padding: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background-color: transparent;
  border: none;
  cursor: pointer;
}

.user-cont .user-anchor .user-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
}

@media (max-width: 1199px) {
  .user-cont .user-anchor .user-img {
    width: 40px;
    height: 40px;
  }
}

.user-cont .user-anchor .user-text {
  -webkit-margin-start: 10px;
          margin-inline-start: 10px;
  text-align: start;
}

@media (max-width: 1199px) {
  .user-cont .user-anchor .user-text {
    display: none;
  }
}

.user-cont .user-anchor .user-text h6 {
  font-size: 16px;
  font-weight: 400;
  color: #fff;
  margin: 0;
}

.user-cont .user-anchor .user-text span {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  color: #fff;
}

.user-cont .user-list {
  top: calc(100% + 8px);
  right: 2px;
  min-width: 140px;
  padding: 10px 10px 7px;
  border-radius: 1.5px;
  -webkit-box-shadow: 0 12.5px 25px 0 rgba(0, 0, 0, 0.09);
          box-shadow: 0 12.5px 25px 0 rgba(0, 0, 0, 0.09);
  background-color: #fff;
  /* border-top: 5px solid var(--primary-color); */
}

.user-cont .user-list a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 0 5px;
  color: #656565;
  fill: #656565;
  font-weight: 400;
  font-family: var(--font-body);
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.user-cont .user-list a .list-icon {
  width: 18px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.user-cont .user-list a .list-text {
  -webkit-margin-start: 10px;
  margin-inline-start: 10px;
  font-size: 14px;
}

.user-cont .user-list a ~ a {
  margin-top: 15px;
}

.user-cont .user-list a:last-of-type {
  margin-top: 10px;
  padding-top: 10px;
  border-top: solid 1px rgba(0, 0, 0, 0.05);
}

.user-cont .user-list a:hover {
  text-decoration: none;
  color: var(--primary-color);
  fill: var(--primary-color);
}

@media (max-width: 1199px) {
  .user-cont .user-list {
    right: -35%;
    -webkit-transform: translateX(50%);
            transform: translateX(50%);
  }
}

.dropdown-cont {
  position: relative;
}

.dropdown-cont .dropdown-list {
  position: absolute;
  display: none;
  z-index: 99;
}

.dropdown-cont .dropdown-list a {
  white-space: nowrap;
}

/* Allow text wrapping in notification and message dropdown items */
.notification-list .notification-item a,
.msg-list .msg-link {
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
}

.dropdown-overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: transparent;
  z-index: 2;
  display: none;
}

.notification-cont {
  -webkit-margin-start: 20px;
          margin-inline-start: 20px;
}

@media (max-width: 1199px) {
  .notification-cont {
    -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
            order: 1;
    position: static;
  }
}

.notification-list {
  top: calc(100% + 18px);
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  max-width: 370px;
  min-width: 370px;
  /* border-radius: 5px; */
  /* -webkit-box-shadow: 0 1.5px 3px 0 rgba(0, 0, 0, 0.16);
          box-shadow: 0 1.5px 3px 0 rgba(0, 0, 0, 0.16); */
  background-color: #fff;
  /* border-top: 5px solid var(--primary-color); */
}

@media (max-width: 1199px) {
  .notification-list {
    top: 100%;
    left: 0;
    -webkit-transform: none;
            transform: none;
    max-width: 300px;
    min-width: 300px;
    min-width: auto;
  }
}

.notification-list .list-head {
  color: #312f2f;
  font-size: 22px;
  padding: 12px 17px 0;
  margin: 0;
}

.notification-list .notification-items {
  max-height: 400px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #c5c5c5 transparent;
}

.notification-list .notification-items::-webkit-scrollbar {
  background-color: transparent;
  width: 3px;
  height: 0px;
}

.notification-list .notification-items::-webkit-scrollbar-thumb {
  background-color: #c5c5c5;
  border-radius: 10px;
}

.notification-list .notification-items::-webkit-scrollbar-thumb:hover {
  background-color: #a0a0a0;
}

.notification-list .notification-items::-webkit-scrollbar-track {
  background-color: transparent;
}

.notification-list .items-title {
  font-size: 18px;
  color: var(--primary-color);
  margin: 0;
  padding: 10px 17px;
}

.notification-list .notification-item {
  padding: 11px 17px 9px;
  position: relative;
}

.notification-list .notification-item:after {
  opacity: 0.14;
  height: 1px;
  background-color: #707070;
  bottom: 0;
  content: "";
  display: block;
  position: absolute;
  left: 17px;
  right: 17px;
}

/* .notification-list .notification-item.new-item {
  background-color: rgba(157, 217, 145, 0.07);
} */

.notification-list .notification-item:last-of-type::after {
  display: none;
}

.notification-list ul {
  margin: 0;
}

.notification-list .item-title {
  font-size: 14px;
  color: #3b3737;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
  margin: 0 0 4px;
}

.notification-list .item-desc {
  margin: 0;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 300;
  line-height: 1.54;
  color: #707070;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.notification-list .more-notification {
  width: 100%;
  height: 35px;
  background-color: var(--secondery-color);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  /* border-end-end-radius: 5px;
  border-end-start-radius: 5px; */
  font-size: 15px;
  color: #fff;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.notification-list .more-notification:hover {
  background-color: var(--primary-color);
  text-decoration: none;
}

 /* .notification-list::before {
  position: absolute;
  top: -20px;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 10px 0 10px;
  border-color: #d9d9d9 transparent transparent transparent;
  display: block;
} */

@media (max-width: 1199px) {
  .notification-list::before {
    display: none;
  }
}

@media (max-width: 1199px) {
  .msg-cont {
    -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
            order: 1;
    margin: 0;
    -webkit-margin-start: 20px;
            margin-inline-start: 20px;
    position: static;
    margin-left: 20px;
  }
  .header-tools{
    flex-direction: row-reverse;
  }
}

.msg-list {
  top: calc(100% + 18px);
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  min-width: 360px;
  /* border-radius: 5px; */
  /* -webkit-box-shadow: 0 1.5px 3px 0 rgba(0, 0, 0, 0.16);
          box-shadow: 0 1.5px 3px 0 rgba(0, 0, 0, 0.16); */
  background-color: #fff;
  /* border-top: 5px solid var(--primary-color); */
}

@media (max-width: 1199px) {
  .msg-list {
    top: 100%;
    left: 0;
    -webkit-transform: none;
            transform: none;
    width: 340px;
    min-width: auto;
  }
}

.msg-list .list-head {
  color: #312f2f;
  font-size: 22px;
  padding: 12px 17px 0;
  margin: 0;
}

.msg-list .msg-items {
  max-height: calc(100vh - 200px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #c5c5c5 transparent;
  max-height: 400px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #c5c5c5 transparent;
}

.msg-list .msg-items::-webkit-scrollbar {
  background-color: transparent;
  width: 3px;
  height: 0px;
}

.msg-list .msg-items::-webkit-scrollbar-thumb {
  background-color: #c5c5c5;
  border-radius: 10px;
}

.msg-list .msg-items::-webkit-scrollbar-thumb:hover {
  background-color: #a0a0a0;
}

.msg-list .msg-items::-webkit-scrollbar-track {
  background-color: transparent;
}

.msg-list .items-title {
  font-size: 18px;
  color: var(--primary-color);
  margin: 0;
  padding: 10px 17px;
}

.msg-list .msg-item {
  padding: 11px 17px 9px;
  position: relative;
}

.msg-list .msg-item:after {
  opacity: 0.14;
  height: 1px;
  background-color: #707070;
  bottom: 0;
  content: "";
  display: block;
  position: absolute;
  left: 17px;
  right: 17px;
}

.msg-list .msg-item.new-item {
  background-color: #f7f3f3;
}

.msg-list .msg-item.new-item:hover{
  background-color: #f7f3f3;
}

.msg-list .msg-item:hover {
  background-color: #f8f9fa;
  /* border-left-color: var(--primary-color); */
  /* transform: translateX(5px); */
}

.msg-list .msg-item:last-of-type::after {
  display: none;
}

.msg-list .msg-link {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  /* -webkit-box-align: center; */
      /* -ms-flex-align: center; */
          /* align-items: center; */
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  white-space: unset !important;
}

.msg-list .msg-link .msg-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  margin-left: 7px;
}

.msg-list .msg-link .msg-img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.msg-list .msg-link:hover {
  text-decoration: none;
}

.msg-list ul {
  margin: 0;
}

.msg-list .item-title {
  font-size: 14px;
  color: #3b3737;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
  margin: 0 0 4px;
}

.msg-list .item-desc {
  margin: 0;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 300;
  line-height: 1.54;
  color: #707070;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.msg-list .more-msg {
  width: 100%;
  height: 35px;
  background-color: var(--secondery-color);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  /* border-end-end-radius: 5px;
  border-end-start-radius: 5px; */
  font-size: 15px;
  color: #fff;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.msg-list .more-msg:hover {
  background-color: var(--primary-color);
  text-decoration: none;
}

 /* .msg-list::before {
  position: absolute;
  top: -20px;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 10px 0 10px;
  border-color: #d9d9d9 transparent transparent transparent;
  display: block;
} */

@media (max-width: 1199px) {
  .msg-list::before {
    display: none;
  }
}

/* Start Common */
.section-title {
  margin-bottom: 45px;
  font-weight: 700;
  font-size: 30px;
  text-align: center;
  color: var(--text-color);
}

@media (max-width: 1199px) {
  .section-title {
    font-size: 24px;
    margin-bottom: 25px;
  }
}

.swiper-btns {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 25px;
}

.swiper-btns .swiper-btn {
  border: solid 0.5px var(--primary-color);
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  background-color: transparent;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.swiper-btns .swiper-btn svg {
  fill: none;
  stroke: var(--primary-color);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4px;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.swiper-btns .swiper-btn:hover {
  background-color: var(--primary-color);
}

.swiper-btns .swiper-btn:hover svg {
  stroke: #fff;
  opacity: .999;
}

.swiper-btns .swiper-btn.swiper-btn-next {
  -webkit-margin-start: 15px;
          margin-inline-start: 15px;
}

@media (max-width: 991px) {
  .swiper-btns {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    margin-top: 40px;
    margin-bottom: 15px;
  }
}

/* End Common */
/* Start Main */
.home-main {
  position: relative;
  padding: 120px 0 70px;
}

.home-main .main-pattern {
  position: absolute;
  top: 0;
  bottom: 0;
  max-width: 46%;
  left: 0;
}

.home-main .main {
  position: relative;
  z-index: 2;
}

@media (max-width: 767px) {
  .home-main {
    padding: 100px 0 35px;
  }
}

.main-section {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

@media (max-width: 991px) {
  .main-section {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}

.main-section .main-img {
  max-width: 35%;
}

@media (max-width: 991px) {
  .main-section .main-img {
    -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
            order: 2;
    max-width: 350px;
  }
}

.main-section .main-text {
  max-width: 52%;
}

@media (max-width: 1199px) {
  .main-section .main-text {
    max-width: 50%;
  }
}

@media (max-width: 991px) {
  .main-section .main-text {
    -webkit-box-ordinal-group: 4;
        -ms-flex-order: 3;
            order: 3;
    max-width: none;
  }
}

.main-section .main-title {
  font-size: 48px;
  font-weight: 700;
  color: #3c3c3c;
  margin: 0;
}

.main-section .main-title span {
  color: var(--primary-color);
}

@media (max-width: 991px) {
  .main-section .main-title {
    text-align: center;
  }
}

@media (max-width: 767px) {
  .main-section .main-title {
    font-size: 36px;
    margin-top: 30px;
  }
}

.main-section .main-subtitle {
  font-size: 16px;
  color: #3c3c3c;
  margin: 0 0 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.main-section .main-subtitle::after {
  content: "";
  width: 75.5px;
  height: 2px;
  background-color: var(--primary-color);
  display: block;
  -webkit-margin-start: 10px;
          margin-inline-start: 10px;
}

.main-section .main-subtitle.xs-subtitle {
  display: none;
}

.main-section .main-subtitle.xs-subtitle:after {
  display: none;
}

@media (max-width: 991px) {
  .main-section .main-subtitle {
    display: none;
  }
  .main-section .main-subtitle.xs-subtitle {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    text-align: center;
    -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
            order: 1;
  }
}

.main-slide {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 15px 20px;
  /* border-radius: 5px; */
  background-color: #fff !important;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

@media (max-width: 767px) {
  .main-slide {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    text-align: center;
  }
}

.main-slide .slide-img {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  width: 45px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

@media (max-width: 767px) {
  .main-slide .slide-img {
    margin-bottom: 15px;
  }
}

.main-slide .slide-text {
  -webkit-margin-start: 13px;
          margin-inline-start: 13px;
}

@media (max-width: 767px) {
  .main-slide .slide-text {
    margin: 0;
  }
}

.main-slide .slide-title {
  color: var(--secondery-color);
  font-size: 15px;
  min-height: 30px;
  margin: 0;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.main-slide .slide-desc {
  font-size: 12px;
  color: var(--secondery-color);
  font-family: var(--font-body);
  margin: 0;
  line-height: 1.8;
  text-align: justify;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.main-slide .slide-desc a {
  -webkit-margin-start: 10px;
          margin-inline-start: 10px;
}

.main-slide .slide-desc a svg {
  fill: var(--primary-color);
  width: 35px;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.main-slide:hover {
  background-color: var(--primary-color);
}

.main-slide:hover .slide-title {
  color: #fff;
}

.main-slide:hover .slide-desc {
  color: #fff;
}

.main-slide:hover .slide-desc a svg {
  fill: #fff;
}

/* End Main */

/* Home — client-first sections */
.main-hero-lead {
  font-size: 16px;
  line-height: 1.75;
  color: #3c3c3c;
  margin: 18px 0 0;
  max-width: 36em;
}

.main-hero-lead-link {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.main-hero-lead-link:hover {
  color: #14965a;
}

.main-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
}

@media (max-width: 991px) {
  .main-hero-actions {
    justify-content: center;
  }
}

.home-client-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  text-align: center;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.home-client-cta-btn--primary {
  background: var(--primary-color);
  color: #fff;
  border: 2px solid var(--primary-color);
}

.home-client-cta-btn--primary:hover {
  background: #14965a;
  border-color: #14965a;
  color: #fff;
  text-decoration: none;
}

.home-client-cta-btn--ghost {
  background: #fff;
  color: #1a1a1a;
  border: 2px solid rgba(0, 0, 0, 0.12);
}

.home-client-cta-btn--ghost:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  text-decoration: none;
}

.home-client-why {
  padding: 56px 0 48px;
  background: #f8f9fa;
}

.home-client-why-title {
  margin-bottom: 12px;
}

.home-client-why-intro {
  text-align: center;
  color: #555;
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto 40px;
}

.home-client-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 1199px) {
  .home-client-why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .home-client-why-grid {
    grid-template-columns: 1fr;
  }
}

.home-client-why-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px 22px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.05);
  height: 100%;
}

.home-client-why-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #ecfdf5;
  color: #14965a;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.home-client-why-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 10px;
  color: #1a1a1a;
}

.home-client-why-card-desc {
  margin: 0;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.75;
}

.home-client-why-foot {
  text-align: center;
  margin: 32px 0 0;
}

.home-client-why-foot-link {
  font-weight: 600;
  color: var(--primary-color);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.home-client-why-foot-link:hover {
  color: #14965a;
}

.feats-grid-section-heading {
  grid-column: 1 / -1;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin: 8px 0 4px;
  padding: 0 4px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.feats-grid-section-heading--freelancers {
  margin-top: 24px;
}

.home-how-role-hint {
  text-align: center;
  color: #666;
  font-size: 1rem;
  margin: -10px 0 24px;
}

.home-how-role-tabs {
  margin-bottom: 28px;
  border-bottom: none;
  gap: 8px;
}

.home-how-role-tabs .nav-item {
  margin: 0 4px;
}

.home-how-role-tabs .nav-link {
  border-radius: 999px;
  padding: 10px 24px;
  font-weight: 600;
  color: #444;
  border: 2px solid #ddd;
  background: #fafafa;
}

.home-how-role-tabs .nav-link:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.home-how-role-tabs .nav-link.active {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

.home-how-role-content {
  padding-top: 8px;
}

/* Home: step preview panel (بطاقة الخطوة بجانب القائمة) */
.how-section--home .how-content {
  position: relative;
}

.how-section--home .step-content-card {
  position: relative;
  background: #fff;
  border-radius: 12px;
  padding: 32px 24px 36px;
  text-align: center;
  min-height: 260px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  border: 1px solid #e0e0e0;
  -webkit-box-shadow: none;
          box-shadow: none;
  overflow: hidden;
}

.how-section--home .step-content-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary-color);
}

.how-section--home .step-icon {
  margin: 0 auto 22px;
  width: 80px;
  height: 80px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 0;
  border-radius: 50%;
  background: #f4fbf2;
  border: 1px solid rgba(96, 208, 73, 0.35);
  color: var(--primary-color);
  -webkit-box-shadow: none;
          box-shadow: none;
}

.how-section--home .step-icon svg {
  width: 46px;
  height: 46px;
}

.how-section--home .step-icon svg path,
.how-section--home .step-icon svg circle,
.how-section--home .step-icon svg polyline,
.how-section--home .step-icon svg line,
.how-section--home .step-icon svg rect {
  stroke: currentColor;
  fill: none;
}

.how-section--home .card-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #1a1a1a;
  margin: 0 0 14px;
  line-height: 1.35;
  max-width: 16em;
}

.how-section--home .card-description {
  font-size: 15px;
  color: #555;
  line-height: 1.85;
  margin: 0;
  text-align: center;
  max-width: 28em;
}

@media (max-width: 991px) {
  .how-section--home .how-content {
    margin-top: 8px;
  }

  .how-section--home .step-content-card {
    min-height: 0;
    padding: 28px 22px 32px;
  }

  .how-section--home .card-title {
    font-size: 1.2rem;
  }

  .how-section--home .card-description {
    font-size: 14px;
  }
}

.home-closing-cta {
  padding: 56px 0 70px;
  background: linear-gradient(180deg, #fdf9f3 0%, #fff 100%);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.home-closing-cta-inner {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.home-closing-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 14px;
}

.home-closing-desc {
  margin: 0 0 24px;
  font-size: 1.05rem;
  line-height: 1.75;
  color: #555;
}

.home-closing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

@media (max-width: 767px) {
  .main-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .main-hero-actions .home-client-cta-btn {
    width: 100%;
  }
}

/* Start Feature */
.feats-section {
  background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 70px 0 55px;
}

@media (max-width: 1199px) {
  .feats-section {
    padding: 55px 0;
  }
}

.feats-grid {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (1fr)[3];
      grid-template-columns: repeat(3, 1fr);
  gap: 20px 15px;
}

@media (max-width: 1199px) {
  .feats-grid {
    -ms-grid-columns: (1fr)[2];
        grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .feats-grid {
    -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
  }
}

.feat-item {
  position: relative;
  /* border-radius: 10px; */
  border: solid 1px #a7a7a7;
  width: 100%;
  height: 100%;
  overflow: hidden;
  padding: 20px 20px 22.5px 28px;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.feat-item .feat-subtitle {
  position: relative;
  z-index: 2;
  font-size: 13px;
  margin-bottom: 13px;
  font-family: var(--font-body);
  color: #fff;
}

.feat-item .feat-title {
  position: relative;
  z-index: 2;
  font-size: 22px;
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 10px;
}

.feat-item .feat-info {
  position: relative;
  z-index: 2;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  min-height: 76px;
}

.feat-item .feat-desc {
  font-size: 14px;
  margin-bottom: 0;
  line-height: 1.57;
  font-family: var(--font-body);
  color: #fff;
  max-width: 80%;
}

.feat-item .feat-more {
  background-color: transparent;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: solid 0.5px var(--primary-color);
  fill: var(--primary-color);
  -ms-flex-negative: 0;
      flex-shrink: 0;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.feat-item .feat-more:hover {
  background-color: var(--primary-color);
  fill: #fff;
}

.feat-item::after {
  opacity: 0.86;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  background-image: linear-gradient(127deg, #00a000 -64%, #003700 -12%, #040704 26%, #000 41%, #000 75%);
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.feat-item:hover {
  -webkit-transform: translate(-5px, -5px);
          transform: translate(-5px, -5px);
}

.feat-item:hover::after {
  opacity: 1;
}

/* End Feature */
/* Start How Does It Work */
.how-section {
  padding: 65px 0;
}

.how-steps li {
  display: block;
  margin-bottom: 40px;
}

.how-steps li a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.how-steps li a .step-check {
  width: 35px;
  height: 35px;
  border: solid 1px var(--text-color);
  border-radius: 50%;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  background-color: #fdf9f3;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  position: relative;
}

.how-steps li a .step-check svg {
  width: 20px;
  fill: none;
  stroke: #fff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 6px;
  -webkit-transform: scale(0) rotate(360deg);
          transform: scale(0) rotate(360deg);
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.how-steps li a .step-check::after {
  width: 1px;
  background-color: var(--text-color);
  content: "";
  height: 100px;
  position: absolute;
  top: 100%;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

@media (max-width: 767px) {
  .how-steps li a .step-check::after {
    height: 120px;
  }
}

.how-steps li a .step-text {
  -webkit-margin-start: 20px;
          margin-inline-start: 20px;
}

.how-steps li a .step-title {
  font-size: 20px;
  line-height: 1.16;
  color: var(--text-color);
  font-weight: 700;
  margin-bottom: 5px;
}

.how-steps li a .step-desc {
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--text-color);
  margin: 0;
}

.how-steps li a.active .step-check {
  border-color: var(--primary-color);
  background-color: var(--primary-color);
}

.how-steps li a.active .step-check svg {
  -webkit-transform: scale(1) rotate(0);
          transform: scale(1) rotate(0);
}

.how-steps li a.active .step-check::after {
  background-color: var(--primary-color);
}

.how-steps li a:hover {
  text-decoration: none;
}

.how-steps li:last-of-type {
  margin-bottom: 0;
}

.how-steps li:last-of-type a .step-check::after {
  display: none;
}

@media (max-width: 991px) {
  .how-steps {
    margin-bottom: 35px;
  }
}

.step-content {
  background-color: #fdf9f3;
}

.step-content .step-content-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-color);
  fill: var(--primary-color);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-bottom: 15px;
}

.step-content .step-content-title svg {
  -webkit-margin-end: 12px;
          margin-inline-end: 12px;
  width: 35px;
}

.step-content .video-content {
  position: relative;
}

.step-content .video-content .play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  width: 77px;
  height: 77px;
  border-radius: 50%;
  background-color: #fff;
  fill: var(--primary-color);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.step-content .video-content .play-btn:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 15px solid #fff;
  -webkit-animation: pulse 2s linear infinite 1s;
          animation: pulse 2s linear infinite 1s;
  border-radius: 100%;
}

.step-content .video-content .play-btn:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 15px solid #fff;
  -webkit-animation: pulse 2s linear infinite;
          animation: pulse 2s linear infinite;
  border-radius: 100%;
}

/* End How Does It Work */
body.inner-page {
  background-color: #f7f3f3;
  /* margin-top: 60px; */
}

.page-content {
  padding: 0 0 40px;
  position: relative;
  margin-top: 75px;
}

/* .side-cont {
  border-radius: 5px;
  -webkit-box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.04);
          box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.04);
  background-color: #fff;
  padding: 20px 14px;
} */

.side-title {
      font-size: 16px;
    color: #262626;
    /* font-weight: 400; */
    margin: 0;
    border-bottom: 1px solid #e4dfdf;
    padding-bottom: 10px;
    background-color: #fff;
    padding: 15px;
}

/* .side-title::after {
  content: "";
  height: 1px;
  width: 45.3px;
  opacity: 0.21;
  background-color: #262626;
  display: block;
  margin-top: 13px;
} */

.page-404 {
  /* min-height: calc(100vh - 90px); */
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  padding: 50px 0px;
  background-color: #fff;
}

.page-404 .img-404 {
  width: 100%;
  max-width: 500px;
  margin-bottom: 40px;
}

.page-404 .title-404 {
  /* opacity: 0.89; */
  /* font-family: var(--font-body); */
  font-size: 24px;
  font-weight: bold;
  color: rgba(96, 208, 73, 0.89);
  /* background-color: rgba(96, 208, 73, 0.1); */
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 15px 20px 10px;
  margin: 0;
}

/* Empty Gallery States */
.empty-gallery-owner,
.empty-gallery-visitor {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  min-height: 350px;
}

.empty-gallery-icon {
  margin-bottom: 24px;
  opacity: 0.85;
}

.empty-gallery-title {
  font-size: 22px;
  font-weight: 700;
  color: #2d3436;
  margin: 0 0 12px;
}

.empty-gallery-title.visitor {
  color: #6c757d;
  font-weight: 600;
}

.empty-gallery-desc {
  font-size: 15px;
  color: #636e72;
  line-height: 1.8;
  margin: 0 0 28px;
  max-width: 420px;
}

.empty-gallery-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #14965a;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  padding: 12px 32px;
  /* border-radius: 8px; */
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.empty-gallery-cta:hover {
  background-color: #4cba38;
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
}

.empty-gallery-cta:active {
  transform: translateY(0);
}

.sign-page {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background-color: #fff;
}

.form-half-cont {
  min-height: 115vh;
  width: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

@media (max-width: 767px) {
  .form-half-cont {
    width: 100%;
    padding: 15px;
  }
}

.form-half-cont .form-half {
  width: 400px;
  max-width: 100%;
  margin: auto;
}

.form-half-cont .logo {
  margin-bottom: 20px;
}

@media (max-width: 767px) {
  .form-half-cont .logo {
    text-align: center;
    margin: 30px auto 20px;
    width: 220px;
  }
}

.form-half-cont h2 {
  margin-bottom: 10px;
  color: var(--text-color);
  font-size: 24px;
}

.form-half-cont h2 ~ p {
  font-size: 14px;
  color: var(--text-color);
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  margin-bottom: 20px;
}

@media (max-width: 767px) {
  .form-half-cont h2 ~ p {
    text-align: center;
  }
}

@media (max-width: 767px) {
  .form-half-cont h2 {
    text-align: center;
  }
}

/* .form-half-cont form {
  margin-top: 25px;
} */

.form-half-cont .forget {
  font-size: 16px;
  color: var(--secondery-color);
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.form-half-cont .forget:hover {
  color: var(--primary-color);
  text-decoration: none;
}

.form-half-cont .have-account {
  color: #a1a5a1;
  font-size: 16px;
  text-align: center;
  margin: 15px 0 0;
}

.form-half-cont .have-account a {
  color: var(--secondery-color);
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.form-half-cont .have-account a:hover {
  color: var(--primary-color);
  text-decoration: none;
}

.img-half-cont {
  min-height: 115vh;
  width: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  position: relative;
  background-color: #f4f4f4;
  display: flex;
  align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.img-half-cont img {
  width: 40%;
}

@media (max-width: 767px) {
  .img-half-cont {
    display: none;
  }
}

.back-home {
  position: absolute;
  top: 25px;
  left: 50px;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  font-size: 16px;
  color: var(--text-color);
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.back-home svg {
  fill: var(--primary-color);
  -webkit-margin-start: 7px;
          margin-inline-start: 7px;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.back-home:hover {
  color: var(--secondery-color);
  text-decoration: none;
}

.back-home:hover svg {
  fill: var(--secondery-color);
  -webkit-transform: translateX(-5px);
          transform: translateX(-5px);
}

.sign-slider {
  width: 300px;
  position: absolute;
  bottom: 75px;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
}

.sign-slider .swiper-btn {
  position: absolute;
  top: 60%;
  cursor: pointer;
}

.sign-slider .swiper-btn svg {
  fill: none;
  stroke: #60d049;
  stroke-width: 3px;
}

.sign-slider .swiper-btn.swiper-btn-prev {
  right: -40px;
  left: auto;
}

.sign-slider .swiper-btn.swiper-btn-next {
  left: -40px;
}

.sign-slide {
  text-align: center;
}

.sign-slide .sign-title {
  font-size: 24px;
  color: var(--primary-color);
  font-weight: 400;
  margin: 0 0 5px;
}

.sign-slide .sign-desc {
  color: var(--text-color);
  font-size: 16px;
  margin: 0;
  font-weight: 300;
  font-family: var(--font-body);
}

.search-page-cont {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 3fr;
      grid-template-columns: 1fr 3fr;
  gap: 10px;
  /* padding: 18px 0 0; */
}

.search-page-cont > .search-results-cont {
  min-width: 0;
}

@media (max-width: 1199px) {
  .search-page-cont {
    -ms-grid-columns: 1fr 2.5fr;
        grid-template-columns: 1fr 2.5fr;
  }
}

@media (max-width: 991px) {
  .search-page-cont {
    -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
    gap: 0;
    /* padding: 20px 0 0; */
  }
}

.blog-category{ color: #000 !important;}

.blog-details .projectoffers-cont .projectoffer-head{
  align-items: center !important;
}

.blog-details .projectoffers-cont .offer-btn{
  margin-top: auto;
}

.blog-details .projectoffers-cont .offer-summary{
  -webkit-padding-start: 0;
    padding-inline-start: 0;
    margin-top: 0;
}

.blog-details .projectoffers-cont .offer-summary p{
  margin: 5px 0 !important;
  font-size: 12px !important;
  line-height: 20px !important;
}

.blog-details .projectoffers-cont .projectoffer{
  margin: 0;
}

.blog-page .projectoffers-cont .projectoffer-head{
  align-items: center !important;
}

.blog-page .projectoffers-cont .offer-btn{
  margin-top: auto;
}

.blog-page .projectoffers-cont .offer-summary{
  -webkit-padding-start: 0;
    padding-inline-start: 0;
    margin-top: 0;
}

.blog-page .projectoffers-cont .projectoffer{
  margin: 0;
}

.blog-page .projectoffers-cont .offer-summary p{
  margin: 5px 0 !important;
  font-size: 12px !important;
  line-height: 20px !important;
}

.blog-author-page .projectoffers-cont .projectoffer-head{
  align-items: center !important;
}

.blog-author-page .projectoffers-cont .offer-btn{
  margin-top: auto;
}

.blog-author-page .projectoffers-cont .offer-summary{
  -webkit-padding-start: 0;
    padding-inline-start: 0;
    margin-top: 0;
}

.blog-author-page .projectoffers-cont .projectoffer{
  margin: 0;
}

.blog-author-page .projectoffers-cont .item{
  font-size: 13px;
}

.blog-author-page .projectoffers-cont .offer-summary p{
  margin: 5px 0 !important;
  font-size: 12px !important;
  line-height: 20px !important;
}

.search-page-form {
  position: relative;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  height: 40px;
}

/* .search-page-form::after {
  position: absolute;
  top: 5px;
  height: 30px;
  right: 130px;
  opacity: 0.2;
  background-color: #707070;
  width: 1px;
  content: "";
} */

@media (max-width: 767px) {
  .search-page-form {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    height: auto;
  }
  .blog-page .projectoffers-cont .projectoffer-head{
    align-items: flex-start !important;
  }
  .blog-page .projectoffers-cont .item{
    margin-right: 10px;
  }
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.blog-card {
  display: flex;
  min-width: 0;
}

.blog-page .projectoffers-cont,
.blog-category-page .projectoffers-cont,
.blog-author-page .projectoffers-cont,
.blog-details .projectoffers-cont,
.blog-page .blog-grid,
.blog-category-page .blog-grid,
.blog-author-page .blog-grid,
.blog-details .blog-grid {
  min-width: 0;
}

.blog-page .blog-card .projectoffer,
.blog-category-page .blog-card .projectoffer,
.blog-author-page .blog-card .projectoffer,
.blog-details .blog-card .projectoffer {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.blog-page .projectoffers-cont .user-name,
.blog-category-page .projectoffers-cont .user-name,
.blog-author-page .projectoffers-cont .user-name,
.blog-details .projectoffers-cont .user-name {
  display: block;
  width: 100%;
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

.blog-page .projectoffers-cont .offer-summary,
.blog-category-page .projectoffers-cont .offer-summary,
.blog-author-page .projectoffers-cont .offer-summary,
.blog-details .projectoffers-cont .offer-summary {
  min-width: 0;
}

.blog-page .projectoffers-cont .offer-summary p,
.blog-category-page .projectoffers-cont .offer-summary p,
.blog-author-page .projectoffers-cont .offer-summary p,
.blog-details .projectoffers-cont .offer-summary p {
  overflow-wrap: break-word;
  word-break: break-word;
  min-width: 0;
}

.blog-page .blog-card-image-wrap,
.blog-category-page .blog-card-image-wrap,
.blog-author-page .blog-card-image-wrap,
.blog-details .blog-card-image-wrap {
  width: 100%;
  line-height: 0;
  background-color: #f5f5f5;
}

.blog-page .blog-card-image-wrap a,
.blog-category-page .blog-card-image-wrap a,
.blog-author-page .blog-card-image-wrap a,
.blog-details .blog-card-image-wrap a {
  display: block;
  width: 100%;
}

.blog-page .blog-card-image-wrap .blog-card-image,
.blog-category-page .blog-card-image-wrap .blog-card-image,
.blog-author-page .blog-card-image-wrap .blog-card-image,
.blog-details .blog-card-image-wrap .blog-card-image {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

@media (max-width: 991px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

.search-page-select {
  position: absolute;
  width: 120px;
  height: 100%;
  top: 0;
  right: 0;
  background-color: transparent;
  border: none;
  outline: none;
  color: var(--secondery-color);
  padding: 0 15px;
  cursor: pointer;
}

@media (max-width: 767px) {
  .search-page-select {
    top: 0;
    height: 40px;
  }
}

.search-page-input {
  width: 100%;
  height: 40px;
  /* border-radius: 5px; */
  border: solid 1px rgba(112, 112, 112, 0.34);
  padding: 0;
  -webkit-padding-start: 15px;
          padding-inline-start: 15px;
  /* -webkit-padding-end: 30px;
          padding-inline-end: 30px; */
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  color: var(--text-color);
  font-family: var(--font-body);
  font-weight: 400;
  background-color: transparent;
}

.search-page-input::-webkit-input-placeholder {
  font-weight: 300;
  color: rgba(38, 38, 38, 0.49);
}

.search-page-input:-ms-input-placeholder {
  font-weight: 300;
  color: rgba(38, 38, 38, 0.49);
}

.search-page-input::-ms-input-placeholder {
  font-weight: 300;
  color: rgba(38, 38, 38, 0.49);
}

.search-page-input::placeholder {
  font-weight: 300;
  color: rgba(38, 38, 38, 0.35);
}

.search-page-input:focus {
  border-color: var(--secondery-color);
}

@media (max-width: 767px) {
  .search-page-input {
    height: 40px;
  }
}

.search-page-btn {
  border-radius: 0px;
  height: 100%;
  width: 120px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  background-color: var(--primary-color);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-margin-start: 7px;
          margin-inline-start: 7px;
  color: #fff;
  font-size: 16px;
  border: none;
  cursor: pointer;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.search-page-btn:hover {
  background-color: var(--secondery-color);
  color: #fff;
}

@media (max-width: 767px) {
  .search-page-btn {
    width: 100%;
    height: 40px;
    margin: 7px 0 0;
  }
}

/* .result-items {
  margin-top: 18px;
} */

.pagination-cont {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 15px 0;
}

.result-pagination {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin: 0;
  margin-top: 10px;
  margin-bottom: 10px;
}

.result-pagination li {
  margin: 0 3px;
}

.result-pagination a {
  width: 35px;
  height: 35px;
  /* border-radius: 2.5px; */
  /* border: solid 1px #ccc; */
  background-color: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  color: #222;
  font-size: 14px;
  font-family: inherit;
  /* font-weight: 700; */
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.result-pagination a:hover {
  text-decoration: none;
  border-color: #777;
}

.result-pagination a.active {
  border-color: #777;
  background-color: #cccccd;
}

.search-filters-cont {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
      -ms-flex-direction: row;
          flex-direction: row;
  position: relative;
  z-index: 9;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  padding-top: 10px;
  padding-bottom: 10px;
  background-color: #fff;
  /* margin-top: 58px; */
  height: fit-content;
  height: -moz-fit-content;
  height: -webkit-fit-content;
}

@media (max-width: 991px) {
  .search-filters-cont {
    position: fixed;
    top: 45px;
    right: -280px;
    margin-top: 0;
    height: calc(100vh - 45px);
    overflow-y: auto;
    background-color: unset;
    -webkit-transition: right 0.3s ease, -webkit-transform 0.3s ease;
    transition: right 0.3s ease, transform 0.3s ease;
  }
}

.search-filters-cont.active {
  right: 0;
  z-index: 13;
}

/* Filter Loading Overlay */
.filter-loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  border-radius: 5px;
}

.filter-spinner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.filter-spinner svg {
  filter: drop-shadow(0 2px 4px rgba(96, 208, 73, 0.2));
}

.filters-btn {
  width: 40px; */
    /* height: 40px; */
    /* display: none; */
    /* -webkit-box-align: center; */
    -ms-flex-align: center;
    /* align-items: center; */
    /* -webkit-box-pack: center; */
    -ms-flex-pack: center;
    justify-content: center;
    fill: #ffffff;
    background-color: var(--primary-color);
    /* cursor: pointer; */
    /* overflow: hidden; */
    /* margin-top: 55px; */
    /* z-index: 2; */
    /* -webkit-transition: all 0.3s ease-in-out; */
    /* transition: all 0.3s ease-in-out; */
    padding: 8px 12px;
    display: none;
}

.filters-btn svg {
  width: 15px;
    height: 15px;
}

.filters-btn.active {
  background-color: var(--primary-color);
  left: -40px;
}

@media (max-width: 991px) {
  .filters-btn {
    display: block;
  }
}

.search-filters {
  -webkit-padding-start: 15px;
          padding-inline-start: 15px;
  /* -webkit-border-start: 1px solid rgba(112, 112, 112, 0.16); */
          /* border-inline-start: 1px solid rgba(112, 112, 112, 0.16); */
  height: -webkit-max-content;
  height: -moz-max-content;
  height: max-content;
  position: -webkit-sticky;
  position: sticky;
  /* top: 20px; */
  padding-bottom: 30px;
  z-index: 2;
  width: 100%;
  padding: 0px 15px;
}

@media (max-width: 991px) {
  .search-filters {
    padding: 0;
    border: none;
    height: auto;
    position: static;
    top: auto;
    background-color: #fff;
    /* -webkit-box-shadow: 0 1.5px 3px 0 rgba(0, 0, 0, 0.05);
            box-shadow: 0 1.5px 3px 0 rgba(0, 0, 0, 0.05); */
    padding: 15px;
    width: 250px;
  }
}

.filter-cont {
  margin-bottom: 15px;
}

.filter-cont .checkbox label {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  font-size: 16px;
  font-family: var(--font-body);
  font-weight: 400;
  color: #222;
  cursor: pointer;
}

.filter-cont .checkbox .mark {
  width: 18px;
  height: 18px;
  /* border-radius: 2.5px; */
  border: solid 1px rgba(34, 34, 34, 0.3);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  background-color: transparent;
  -webkit-margin-end: 8px;
          margin-inline-end: 8px;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.filter-cont .checkbox .mark:hover {
  border-color: var(--primary-color);
}

.filter-cont .checkbox .mark svg {
  fill: none;
  stroke: #fff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 6px;
  -webkit-transform: scale(0) rotate(360deg);
          transform: scale(0) rotate(360deg);
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.filter-cont .checkbox input {
  display: none;
}

.filter-cont .checkbox input:checked ~ .mark {
  border-color: var(--primary-color);
  background-color: var(--primary-color);
}

.filter-cont .checkbox input:checked ~ .mark svg {
  -webkit-transform: none;
          transform: none;
}

.big-stars {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
      -ms-flex-direction: row-reverse;
          flex-direction: row-reverse;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
          margin-bottom: 15px;
}

.big-stars span {
  stroke-width: 2px;
  stroke: #d8d8d8;
  fill: rgba(255, 186, 0, 0);
  cursor: pointer;
  -webkit-margin-end: 7px;
          margin-inline-end: 7px;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.big-stars span:hover {
  fill: #ffba00;
  stroke: #ffba00;
}

.big-stars span:hover ~ span {
  fill: #ffba00;
  stroke: #ffba00;
}

.big-stars span.active {
  fill: #ffba00;
  stroke: #ffba00;
}

.big-stars input {
  display: none;
}

/* Filter Actions */
/* .filter-actions {
  margin-top: 25px;
  padding: 15px;
  border-top: 1px solid #e0e0e0;
  text-align: center;
} */

.reset-filters-btn {
  width: 100%;
    padding: 12px 20px;
    background: #19b36b;
    color: #fff;
    border: none;
    /* border-radius: 5px; */
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.reset-filters-btn:hover {
  background-color: var(--secondery-color);
}

.reset-filters-btn:active {
  transform: translateY(0);
}

.reset-filters-btn svg {
  width: 16px;
  height: 16px;
  stroke: #fff;
}

.filter-overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1;
  display: none;
}

.range-cont {
  position: relative;
  margin-top: 20px;
}

.range-cont .range-slider-input {
  width: 100%;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  height: 10px;
  border-radius: 5px;
  background-image: linear-gradient(91deg, #f5f5f5 24%, #f0f0f0 92%);
  position: relative;
}

.range-cont .range-slider-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #60d049;
  cursor: pointer;
  -webkit-box-shadow: 0 0 1px 0 rgba(0, 0, 0, 0.16);
          box-shadow: 0 0 1px 0 rgba(0, 0, 0, 0.16);
  z-index: 9;
  position: relative;
}

.range-cont .value-bg {
  width: 0;
  height: 10px;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  border-radius: 5px;
  position: absolute;
  content: "";
  background-image: linear-gradient(92deg, #60d049 24%, #42b22b 92%);
  pointer-events: none;
}

html[dir="rtl"] .range-cont .value-bg {
  right: 0;
}

.range-label {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  margin-top: 3px;
  font-size: 13px;
  color: var(--text-color);
}

.filter-title {
  font-size: 16px;
  color: var(--text-color);
  font-weight: 400;
}

.value-text {
  position: absolute;
  bottom: calc(100% + 10px);
  background-color: rgba(0, 0, 0, 0.75);
  padding: 0 10px;
  height: 20px;
  border-radius: 7px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  left: 0;
  color: #fff;
  font-size: 10px;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
}

.userAdmin-page-title {
  margin-top: 30px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 25px;
}

@media (max-width: 767px) {
  .userAdmin-page-title {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}

.userAdmin-page-title .user-name {
  font-size: 25px;
  color: var(--text-color);
  margin: 0;
  font-weight: 400;
  margin-bottom: -5px;
}

.userAdmin-page-title span {
  font-size: 18px;
  color: var(--text-color);
  font-family: var(--font-body);
  font-weight: 300;
  display: block;
  -webkit-margin-start: 7px;
          margin-inline-start: 7px;
}

.UserAdmin-page-cont {
  display: grid;
  grid-template-columns: 1fr 2.5fr;
  grid-template-rows: auto 1fr;
  gap: 10px;
}
.UserAdmin-page-cont > .dash-profile-card {
  grid-column: 1;
  grid-row: 1;
}
.UserAdmin-page-cont > .side-cont {
  grid-column: 1;
  grid-row: 2;
}
.UserAdmin-page-cont > .analytical-cont {
  grid-column: 2;
  grid-row: 1 / 3;
}

@media (max-width: 1199px) {
  .UserAdmin-page-cont {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 20px;
  }
  .UserAdmin-page-cont > .dash-profile-card {
    grid-column: auto;
    grid-row: auto;
    order: 0;
  }
  .UserAdmin-page-cont > .analytical-cont {
    grid-column: auto;
    grid-row: auto;
    order: 1;
  }
  .UserAdmin-page-cont > .side-cont {
    grid-column: auto;
    grid-row: auto;
    order: 2;
  }
}

.balance-summary-block {
  /* border-radius: 5px; */
  /* border: solid 0.5px rgba(112, 112, 112, 0.49); */
  background-color: #fff;
  overflow: hidden;
}

.balance-summary-block .block-head {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  background-color: #fff;
  padding: 12px 20px;
  border-bottom: 1px solid #e4dfdf;
}

.balance-summary-block .block-head .balance-title {
  font-size: 15px;
  color: var(--primary-color);
  font-weight: 700;
  margin: 0;
}

.balance-summary-block .block-head a {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--text-color);
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.balance-summary-block .block-head a .arrow {
  -webkit-margin-start: 5px;
          margin-inline-start: 5px;
  fill: var(--primary-color);
  width: 15px;
  overflow: hidden;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.userPage .verified-badge{
  position: absolute;
    top: 55px;
    right: 50px;
    background: #60d049;
    border-radius: 50%;
    width: 17px;
    height: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border: 2px solid #fff;
}

.owner-box-img-wrapper {
  position: relative;
  width: 60px;
  height: 60px;
  flex-shrink: 0;
}

.owner-box-img-wrapper .verified-badge {
  position: absolute;
  bottom: 2px;
  right: 2px;
  background: #60d049;
  border-radius: 50%;
  width: 17px;
  height: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  border: 2px solid #fff;
}

.owner-box-img-wrapper .status {
  width: 11px;
  height: 11px;
  background-color: #8d8d97;
  position: absolute;
  top: 2px;
  right: 2px;
  border-radius: 50%;
  border: 2px solid #fff;
  z-index: 10;
}

.owner-box-img-wrapper .status.active {
  background-color: var(--primary-color);
}

.offerDetails-page-cont .verified-badge{
  position: absolute;
    top: 43px;
    right: 43px;
    background: #60d049;
    border-radius: 50%;
    width: 17px;
    height: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

@media (max-width: 1199px) {
  .userPage .verified-badge{
      right: 63px;
  }
  .offerDetails-page-cont .verified-badge{
    top: 28px;
    right: 33px;
    width: 13px;
    height: 13px;
  }
}

/* Project Details Table */
.project-details-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 5px;
  background-color: #fff;
  font-family: var(--font-body);
  padding: 5px 10px;
  font-size: 16px;
}

.project-details-table .details-label {
  vertical-align: top;
  width: 50%;
}

.project-details-table .details-value {
  vertical-align: top;
  text-align: right;
}

.project-details-table .label-content {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* @media (max-width: 991px) {
  .balance-summary-block .block-head a .arrow {
    fill: #fff;
  }
} */

.balance-summary-block .block-head a .arrow svg {
  width: 35px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}

.balance-summary-block .block-head a:hover {
  color: var(--secondery-color);
  text-decoration: none;
}

.balance-summary-block .block-head a:hover .arrow {
  fill: var(--secondery-color);
}

.balance-summary-block .block-body {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 2fr 3fr 2fr;
      grid-template-columns: 2fr 3fr 2fr;
  padding: 20px 10px;
}

@media (max-width: 767px) {
  .balance-summary-block .block-body {
    -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }
}

.balance-summary-block .item {
  position: relative;
  padding: 0 10px;
}
.balance-item-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.balance-summary-block .item ~ .item::before {
  display: none !important;
  position: absolute;
  content: "";
  right: 0;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  content: "";
  display: block;
  height: 75.5px;
  opacity: 0.33;
  background-color: #60d049;
  width: 1px;
}

@media (max-width: 767px) {
  .balance-summary-block .item ~ .item::before {
    display: none;
  }
}

.balance-summary-block .item h6 {
  /* margin: 0; */
  font-family: var(--font-body);
  /* font-weight: 400; */
  font-size: 18px;
  /* color: #262626; */
}

.balance-summary-block .item strong {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 18px;
  color: var(--primary-color);
  margin: 5px 0;
  display: block;
}

.balance-summary-block .item p {
  color: #262626;
  opacity: 0.5;
  font-size: 14px;
  font-family: var(--font-body);
  font-weight: 400;
  margin: 0;
}

@media (max-width: 767px) {
  .balance-summary-block .item p {
    text-align: justify;
    text-align-last: center;
  }
}

.states-block {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  padding: 0;
  margin-top: 10px;
}
.states-block-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-bottom: 1px solid #f0f0f0;
}
.states-block-heading h5 {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-color);
  font-family: var(--font-body);
  margin: 0;
}
.states-block-all-link {
  display: inline-flex;
  align-items: center;
  font-size: 15px;
  font-weight: 400;
  color: #555;
  font-family: var(--font-body);
  text-decoration: none;
  transition: color 0.2s ease;
}
.states-block-all-link:hover {
  color: var(--secondery-color);
  text-decoration: none;
}
.states-block-all-link .arrow {
  -webkit-margin-start: 5px;
          margin-inline-start: 5px;
  fill: var(--primary-color);
  width: 15px;
  overflow: hidden;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  -webkit-transition: all 0.3s ease-in-out;
          transition: all 0.3s ease-in-out;
}
.states-block-all-link .arrow svg {
  width: 35px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}
.states-block-all-link:hover .arrow {
  fill: var(--secondery-color);
}
.states-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}

@media (max-width: 767px) {
  .states-block {
    flex-direction: column;
    justify-content: center;
  }
  .states-body {
    flex-direction: column;
    align-items: stretch;
  }
}


.states-block .states-title {
  width: 28%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #262626;
  font-size: 17px;
  line-height: 1.3;
  text-align: center;
  position: relative;
  gap: 8px;
  padding: 10px 0;
}

@media (max-width: 767px) {
  .states-block .states-title {
    flex-direction: row;
    width: 100%;
    margin-bottom: 0;
    padding: 0;
    margin-top: 15px;
  }
}

.states-block .states-title span {
  font-size: 38px;
  font-weight: 700;
  line-height: 1;
  color: var(--main-color, #262626);
}

.states-block .states-title::after {
  display: none;
}

@media (max-width: 767px) {
  .states-block .states-title::after {
    display: none;
  }
}

/* ---- new donut chart layout ---- */
.states-block .states-cont {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 10px 30px;
}

@media (max-width: 767px) {
  .states-block .states-cont {
    flex-direction: column;
    width: 100%;
    padding: 12px 20px;
    gap: 20px;
  }
}

/* donut wrapper: canvas + centered text overlay */
.offers-donut-wrap {
  position: relative;
  width: 130px;
  height: 130px;
  flex-shrink: 0;
}

.offers-donut-wrap canvas {
  width: 130px !important;
  height: 130px !important;
}

.offers-donut-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  pointer-events: none;
  line-height: 1.15;
}

.offers-donut-total {
  display: block;
  font-size: 30px;
  font-weight: 700;
  color: #262626;
  font-family: var(--font-body);
}

.offers-donut-label {
  display: block;
  font-size: 12px;
  color: #999;
  font-family: var(--font-body);
  letter-spacing: 0.3px;
}


/* legend list */
.offers-legend {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  max-width: 300px;
}

@media (max-width: 767px) {
  .offers-legend {
    width: 100%;
    max-width: 100%;
  }
}

.offers-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  color: #262626;
}

.offers-legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.offers-legend-name {
  flex: 1;
}

.offers-legend-count {
  font-weight: 700;
  min-width: 28px;
  text-align: center;
}

.offers-legend-pct {
  font-size: 13px;
  color: #888;
  min-width: 38px;
  text-align: end;
}

/* ---- offers progress bars ---- */
.offers-progress-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}
.offers-progress-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 20px;
}
@media (max-width: 575px) {
  .offers-progress-grid {
    grid-template-columns: 1fr;
  }
}
.offers-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
  font-family: var(--font-body);
  font-size: 14px;
}
.offers-progress-label { color: #555; }
/* .offers-progress-count { font-weight: 700; font-size: 15px; } */
.offers-progress-track {
  height: 8px;
  background: #f0f0f0;
  border-radius: 6px;
  overflow: hidden;
}
.offers-progress-fill {
  height: 100%;
  border-radius: 6px;
  transition: width 0.6s ease;
  min-width: 0;
}

/* ---- dashboard profile card ---- */
.dash-profile-card {
  background-color: #fff;
  /* border-radius: 12px; */
  padding: 32px 20px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.dash-profile-avatar-wrap {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
}
.dash-profile-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #f0f0f0;
}
.dash-profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.dash-profile-verified-badge {
  position: absolute;
  bottom: 4px;
  right: 4px;
  background: #60d049;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}
.dash-profile-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-color);
  font-family: var(--font-body);
  margin: 0;
  text-decoration: none;
  transition: color 0.15s ease;
}
.dash-profile-name:hover {
  color: var(--secondery-color);
}
.dash-profile-avatar-wrap {
  text-decoration: none;
}
.dash-profile-edit-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 24px;
  border-radius: 0;
  background-color: var(--primary-color);
  color: #fff;
  font-family: var(--font-body);
  font-size: 14px;
  text-decoration: none;
  transition: background-color 0.2s ease;
}
.dash-profile-edit-btn:hover {
  background-color: var(--secondery-color);
  color: #fff;
}

/* ── Shared side box ── */
.dash-side-box {
  background-color: #fff;
  /* border-radius: 12px; */
  padding: 20px 18px;
  margin-top: 12px;
}
.dash-side-box-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-color);
  font-family: var(--font-body);
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f0f0f0;
}

/* ── Messages list ── */
.dash-side-stats-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dash-side-stat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dash-side-stat-label {
  font-size: 13px;
  color: #666;
  font-family: var(--font-body);
}
.dash-side-stat-value {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-color);
  font-family: var(--font-body);
  background-color: #f5f5f5;
  border-radius: 6px;
  padding: 2px 10px;
  min-width: 32px;
  text-align: center;
}
.dash-side-stat-unread {
  background-color: #fef2f2;
  color: #f87171;
  text-decoration: none;
}
.dash-side-stat-unread.has-unread {
  background-color: #f87171;
  color: #fff;
}
.dash-side-unread-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: #666;
  font-size: 13px;
  font-family: var(--font-body);
}
.dash-side-unread-link:hover {
  color: #f87171;
}
.dash-side-chat-link {
  text-decoration: none;
  color: inherit;
  font-family: var(--font-body);
  transition: color 0.15s ease;
}
.dash-side-chat-link:hover {
  color: var(--primary-color);
}
.dash-side-unread-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #ddd;
  flex-shrink: 0;
}
.dash-side-unread-dot.active {
  background-color: #f87171;
  box-shadow: 0 0 0 2px rgba(248,113,113,0.25);
}
.dash-side-stat-total {
  border-top: 1px solid #f0f0f0;
  padding-top: 10px;
  margin-top: 2px;
}

/* ── Works box ── */
.dash-side-works-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.dash-side-works-count {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
  transition: color 0.15s ease;
}
.dash-side-works-count:hover .dash-side-works-num {
  color: var(--secondery-color);
}
.dash-side-works-count:hover .dash-side-works-lbl {
  color: var(--primary-color);
}

/* ── Ratings & Level box ── */
.dash-rating-stars-row {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.dash-completion-bar-wrap {
  display: block;
  text-decoration: none;
}
.dash-rating-stars {
  display: flex;
  align-items: center;
  gap: 2px;
}
.dash-rating-score {
  font-size: 22px;
  font-weight: 800;
  color: #f59e0b;
  font-family: var(--font-body);
  line-height: 1;
}
.dash-completion-bar-wrap {
  margin-top: 12px;
}
.dash-completion-bar-label {
  font-size: 11px;
  color: #aaa;
  font-family: var(--font-body);
  display: block;
  margin-bottom: 5px;
}
.dash-completion-bar-track {
  width: 100%;
  height: 6px;
  background-color: #f0f0f0;
  border-radius: 10px;
  overflow: hidden;
}
.dash-completion-bar-fill {
  height: 100%;
  border-radius: 10px;
  transition: width 0.4s ease;
}
.dash-side-works-num {
  font-size: 26px;
  font-weight: 800;
  color: var(--primary-color);
  font-family: var(--font-body);
  line-height: 1;
}
.dash-side-works-lbl {
  font-size: 12px;
  color: #888;
  font-family: var(--font-body);
}
.dash-side-add-btn {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 0;
  background-color: var(--primary-color);
  color: #fff;
  font-family: var(--font-body);
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}
.dash-side-add-btn:hover {
  background-color: var(--secondery-color);
  color: #fff;
}

/* ── Running Projects Block ── */
.running-projects-block {
  /* border-radius: 12px; */
  overflow: hidden;
}
.running-projects-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 30px 20px;
  color: #aaa;
  font-size: 13px;
  font-family: var(--font-body);
}
.rp-grid {
  grid-template-columns: 1fr !important;
}
.rp-clickable-item {
  border-radius: 6px;
}
.rp-item-link {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 4px 2px;
}
.rp-project-link {
  font-size: 12px;
  font-weight: 600;
  color: #262626;
  font-family: var(--font-body);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 55%;
  display: inline-block;
}
.rp-item-link:hover .rp-project-link {
  color: var(--primary-color);
}

.lattest-projects .project-item {
  /* padding: 11px 0; */
  -webkit-box-shadow: none;
          box-shadow: none;
  border-radius: 0;
  /* border-bottom: solid 1px rgba(38, 38, 38, 0.21); */
}

.lattest-projects .project-item:last-of-type {
  border-bottom: 0;
}

@media (max-width: 767px) {
  .lattest-projects .project-item .project-head {
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
  }
}

.lattest-projects .project-item .project-name {
  font-size: 16px;
}

.lattest-projects .project-item .addToFav {
  width: 30px;
  height: 30px;
  padding: 0;
}

.lattest-projects .project-item .addToFav svg {
  -webkit-transform: scale(0.5);
          transform: scale(0.5);
}

@media (max-width: 767px) {
  .lattest-projects .project-item .addToFav {
    position: static;
  }
}

.lattest-projects .project-item .project-foot {
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.lattest-projects .project-item .foot-item {
  font-size: 14px;
}

.lattest-projects .project-item .foot-item ~ .foot-item {
  margin-right: 0;
}

@media (max-width: 767px) {
  .lattest-projects .project-item .foot-item ~ .foot-item {
    margin: 7px;
  }
}

.lattest-projects .project-item .item-icon svg {
  width: 14px;
}

/* General Stats Block - Dashboard */
.general-stats-block {
  background-color: #fff;
  border-radius: 6px;
  overflow: hidden;
}

.general-stats-block .side-title {
  font-size: 18px;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--primary-color);
  margin: 0;
  padding: 14px 20px;
  border-bottom: 1px solid #efefef;
}

.general-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.gs-stat-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.2s ease;
}

.gs-stat-item:hover {
  background-color: #fafafa;
}

.gs-stat-item:nth-child(odd) {
  border-left: 1px solid #f0f0f0;
}

.gs-stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(26, 26, 46, 0.07);
  color: var(--primary-color);
  flex-shrink: 0;
}

.gs-stat-icon--green {
  background-color: rgba(96, 208, 73, 0.12);
  color: #3dab25;
}

.gs-stat-icon--blue {
  background-color: rgba(59, 130, 246, 0.12);
  color: #2563eb;
}

.gs-stat-icon--yellow {
  background-color: rgba(255, 200, 15, 0.15);
  color: #b58b00;
}

.gs-stat-icon--purple {
  background-color: rgba(139, 92, 246, 0.12);
  color: #7c3aed;
}

.gs-stat-details {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.gs-stat-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-color);
  font-family: var(--font-body);
  line-height: 1;
}

.gs-stat-label {
  font-size: 13px;
  color: #888;
  font-family: var(--font-body);
  white-space: nowrap;
}

@media (max-width: 767px) {
  .general-stats-grid {
    grid-template-columns: 1fr;
  }
  .gs-stat-item:nth-child(odd) {
    border-left: none;
  }
}


.userMoney-page-title {
  margin-top: 15px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  margin-bottom: 15px;
}

/* .table-responsive{
  overflow-x: unset;
} */

@media (max-width: 767px) {
  .userMoney-page-title {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
            gap: 10px;
  }
}

.userMoney-page-title .userMoney-name {
  font-size: 20px;
  color: var(--text-color);
  margin: 0;
  font-weight: 400;
}

.userMoney-page-title .head-btns {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 10px;
}

.userMoney-page-title .head-btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  color: #fff;
  font-weight: 700;
  /* border-radius: 5px; */
  height: 40px;
  width: auto;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  padding: 0 15px;
}

.userMoney-page-title .head-btn:first-of-type {
  background-color: #262626;
  /* -webkit-margin-end: 10px;
          margin-inline-end: 10px; */
}

.userMoney-page-title .head-btn:last-of-type {
  background-color: var(--primary-color);
}

.userMoney-page-title .head-btn.head-btn--wallet-charge {
  background-color: var(--primary-color);
  color: #fff;
}

/* Wallet actions on /user/transactions: avoid legacy first/last anchor styling fighting the intended colors */
.userMoney-page-title .head-btn.head-btn--wallet-charge:first-of-type {
  background-color: var(--primary-color);
}

.userMoney-page-title .head-btn.head-btn--wallet-charge:only-of-type {
  background-color: var(--primary-color);
}

.userMoney-page-title .head-btn.head-btn--wallet-withdraw:last-of-type {
  background-color: #fff;
}

.userMoney-page-title .head-btn.head-btn--outline-like-receipt {
  background-color: #fff;
  border: 1px solid #ddd;
  color: #444;
  fill: currentColor;
  font-weight: 500;
  padding: 0 10px;
}

.userMoney-page-title .head-btn.head-btn--outline-like-receipt:hover {
  text-decoration: none;
  background-color: rgba(25, 179, 107, 0.1);
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.userMoney-page-title .head-btn.head-btn--outline-like-receipt svg {
  width: 13px;
  margin-left: 4px;
}

.userMoney-page-title .head-btn:not(.head-btn--outline-like-receipt):hover {
  text-decoration: none;
  background-color: var(--secondery-color);
}

.UserMoney-page-cont {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 2.5fr 1fr;
      grid-template-columns: 2.5fr 1fr;
  gap: 10px;
}

@media (max-width: 1199px) {
  .UserMoney-page-cont {
    -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
    gap: 20px;
  }
  .UserMoney-page-cont > div {
    max-width: 100%;
    overflow: hidden;
  }
}

.UserMoney-page-cont .input-date-cont {
  position: relative;
}

.UserMoney-page-cont .input-date-cont input {
  background-color: #fff;
}

.UserMoney-page-cont .input-date-cont span {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  left: 10px;
  pointer-events: none;
}

.UserMoney-page-cont .input-date-cont span svg {
  width: 20px;
}

.UserMoney-page-cont .input-date-cont input {
  height: 40px;
  width: 170px;
  border-radius: 5px;
  border: solid 1px rgba(112, 112, 112, 0.34);
  background-color: #fff;
  color: var(--text-color);
  padding: 0 10px;
}

@media (max-width: 767px) {
  .UserMoney-page-cont .input-date-cont input {
    width: 150px;
  }
}

.UserMoney-page-cont .input-date-cont:first-of-type {
  -webkit-margin-end: 10px;
          margin-inline-end: 10px;
}

.UserMoney-page-cont .side-cont {
  height: -webkit-max-content;
  height: -moz-max-content;
  height: max-content;
}

.transfer-table {
  min-width: 970px;
  /* border: solid 0.5px rgba(112, 112, 112, 0.49); */
  border-radius: 5px;
  table-layout: fixed;
  background-color: #fff;
}

.transfer-table th {
  background-color: #f7f7f7;
  padding: 7px 0 10px;
  font-family: var(--font-body);
  font-weight: 400;
  color: #000;
}

.transfer-table th .sort {
  padding: 0;
  border: none;
  background-color: transparent;
  cursor: pointer;
  fill: #000;
  color: #000;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.transfer-table th .sort:hover {
  color: var(--secondery-color);
  fill: var(--secondery-color);
}

.transfer-table th .sort svg {
  width: 20px;
  margin-right: 5px;
}

.transfer-table th,
.transfer-table td {
  padding: 10px 15px;
  background-color: #fff;
  border-bottom: 1px solid #e4e1e1;
}

.transfer-table th:first-of-type,
.transfer-table td:first-of-type {
  padding-right: 23px;
}

.transfer-table th:last-of-type,
.transfer-table td:last-of-type {
  padding-left: 23px;
}

.transfer-table .time {
  padding-right: 15px;
}

.transfer-table tr:last-of-type td {
  border: none;
}

.transfer-table td {
  border-bottom: solid 0.5px rgba(204, 204, 204, 0.49);
}

.transfer-table td.amount {
  direction: ltr;
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--primary-color);
  font-size: 16px;
}

/* .transfer-table td.details {
  font-family: var(--font-body);
  font-weight: 700;
  color: #5a5a5a;
  font-size: 16px;
} */

.transfer-table td.time {
  /* font-family: var(--font-body); */
  /* font-weight: 400; */
  /* color: #5a5a5a; */
  font-size: 14px;
}

.transfer-table .item-type {
  display: inline-block;
    padding: 4px 12px;
    /* border-radius: 20px; */
    font-size: 13px;
    font-family: var(--font-body);
    /* font-weight: 600; */
    white-space: nowrap;
    color: #fff;
}

.transfer-table .item-type.profit {
  background-color: #19b36b;
}

.transfer-table .item-type.withdraw {
  background-color: #393939;
}

.transfer-table .item-type.deposit {
  background-color: #3498db;
  color: #fff;
}

.transfer-table .item-type.charge {
  background-color: #19b36b;
}

.transfer-table .item-type.service-charge {
  background-color: #e67e22;
}

.transfer-table .status-badge {
  display: inline-block;
    padding: 3px 7px;
    /* border-radius: 20px; */
    font-size: 13px;
    /* font-weight: 600; */
    white-space: nowrap;
    color: #fff;
}

.transfer-table .status-badge.status-success {
  background-color: rgb(25, 179, 107);
}

.transfer-table .status-badge.status-pending {
  background-color: #8b95a2;
}

.transfer-table .status-badge.status-cancelled {
  background-color: #e74c3c;
}

.transfer-table .status-badge.status-failed {
  background-color: #e74c3c;
}

.transfer-table .status-badge.status-default {
  background-color: #3498db;
}

.transfer-table .receipt {
  width: 100%;
  height: auto;
  padding: 7px 12px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  /* border-radius: 3px; */
  border-radius: 6px;
  background-color: #393939;
  color: #fff;
  fill: #fff;
  font-size: 13px;
  font-weight: 600;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.transfer-table .receipt.receipt--stripe {
  height: 40px;
  padding: 0 10px;
  border-radius: 0;
  background-color: #fff;
  border: 1px solid #ddd;
  color: #444;
  fill: currentColor;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
}

.transfer-table .receipt.receipt--stripe:hover {
  background-color: rgba(25, 179, 107, 0.1);
  color: var(--primary-color);
  border-color: var(--primary-color);
  text-decoration: none;
}

.transfer-table .receipt.receipt--stripe svg {
  width: 13px;
  margin-left: 4px;
}

.transfer-table .receipt svg {
  width: 12px;
  margin-left: 3px;
}

.transfer-table .receipt:not(.receipt--stripe):hover {
  background-color: var(--secondery-color);
  text-decoration: none;
}

.side-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 10px;
  border-bottom: solid 1px rgba(38, 38, 38, 0.1);
  background-color: #fff;
}

.side-item:last-of-type {
  border-bottom: 0;
}

.side-item .item-icon {
  margin-left: 20px;
}

.side-item svg {
  width: 20px;
}

.side-item h5 {
  margin: 0;
  font-size: 16px;
  color: var(--text-color);
  font-weight: 400;
  font-family: var(--font-body);
  margin-bottom: 7px;
}

.side-item strong {
  font-size: 16px;
  color: var(--primary-color);
  font-weight: 700;
  font-family: var(--font-body);
}

.addOffer-page-title {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  margin: 15px 0;
}

.userPage .addOffer-page-title {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  margin: 0px 0;
    margin-bottom: 15px;
}

.msgs-page .addOffer-page-title {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  margin: 17px 0;
}

@media (max-width: 767px) {
  .addOffer-page-title {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
            gap: 10px;
  }
}

.side-cont .client .user-text .user-job {
    font-size: 12px;
    font-family: var(--font-body);
}

.addOffer-page-title .addOffer-name {
  font-size: 18px;
  color: var(--text-color);
  margin: 0;
  font-weight: 500;
  /* margin-top: 20px; */
}

.addOffer-page-title .head-btns {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 10px;
}

@media (max-width: 991px) {
  .addOffer-page-title .head-btns {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
}

@media (max-width: 767px) {
  .addOffer-page-title .head-btns {
    margin-top: 15px;
    width: 100%;
  }
}

.addOffer-page-title .head-btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 5px;
  color: #fff;
  font-weight: 700;
  height: 40px;
  padding: 0 20px;
  background-color: var(--primary-color);
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  text-decoration: none;
  white-space: nowrap;
  font-size: 14px;
}

@media (max-width: 767px) {
  .addOffer-page-title .head-btn {
    font-size: 12px;
    padding: 0 15px;
    height: 36px;
  }
}

.addOffer-page-title .head-btn:hover {
  background-color: var(--secondery-color);
  text-decoration: none;
  color: #fff;
}

/* Outline button inside addOffer-page-title - transparent with green border/text */
.addOffer-page-title .head-btn-outline {
  background-color: transparent;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
}

.addOffer-page-title .head-btn-outline:hover {
  background-color: #f4ecec;
  color: #19b36b;
  border-color: #19b36b;
}

.addOffer-page-title .head-btn svg {
  -ms-flex-negative: 0;
      flex-shrink: 0;
}


.addOffer-page-cont {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 2.5fr 1fr;
      grid-template-columns: 2.5fr 1fr;
  gap: 10px;
}

@media (max-width: 1199px) {
  .addOffer-page-cont {
    -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
    gap: 20px;
  }
}

.addOffer-page-cont .btns {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          /* justify-content: center; */
}

.addOffer-page-cont .btns a,
.addOffer-page-cont .btns button {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  height: 40px;
  border: none;
  /* border-radius: 5px; */
  margin: 0 3px;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.addOffer-page-cont .btns a.send-anchor,
.addOffer-page-cont .btns button.send-anchor {
  width: auto;
  padding: 0 20px;
  background-color: var(--primary-color);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.addOffer-page-cont .btns button.send-anchor:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

/* @media (max-width: 767px) {
  .addOffer-page-cont .btns a.send-anchor,
  .addOffer-page-cont .btns button.send-anchor {
    width: 50%;
  }
} */

.addOffer-page-cont .btns a.cancel-anchor {
  width: 194px;
  border: solid 0.5px rgba(112, 112, 112, 0.36);
  color: #262626;
  background-color: transparent;
}

@media (max-width: 767px) {
  .addOffer-page-cont .btns a.cancel-anchor {
    width: 50%;
  }
}

.addOffer-page-cont .btns a:hover,
.addOffer-page-cont .btns button:hover {
  background-color: var(--secondery-color);
  color: #fff;
  text-decoration: none;
}

.addOffer-page-cont .side-cont {
  /* border: solid 0.5px rgba(112, 112, 112, 0.49); */
  /* background-color: #fff; */
  -webkit-box-shadow: none;
          box-shadow: none;
  height: auto;
  height: -webkit-max-content;
  height: -moz-max-content;
  height: max-content;
}

.addOffer-page-cont .side-cont .side-title {
  text-align: right;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.addOffer-page-cont .side-cont .box-cont{
  margin-bottom: 10px;
}

.addOffer-page-cont .side-cont .box-cont .side-title::after {
  margin-left: auto;
  margin-right: auto;
  width: 105px;
}

.addOffer-page-cont .help {
  padding: 0;
  margin: 0;
  -webkit-padding-start: 15px;
          padding-inline-start: 15px;
  height: -webkit-max-content;
  height: -moz-max-content;
  height: max-content;
}

.addOffer-page-cont .help li {
  font-size: 13px;
  margin: 10px 0;
  color: #222222;
  line-height: 1.72;
  font-family: var(--font-body);
}

.addOffer-right-div {
  max-width: 100%;
  overflow: hidden;
}

.addOffer-block {
  /* border-radius: 5px; */
  /* border: solid 0.5px rgba(112, 112, 112, 0.49); */
  background-color: #fff;
  overflow: hidden;
  margin-bottom: 10px;
}

.addOffer-block .block-head {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  background-color: #fff;
  padding: 12px 20px;
  border-bottom: 1px solid #e4dfdf;
}

.addOffer-block .block-head .block-title {
  font-size: 18px;
  /* color: var(--primary-color); */
  /* font-weight: 400; */
  margin: 3px 0;
}

.addOffer-block .block-head a {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  font-size: 16px;
  font-family: var(--font-body);
  color: var(--primary-color);
  text-decoration: underline;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.addOffer-block .block-head a:hover {
  color: var(--secondery-color);
  text-decoration: none;
}

.addOffer-block .block-body {
  padding: 15px;
}

.addOffer-block .project-head {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

/* @media (max-width: 767px) {
  .addOffer-block .project-head {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
         -ms-flex-direction: column; 
             flex-direction: column; 
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    text-align: center; 
  }
} */

.addOffer-block .project-job {
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  height: 25px;
  border-radius: 25px;
  background-color: rgba(46, 204, 113, 0.2);
  font-size: 12px;
  font-weight: 400;
  font-family: var(--font-body);
  color: #60d049;
  padding: 0 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-margin-end: auto;
          margin-inline-end: auto;
  -webkit-margin-start: 10px;
          margin-inline-start: 10px;
}

/* @media (max-width: 767px) {
  .addOffer-block .project-job {
    margin: 5px auto;
  }
} */

.addOffer-block .project-name {
  font-size: 18px;
  color: var(--text-color);
  cursor: pointer;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.addOffer-block .project-name:hover {
  text-decoration: none;
  color: var(--secondery-color);
}

/* @media (max-width: 991px) {
  .addOffer-block .project-name {
    max-width: 80%;
    text-align: center;
  }
} */

.addOffer-block .project-foot {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-top: 10px;
}

@media (max-width: 767px) {
  .addOffer-block .project-foot {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    /* -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center; */
  }
}

.addOffer-block .foot-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.addOffer-block .foot-item ~ .foot-item {
  margin-right: 23px;
}

@media (max-width: 767px) {
  .addOffer-block .foot-item ~ .foot-item {
    margin: 7px;
  }
}

@media (max-width: 767px) {
  .addOffer-block .foot-item {
    margin: 7px;
  }
}

.addOffer-block .item-text {
  color: rgba(26, 26, 46, 0.5);
  font-size: 13px;
}

.addOffer-block .item-icon {
  margin-left: 5px;
}

.addOffer-block .item-icon svg {
  fill: rgba(26, 26, 46, 0.5);
}

.addOffer-block .status {
  width: 9px;
  height: 9px;
  background-color: #60d049;
  border-radius: 50%;
  display: block;
}

.addOffer-block .project-info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-top: 15px;
}

/* @media (max-width: 991px) {
  .addOffer-block .project-info {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
         -ms-flex-direction: column; 
             flex-direction: column; 
  }
} */

.addOffer-block .project-desc {
    /* color: #222222; */
    line-height: 1.9;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 16px;
}

.offerDetails-block .project-desc {
  line-height: 1.9;
  font-family: var(--font-body);
  font-size: 16px;
  margin-top: 8px;
}

.offerDetails-block .project-desc p.fmt-para {
  line-height: 1.9;
  margin: 0 0 0.6em 0;
}

.help{
  padding: 10px !important;
  background-color: #fff;
}

/* @media (max-width: 767px) {
  .addOffer-block .project-desc {
    text-align: justify;
    text-align-last: center;
  }
} */

.addOffer-block .additional-info {
  width: 30%;
  padding-right: 25px;
  margin: 0;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  border-right: solid 0.5px rgba(112, 112, 112, 0.37);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.addOffer-block .additional-info li {
  margin: 9px 0;
  font-size: 14px;
  color: #222;
  font-family: var(--font-body);
  font-weight: 400;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.addOffer-block .additional-info li span {
  font-size: 18px;
  font-family: var(--font-heading);
  font-weight: 700;
}

@media (max-width: 991px) {
  .addOffer-block .additional-info li {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
}

@media (max-width: 991px) {
  .addOffer-block .additional-info {
    border: none;
    margin-top: 25px;
    width: 100%;
    text-align: center;
  }
}

.addOffer-block h4 {
  font-size: 16px;
  color: #222;
  margin: 0 0 15px;
  font-weight: 400;
}

.addOffer-block .radio {
  margin-bottom: 15px;
  max-width: 100%;
}

.addOffer-block .radio label {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  max-width: 100%;
  cursor: pointer;
}

.addOffer-block .radio .mark {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: solid 0.5px #c4bfbf;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 0;
  background-color: transparent;
  text-align: center;
  line-height: 15px;
  margin-left: 7px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}

.addOffer-block .radio .mark::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: block;
  background-color: var(--primary-color);
  visibility: hidden;
  opacity: 0;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.addOffer-block .radio h6 {
  margin: 0;
  font-weight: 500;
  font-size: 16px;
  color: #262626;
}

.addOffer-block .radio p {
  margin: 0;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
}

.addOffer-block .radio input {
  display: none;
}

.addOffer-block .radio input:checked ~ .mark::after {
  visibility: visible;
  opacity: 1;
}

.addOffer-block .label {
  /* font-size: 18px; */
  color: #222;
  /* margin: 0 15px 15px; */
  font-weight: 400;
}

/* .addOffer-block .form-control {
  margin-bottom: 20px;
} */

@media (max-width: 767px) {
  .addOffer-block .form-control {
    width: 100%;
  }
}

.addOffer-block textarea.form-control {
  width: 100%;
  height: 350px;
  /* padding: 15px 23px; */
}

.addOffer-block .file-cont {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  padding: 7px 8px;
  /* border-radius: 3.5px; */
  border: solid 0.5px rgba(112, 112, 112, 0.25);
  background-color: #fff;
}

@media (max-width: 767px) {
  .addOffer-block .file-cont {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}

.addOffer-block .files {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 100%;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.addOffer-block .file {
  height: 35px;
  padding-right: 6px;
  padding-left: 18px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  /* border-radius: 2.5px; */
  border: solid 0.3px rgba(112, 112, 112, 0.17);
  font-family: var(--font-body);
  font-size: 14px;
  margin: 5px;
  position: relative;
}

@media (max-width: 767px) {
  .addOffer-block .file {
    margin: 2.5px;
  }
}

.addOffer-block .file .del {
  position: absolute;
  top: 5px;
  left: 5px;
  color: var(--primary-color);
  height: 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  overflow: hidden;
  cursor: pointer;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.addOffer-block .file .del:hover {
  color: #f00;
}

.addOffer-block .input-file {
  position: relative;
  overflow: hidden;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}

@media (max-width: 767px) {
  .addOffer-block .input-file {
    width: 100%;
    margin-top: 15px;
  }
}

.addOffer-block .input-file input {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}

.addOffer-block .input-file:hover .btn {
  background-color: var(--secondery-color);
}

.addOffer-block .btn {
  color: #fff;
  border-radius: 2.5px;
  background-color: #262626;
  height: 40px;
  padding: 0 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

@media (max-width: 767px) {
  .addOffer-block .btn {
    width: 100%;
  }
}

.addOffer-block .btn svg {
  width: 15px;
  fill: none;
  stroke: #fff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2px;
  margin-left: 3px;
}

.method-form {
  display: none;
}

.full-project-cost {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  gap: 20px;
}

.project-cost .form-group {
  width: 100%;
  margin: 0;
}

.project-cost .form-control {
  width: 100%;
  margin: 0;
}

.project-cost strong {
  margin: 0 28px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  height: 45px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

@media (max-width: 991px) {
  .project-cost strong {
    margin: 0 5px;
  }
}

.project-cost strong span {
  direction: ltr;
}

.project-cost label {
  color: #222;
  /* opacity: 0.6; */
  font-size: 16px;
  margin-bottom: 5px;
  padding: 0;
}

.project-cost .input-cont, .offer-details-add .input-cont {
  position: relative;
}

.offer-details-add .input-cont input {
  background-color: #fff;
}

.project-cost .input-cont span, .offer-details-add .input-cont span {
  position: absolute;
  top: 50%;
  left: 15px;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  opacity: 0.89;
  color: #222;
  fill: #222;
  pointer-events: none;
}

.project-cost .input-cont span svg {
  width: 15px;
}

.project-cost .part-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-start;
  margin-bottom: 10px;
  gap: 10px;
}

@media (max-width: 767px) {
  .project-cost .part-item {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 1fr;
        grid-template-columns: 1fr 1fr;
    gap: 0 15px;
  }
}

.project-cost .part-item .part-item-input {
  flex: 1;
}

.project-cost .part-item .part-item-input-special {
  flex: 2;
}


.project-cost .part-item .form-group {
  margin-left: 15px;
  width: 180px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}

.project-cost .part-item .form-group:first-of-type {
  width: 275px;
}

@media (max-width: 991px) {
  .project-cost .part-item .form-group:first-of-type {
    width: 200px;
  }
}

@media (max-width: 767px) {
  .project-cost .part-item .form-group:first-of-type {
    width: 100%;
  }
}

@media (max-width: 991px) {
  .project-cost .part-item .form-group {
    width: 140px;
  }
}

@media (max-width: 767px) {
  .project-cost .part-item .form-group {
    width: 100%;
  }
}

.project-cost .part-item .del-cont {
  height: 45px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
         align-items: flex-end;
    margin-top: 29px;
}

.project-cost .part-item .del-part {
  height: 45px;
  background-color: #e53935;
  width: auto;
  color: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  cursor: pointer;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  margin-top: 28px;
  padding: 0px 10px;
  font-size: 15px;
  text-decoration: none;
}

.project-cost .part-item .del-part:hover {
  background-color: #b71c1c;
  color: #fff;
  text-decoration: none;
}

.project-cost .part-item .one-more {
  height: 45px;
  background-color: #14965a;
  /* border-radius: 5px; */
  width: auto;
  color: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  margin-top: 28px;
  padding: 0px 10px;
  font-size: 15px;
}

.project-cost .part-item .one-more:hover {
  background-color: var(--secondery-color);
  text-decoration: none;
}

/* .cost-summary {
  margin-top: 28px;
  padding-top: 15px;
  border-top: solid 0.5px rgba(112, 112, 112, 0.36);
} */

.cost-summary h4 {
  color: var(--secondery-color);
}

@media (max-width: 767px) {
  .cost-summary h4 {
    text-align: center;
  }
}

.cost-summary .cost-flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
          align-items: flex-start;
}

.cost-summary .cost-item a {
    color: var(--primary-color) !important;
}

.cost-summary .cost-item a:hover {
    color: var(--secondery-color) !important;
}

.full-project-cost a {
    color: var(--primary-color) !important;
}

.full-project-cost a:hover {
    color: var(--secondery-color) !important;
}

@media (max-width: 767px) {
  .cost-summary .cost-flex {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    text-align: center;
  }
}

.cost-summary .cost-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  font-family: var(--font-body);
  font-size: 16px;
  gap: 5px;
}

.cost-summary .cost-item strong {
  direction: rtl;
  margin: 0;
  font-size: 16px;
  font-weight: 500;
}

.msg-page-cont {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 3fr 1fr;
      grid-template-columns: 3fr 1fr;
  gap: 10px;
  margin-top: 100px;
}

@media (max-width: 1199px) {
  .msg-page-cont {
    -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
    gap: 20px;
  }
}

.msg-block {
  /* border-radius: 5px; */
  /* border: solid 0.5px rgba(112, 112, 112, 0.49); */
  background-color: #fff;
  overflow: hidden;
  height: -webkit-max-content;
  height: -moz-max-content;
  height: max-content;
}

.msg-block .block-head {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  /* background-color: rgba(38, 38, 38, 0.04); */
  padding: 0 20px;
  min-height: 55px;
  border-bottom: 1px solid #dbdada;
}

.msg-block .block-head .block-title {
  font-size: 18px;
  /* color: #4b5155; */
  font-weight: 500;
  margin: 0;
}

.msg-block .block-head svg {
  width: 20px;
  height: 25px;
}

.msg-block .block-head .search-msg-btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  height: 30px;
  width: 30px;
  border-radius: 50%;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  background-color: var(--primary-color);
  fill: #fff;
  cursor: pointer;
}

.msg-block .block-head .search-msg-btn svg {
  width: 15px;
}

.msg-block .block-head .search-msg-btn:hover {
  background-color: var(--secondery-color);
}

/* ── Chat inline search bar ── */
.chat-search-bar {
  display: none;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 4px;
  background: #fff;
  border: 1px solid #dbe5ed;
  border-radius: 10px;
  padding: 3px 8px;
  /* -webkit-box-shadow: 0 2px 8px rgba(0,0,0,.1);
          box-shadow: 0 2px 8px rgba(0,0,0,.1); */
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 100;
  min-width: 240px;
  margin-top: 6px;
  -webkit-animation: searchBarIn .18s ease;
          animation: searchBarIn .18s ease;
}

.chat-search-bar.is-open {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

@-webkit-keyframes searchBarIn {
  from { opacity: 0; -webkit-transform: translateY(-6px); transform: translateY(-6px); }
  to   { opacity: 1; -webkit-transform: translateY(0);    transform: translateY(0); }
}

@keyframes searchBarIn {
  from { opacity: 0; -webkit-transform: translateY(-6px); transform: translateY(-6px); }
  to   { opacity: 1; -webkit-transform: translateY(0);    transform: translateY(0); }
}

.chat-search-input {
  border: none;
  outline: none;
  font-size: 13px;
  flex: 1;
  min-width: 0;
  background: transparent;
  direction: rtl;
  padding: 3px 4px;
  color: #333;
}

.chat-search-input::-webkit-input-placeholder { color: #aaa; }
.chat-search-input:-ms-input-placeholder      { color: #aaa; }
.chat-search-input::placeholder               { color: #aaa; }

.chat-search-meta {
  font-size: 11px;
  color: #888;
  white-space: nowrap;
  min-width: 36px;
  text-align: center;
  direction: ltr;
}

.chat-search-nav-btn,
.chat-search-close-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 3px 4px;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  border-radius: 50%;
  color: #555;
  -webkit-transition: background .2s, color .2s;
          transition: background .2s, color .2s;
  line-height: 1;
}

.chat-search-nav-btn:hover {
  background: var(--primary-color);
  color: #fff;
}

.chat-search-close-btn {
  font-size: 16px;
  color: #999;
  width: 22px;
  height: 22px;
}

.chat-search-close-btn:hover {
  background: #f0f0f0;
  color: #333;
}

/* highlight inside .msg text */
.chat-search-highlight {
  background-color: #ffe082;
  border-radius: 2px;
  padding: 0 1px;
}

.chat-search-highlight.active {
  background-color: var(--secondery-color);
  color: #fff;
}

/* no-results state */
.chat-search-input.no-results {
  color: #e74c3c;
}

.msg-block .block-head .opt-msg-btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  height: 25px;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  cursor: pointer;
  -webkit-margin-start: 15px;
          margin-inline-start: 15px;
}

.msg-block .block-head .opt-msg-btn span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--primary-color);
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.msg-block .block-head .opt-msg-btn:hover span {
  background-color: var(--secondery-color);
}

.msg-block .block-head .tools {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}


.msg-block .block-body {
  padding: 20px;
}

@media (max-width: 991px) {
  .msg-block .block-body {
    padding: 15px 10px;
  }
}

.msg-page-cont .msg-block .block-body {
  padding: 15px;
}

.chat-body {
  max-height: 1000px;
  overflow-y: auto;
  overflow-x: hidden;
  /* background-color: #fff; */
  /* background-image: url("../images/chat_bg.png"); */
  /* background-repeat: repeat; */
  /* background-size: 200px 200px; */
  padding: 15px;
  border-radius: 8px;
  scrollbar-width: thin; /* Firefox: makes it thin */
  scrollbar-color: rgba(204, 204, 204, 0.8) transparent; /* Firefox */
}

/* Chrome, Edge, Safari */
.chat-body::-webkit-scrollbar {
  width: 4px; /* Thin scrollbar width */
}

.chat-body::-webkit-scrollbar-track {
  background: transparent; /* Transparent track so it blends with the WhatsApp background */
}

.chat-body::-webkit-scrollbar-thumb {
  background-color: rgba(204, 204, 204, 0.8); /* Subtle grey */
  border-radius: 10px; /* Rounded edges */
}

.chat-body::-webkit-scrollbar-thumb:hover {
  background-color: rgba(170, 170, 170, 0.9); /* Slightly darker on hover */
}

.chat-body .msgs-cont {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  /* max-width: 50%; */
  max-width: 100%;
  margin: 20px 0;
}

@media (max-width: 991px) {
  .chat-body .msgs-cont {
    max-width: 100%;
  }
}

.chat-body .msgs-cont .time {
  color: #afbbc6;
  font-size: 13px;
}

.chat-body .msgs-cont .user-img {
  height: 40px;
  width: 40px;
  border-radius: 50%;
  overflow: hidden;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}

@media (max-width: 991px) {
  .chat-body .msgs-cont .user-img {
    height: 30px;
    width: 30px;
  }
}

/* Chat user avatar wrapper with online status */
.chat-body .msgs-cont .user-img-wrapper {
  position: relative;
  flex-shrink: 0;
}

.chat-body .msgs-cont .user-img-wrapper .chat-online-dot {
  width: 10px;
  height: 10px;
  background-color: #8d8d97;
  position: absolute;
  top: 0;
  right: 0;
  border-radius: 50%;
  border: 2px solid #fff;
  z-index: 2;
}

.chat-body .msgs-cont .user-img-wrapper .chat-online-dot.active {
  background-color: #14965A;
}

/* Sender name & time header in chat */
.chat-body .msgs-cont .msg-header {
  display: flex;
  align-items: center;
  gap: 10px;
  /* margin-bottom: 2px; */
}

.chat-body .msgs-cont .sender-name {
  font-size: 16px;
  font-weight: 500;
  color: #262626;
}

a.sender-name.sender-name-link {
  text-decoration: none;
  color: #262626;
  transition: color 0.2s ease;
}

/* a.sender-name.sender-name-link:hover {
  color: var(--primary-color);
  text-decoration: underline;
} */

.chat-body .msgs-cont .msg-header .time {
  font-size: 14px;
  color: #afbbc6;
}

.chat-body .msgs-cont .msgs {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  margin: 0 10px;
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

.chat-body .msgs-cont .msg {
  line-height: 1.8;
  margin-top: 5px;
  font-size: 16px;
  overflow-wrap: break-word;
  word-break: break-word;
  max-width: 100%;
}

.chat-body .msgs-cont.msgs-from {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  margin-left: auto;
}

.chat-body .msgs-cont.msgs-from .msgs {
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
}

.chat-body .msgs-cont.msgs-from .msg {
  /* background-color: #fff; */
  /* color: #2d2d2d; */
  /* border-bottom-left-radius: 10px;
  border-top-left-radius: 10px; */
  font-family: var(--font-body);
  
}

/* .chat-body .msgs-cont.msgs-from .msg:first-of-type {
  border-top-right-radius: 10px;
}

.chat-body .msgs-cont.msgs-from .msg:last-of-type {
  border-bottom-right-radius: 10px;
} */

.chat-body .msgs-cont.msgs-to {
  /* -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
      -ms-flex-direction: row-reverse;
          flex-direction: row-reverse;
  margin-right: auto; */

  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  margin-left: auto;
}

.chat-body .msgs-cont.msgs-to .msgs {
  /* -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end; */

          -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
}

.chat-body .msgs-cont.msgs-to .msg {
  /* background-color: #efefef; */
  /* color: #7b8793; */
  /* width: auto;
  border-bottom-right-radius: 10px;
  border-top-right-radius: 10px; */
  font-family: var(--font-body);
}

/* .chat-body .msgs-cont.msgs-to .msg:first-of-type {
  border-top-left-radius: 10px;
}

.chat-body .msgs-cont.msgs-to .msg:last-of-type {
  border-bottom-left-radius: 10px;
} */

/* ===== Date Separator ===== */
.chat-date-separator {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 12px 0;
  gap: 10px;
}

.chat-date-separator::before,
.chat-date-separator::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.chat-date-separator span {
  /* background-color: rgba(255, 255, 255, 0.85); */
  color: #667781;
  font-size: 12px;
  /* padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1); */
}



.chat-input {
  position: relative;
  margin-top: 20px;
}

/* Chat drag-and-drop file zone */
.chat-drop-zone {
  border-radius: 8px;
}

.chat-drop-zone .input-file-text {
  padding: 18px 15px;
}

.chat-drop-zone .multi-file-preview {
  padding: 0 10px 10px;
}

/* File count badge on attachment icon */
#chat-dropzone-toggle .toggle-file-count {
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background: var(--primary-color);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#chat-dropzone-toggle.is-open svg {
  stroke: var(--primary-color);
}

.chat-input .msg-input {
  /* border-radius: 22.5px; */
  border: solid 0.5px #dbe5ed;
  background-color: #fff;
  min-height: 45px;
  padding: 5px;
  font-family: var(--font-body);
}

.msg-input-field {
  width: calc(100% - 100px);
  /* max-width: calc(100% - 100px); */
  overflow-y: auto;
  min-height: 40px;
  /* max-height: 200px; */
  padding-right: 10px;
  padding-left: 10px;
  /* resize: none; */
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  box-sizing: border-box;
}

@media (max-width: 575px) {
  .msg-input-field {
    width: calc(100% - 80px);
    max-width: calc(100% - 80px);
  }
}

.input-tools {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  position: absolute;
  bottom: 15px;
  left: 15px;
  /* height: 45px; */
}

@media (max-width: 575px) {
  .input-tools {
    left: 10px;
  }
}

.emojis-btn {
  fill: none;
  stroke: #afbbc6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2px;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}

.emojis-btn svg {
  width: 20px;
}

.emojis-btn:hover {
  stroke: var(--secondery-color);
}

.attachments-btn {
  fill: none;
  stroke: #afbbc6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2px;
  margin: 0 15px;
  cursor: pointer;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.attachments-btn svg {
  width: 20px;
}

.attachments-btn:hover {
  stroke: var(--secondery-color);
}

.send-btn {
  fill: none;
  stroke: #fff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5px;
  padding: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  height: 34px;
  width: 34px;
  border-radius: 50%;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  background-color: var(--primary-color);
  cursor: pointer;
  border: none;
  outline: none;
  padding-left: 5px;
}

.send-btn svg {
  width: 22px;
}

.send-btn:hover {
  background-color: var(--secondery-color);
}

.attachment {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  border-radius: 2.5px;
  border: solid 0.5px rgba(112, 112, 112, 0.09);
  overflow: hidden;
  margin-bottom: 10px;
}

.attachment .aspect {
  width: 30%;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}

.attachment .attach-img {
  padding-bottom: 80%;
  width: 100%;
  position: relative;
}

.attachment .attach-img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.attachment .attach-img span {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  background-color: rgba(57, 57, 57, 0.18);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  font-size: 18px;
  color: #4b5155;
}

.attachment .attach-text {
  padding: 0 12px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.attachment .attach-name {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  overflow: hidden;
  -webkit-box-orient: vertical;
  font-size: 14px;
  color: #4b5155;
  margin: 0;
}

.attachment .attach-date {
  font-size: 12px;
  color: #4b5155;
}

.attachment:hover {
  text-decoration: none;
}

.offerDetails-page-title {
  margin-top: 15px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  margin-bottom: 15px;
}

@media (max-width: 767px) {
  .offerDetails-page-title {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 10px;
  }
}

.offerDetails-page-title .offerDetails-name {
  font-size: 20px;
  color: var(--text-color);
  margin: 0;
  font-weight: 400;
}

.offerDetails-page-title .offerDetails-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.offerDetails-btns .side-btn {
  width: auto !important;
  margin-top: 0 !important;
  padding: 0 20px;
}

@media (max-width: 767px) {
  .offerDetails-page-title .offerDetails-btns {
    width: 100%;
    justify-content: center;
  }
}

.action-btn-group {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 8px;
}

.action-kebab-wrapper {
  position: relative;
}

.action-kebab-toggle {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid #e0e0e0;
  /* border-radius: 8px; */
  background: #fff;
  color: #555;
  cursor: pointer;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

.action-kebab-toggle:hover {
  background: #f5f5f5;
  border-color: #ccc;
  color: #333;
}

.action-kebab-toggle:active {
  background: #eee;
}

.action-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  /* min-width: 200px; */
  background: #fff;
  border: 1px solid #e8e8e8;
  /* border-radius: 10px;
  -webkit-box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
          box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12); */
  z-index: 100;
  padding: 6px;
  opacity: 0;
  -webkit-transform: translateY(-8px);
          transform: translateY(-8px);
}

.action-dropdown.show {
  display: block;
  opacity: 1;
  -webkit-transform: translateY(0);
          transform: translateY(0);
  -webkit-animation: actionDropdownFadeIn 0.2s ease forwards;
          animation: actionDropdownFadeIn 0.2s ease forwards;
}

@-webkit-keyframes actionDropdownFadeIn {
  from {
    opacity: 0;
    -webkit-transform: translateY(-8px);
            transform: translateY(-8px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}

@keyframes actionDropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.action-dropdown-item {
  display: block;
  padding: 10px 16px;
  color: #333;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  -webkit-transition: background 0.15s ease;
  transition: background 0.15s ease;
  white-space: nowrap;
  cursor: pointer;
}

.action-dropdown-item:hover {
  background: #f5f5f5;
  text-decoration: none;
  color: #333;
}

.action-dropdown-item.reject-item {
  color: #dc3545;
}

.action-dropdown-item.reject-item:hover {
  background: #fef2f2;
  color: #dc3545;
}

@media (max-width: 767px) {
  .action-btn-group {
    width: 100%;
  }

  .action-btn-group .side-btn {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
  }

  .action-dropdown {
    left: auto;
    right: 0;
    min-width: 180px;
  }
}

.offerDetails-page-cont {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 2.5fr 1fr;
      grid-template-columns: 2.5fr 1fr;
  gap: 10px;
}

@media (max-width: 1199px) {
  .offerDetails-page-cont {
    -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
    gap: 20px;
  }
}

.offerDetails-page-cont .side-cont {
  /* border: solid 0.5px rgba(112, 112, 112, 0.49); */
  /* background-color: #fff; */
  -webkit-box-shadow: none;
          box-shadow: none;
  height: auto;
  height: -webkit-max-content;
  height: -moz-max-content;
  height: max-content;
}

.offerDetails-page-cont .side-cont .side-title::after {
  width: 105px;
}

.offerDetails-page-cont .side-cont .box-cont {
    margin-bottom: 10px;
}

.offerDetails-page-cont .help {
  padding: 0;
  margin: 0;
  -webkit-padding-start: 15px;
          padding-inline-start: 15px;
  height: -webkit-max-content;
  height: -moz-max-content;
  height: max-content;
}

.offerDetails-page-cont .help li {
  font-size: 13px;
  margin: 10px 0;
  color: #222222;
  line-height: 1.72;
  font-family: var(--font-body);
}

.offerDetails-right-div {
  max-width: 100%;
  overflow: hidden;
}

/* Important notes: alert-style box below chat */
.offerDetails-page-cont .offer-important-notes-alert {
  margin-top: 2.5rem;
  background-color: #fdf8e3;
  /* border: 1px solid #f5e6b3; */
  /* border-radius: 8px; */
  -webkit-box-shadow: none;
          box-shadow: none;
}

/* .offerDetails-page-cont .offer-important-notes-alert .block-head {
  background-color: rgba(235, 205, 120, 0.85);
  border-bottom: 0;
  padding-block: 10px;
} */

.offerDetails-block {
  /* border-radius: 5px; */
  /* border: solid 0.5px rgba(112, 112, 112, 0.49); */
  background-color: #fff;
  overflow: hidden;
  margin-bottom: 10px;
  color: #222;
}

.offerDetails-block .block-head {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  background-color: #fff;
  padding: 12px 20px;
}

.offerDetails-block .block-head .block-title {
  font-size: 16px;
  /* color: var(--primary-color); */
  font-weight: 500;
  margin: 3px 0;
}

.offerDetails-block .block-head a {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  font-size: 16px;
  font-family: var(--font-body);
  color: var(--primary-color);
  text-decoration: underline;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.offerDetails-block .block-head a:hover {
  color: var(--secondery-color);
  text-decoration: none;
}

.offerDetails-block .block-body {
  padding: 15px;
}

.offerDetails-block h4 {
  font-size: 18px;
  color: #222;
  margin: 0 0 15px;
  font-weight: 400;
}

.offerDetails-block .cost-items {
  display: -ms-grid;
  display: grid;
  /* -ms-grid-columns: (1fr)[5];
      grid-template-columns: repeat(5, 1fr); */
}

/* @media (max-width: 991px) {
  .offerDetails-block .cost-items {
    -ms-grid-columns: (1fr)[3];
        grid-template-columns: repeat(3, 1fr);
  }
} */

.offerDetails-block .cost-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.offerDetails-block .cost-item strong {
  font-size: 16px;
  font-weight: 700;
  opacity: 0.89;
  /* font-family: var(--font-body); */
  color: #222;
}

.offerDetails-block span.label {
  /* font-family: var(--font-body); */
  color: #222;
  /* opacity: 0.6; */
  font-size: 16px;
  padding: 0;
  margin: 0;
  font-weight: 500;
}

.offerDetails-block p {
  font-size: 16px !important;
  font-family: var(--font-body);
  line-height: 1.9;
}

.side-cont .side-btn,
.offerDetails-btns .side-btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 100%;
  height: 40px;
  background-color: var(--primary-color);
  color: #fff;
  font-weight: 700;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  margin-top: 10px;
  /* border-radius: 5px; */
  cursor: pointer;
  font-size: 14px;
}

.side-cont .side-btn.rateModalBtn,
.offerDetails-btns .side-btn.rateModalBtn {
  color: #fff;
  background-color: var(--primary-color);
}

.side-cont .side-btn.completed,
.offerDetails-btns .side-btn.completed {
  background-color: #393939;
}

.side-cont .side-btn.reject-btn,
.offerDetails-btns .side-btn.reject-btn {
  color: #fff;
  background-color: #f57c00;
}

.side-cont .side-btn.reject-btn:hover,
.offerDetails-btns .side-btn.reject-btn:hover {
  background-color: #fe952e;
}

.offerDetails-block .action-btn-group {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.offerDetails-block .action-btn-group .side-btn {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  height: 40px;
  padding: 0 20px;
  width: auto;
  margin-top: 0;
  background-color: var(--primary-color);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  text-decoration: none;
}

.offerDetails-block .action-btn-group .side-btn:hover {
  background-color: var(--secondery-color);
  color: #fff;
  text-decoration: none;
}

.offerDetails-block .action-btn-group .side-btn.reject-btn {
  background-color: #dc3545;
}

.offerDetails-block .action-btn-group .side-btn.reject-btn:hover {
  background-color: #b02a37;
}

@media (max-width: 767px) {
  .offerDetails-block .action-btn-group {
    width: 100%;
  }
  .offerDetails-block .action-btn-group .side-btn {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
  }
}

.offer-status-badge {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 8px 16px;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  /* border-radius: 6px; */
  text-align: center;
}

.offer-status-badge.badge-sent {
  background-color: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
}

.offer-status-badge.badge-waiting {
  background-color: #fff8e1;
  color: #e65100;
  border: 1px solid #ffcc80;
}

.side-cont .side-btn.btn-wait,
.offerDetails-btns .side-btn.btn-wait {
  color: #fff;
  background-color: #ffc80f;
}

.side-cont .side-btn:hover,
.offerDetails-btns .side-btn:hover {
  color: #fff;
  background-color: var(--secondery-color);
  text-decoration: none;
}

.side-cont .side-btn.btn-wait:hover,
.offerDetails-btns .side-btn.btn-wait:hover {
  background-color: #e6b40e;
}

.side-cont .client {
  padding-top: 15px;
  padding-right: 15px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background-color: #fff;
    border: none;
}

.side-cont .client .user-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
}

@media (max-width: 1199px) {
  .side-cont .client .user-img {
    width: 45px;
    height: 45px;
  }
}

.side-cont .client .user-text {
  -webkit-margin-start: 15px;
  margin-inline-start: 15px;
  text-align: start;
}

.alert-warning {
    color: #856404;
    background-color: #FDF8E3;
    border-color: #ffeeba;
}

.installment-item {
    margin-bottom: 10px;
    /* border-bottom: 1px dashed #e0e0e0; */
    /* padding-bottom: 15px; */
}

/* .installment-total {
    margin-top: 20px;
} */

/* .installment-total {
    padding: 15px;
    background-color: #f5f5f5;
} */

.installment-item:last-child {
    border-bottom: none;
}

/* Ratings Block Styles */
.ratings-block .rating-section {
    margin-bottom: 15px;
}

.ratings-block .rating-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 10px;
    margin-right: 60px;
}

.ratings-block .rating-stars {
    display: flex;
    align-items: center;
    gap: 3px;
}

.ratings-block .rating-value {
    margin-right: 8px;
    font-size: 14px;
    color: #666;
    font-weight: 600;
}

.user-info-cont .review .rating-value {
    margin-right: 8px;
    font-size: 12px;
    color: #666;
    font-weight: 600;
}

/* .ratings-block .rating-comment {
    background-color: #f9f9f9;
    padding: 12px;
    border-radius: 5px;
    margin-bottom: 8px;
} */

.ratings-block .rating-comment p {
    margin: 0;
    color: #222;
    line-height: 1.6;
    font-size: 13px;
    font-family: var(--font-body);
    margin-right: 60px;
}

.projectDetails-page-cont .projectDetails-cont {
    margin-bottom: 10px;
}

.ratings-block .rating-by {
    display: flex;
    flex-direction: row;        /* Changed to row for horizontal layout */
    align-items: center;        /* Center vertically */
    margin-bottom: 15px;
    gap: 10px;                  /* Space between image and name */
}

.ratings-block .rating-by .user-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    transition: opacity 0.3s ease;
    display: block;
}

.ratings-block .rating-by .user-img:hover {
    opacity: 0.8;
}

.ratings-block .rating-by .user-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.ratings-block .rating-by .user-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ratings-block .rating-by .user-name {
    color: #666;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.ratings-block .rating-by .user-name:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.ratings-block .rating-by .label-with-date {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ratings-block .rating-by .label {
    color: #666;
    font-size: 14px;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 3px;
}

.ratings-block .rating-by .label svg {
    flex-shrink: 0;
}

.ratings-block .rating-by .rating-date {
    color: #999;
    font-size: 12px;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 5px;
}

.ratings-block .rating-by .rating-date svg {
    flex-shrink: 0;
}

/* Rating share modal (project details) — ألوان وأوزان متماشية مع .head-btn و .addOffer-page-title */
.rating-share-modal .modal-dialog {
    max-width: 440px;
}

.rating-share-modal .modal-content {
    border: none;
}

.rating-share-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(20, 150, 90, 0.12);
}

.rating-share-card__header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 10px 12px;
    min-height: 48px;
    background: linear-gradient(180deg, #f8faf9 0%, #fff 100%);
}

.rating-share-card__header .close {
    margin: 0;
    padding: 6px 10px;
    font-size: 1.5rem;
    line-height: 1;
    opacity: 0.5;
    color: #262626;
    transition: opacity 0.2s ease, color 0.2s ease;
}

.rating-share-card__header .close:hover {
    opacity: 1;
    color: var(--primary-color);
}

.rating-share-card__body {
    padding: 20px 22px 22px;
    text-align: center;
    background: #fff;
}

.rating-share-card__brand {
    margin-bottom: 14px;
}

.rating-share-card__logo {
    max-height: 46px;
    max-width: 140px;
    width: auto;
    height: auto;
    display: inline-block;
    vertical-align: middle;
}

.rating-share-card__title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 10px;
    font-family: var(--font-head, inherit);
}

.rating-share-card__project {
    font-size: 0.95rem;
    color: #555;
    margin: 0 0 16px;
    line-height: 1.5;
}

.rating-share-card__stars {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 16px;
}

.rating-share-card__score {
    margin-inline-start: 8px;
    font-size: 0.95rem;
    color: #444;
    font-weight: 600;
}

.rating-share-card__comment {
    text-align: right;
    background: rgba(20, 150, 90, 0.06);
    border: 1px solid rgba(20, 150, 90, 0.1);
    /* border-radius: 10px; */
    padding: 12px 14px;
    margin-bottom: 14px;
}

.rating-share-card__comment p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.55;
    color: #333;
}

.rating-share-card__freelancer {
    margin: 0;
    font-size: 0.95rem;
    color: #444;
}

.rating-share-card__freelancer-label {
    display: block;
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 4px;
}

.rating-share-card__freelancer-name {
    font-weight: 600;
    color: var(--primary-color);
}

.rating-share-card__footer {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding: 16px 18px 18px;
    background: #fafcfb;
    display: block;
}

.rating-share-card__footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

/* خصوصية أعلى من .addOffer-block .btn (#262626) لأن المودال داخل كتلة العروض */
.addOffer-block .rating-share-modal .rating-share-card__btn.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 20px;
    border-radius: 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    border: 1px solid transparent;
    transition: all 0.3s ease-in-out;
    white-space: nowrap;
    width: auto;
    max-width: 100%;
}

.addOffer-block .rating-share-modal .rating-share-card__btn--primary.btn {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.addOffer-block .rating-share-modal .rating-share-card__btn--primary.btn:hover {
    background-color: var(--secondery-color);
    border-color: var(--secondery-color);
    color: #fff;
}

.addOffer-block .rating-share-modal .rating-share-card__btn--outline.btn {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.addOffer-block .rating-share-modal .rating-share-card__btn--outline.btn:hover {
    background-color: #f4ecec;
    color: #19b36b;
    border-color: #19b36b;
}

.addOffer-block .rating-share-modal .rating-share-card__btn--secondary.btn {
    background-color: transparent;
    border: 0.5px solid rgba(112, 112, 112, 0.36);
    color: #262626;
    font-weight: 600;
}

.addOffer-block .rating-share-modal .rating-share-card__btn--secondary.btn:hover {
    background-color: rgba(0, 0, 0, 0.04);
    color: #111;
    border-color: rgba(112, 112, 112, 0.5);
}

.addOffer-block .rating-share-modal .rating-share-card__btn--primary.btn .rating-share-card__btn-loading {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
}

.addOffer-block .rating-share-modal .rating-share-card__btn--primary.btn:disabled {
    opacity: 0.85;
    cursor: wait;
}

.rating-share-card__capture {
    padding: 20px 18px;
    background: linear-gradient(145deg, #f5f9f7 0%, #fff 52%);
    /* border-radius: 14px; */
    border: 1px solid rgba(20, 150, 90, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}

@media (max-width: 767px) {
    .ratings-block .rating-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .rating-share-card__footer-inner {
        flex-direction: column;
    }

    .addOffer-block .rating-share-modal .rating-share-card__btn.btn {
        width: 100%;
    }
}


.side-cont .client .user-text h6 {
  font-size: 18px;
  font-weight: 400;
  color: var(--secondery-color);
  margin: 0;
}

.side-cont .client .user-text .rating {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.side-cont .client .user-text .rating span {
  fill: none;
  stroke: #ffba00;
  stroke-width: 1px;
}

.side-cont .client .user-text .rating span ~ span {
  -webkit-margin-start: 3px;
          margin-inline-start: 3px;
}

.side-cont .client .user-text .rating span.active {
  fill: #ffba00;
}

.side-cont .client .user-text .rating.owner-rating-block {
  display: flex;
  align-items: center;
  gap: 10px;
}

.side-cont .client .user-text .rating.owner-rating-block .owner-rating-score {
  font-size: 18px;
  font-weight: 700;
  color: #ffba00;
  line-height: 1;
  fill: unset;
  stroke: unset;
}

.side-cont .client .user-text .rating.owner-rating-block .owner-rating-stars {
  display: flex;
  flex-direction: column;
  gap: 3px;
  fill: unset;
  stroke: unset;
}

.side-cont .client .user-text .rating.owner-rating-block .owner-rating-stars-row {
  display: flex;
  align-items: center;
  gap: 2px;
}

.side-cont .client .user-text .rating.owner-rating-block .owner-rating-label {
  font-size: 12px;
  color: #888;
  fill: unset;
  stroke: unset;
}

@media (max-width: 767px) {
  .side-cont .client .user-text .rating {
    margin-bottom: 5px;
  }
}

.client-info {
  margin: 0;
    background-color: #fff;
    padding: 15px;
    margin-top: -5px;
}

.client-info li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  font-family: var(--font-body);
  font-weight: 400;
  padding: 5px 0;
  font-size: 16px;
  /* border-bottom: solid 0.5px rgba(112, 112, 112, 0.19); */
}

.client-info li:last-of-type {
  border: none;
}

.client-info li span {
  margin-left: 7px;
  /* width: 15px; */
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.clockify-alert {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  border-radius: 5px;
  border: solid 0.5px rgba(112, 112, 112, 0.14);
  background-color: #fff;
  padding: 20px;
  margin-bottom: 20px;
}

@media (max-width: 767px) {
  .clockify-alert {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    text-align: center;
  }
}

.clockify-alert .icon {
  margin-left: 10px;
}

@media (max-width: 767px) {
  .clockify-alert .icon {
    margin: 0 0 5px;
  }
}

.clockify-alert svg {
  width: 70px;
}

.clockify-alert p {
  margin: 0;
  color: #222222;
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.66;
}

.clockify-alert p a {
  color: var(--primary-color);
  font-weight: 700;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.clockify-alert p a:hover {
  color: var(--secondery-color);
  text-decoration: none;
}

.follow-hours {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  border-radius: 5px;
  border: solid 0.5px rgba(112, 112, 112, 0.14);
  background-color: #fff;
  padding: 20px;
  margin-bottom: 20px;
}

@media (max-width: 767px) {
  .follow-hours {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    text-align: center;
  }
}

.follow-hours .icon {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  margin-left: 10px;
}

@media (max-width: 767px) {
  .follow-hours .icon {
    margin: 0 0 5px;
  }
}

.follow-hours .icon svg {
  width: 70px;
}

.follow-hours .follow-text {
  width: 100%;
}

.follow-hours .follow-text .follow-title {
  color: #222222;
  font-weight: 700;
  margin-bottom: 5px;
}

.follow-hours .follow-grid {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (1fr)[4];
      grid-template-columns: repeat(4, 1fr);
  width: 100%;
}

@media (max-width: 767px) {
  .follow-hours .follow-grid {
    -ms-grid-columns: 1fr 1fr;
        grid-template-columns: 1fr 1fr;
    gap: 5px;
    text-align: center;
  }
}

.follow-hours .item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  font-family: var(--font-body);
  font-weight: 400;
}

@media (max-width: 767px) {
  .follow-hours .item {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
}

.follow-hours .item svg {
  width: 20px;
  fill: var(--primary-color);
  margin-left: 5px;
}

.follow-hours .item.active svg {
  fill: var(--primary-color);
}

.follow-hours .item.inactive svg {
  fill: #f85c5c;
}

.parts {
  display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 10px;
    /* border-radius: 5px; */
    /* border: solid 0.5px rgba(112, 112, 112, 0.14); */
    overflow: hidden;
    background-color: #fff;
    /* width: -webkit-max-content; */
    width: -moz-max-content;
    /* width: max-content; */
    /* overflow-x: auto; */
    width: 100%;
    padding: 15px;
}

.parts .part {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  width: auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  height: 45px;
  color: rgba(57, 57, 57, 0.73);
  font-size: 16px;
  position: relative;
  padding: 0 15px;
}

.parts .part span {
  position: relative;
  z-index: 4;
}

.parts .part.active {
  color: #fff;
  background-color: var(--primary-color);
  fill: #fff;
}

.parts .part.active svg {
  width: 15px;
  margin-left: 5px;
}

.parts .part.working {
  color: #14965a;
  background-color: #c3ebbb;
  stroke: #14965a;
}

.parts .part.working svg {
  width: 15px;
  margin-left: 5px;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3px;
}

.money-form-page-title {
  margin-top: 15px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  margin-bottom: 15px;
}

@media (max-width: 767px) {
  .money-form-page-title {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }

  .money-form-page-title .money-form-back {
    margin-top: 10px;
    width: 100%;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
}

.money-form-page-title .money-form-name {
  font-size: 20px;
  color: var(--text-color);
  margin: 0;
  font-weight: 400;
}

.money-form-page-title .money-form-back {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  height: 40px;
  padding: 0 35px;
  border: 1px solid #ddd;
  background-color: #fff;
  color: #444;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

.money-form-page-title .money-form-back:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background-color: rgba(25, 179, 107, 0.08);
  text-decoration: none;
}

.money-form-page-cont {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 3fr 1fr;
      grid-template-columns: 3fr 1fr;
  gap: 10px;
}

@media (max-width: 1199px) {
  .money-form-page-cont {
    -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
    gap: 20px;
  }
}

.money-form-page-cont .btns {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.money-form-page-cont .btns a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  height: 40px;
  border-radius: 5px;
  margin: 0 3px;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.money-form-page-cont .btns a.send-anchor {
  width: 346px;
  background-color: var(--primary-color);
  color: #fff;
  font-weight: 700;
}

@media (max-width: 767px) {
  .money-form-page-cont .btns a.send-anchor {
    width: 50%;
  }
}

.money-form-page-cont .btns a.cancel-anchor {
  width: 194px;
  border: solid 0.5px rgba(112, 112, 112, 0.36);
  color: #262626;
  background-color: transparent;
}

@media (max-width: 767px) {
  .money-form-page-cont .btns a.cancel-anchor {
    width: 50%;
  }
}

.money-form-page-cont .btns a:hover {
  background-color: var(--secondery-color);
  color: #fff;
  text-decoration: none;
}

.money-form-page-cont .side-cont {
  /* border: solid 0.5px rgba(112, 112, 112, 0.49); */
  background-color: #fff;
  -webkit-box-shadow: none;
          box-shadow: none;
  height: auto;
  height: -webkit-max-content;
  height: -moz-max-content;
  height: max-content;
}

.money-form-page-cont .side-cont .side-title {
  /* text-align: center; */
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.money-form-page-cont .side-cont .side-title::after {
  margin-left: auto;
  margin-right: auto;
  width: 105px;
}

.money-form-page-cont .help {
  padding: 0;
  margin: 0;
  -webkit-padding-start: 15px;
          padding-inline-start: 15px;
  height: -webkit-max-content;
  height: -moz-max-content;
  height: max-content;
}

.money-form-page-cont .help li {
  font-size: 13px;
  margin: 10px 0;
  color: #222222;
  line-height: 1.72;
  font-family: var(--font-body);
}

.money-form-cont {
  max-width: 100%;
  overflow: hidden;
  background-color: #fff;
  padding: 15px;
  /* -webkit-box-shadow: none;
          box-shadow: none;
  height: auto;
  padding: 15px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 1fr;
      grid-template-columns: 1fr 1fr;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 50px; */
}

@media (max-width: 991px) {
  .money-form-cont {
    -ms-grid-columns: 1fr 0.75fr;
        grid-template-columns: 1fr 0.75fr;
    gap: 20px;
    padding: 20px 15px;
  }
}

@media (max-width: 767px) {
  .money-form-cont {
    -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
    gap: 0;
  }
}

.money-form-cont .money-img {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
}

.money-form-cont .money-img img {
  width: 250px;
}

@media (max-width: 767px) {
  .money-form-cont .money-img {
    display: none;
  }
}

.money-form-cont .methods {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  /* margin-bottom: 20px; */
}

@media (max-width: 767px) {
  .money-form-cont .methods {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 1fr;
        grid-template-columns: 1fr 1fr;
    gap: 5px;
  }
}

.money-form-cont .method-icon {
  position: relative;
}

@media (max-width: 767px) {
  .money-form-cont .method-icon {
    width: 100%;
  }
}

.money-form-cont .method-icon input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.money-form-cont .method-icon input:checked ~ .mark {
  visibility: visible;
  opacity: 1;
}

.money-form-cont .method-icon input:checked ~ .img {
  border: solid 0.5px #5cb85c;
  background-color: rgba(92, 184, 92, 0.09);
}

.money-form-cont .method-icon .mark {
  position: absolute;
  top: 0;
  right: 0;
  -webkit-transform: translateY(-50%) translateX(50%);
          transform: translateY(-50%) translateX(50%);
  width: 20px;
  height: 20px;
  padding: 2px;
  border: solid 1.5px #fff;
  background-color: #5cb85c;
  padding: 0;
  margin: 0;
  border-radius: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  visibility: hidden;
  opacity: 0;
  cursor: pointer;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.money-form-cont .method-icon .mark svg {
  width: 10px;
}

.money-form-cont .method-icon .img {
  width: 190px;
  height: 60px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  border-radius: 3px;
  border: solid 0.5px rgba(0, 0, 0, 0.11);
  background-color: #fff;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  font-size: 18px;
  color: #222;
  font-family: var(--font-body);
  max-width: 100%;
}

.money-form-cont .method-icon .img img {
  max-width: 150px;
}

@media (max-width: 767px) {
  .money-form-cont .method-icon .img img {
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  .money-form-cont .method-icon .img {
    width: 100%;
    font-size: 16px;
    padding: 5px;
  }
}

.money-form-cont .method-icon ~ .method-icon {
  margin-right: 10px;
}

@media (max-width: 767px) {
  .money-form-cont .method-icon ~ .method-icon {
    margin: 0;
  }
}

.money-form-cont .money-form-title {
  font-size: 22px;
  color: #262626;
  font-weight: 400;
  margin: 0;
  padding: 10px 0;
}

.money-form-cont .amount {
  font-size: 24px;
  color: var(--primary-color);
  font-weight: 700;
  direction: ltr;
  font-family: var(--font-body);
}

.money-form-cont .amount ~ p {
  opacity: 0.37;
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.45;
  color: #262626;
  font-size: 13px;
  margin: 10px 0 8px;
}

/* .money-form-cont .money-inputs {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 1.3fr;
      grid-template-columns: 1fr 1.3fr;
  gap: 15px;
} */

.money-form-cont .money-inputs label {
  /* font-size: 12px;
  opacity: 0.6; */
  font-family: var(--font-body);
  font-weight: 400;
}

.money-form-cont .money-inputs.first-line {
  -ms-grid-columns: 0.75fr 1.5fr;
      grid-template-columns: 0.75fr 1.5fr;
}

@media (max-width: 767px) {
  .money-form-cont .money-inputs.first-line {
    -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
    gap: 0;
  }
}

.money-form-cont .money-inputs.sec-line {
  -ms-grid-columns: 1fr 0.25fr 0.25fr;
      grid-template-columns: 1fr 0.25fr 0.25fr;
}

@media (max-width: 767px) {
  .money-form-cont .money-inputs.sec-line {
    -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (max-width: 767px) {
  .money-form-cont .money-inputs {
    -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
    gap: 0;
  }
}

.money-form-cont .money-inputs .form-group.req label::after {
  content: "*";
}

.money-form-cont .pay-inputs label {
  /* font-size: 12px;
  opacity: 0.6; */
  font-family: var(--font-body);
  font-weight: 400;
}

.money-form-cont .input-cont {
  position: relative;
}

.money-form-cont .input-cont span {
  position: absolute;
  top: 50%;
  left: 15px;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  opacity: 0.89;
  color: #222;
  fill: #222;
  pointer-events: none;
}

.money-form-cont .checkbox label {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  cursor: pointer;
}

.money-form-cont .checkbox label input {
  margin-left: 5px;
}

.money-form-cont .payment-p {
  line-height: 1.44;
  font-family: var(--font-body);
  font-weight: 400;
  color: #393939;
  font-size: 12px;
}

.money-form-cont .money-form-submit {
  width: auto;
  height: 50px;
  /* border-radius: 5px; */
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  font-weight: 700;
  font-size: 14px;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  padding: 0 15px;
}

.money-form-cont .money-form-submit:hover {
  text-decoration: none;
  border-color: var(--secondery-color);
  background-color: var(--secondery-color);
  color: #fff;
}

.offers-page-name {
  font-size: 25px;
  color: var(--text-color);
  margin: 0;
  font-weight: 400;
}

.filter-cont .form-group label {
  font-weight: 400;
  opacity: 0.6;
  font-family: var(--font-body);
  font-size: 12px;
  color: #222;
}

.userPage {
  position: relative;
  padding: 0;
}

/* .userPage::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  background-color: #fff;
  width: 50vw;
  content: "";
} */

@media (max-width: 1199px) {
  .userPage::after {
    display: none;
  }
}

.user-page-cont {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 3fr;
      grid-template-columns: 1fr 3fr;
  gap: 10px;
  padding: 0 0 0;
  position: relative;
  z-index: 2;
  /* background-color: #fafafa; */
}

@media (max-width: 1199px) {
  .user-page-cont {
    -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 10px;
  }
}

.user-page-cont > div:not(.user-relative) {
  max-width: 100%;
  overflow: hidden;
  /* margin-top: 15px; */
  margin-bottom: 70px;
  /* background-color: #fff; */
  /* padding: 15px; */
}

@media (max-width: 1199px) {
  .user-page-cont > div:not(.user-relative) {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
  .user-relative{
    padding: 0 !important;
    margin: 0 !important;
    max-height: unset !important;
  }
}

.user-relative {
 /* background-color: #fff;
    padding: 10px; */
    margin-bottom: 20px;
    height: fit-content;
    padding-bottom: 30px;
}

.user-relative .user-nav {
    background-color: #fff;
    padding: 10px;
}

.user-text .user-job {
    font-size: 12px;
    font-family: var(--font-body);
}

/* .user-nav {
  padding: 40px 0;
} */

@media (max-width: 1275px) {
  .user-nav {
    position: relative;
    top: auto;
    left: auto;
  }
}

@media (max-width: 1199px) {
  .user-nav {
    padding: 20px 0 0;
  }
}

.user-nav .client {
  padding: 15px 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  background-color: transparent;
  border: none;
  padding: 0 0;
  gap: 12px;
}

.user-nav .client .user-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #f0e8e8;
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
  flex-shrink: 0;
}

.user-nav .client .user-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 1199px) {
  .user-nav .client .user-img {
    width: 110px;
    height: 110px;
  }
}

.user-status-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-top: 2px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-family: var(--font-body);
  border: 1px solid transparent;
  line-height: 1.6;
}

.status-pill--online {
  background: #f0faf5;
  color: #14965A;
  border-color: rgba(20, 150, 90, 0.25);
}

.status-pill--offline {
  background: #f5f5f5;
  color: #888;
  border-color: #ddd;
}

.status-pill__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

.status-pill--badge {
  font-weight: 500;
  border: 1px solid;
}

.status-pill--badge svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.user-nav-meta {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 10px;
  /* margin-top: 8px; */
  width: 100%;
}


.user-nav-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #666;
  font-family: var(--font-body);
  white-space: nowrap;
}

.user-nav-meta-item svg {
  color: #60d049;
  flex-shrink: 0;
}

.user-nav .user-img-wrapper {
  position: relative;
  width: 120px;
  height: 120px;
  flex-shrink: 0;
}

@media (max-width: 1199px) {
  .user-nav .user-img-wrapper {
    width: 110px;
    height: 110px;
  }
}

.user-nav .user-img-wrapper .verified-badge {
  position: absolute !important;
  top: auto !important;
  bottom: 6px !important;
  right: 6px !important;
  left: auto !important;
  background: #60d049;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  border: 2px solid #fff;
}

.user-nav .user-img-wrapper .verified-badge svg {
  width: 13px;
  height: 13px;
}

@media (max-width: 1199px) {
  .user-nav .user-img-wrapper .verified-badge {
    width: 20px !important;
    height: 20px !important;
    bottom: 5px !important;
    right: 5px !important;
  }
}


.user-nav .client .user-text {
  margin-inline-start: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.user-nav .client .user-text h6 {
  font-size: 20px;
  font-weight: 600;
  color: var(--secondery-color);
  margin: 0;
  text-align: center;
  line-height: 1.3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.user-nav-online-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: #ccc;
  flex-shrink: 0;
  display: inline-block;
}

.user-nav-online-dot.active {
  background-color: #14965A;
  box-shadow: 0 0 0 2px rgba(20, 150, 90, 0.2);
}

@media (max-width: 1275px) {
  .user-nav .client .user-text h6 {
    font-size: 20px;
  }
}

.user-nav .client .user-text .rating {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  justify-content: center;
}

.user-nav .client .user-text .rating svg {
  width: 15px;
}

.user-nav .client .user-text .rating span {
  fill: none;
  stroke: #ffba00;
  stroke-width: 1px;
}

.user-nav .client .user-text .rating span ~ span {
  -webkit-margin-start: 3px;
          margin-inline-start: 3px;
}

.user-nav .client .user-text .rating span.active {
  fill: #ffba00;
}

@media (max-width: 767px) {
  .user-nav .client .user-text .rating {
    margin-bottom: 5px;
  }
}

.user-nav ul {
  margin: 25px 0 0;
}

@media (max-width: 1199px) {
  .user-nav ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    margin-top: 20px;
  }
}

@media (max-width: 1199px) {
  .user-nav ul li {
    width: calc(100% / 3);
  }
}

.user-nav ul a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  height: 50px;
  padding: 0 10px;
  font-size: 16px;
  color: #502626;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  font-weight: 500;
}

.user-nav ul a.active {
  color: #502626;
  font-size: 16px;
  background-color: #f7f3f3;
}

@media (max-width: 1199px) {
  .user-nav ul a.active {
    font-size: 16px;
  }
}

.user-nav ul a:hover {
  text-decoration: none;
  color: var(--primary-color);
}

@media (max-width: 1199px) {
  .user-nav ul a {
    padding: 0;
    font-size: 16px;
    width: 100%;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
}

.user-side-info {
  /* -webkit-padding-start: 15px; */
          /* padding-inline-start: 15px; */
  /* -webkit-border-start: 1px solid rgba(112, 112, 112, 0.16); */
          /* border-inline-start: 1px solid rgba(112, 112, 112, 0.16); */
  height: -webkit-max-content;
  height: -moz-max-content;
  height: max-content;
  padding-bottom: 30px;
  z-index: 2;
}

@media (max-width: 1199px) {
  .user-side-info {
    /* padding: 15px 0; */
    border: none;
  }
}

.user-page-head {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  border-bottom: 0.5px solid #eae4e4;
  padding: 15px;
  background-color: #fff;
}

.user-page-head .user-page-title {
  font-size: 16px;
  color: var(--text-color);
  margin: 0;
  /* font-weight: 400; */
}

.user-page-head .head-link {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  font-size: 16px;
  font-family: var(--font-body);
  color: var(--primary-color);
  text-decoration: underline;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.user-page-head .head-link:hover {
  color: var(--secondery-color);
  text-decoration: none;
}

.user-page-head .total-likes {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  font-family: var(--font-body);
  font-weight: 300;
  gap: 20px;
}

.user-page-head .total-likes .stat-display {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #8d8d97;
}

.user-page-head .total-likes .stat-display svg {
  flex-shrink: 0;
  stroke: #8d8d97;
}

.user-page-head .total-likes .stat-number {
  font-size: 16px;
  font-weight: 400;
  color: #8d8d97;
}

/* Old styles - keeping for backward compatibility */
.user-page-head .total-likes .like-btn {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: transparent;
  cursor: pointer;
  border: solid 1px rgba(141, 141, 151, 0.27);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-right: 10px;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.user-page-head .total-likes .like-btn svg {
  width: 20px;
  fill: none;
  stroke: #8d8d97;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.user-page-head .total-likes .like-btn:hover svg {
  stroke: var(--primary-color);
}

.user-page-head .total-likes .like-btn.active svg {
  fill: var(--primary-color);
  stroke: var(--primary-color);
}

/* Views Button Styles */
.user-page-head .total-likes .views-btn {
  cursor: default;
  opacity: 0.7;
}

.user-page-head .total-likes .views-btn:hover svg {
  stroke: #8d8d97;
}

.user-page-head .total-likes .views-count {
  margin-left: 10px;
  font-size: 16px;
  color: #8d8d97;
  font-weight: 400;
}

.user-main-info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  padding: 15px;
  margin-bottom: 10px;
  background-color: #fff;
  /* border-bottom: solid 1px rgba(112, 112, 112, 0.25); */
}

@media (max-width: 767px) {
  .user-main-info {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
            align-items: unset;
  }
  .verification-items {
    gap: 10px !important;
  }
}

.user-main-info .item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  font-family: var(--font-body);
  font-weight: 400;
  color: #222;
  font-size: 16px;
}

.user-main-info .item svg {
  margin-left: 10px;
}

@media (max-width: 767px) {
  .user-main-info .item ~ .item {
    margin-top: 10px;
  }
  /* شبكة الإحصائيات تستخدم gap بدل الهامش بين العناصر */
  .user-main-info.states-items .item ~ .item {
    margin-top: 0;
  }
}

/* إحصائيات الملف الشخصي: عمودان في كل الأحجام (2×2 / 2+1)، عمود واحد على الجوال */
.user-main-info.states-items {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 1fr;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
  -webkit-box-align: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
}

.user-main-info.states-items .item {
  min-width: 0;
}

.user-main-info.states-items .item svg {
  -ms-flex-negative: 0;
      flex-shrink: 0;
}

@media (max-width: 767px) {
  .user-main-info.states-items {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.user-main-info .state-item {
  /* background-color: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
    justify-content: center;
  width: 100%;
  height: 50px;
  position: relative;
  padding-right: 10px; */
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
}

.user-main-info .state-item strong {
  color: var(--primary-color);
  font-weight: 500;
  /* margin-right: 10px; */
}

.user-main-info .verification-label {
    font-family: var(--font-body);
    font-size: 16px;
}

/* .user-main-info .state-item::after {
  opacity: 0.48;
  border-radius: 7px;
  border: solid 1px rgba(112, 112, 112, 0.49);
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  content: "";
  position: absolute;
} */

.user-main-info.tags-items {
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 5px;
}

@media (max-width: 767px) {
  .user-main-info.tags-items {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
  }
}

.user-main-info .tag-item {
  display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    border-radius: 5px;
    /* border: 0.6px solid #eae4e4; */
    height: 25px;
    /* min-width: 55px; */
    padding: 0 10px;
    /* color: #19b36b; */
    font-size: 14px;
    /* font-family: var(--font-body); */
    /* font-weight: 400; */
    /* margin-left: 5px; */
    /* margin-bottom: 10px; */
    background-color: #f7f3f3;
    /* color: #fff; */
}

.user-main-info.reply-items {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
}

.user-main-info.reply-items .item.reply-item {
  width: 100%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.user-main-info.reply-items .item.reply-item svg {
  -ms-flex-negative: 0;
      flex-shrink: 0;
}

.user-main-info .reply-item {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  color: #222;
}

.user-main-info .reply-item ~ .reply-item {
  margin-top: 10px;
}

.user-page-summary {
  position: relative;
  /* opacity: 0.89; */
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.89;
  /* margin: 20px 0 0; */
  padding: 15px;
  background-color: #fff;
  margin-bottom: 10px;
  /* border: solid 0.5px rgb(189 184 184 / 32%); */
}

/* .user-page-summary::after {
  opacity: 0.19;
  border-radius: 10px;
  border: solid 1px rgba(112, 112, 112, 0.49);
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  content: "";
  position: absolute;
} */

.workingOn {
  padding: 20px 0;
}

.workingOn .project-side-item {
  /* border-radius: 10px; */
  -webkit-box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.05);
          box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.05);
  background-color: #fff;
  padding: 10px;
  /* border: solid 0.5px rgb(189 184 184 / 32%); */
}

.workingOn .project-side-item ~ .project-side-item {
  margin-top: 10px;
}

.workingOn .project-side-item .project-name {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  color: var(--text-color);
  margin: 0 0 10px;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.workingOn .project-side-item .project-name:hover {
  color: var(--primary-color);
  text-decoration: none;
}

.workingOn .project-side-item p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 14px;
  color: #707070;
  line-height: 1.67;
  font-family: var(--font-body);
  font-weight: 300;
  margin: 0 0 2px;
}

.workingOn .project-side-item span {
  display: block;
  margin-right: auto;
  font-size: 12px;
  color: var(--primary-color);
  text-align: left;
}

.user-info-cont .review {
  padding: 15px;
  background-color: #fff;
  margin-bottom: 10px;
}

/* .user-info-cont .review ~ .review {
  border-top: 1px solid rgba(112, 112, 112, 0.25);
  margin-top: 10px;
} */

.user-info-cont .review .project-title {
  font-size: 18px;
  color: #222;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.user-info-cont .review .project-title:hover, .user-info-cont .review .project-title:focus {
  color: var(--secondery-color);
  text-decoration: none;
}

.user-info-cont .review .stars-date {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-line-pack: center;
      align-content: center;
  margin: 15px 0 10px;
}

.user-info-cont .review .rating {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.user-info-cont .review .rating svg {
  width: 20px;
}

.user-info-cont .review .rating span {
  fill: none;
  stroke: #ffba00;
  stroke-width: 1px;
}

.user-info-cont .review .rating span ~ span {
  -webkit-margin-start: 3px;
          margin-inline-start: 3px;
}

.user-info-cont .review .rating span.active {
  fill: #ffba00;
}

.user-info-cont .review strong {
  font-size: 18px;
  color: #222;
  font-weight: 400;
  margin-right: 8px;
  margin-left: 12px;
}

.user-info-cont .review span {
  font-size: 14px;
  color: #222;
  font-weight: 300;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  font-family: var(--font-body);
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.user-info-cont .review .review-text {
  font-weight: 300;
  font-family: var(--font-body);
  line-height: 1.66;
  color: #222;
  margin: 0;
  font-size: 15px;
}

/* Rating By Styles for Review */
.user-info-cont .review .rating-by {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 15px;
    gap: 10px;
    margin-top: 10px;
}

.user-info-cont .review .rating-by .user-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    transition: opacity 0.3s ease;
    display: block;
}

.user-info-cont .review .rating-by .user-img:hover {
    opacity: 0.8;
}

.user-info-cont .review .rating-by .user-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.user-info-cont .review .rating-by .user-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-info-cont .review .rating-by .user-name {
    color: #666;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.user-info-cont .review .rating-by .user-name:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.user-info-cont .review .rating-by .label-with-date {
    display: flex;
    align-items: center;
    gap: 8px;
}

.user-info-cont .review .rating-by .label {
    color: #666;
    font-size: 12px;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 3px;
}

.user-info-cont .review .rating-by .label svg {
    flex-shrink: 0;
}

.user-info-cont .review .rating-by .rating-date {
    color: #999;
    font-size: 12px;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 5px;
}

.user-info-cont .review .rating-by .rating-date svg {
    flex-shrink: 0;
}

.user-edit-cont {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 3fr;
      grid-template-columns: 1fr 3fr;
  gap: 10px;
  padding: 0 0 0;
  position: relative;
  z-index: 2;
  /* background-color: #fafafa; */
}

@media (max-width: 1199px) {
  .user-edit-cont {
    -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
    gap: 20px;
  }
}

.user-edit-cont > div:not(.user-relative) {
  max-width: 100%;
  overflow: hidden;
  /* margin-top: 40px; */
  margin-bottom: 70px;
}

.edit-img {
  position: relative;
  margin: 0 auto;
  width: 80px;
  height: 80px;
}

.edit-img .user-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
}

.edit-img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.edit-img .edit-img-input {
  border: solid 3px #fff;
  background-color: #393939;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  position: absolute;
  left: 18px;
  bottom: -10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  cursor: pointer;
  overflow: hidden;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.edit-img .edit-img-input:hover {
  background-color: var(--secondery-color);
}

.edit-img input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  opacity: 0;
}

.edit-name {
  padding: 20px 24px 0;
  width: 100%;
  text-align: center;
  font-size: 20px;
}

.edit-name input {
  width: 100%;
  border: 2px solid transparent;
  height: 45px;
  color: var(--secondery-color);
  font-size: 24px;
  text-align: center;
  border-radius: 5px;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.edit-name input:focus {
  border-color: var(--primary-color);
}

.edit-status {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  padding: 20px 25px;
  text-align: center;
}

.edit-status .checkbox {
  margin-bottom: 5px;
}

.edit-status label {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  font-size: 14px;
  color: #222;
  font-family: var(--font-body);
  font-weight: 400;
  cursor: pointer;
}

.edit-status .check-mark {
  width: 20px;
  height: 20px;
  /* border-radius: 5px; */
  overflow: hidden;
  /* border: 2px solid #393939; */
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-left: 5px;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.edit-status .check-mark svg {
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  -webkit-transform: scale(0);
          transform: scale(0);
  opacity: 0;
}

.edit-status input {
  display: none;
}

.edit-status input:checked ~ .check-mark {
  border-color: var(--primary-color);
}

.edit-status input:checked ~ .check-mark svg {
  opacity: 1;
  -webkit-transform: scale(1);
          transform: scale(1);
}

.edit-status .hint {
  font-size: 12px;
  color: #222;
  opacity: 0.41;
  font-family: var(--font-body);
  font-weight: 400;
}

.edit-item-cont .hint {
    font-size: 14px;
}

.edit-item-cont {
  padding: 10px 15px;
  background-color: #fff;
}

/* @media (max-width: 1199px) {
  .edit-item-cont {
    padding-right: 0;
  }
} */

.edit-item-cont .edit-item-title {
  font-size: 16px;
  color: var(--text-color);
  margin: 0 0 10px;
  font-weight: 400;
}

.edit-item-cont .radios-line {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.edit-item-cont .radio label {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  font-size: 14px;
  color: #222;
  font-family: var(--font-body);
  cursor: pointer;
  font-weight: 400;
}

.edit-item-cont .radio .check-mark {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #393939;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-left: 5px;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  padding: 2px;
}

.edit-item-cont .radio .check-mark::after {
  content: "";
  width: 100%;
  height: 100%;
  background-color: var(--primary-color);
  border-radius: 50%;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  -webkit-transform: scale(0);
          transform: scale(0);
  opacity: 0;
}

.edit-item-cont .radio input {
  display: none;
}

.edit-item-cont .radio input:checked ~ .check-mark {
  border-color: var(--primary-color);
}

.edit-item-cont .radio input:checked ~ .check-mark::after {
  opacity: 1;
  -webkit-transform: scale(1);
          transform: scale(1);
}

.edit-item-cont .radio ~ .radio {
  margin-right: 50px;
}

.editPage-btns {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  /* padding-right: 20px; */
  /* margin-top: 20px; */
  gap: 15px;
}

@media (max-width: 1199px) {
  .editPage-btns {
    padding-right: 0;
  }
}

.editPage-btns .editPage-btn {
  height: 45px;
  width: auto;
  padding: 0 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  /* border-radius: 5px; */
  border: none;
  cursor: pointer;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  font-size: 14px;
}

/* @media (max-width: 1199px) {
  .editPage-btns .editPage-btn {
    width: 50%;
  }
} */

.editPage-btns .editPage-btn.submit {
  background-color: var(--primary-color);
  color: #fff;
  font-weight: 700;
}

.editPage-btns .editPage-btn.back {
  font-family: var(--font-body);
  font-weight: 400;
  color: rgba(38, 38, 38, 0.67);
  border: solid 0.5px rgba(112, 112, 112, 0.36);
  width: 250px;
  margin-right: 30px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  background-color: transparent;
}

@media (max-width: 1199px) {
  .editPage-btns .editPage-btn.back {
    width: 50%;
  }
}

.editPage-btns .editPage-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

.editPage-btns .editPage-btn:hover {
  background-color: var(--secondery-color);
  border-color: var(--secondery-color);
  color: #fff;
  text-decoration: none;
}

.works-grid {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 1fr 1fr;
      grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  /* margin-top: 10px; */
}

@media (max-width: 1199px) {
  .works-grid {
    -ms-grid-columns: 1fr 1fr;
        grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 991px) {
  .works-grid {
    gap: 20px 10px;
  }
}

@media (max-width: 767px) {
  .works-grid {
    -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
    gap: 15px;
  }
}

.work-item {
  max-width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.work-item .work-img {
  padding-bottom: 79.6178343949%;
  position: relative;
  /* border-radius: 13px 13px 0px 0; */
  width: 100%;
  overflow: hidden;
  display: block;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}

.work-item .work-img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
     border: 5px solid #fff;
}

.work-item .work-name {
  /* border: solid 1px rgba(112, 112, 112, 0.22); */
  background-color: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  text-align: center;
  padding: 5px;
  margin: 0;
  /* border-radius: 0px 0 13px 13px; */
  flex-grow: 1;
  /* min-height: 60px; */
}

.work-item .work-name a {
  font-size: 16px;
  font-weight: 500;
  color: #4e2626;
  line-height: 1.38;
  display: inline-block;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.faq-item .faq-title {
    font-size: 16px !important;
}

.work-item .work-name a:hover, .work-item .work-name a:focus {
  color: var(--secondery-color);
  text-decoration: none;
}

.work-desc {
  /* margin-top: 10px; */
  margin-bottom: 10px;
  background-color: #fff;
  padding: 10px;
  /* padding-bottom: 0; */
}

.work-desc .cover-content {
  display: block;
  /* border-radius: 10px; */
  overflow: hidden;
  /* border: solid 1px rgba(112, 112, 112, 0.49); */
}

.work-desc .review-content {
  display: block;
  margin-top: 10px;
}

.raleted {
  margin-top: 10px;
}

/* .work-desc .img-fluid{
  width: 100%;
} */

.raleted .user-page-head {
  background-color: unset;
    padding: 10px 0px;
    border: 0;
}

.raleted .swiper-slide {
  padding: 0 5px;
}

.raleted .swiper-pagination {
  position: relative;
  width: 100%;
  bottom: auto;
  display: none;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-top: 20px;
}

@media (max-width: 991px) {
  .raleted .swiper-pagination {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 20px;
  }
}

.raleted .swiper-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background-color: #000;
  opacity: 0.5;
  margin: 0 4px;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  outline: none !important;
  border-radius: 50%;
}

.raleted .swiper-pagination .swiper-pagination-bullet:hover {
  background-color: var(--primary-color);
  opacity: 1;
}

.raleted .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background-color: var(--primary-color);
  opacity: 1;
}

.single-work-head.xs-head {
  display: none;
}

@media (max-width: 1199px) {
  .single-work-head {
    display: none;
  }
  .single-work-head.xs-head {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
}

.work-time {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  font-size: 14px;
  font-family: var(--font-body);
  font-weight: 300;
  color: #222;
  /* margin: 7px 0 15px; */
  background-color: #fff;
  padding: 10px;
  justify-content: space-between;
}

.work-time {
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 10px;
}

.work-time > div {
  display: flex;
  align-items: center;
  gap: 6px;
}

.work-time svg {
  margin-left: 5px;
  flex-shrink: 0;
}

.work-time-label {
  font-weight: 500;
  color: #555;
}

.work-text {
  font-size: 16px;
  color: #222;
  font-family: var(--font-body);
  line-height: 1.9;
  background-color: #fff;
  padding: 10px;
  margin-bottom: 10px;
}

.side-btns {
  display: flex;
    -ms-grid-columns: 1fr 1fr;
    /* grid-template-columns: 1fr 1fr; */
    gap: 10px;
    flex-direction: row;
    justify-content: flex-end;
    /* margin-bottom: 15px; */
}

.side-btns .side-btn {
  display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    border-radius: 0;
    border: 0;
    height: 40px;
    /* width: 100%; */
    font-weight: 700;
    color: #fff;
    background-color: #60d049;
    cursor: pointer;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    padding: 10px;
}

.side-btns .side-btn:hover {
  background-color: #60d049;
  color: #fff;
  text-decoration: none;
}

@media (max-width: 1199px) {
  .single-work-grid .user-relative {
    -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
            order: 1;
  }
  .single-work-grid .single-work-head {
    -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
            order: 2;
  }
  .single-work-grid .user-info-cont {
    -webkit-box-ordinal-group: 5;
        -ms-flex-order: 4;
            order: 4;
  }
  .single-work-grid .user-side-info {
    -webkit-box-ordinal-group: 4;
        -ms-flex-order: 3;
            order: 3;
    padding: 0;
  }
}

.add-work-page {
  display: -ms-grid;
  display: grid;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: start;
  -ms-grid-columns: 2fr 1fr;
      grid-template-columns: 2fr 1fr;
  gap: 10px;
}

@media (max-width: 991px) {
  .add-work-page {
    -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
    gap: 0;
  }
}

.add-work-img {
  max-width: 100%;
  overflow: hidden;
  background-color: #fff;
  /* padding: 15px; */
}

@media (max-width: 991px) {
  .add-work-img {
    display: none;
  }
}

.add-work-img p {
  /* text-align: center; */
  margin: 15px 0 15px;
  opacity: 0.89;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  color: #222;
}

.add-work-img .rocket-img {
    padding: 15px;
}

.add-work-form {
  max-width: 100%;
  overflow: visible;
  background-color: #fff;
  padding: 15px;
}

.add-work-form .inputs-cont textarea {
  padding-bottom: 80px;
  height: 300px;
  resize: vertical;
  min-height: 200px;
  max-height: 800px;
  overflow: auto;
}

.add-work-form .inputs-cont .file-cont {
  position: absolute;
  bottom: 0px;
  left: 15px;
  right: 0;
  min-height: auto;
  width: auto;
  border: solid 1px rgb(206 212 218);
}

.add-work-form .input-line {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1.5fr 1fr;
      grid-template-columns: 1.5fr 1fr;
  gap: 20px;
}

@media (max-width: 767px) {
  .add-work-form .input-line {
    -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
    gap: 0;
  }
}

.add-work-form .input-cont {
  position: relative;
}

.add-work-form .input-cont input {
  background-color: #fff;
}

.add-work-form .input-cont span {
  position: absolute;
  top: 50%;
  left: 15px;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  opacity: 0.89;
  color: #222;
  fill: #222;
  pointer-events: none;
}

.add-work-form .input-cont span svg {
  width: 15px;
}

.add-work-form label {
  /* padding: 0 20px; */
  /* opacity: 0.6; */
  font-family: var(--font-body);
  color: #222;
}

.select2-container .select2-selection--multiple{
  min-height: 45px;
}

.select2-container .select2-search--inline .select2-search__field{
  padding: 10px;
  height: 40px;
  margin: 0;
  font-family: var(--font-body);
}

.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__clear{
  display: none;
}

.add-work-form .file-cont {
  /* border-radius: 5px; */
  border: solid 1px rgba(38, 38, 38, 0.3);
  min-height: 45px;
  width: 100%;
  background-color: #fff;
  position: relative;
}

.add-work-form .file-cont .input-file-text {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  font-size: 14px;
  font-family: var(--font-body);
  font-weight: 400;
  height: 45px;
  position: relative;
  padding: 0 22px;
}

.add-work-form .file-cont .input-file-text svg {
  width: 20px;
  margin-left: 10px;
}

.add-work-form .file-cont .input-file-text input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}

.add-work-form .file-cont .input-file-preview {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  border-top: solid 1px rgba(38, 38, 38, 0.3);
  padding: 10px 22px;
}

.add-work-form .file-cont .input-file-preview .file-info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 100%;
}

.add-work-form .file-cont .input-file-preview .file-img {
  width: 75px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  margin-left: 10px;
}

.add-work-form .file-cont .input-file-preview .file-img a {
  padding-bottom: 100%;
  width: 100%;
  position: relative;
  display: block;
}

.add-work-form .file-cont .input-file-preview .file-img a img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.add-work-form .file-cont .input-file-preview .file-text {
  width: 100%;
}

.add-work-form .file-cont .input-file-preview .file-name {
  color: #4b5155;
  font-size: 14px;
  font-family: var(--font-heading);
  margin-bottom: 5px;
  max-width: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.add-work-form .file-cont .input-file-preview .file-size {
  color: #4b5155;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 12px;
}

.add-work-form .file-del {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  background-color: #e34646;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  border: none;
  cursor: pointer;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.add-work-form .file-del svg {
  width: 15px;
}

.add-work-form .file-del:hover {
  background-color: #f00;
}

.work-submit {
  height: 45px;
  width: auto;
  padding: 0 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  /* border-radius: 5px; */
  border: none;
  cursor: pointer;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  background-color: var(--primary-color);
  color: #fff;
  font-weight: 700;
  margin-top: 10px;
}

.work-submit:hover {
  background-color: var(--secondery-color);
  border-color: var(--secondery-color);
  color: #fff;
  text-decoration: none;
}

.work-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

.work-btn-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid #fff;
  border-top-color: transparent;
  border-radius: 50%;
  animation: work-spin 0.6s linear infinite;
  vertical-align: middle;
  margin-left: 6px;
}

@keyframes work-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 767px) {
  .work-submit {
    margin-top: 30px;
  }
}

/* Form hint text */
.add-work-form .form-hint {
  display: block;
  font-size: 12.5px;
  color: #888;
  margin-bottom: 6px;
  font-weight: 400;
}

/* File drop zone */
.file-drop-zone {
  transition: border-color 0.2s ease, background-color 0.2s ease;
  border: 2px dashed rgba(38, 38, 38, 0.25) !important;
  border-radius: 8px;
  cursor: pointer;
}

.file-drop-zone.drag-over {
  border-color: #60d049 !important;
  background-color: rgba(96, 208, 73, 0.06);
}

.file-drop-zone .drop-text {
  font-size: 13.5px;
  color: #666;
}

/* File preview */
.file-drop-zone .file-preview {
  position: relative;
  padding: 10px;
  text-align: center;
}

.file-drop-zone .file-preview img {
  max-height: 140px;
  max-width: 100%;
  object-fit: contain;
  border-radius: 6px;
}

.file-drop-zone .file-remove-btn {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: none;
  background: rgba(220, 53, 69, 0.85);
  color: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.file-drop-zone .file-remove-btn:hover {
  background: #dc3545;
}

/* Dropzone toggle button */
.dropzone-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
  padding: 6px 14px;
  border: 1px solid rgb(206 212 218);
  /* border-radius: 6px; */
  background: transparent;
  color: #444;
  font-size: 13.5px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.dropzone-toggle-btn svg {
  flex-shrink: 0;
  opacity: 0.55;
}

.dropzone-toggle-btn:hover,
.dropzone-toggle-btn.is-open {
  /* border-color: var(--primary-color);
  color: var(--primary-color); */
  background: rgba(96, 208, 73, 0.05);
}

.dropzone-toggle-btn.is-open svg {
  opacity: 1;
}

.toggle-file-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--primary-color);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

/* Multi-file drop zone */
.multi-file-zone {
  padding: 0;
  min-height: auto;
  position: relative;
}

.multi-file-zone .input-file-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 25px 15px;
  cursor: pointer;
  position: relative;
}

.multi-file-zone .input-file-text svg {
  width: 28px;
  opacity: 0.55;
}

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

.multi-file-zone.has-files .input-file-text {
  padding: 14px 15px;
  flex-direction: row;
  gap: 10px;
}

.multi-file-zone.has-files .input-file-text svg {
  width: 20px;
}

.multi-file-zone.has-files .drop-text {
  font-size: 12.5px;
}

.multi-file-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 12px 12px;
}

.multi-file-item {
  position: relative;
  width: 90px;
  text-align: center;
}

.multi-file-item .item-preview {
  width: 90px;
  height: 70px;
  border-radius: 6px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fafafa;
}

.multi-file-item .item-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.multi-file-item .item-preview .file-icon-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 6px;
}

.multi-file-item .item-preview .file-icon-placeholder svg {
  width: 24px;
  height: 24px;
  opacity: 0.5;
}

.multi-file-item .item-preview .file-icon-placeholder .file-ext {
  font-size: 10px;
  font-weight: 600;
  color: #888;
  text-transform: uppercase;
}

.multi-file-item .item-name {
  font-size: 11px;
  color: #555;
  margin-top: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 90px;
}

.multi-file-item .item-remove {
  position: absolute;
  top: -6px;
  left: -6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: none;
  background: rgba(220, 53, 69, 0.85);
  color: #fff;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 2;
}

.multi-file-item .item-remove:hover {
  background: #dc3545;
}

.multi-file-item.existing-item .item-remove {
  background: rgba(108, 117, 125, 0.75);
}

.multi-file-item.existing-item .item-remove:hover {
  background: #dc3545;
}

.notification-page-item {
  padding: 15px;
  background-color: #fff;
  /* border: solid 0.5px rgb(189 184 184 / 32%); */
  margin-bottom: 10px;
}

.notification-page-item .item-title {
  font-size: 16px;
  color: #3b3737;
  font-weight: 700;
}

.notification-page-item .item-desc {
  margin: 0;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.54;
  color: #707070;
  overflow: hidden;
}

.msgs-page {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 3fr;
      grid-template-columns: 1fr 3fr;
  gap: 10px;
}

@media (max-width: 1199px) {
  .msgs-page {
    -ms-grid-columns: 2.5fr 1fr;
        grid-template-columns: 2.5fr 1fr;
  }
}

@media (max-width: 991px) {
  .msgs-page {
    -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
    gap: 0;
    /* padding: 20px 0 0; */
  }
}

.msg-page-item {
  /* border: solid 0.5px rgb(189 184 184 / 32%); */
  margin-bottom: 10px;
}

.msg-page-item .msg-link {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          /* align-items: center; */
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  white-space: unset !important;
  padding: 10px;
  background-color: #fff;
  gap: 10px;
}

.msg-page-item .msg-link .msg-img {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  overflow: hidden;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  /* margin-left: 15px; */
}

.msg-page-item .msg-link .msg-img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

/* .msg-page-item .msg-link:hover {
  background-color: #e5e5e5;
  text-decoration: none;
} */

.msg-page-item .item-title {
  font-size: 16px;
  color: #3b3737;
  font-weight: 700;
}

.msg-page-item .item-desc {
  margin: 0;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.54;
  color: #707070;
  overflow: hidden;
}

.target-freelancer-notice .notice-label {
  font-size: 15px;
  color: #14965A;
  font-weight: 600;
}

.target-freelancer-card-wrapper {
  margin-bottom: 25px;
}

.target-freelancer-card-wrapper .freelancer-actions {
  display: none;
}

/* بطاقة المستهدف في add-project?target_uuid=… فقط */
.target-freelancer-card-wrapper .freelancer-item {
  background-color: #f7f3f3;
}

.target-freelancer-card-wrapper .skill-tag {
  background-color: #fff;
}

.add-project-page {
  display: -ms-grid;
  display: grid;
  -webkit-box-align: center;
      -ms-flex-align: center;
          /* align-items: center; */
  -ms-grid-columns: 2.5fr 1fr;
      grid-template-columns: 2.5fr 1fr;
  gap: 10px;
}

@media (max-width: 991px) {
  .add-project-page {
    -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
    gap: 0;
    display: -ms-grid;
    display: grid;
  }

  .add-project-form {
    -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
            order: 1;
  }

  .add-project-img {
    -webkit-box-ordinal-group: 1;
        -ms-flex-order: -1;
            order: -1;
    display: block;
    max-width: 100%;
  }

  .add-project-img .rocket-img {
    display: none;
  }
}

.add-project-img {
  max-width: 100%;
  overflow: hidden;
}

.add-project-form {
  max-width: 100%;
  overflow: hidden;
  background-color: #fff;
  padding: 15px;
}

.add-project-form .input-line {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1.5fr 1fr;
      grid-template-columns: 1.5fr 1fr;
  gap: 10px;
}

@media (max-width: 767px) {
  .add-project-form .input-line {
    -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
    gap: 0;
  }
}

.add-project-form .input-cont {
  position: relative;
}

.add-project-form .input-cont input {
  background-color: #fff;
}

.add-project-form .input-cont span {
  position: absolute;
  top: 50%;
  left: 15px;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  opacity: 0.89;
  color: #222;
  fill: #222;
  pointer-events: none;
}

.add-project-form .input-cont span svg {
  width: 15px;
}

.add-project-form label {
  /* padding: 0 20px; */
  /* opacity: 0.6; */
  font-family: var(--font-body);
  color: #222;
  font-size: 16px;
}

.add-project-form .q-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  margin-bottom: 20px;
  width: 100%;
  overflow: hidden;
}

.add-project-form .q-item .form-group {
  margin: 0;
  margin-left: 10px;
  width: 100%;
}

.add-project-form .q-item .del-cont {
  height: 45px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 120px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}

.add-project-form .q-item .del-q {
  width: 20px;
  height: 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  border: 1.5px solid #000;
  border-radius: 50%;
  cursor: pointer;
  font-weight: 900;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.add-project-form .q-item .del-q:hover {
  border-color: #f00;
  color: #f00;
}

.add-project-form .q-item .one-more {
  height: 45px;
  background-color: #222;
  /* border-radius: 5px; */
  width: 120px;
  color: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  font-size: 14px;
}

.add-project-form .q-item .one-more:hover {
  background-color: var(--primary-color);
  text-decoration: none;
}

.add-project-form .form-group {
  position: relative;
}

.add-project-form div.form-control {
  padding: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  cursor: pointer;
}

.add-project-form div .list-item {
  width: 100%;
  padding: 0 22px;
}

.add-project-form div .list-item div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  font-family: var(--font-body);
}

.add-project-form div .list-item div strong {
  font-weight: 700;
  font-size: 17px;
  color: #222222;
  opacity: 0.89;
  margin-left: 25px;
}

.add-project-form div .list-item div span {
  font-weight: 300;
  font-size: 14px;
  color: #222222;
  opacity: 0.89;
  position: static;
  -webkit-transform: none;
          transform: none;
}

.add-project-form div .select-list {
  width: 100%;
  left: 0;
  right: 0;
  top: 100%;
  position: absolute;
  border-radius: 7px;
  -webkit-box-shadow: 0px 3px 6px #00000029;
          box-shadow: 0px 3px 6px #00000029;
  overflow: hidden;
  z-index: 9;
  /* margin-top: 15px; */
  display: none;
}

.add-project-form div .select-list .list-item {
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
  background-color: #fff;
}

.add-project-form div .select-list .list-item:hover {
  background-color: #F5F5F5;
}

.add-project-form div .select-list .list-item div {
  padding: 15px 0;
  border-bottom: 1px solid rgba(112, 112, 112, 0.24);
}

.add-project-form div .select-list .list-item:last-of-type div {
  border: none;
}

.add-project-form .radios-line {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}

@media (max-width: 991px) {
  .add-project-form .radios-line {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
}

.add-project-form .radios-line .radio {
  margin-left: 30px;
}

@media (max-width: 991px) {
  .add-project-form .radios-line .radio {
    margin: 0;
  }
}

.add-project-form .radios-line .radio label {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  font-size: 14px;
  color: #222;
  font-family: var(--font-body);
  font-weight: 400;
  opacity: 1;
  cursor: pointer;
  padding: 0;
  margin: 0;
}

@media (max-width: 991px) {
  .add-project-form .radios-line .radio label{
    display: -webkit-inline-box;
    -webkit-box-pack: unset;
    text-align: right;
    width: 95%;
  }
}

.add-project-form .radios-line .radio .check-mark {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #393939;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-left: 5px;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  padding: 2px;
}

.add-project-form .radios-line .radio .check-mark::after {
  content: "";
  width: 100%;
  height: 100%;
  background-color: var(--primary-color);
  border-radius: 50%;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  -webkit-transform: scale(0);
          transform: scale(0);
  opacity: 0;
}

.add-project-form .radios-line .radio input {
  display: none;
}

.add-project-form .radios-line .radio input:checked ~ .check-mark {
  border-color: var(--primary-color);
}

.add-project-form .radios-line .radio input:checked ~ .check-mark::after {
  opacity: 1;
  -webkit-transform: scale(1);
          transform: scale(1);
}

.add-project-form .project-cost {
  color: #222222;
  opacity: 0.6;
  margin: 0 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 13px;
}

@media (max-width: 991px) {
  .add-project-form .project-cost {
    margin: 10px 0 0;
  }
}

@media (max-width: 767px) {
  .add-project-form .group-line .group-line {
    -ms-grid-columns: 1fr 1fr;
        grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
}

.project-submit {
  height: 45px;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  background-color: var(--primary-color);
  color: #fff;
  font-weight: 700;
  margin-top: 50px;
}

.project-submit:hover {
  background-color: var(--secondery-color);
  border-color: var(--secondery-color);
  color: #fff;
  text-decoration: none;
}

@media (max-width: 767px) {
  .project-submit {
    margin-top: 30px;
  }
}

.inputs-cont {
  position: relative;
}

.inputs-cont textarea {
  padding-bottom: 80px;
  height: 300px;
  resize: vertical;
  min-height: 200px;
  max-height: 1500px;
}

.inputs-cont .file-cont {
  position: absolute;
    bottom: 0px;
    left: 15px;
    right: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 5px;
    border: solid 1px rgb(206 212 218);
    background-color: #fff;
}

@media (max-width: 767px) {
  .inputs-cont .file-cont {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}

.inputs-cont .file-cont .files {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 100%;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.inputs-cont .file-cont .file {
  height: 35px;
  padding-right: 6px;
  padding-left: 18px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  /* border-radius: 2.5px; */
  border: solid 0.3px rgba(112, 112, 112, 0.17);
  font-family: var(--font-body);
  font-size: 14px;
  margin: 5px;
  position: relative;
}

@media (max-width: 767px) {
  .inputs-cont .file-cont .file {
    margin: 2.5px;
  }
}

.inputs-cont .file-cont .file .del {
  position: absolute;
  top: 5px;
  left: 5px;
  color: var(--primary-color);
  height: 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  overflow: hidden;
  cursor: pointer;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.inputs-cont .file-cont .file .del:hover {
  color: #f00;
}

.inputs-cont .file-cont .input-file {
  position: relative;
  overflow: hidden;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}

@media (max-width: 767px) {
  .inputs-cont .file-cont .input-file {
    width: 100%;
    margin-top: 15px;
  }
}

.inputs-cont .file-cont .input-file input {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}

.inputs-cont .file-cont .input-file:hover .btn {
  background-color: var(--secondery-color);
}

/* AI Buttons wrapper */
.desc-action-btns {
    position: absolute;
    left: 10px;
    bottom: 5px;
    display: flex;
    gap: 6px;
    align-items: center;
}

/* AI Button */
.ai-enhance-btn {
    color: #fff;
    border-radius: 0;
    background-color: #19b36b;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    font-size: 0.82rem;
    white-space: nowrap;
}
.ai-enhance-btn:hover {
    background: var(--secondery-color);
    color: #fff;
}
.ai-enhance-btn:hover svg {
    stroke: #fff;
}
.ai-enhance-btn svg {
    width: 16px;
    height: 16px;
    stroke: #fff;
    flex-shrink: 0;
    transition: stroke 0.3s ease;
}
/* Gemini AI button - purple accent */
/* .ai-gemini-btn {
    background-color: #7c3aed;
} */
.ai-gemini-btn:hover {
    background-color: var(--primary-color);
}
.ai-enhance-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    pointer-events: none;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
.ai-enhance-btn .spin-icon {
    display: inline-block;
    vertical-align: middle;
    animation: spin .8s linear infinite;
}
.ai-enhance-btn.loading::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid var(--secondery-color);
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 0.6s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

.inputs-cont .file-cont .btn {
  color: #fff;
    /* border-radius: 2.5px; */
    background-color: #222;
    height: 40px;
    /* padding: 0 10px; */
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    border-radius: 0;
    font-size: 14px;
}

@media (max-width: 767px) {
  .inputs-cont .file-cont .btn {
    width: 100% !important;
    margin: auto;
  }
}

/* .page-content .alert-warning{
  margin-top: 15px;
} */

.inputs-cont .file-cont .btn svg {
  width: 15px;
  fill: none;
  stroke: #fff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2px;
  margin-left: 3px;
}

.addProject-radios-cont {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.addProject-radios-cont .radio {
  width: 50%;
  position: relative;
}

.addProject-radios-cont .radio div {
  border: solid 1px rgba(34, 34, 34, 0.3);
  height: 45px;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  color: rgba(57, 57, 57, 0.89);
  font-size: 14px;
  font-weight: 400;
  font-family: var(--font-body);
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.addProject-radios-cont .radio .mark {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid #393939;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-left: 5px;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  padding: 2px;
}

.addProject-radios-cont .radio .mark::after {
  content: "";
  width: 100%;
  height: 100%;
  background-color: var(--primary-color);
  border-radius: 50%;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  -webkit-transform: scale(0);
          transform: scale(0);
  opacity: 0;
}

.addProject-radios-cont .radio input {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  cursor: pointer;
  opacity: 0;
  z-index: 2;
  height: 100%;
  width: 100%;
}

.addProject-radios-cont .radio input:checked ~ div {
  color: rgba(255, 255, 255, 0.89);
  background-color: #262626;
}

.addProject-radios-cont .radio input:checked ~ div span {
  border-color: var(--primary-color);
}

.addProject-radios-cont .radio input:checked ~ div span::after {
  opacity: 1;
  -webkit-transform: scale(1);
          transform: scale(1);
}

.addProject-radios-cont .radio:first-of-type div {
  /* border-top-right-radius: 5px;
  border-bottom-right-radius: 5px; */
}

.addProject-radios-cont .radio:last-of-type div {
  /* border-top-left-radius: 5px;
  border-bottom-left-radius: 5px; */
}

.hour-cont {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.hour-cont .hour-text {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  margin-right: 10px;
  color: #222222;
  opacity: 0.6;
}

.pay-inputs-cont {
  min-height: 78px;
  overflow: visible;
}

.text-line {
  /* padding-top: 15px; */
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

@media (max-width: 991px) {
  .text-line {
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    text-align: center;
  }
}

.projectDetails-page-cont {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 2.5fr 1fr;
      grid-template-columns: 2.5fr 1fr;
  gap: 10px;
}

@media (max-width: 1199px) {
  .projectDetails-page-cont {
    -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
    gap: 20px;
  }
}

.projectDetails-page-cont .side-cont {
  /* border: solid 1px rgba(112, 112, 112, 0.49); */
  /* border-radius: 10px; */
  /* background-color: #fff; */
  -webkit-box-shadow: none;
          box-shadow: none;
  height: auto;
  height: -webkit-max-content;
  height: -moz-max-content;
  height: max-content;
}

.projectDetails-page-cont .side-cont .side-title {
  text-align: right;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
          /* margin-top: 10px; */
}

.projectDetails-page-cont .side-cont .box-cont {
    margin-bottom: 10px;
}

/* Unify icon sizes in client-info */
.projectDetails-page-cont .side-cont .client-info li span svg {
  width: 18px;
  height: 18px;
}

/* Make list items flex containers to separate label and value */
/* .projectDetails-page-cont .side-cont .client-info li {
  display: flex;
  justify-content: space-between;
  align-items: center;
} */

/* Value styling - positioned on the left */
/* .projectDetails-page-cont .side-cont .client-info li .value {
  margin-left: auto;
  font-weight: normal;
} */

.projectDetails-page-cont .side-cont .side-title::after {
  margin-left: auto;
  margin-right: auto;
  width: 105px;
}

.projectDetails-cont .projectDetails-header {
  position: relative;
  padding: 12px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  border: none;
  border-radius: 0;
  border-bottom: 1px solid #e4dfdf;
  /* margin-bottom: 10px; */
  background-color: #fff;
}

@media (max-width: 991px) {
  .projectDetails-cont .projectDetails-header {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    text-align: center;
    /* padding: 20px 30px; */
  }
}

.projectDetails-cont .projectDetails-header .projectDetails-title {
  font-size: 18px;
  color: var(--text-color);
  font-weight: 400;
  margin: 0;
  text-align: right;
}

.projectDetails-cont .projectDetails-header .popup-job {
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  height: 25px;
  border-radius: 30px;
  background-color: rgba(46, 204, 113, 0.2);
  font-size: 12px;
  font-weight: 400;
  font-family: var(--font-body);
  color: #60d049;
  padding: 0 15px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-margin-start: 10px;
          margin-inline-start: 10px;
}

@media (max-width: 991px) {
  .projectDetails-cont .projectDetails-header .popup-job {
    display: none;
  }
}

.projectDetails-cont .projectDetails-header .main-info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
          font-size: 16px;
          font-weight: 500;
}

@media (max-width: 991px) {
  .projectDetails-cont .projectDetails-header .main-info {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        /* -ms-flex-direction: column; */
            /* flex-direction: column; */
    /* -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center; */
  }
}

.projectDetails-cont .projectDetails-header .sec-info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-top: 10px;
}

@media (max-width: 991px) {
  .projectDetails-cont .projectDetails-header .sec-info {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            /* justify-content: center; */
    margin: 0 auto 5px;
  }
}

.projectDetails-cont .projectDetails-header .sec-info-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.projectDetails-cont .projectDetails-header .sec-info-item ~ .sec-info-item {
  margin-right: 23px;
}

@media (max-width: 767px) {
  .projectDetails-cont .projectDetails-header .sec-info-item ~ .sec-info-item {
    margin: 7px;
  }
}

@media (max-width: 767px) {
  .projectDetails-cont .projectDetails-header .sec-info-item {
    margin: 7px;
  }
}

.projectDetails-cont .projectDetails-header .item-text {
  color: rgba(26, 26, 46, 0.5);
  font-size: 13px;
}

.projectDetails-cont .projectDetails-header .item-icon {
  margin-left: 5px;
}

.projectDetails-cont .projectDetails-header .item-icon svg {
  fill: rgba(26, 26, 46, 0.5);
}

.projectDetails-cont .projectDetails-header .status {
  width: 9px;
  height: 9px;
  background-color: #60d049;
  border-radius: 50%;
  display: block;
}

.projectDetails-cont .projectDetails-body {
  padding: 0;
  background-color: #fff;
  /* border: solid 0.5px rgb(189 184 184 / 32%); */
}

.projectDetails-cont .projectDetails-body::-webkit-scrollbar {
  background-color: transparent;
  width: 4px;
  height: 4px;
}

.projectDetails-cont .projectDetails-body::-webkit-scrollbar-thumb {
  background-color: rgba(204, 204, 204, 0.8);
  border-radius: 10px;
}

.projectDetails-cont .projectDetails-body::-webkit-scrollbar-thumb:hover {
  background-color: rgba(170, 170, 170, 0.9);
}

.projectDetails-cont .projectDetails-body-section {
  padding: 15px;
  border-bottom: solid 0.5px rgb(189 184 184 / 32%);
}

.projectDetails-cont .projectDetails-body-section:last-of-type {
  border-bottom: none;
}

@media (max-width: 991px) {
  .projectDetails-cont .projectDetails-body-section {
    padding: 20px 15px;
  }
}

.projectDetails-cont .project-desc {
  /* color: #222222; */
  line-height: 1.9;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
}

.projectDetails-cont .project-desc table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
}

.projectDetails-cont .project-desc table td,
.projectDetails-cont .project-desc table th {
  border: 1px solid #ccc;
  padding: 10px;
}

.projectDetails-cont .project-desc p,
.projectDetails-cont .project-desc div,
.projectDetails-cont .project-desc span {
  font-weight: 400 !important;
}

/* .projectDetails-cont .project-desc strong,
.projectDetails-cont .project-desc b {
  font-weight: 700 !important;
} */

.projectDetails-cont .project-desc:last-child {
  margin-bottom: 0;
}

.projectDetails-cont .project-desc img {
  max-width: 100% !important;
  width: auto !important;
  height: auto !important;
  display: block;
  /* border-radius: 8px; */
}

.project-actions-dropdown {
  display:none;
  position: absolute;
    top: calc(100% + 0px);
    left: 10px;
    min-width: 160px;
    /* border: 1px solid rgb(229, 231, 235); */
    /* border-radius: 8px; */
    /* box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 16px; */
    z-index: 999;
    overflow: hidden;
    background-color: var(--primary-color);
    color: #fff;
}

.project-actions-dropdown a {
    border-bottom: 1px solid #ccc;
}

.project-actions-dropdown a:last-child {
    border-bottom: none;
}

.project-actions-dropdown a:hover,
.project-actions-dropdown button:hover {
    background-color: #19B36B !important;
}


@media (max-width: 767px) {
  .projectDetails-cont .project-desc img {
    width: 100% !important;
    height: auto !important;
    margin-left: auto;
    margin-right: auto;
  }

  .projectDetails-cont .project-desc table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
  }
}

.projectDetails-cont .projectDetails-body-title {
  font-size: 18px;
  color: #222;
  font-weight: 400;
}

.projectDetails-cont h3.projectDetails-body-title {
  margin-bottom: 8px;
}

.projectDetails-cont .general-info-section {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

@media (max-width: 991px) {
  .projectDetails-cont .general-info-section {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            /* justify-content: center; */
    padding: 15px 10px;
  }
}

.projectDetails-cont .general-info {
  font-size: 14px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  color: var(--text-color);
  font-family: var(--font-body);
  font-weight: 400;
}

@media (max-width: 991px) {
  .projectDetails-cont .general-info {
    margin: 5px;
  }
}

.projectDetails-cont .project-tool {
  height: 35px;
  min-width: 140px;
  padding: 0 15px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  background-color: #fff;
  border: 2px solid var(--primary-color);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  color: #747373;
  font-size: 16px;
  cursor: pointer;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.projectDetails-cont .project-tool svg {
  fill: var(--primary-color);
  width: 20px;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  -webkit-margin-end: 3px;
          margin-inline-end: 3px;
}

.projectDetails-cont .project-tool svg .cls-1 {
  stroke: var(--primary-color);
}

.projectDetails-cont .project-tool:hover {
  background-color: var(--secondery-color);
  border-color: var(--secondery-color);
  color: #fff;
}

.projectDetails-cont .project-tool:hover svg {
  fill: #fff;
}

.projectDetails-cont .project-tool:hover svg .cls-1 {
  stroke: #fff;
}

.projectDetails-cont .modal-btn {
  height: 35px;
  min-width: 140px;
  padding: 0 15px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  background-color: var(--primary-color);
  border: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.projectDetails-cont .modal-btn:hover {
  background-color: var(--secondery-color) !important;
  color: #fff;
  text-decoration: none;
}

.projectoffers-cont {
  /* background-color: #FFFFFF;
  border: 1px solid #7070707E;
  border-radius: 10px; */
}

.projectoffers-cont .projectoffer {
  /* border: 1px solid rgba(112, 112, 112, 0.32); */
  padding: 15px;
  margin: 10px 0;
  /* box-shadow: 0 1.5px 3px 0 rgb(0 0 0 / 5%);
  -webkit-box-shadow: 0 1.5px 3px 0 rgb(0 0 0 / 5%); */
  background-color: #fff;
}

/* .projectoffers-cont .projectoffer:last-of-type {
  border: none;
} */

@media (max-width: 767px) {
  .projectoffers-cont .projectoffer {
    padding: 15px;
  }
}

.projectoffers-cont .projectoffer-head {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: flex-start;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

@media (max-width: 767px) {
  .projectoffers-cont .projectoffer-head {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
            /* align-items: center; */
  }
  .projectoffer-head .offer-btn{
    margin-top: 8px;
  }
}

.projectoffers-cont .offer-user {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 10px;
}

@media (max-width: 767px) {
  .projectoffers-cont .offer-user {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        /* -ms-flex-direction: column; */
            /* flex-direction: column; */
    -webkit-box-align: center;
        -ms-flex-align: center;
            /* align-items: center; */
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    /* text-align: center; */
    /* margin-bottom: 15px; */
    gap: 10px;
  }
}

.projectoffers-cont .user-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}

.projectoffers-cont .user-img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
     border-radius: 50%;
}

.projectoffers-cont .user-text {
  margin: 2px 5px 0;
}

@media (max-width: 767px) {
  .projectoffers-cont .user-text {
    margin: 10px 0 0;
  }
}

.projectoffers-cont .name-rate {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

@media (max-width: 767px) {
  .projectoffers-cont .name-rate {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: flex-start;
        -ms-flex-align: flex-start;
            align-items: flex-start;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    text-align: center;
    margin-bottom: 15px;
    gap: 5px;
  }
}

.projectoffers-cont .user-name {
  color: var(--primary-color);
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  font-size: 18px;
  text-align: right;
}

.projectoffers-cont .user-name:hover {
  color: var(--secondery-color);
  text-decoration: none;
}

.projectoffers-cont .offer-user-img-wrapper {
  position: relative;
  width: 60px;
  height: 60px;
  flex-shrink: 0;
}

.projectoffers-cont .offer-user-img-wrapper .verified-badge {
  position: absolute;
  bottom: 0px;
  left: 0px;
  background: #60d049;
  border-radius: 50%;
  width: 17px;
  height: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  border: 2px solid #fff;
}

.projectoffers-cont .offer-user-img-wrapper .status {
  width: 11px;
  height: 11px;
  background-color: #8d8d97;
  position: absolute;
  top: 2px;
  right: 2px;
  border-radius: 50%;
  border: 2px solid #fff;
  z-index: 10;
}

.projectoffers-cont .offer-user-img-wrapper .status.active {
  background-color: var(--primary-color);
}

.projectoffers-cont .verified-badge-offer {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background-color: rgba(96, 208, 73, 0.1);
  color: #60d049;
  font-size: 11px;
  font-weight: 500;
  padding: 2px 6px;
  border-radius: 10px;
  margin-inline-start: 6px;
  font-family: var(--font-body);
  transition: all 0.3s ease-in-out;
}

.projectoffers-cont .verified-badge-offer svg {
  flex-shrink: 0;
}

.projectoffers-cont .verified-badge-offer:hover {
  background-color: rgba(96, 208, 73, 0.15);
}

.projectoffers-cont .smart-score-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 10px;
  margin-inline-start: 4px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(168, 85, 247, 0.12));
  color: #7c3aed;
}

.projectoffers-cont .smart-score-badge svg {
  flex-shrink: 0;
}

.projectoffers-cont .smart-score-badge:hover {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(168, 85, 247, 0.2));
}

.projectoffers-cont .works-count-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 10px;
  margin-inline-start: 4px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(5, 150, 105, 0.12));
  color: #059669;
  text-decoration: none;
}

.projectoffers-cont .works-count-badge svg {
  flex-shrink: 0;
}

.projectoffers-cont .works-count-badge:hover {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.22), rgba(5, 150, 105, 0.22));
  color: #047857;
}

.smart-tips-box {
  /* border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 10px; */
  background: #fff;
}

.smart-tips-box .side-title {
  /* color: #7c3aed; */
  display: flex;
  align-items: center;
  justify-content: unset !important;
}

.smart-tips-desc {
  font-size: 15px;
    /* color: #555; */
    line-height: 1.7;
    margin-bottom: 10px;
    padding: 0px 10px;
    padding-top: 10px;
}

.smart-tips-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.smart-tips-list li {
  display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 7px 10px;
    font-size: 14px;
    line-height: 1.6;
  /* border-bottom: 1px solid rgba(124, 58, 237, 0.08); */
}

.smart-tips-list li:last-child {
  border-bottom: none;
}

.smart-tips-list .tip-points {
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(168, 85, 247, 0.12));
  color: #7c3aed;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 6px;
  min-width: 32px;
  text-align: center;
  margin-top: 2px;
}

.projectoffers-cont .rating {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-right: 5px;
}

.projectoffers-cont .rating span {
  fill: none;
  stroke: #ffba00;
  stroke-width: 1px;
}

.projectoffers-cont .rating span ~ span {
  -webkit-margin-start: 3px;
          margin-inline-start: 3px;
}

.projectoffers-cont .rating span.active {
  fill: #ffba00;
}

@media (max-width: 767px) {
  .projectoffers-cont .rating {
    margin-bottom: 5px;
  }
}

.projectoffers-cont .job-time {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

.projectoffers-cont .user-job {
  color: #454242;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
}

.projectoffers-cont .time {
  color: #222222;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 12px;
  /* margin-right: 15px; */
}

.projectoffers-cont .time svg {
  margin-left: 5px;
}

.projectoffers-cont .offer-btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: auto;
  height: 40px;
  background: var(--primary-color);
  /* border-radius: 7px; */
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  padding: 0 10px;
}

.projectoffers-cont .offer-btn-custom {
  background-color: #f7f3f3;
  border: 1px solid #19b36b;
  color: #14965a;
}

.projectoffers-cont .offer-btn-custom:hover {
  background-color: #fff !important;
  color: #14965a !important;
}

.projectoffers-cont .offer-btn-pin {
  background-color: #fff;
  border: 1px solid #ddd;
  color: #444;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
}

.projectoffers-cont .offer-btn-pin.is-pinned {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background: rgba(25, 179, 107, 0.08);
}

.projectoffers-cont .offer-btn:hover {
  text-decoration: none;
  background-color: var(--secondery-color);
}

.projectoffers-cont .offer-btn.offer-btn-pin:hover {
  background-color: rgba(25, 179, 107, 0.1);
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.projectoffers-cont .offer-btn.offer-btn-pin.is-pinned:hover {
  background-color: rgba(25, 179, 107, 0.16);
}

.projectoffers-cont .offer-summary {
  -webkit-padding-start: 65px;
          padding-inline-start: 65px;
  margin-top: 12px;
}

.projectoffers-cont .projectoffer-actions-below-summary {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
  -webkit-padding-start: 65px;
          padding-inline-start: 65px;
}

@media (max-width: 767px) {
  .projectoffers-cont .offer-summary {
    padding: 0;
    /* text-align: center; */
  }

  .projectoffers-cont .projectoffer-actions-below-summary {
    -webkit-padding-start: 0;
            padding-inline-start: 0;
  }
}

.projectoffers-cont .offer-summary p {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.9;
  color: #222222;
  /* display: -webkit-box; */
  /* -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden; */
  margin-top: 10px;
}

.projectoffers-cont .main-info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
          /* margin-top: 12px; */
          gap: 10px;
          background-color: #f1f1f1;
    padding: 10px;
    justify-content: space-between;
    border-bottom: 5px solid #ffffff;
}

@media (max-width: 767px) {
  .projectoffers-cont .main-info {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
            flex-direction: column;
            align-items: flex-start;
            margin: 15px 0;
  }
}

.projectoffers-cont .item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  color: #222222;
  font-size: 16px;
  gap: 5px;
}

.projectoffers-cont .item span {
  color: #262626;
  font-size: 16px;
  font-family: var(--font-body);
}

/* .projectoffers-cont .item ~ .item {
  margin-right: 30px;
} */

footer {
  padding-top: 42px;
  background-color: #fff;
  background-image: url(../images/footer.png);
  background-position: left 20px;
  background-repeat: no-repeat;
  background-size: contain;
}

.foot-header {
  font-size: 15px;
  color: #1d2868;
  margin-bottom: 15px;
}

@media (max-width: 767px) {
  .foot-header {
    margin-bottom: 10px;
    text-align: center;
  }
}

@media (max-width: 767px) {
  .footer-logo {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
}

.nav-foot {
  margin: 0;
}

.nav-foot-li {
  margin-bottom: 10px;
}

.nav-foot-li:last-of-type {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .nav-foot-li {
    margin-bottom: 7px;
  }
}

.nav-foot-link {
  font-size: 14px;
  color: #7d8597;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  text-transform: capitalize;
  font-family: var(--font-body);
}

.nav-foot-link:hover, .nav-foot-link:focus {
  text-decoration: none;
  -webkit-transform: translateX(-5px);
          transform: translateX(-5px);
  color: var(--primary-color);
}

.footer-mail-cont {
  margin-top: 30px;
}

.footer-mail-cont a {
  font-size: 14px;
  color: #404756;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.footer-mail-cont a:hover {
  color: var(--primary-color);
  text-decoration: none;
}

@media (max-width: 767px) {
  .footer-mail-cont {
    margin-top: 20px;
    text-align: center;
    margin-bottom: 40px;
  }
}

.socials {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.socials a {
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.socials a ~ a {
  -webkit-margin-start: 5px;
          margin-inline-start: 5px;
}

.socials a:hover {
  -webkit-transform: translateY(-5px);
          transform: translateY(-5px);
}

@media (max-width: 767px) {
  .socials {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
}

.coptrights {
  border-top: solid 0.5px rgba(51, 69, 101, 0.1);
  margin-top: 25px;
}

.coptrights p {
  font-size: 12px;
  color: #7d8597;
  margin: 0;
  height: 40px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

@media (max-width: 767px) {
  .coptrights p {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
}

.close-btn {
  border: none;
  fill: var(--text-color);
  background-color: transparent;
  position: absolute;
  top: 23px;
  right: 15px;
  padding: 0;
  display: none;
}

.close-btn svg {
  width: 20px;
}

@media (max-width: 1199px) {
  .close-btn {
    display: block;
  }
}

@media (max-width: 1199px) {
  .header-navbar {
    background-color: #fff;
    width: 100%;
    position: fixed;
    top: 0;
    bottom: 0;
    padding: 100px 0;
    z-index: 999999;
    height: 100%;
    max-height: 100%;
    overflow-y: auto;
    display: none;
    left: 0;
    right: 0;
    margin: 0;
  }
  .header-navbar ul {
    display: block;
    margin: 0;
    padding: 0;
  }
  .header-navbar li {
    text-align: center;
    display: block;
    margin: 15px 0;
  }
  .header-navbar a {
    font-size: 18px;
    color: #000;
    font-weight: 500;
  }
}

.select2-container{
  width: 100% !important;
  /* margin-bottom: 15px; */
}

/* File Preview Styles */
.file-preview {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 15px;
}

.file-preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-weight: 600;
  color: #495057;
}

.clear-files-btn {
  background: #dc3545;
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.clear-files-btn:hover {
  background: #c82333;
}

.file-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.file-item {
  background: white;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 300px;
  position: relative;
}

.file-item img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 4px;
}

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

.file-name {
  font-weight: 500;
  color: #212529;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.file-size {
  font-size: 12px;
  color: #6c757d;
}

.remove-file {
  background: #dc3545;
  color: white;
  border: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 12px;
  transition: background-color 0.3s;
}

.remove-file:hover {
  background: #c82333;
}

/* Message Attachment Styles */
.message-attachment {
  margin-top: 10px;
  padding: 10px;
  background: #f8f9fa;
  border-radius: 6px;
  border: 1px solid #e9ecef;
}

.attachment-preview {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  background: white;
  border-radius: 4px;
  margin-bottom: 8px;
}

.attachment-preview:last-child {
  margin-bottom: 0;
}

.attachment-preview img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid #dee2e6;
}

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

.attachment-name {
  font-weight: 500;
  color: #212529;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.attachment-size {
  font-size: 12px;
  color: #6c757d;
}

.attachment-download {
  background: #007bff;
  color: white;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  transition: background-color 0.3s;
  border-radius: 0px !important;
}

.attachment-download:hover {
  background: #0056b3;
  color: white;
  text-decoration: none;
}

.chat-img-link {
  display: inline-block;
  cursor: zoom-in;
}

.chat-attachment-img {
  max-width: 200px;
  max-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #dee2e6;
  display: block;
  transition: opacity 0.2s;
}

.chat-attachment-img:hover {
  opacity: 0.85;
}

/* Cloudflare Turnstile Styles */
.cf-turnstile {
  display: flex;
  justify-content: center;
  margin: 15px 0;
}

.cf-turnstile iframe {
  border-radius: 8px;
  border: 1px solid #e9ecef;
}

/* Disabled submit button styles */
.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background-color: #6c757d;
}

.form-submit:disabled:hover {
  background-color: #6c757d;
  transform: none;
}

/* Global Styles for Owner Section (extracted from .project-modal) */

.modal-body-section {
  padding: 15px;
  border-bottom: solid 0.5px rgb(189 184 184 / 32%);
}

.modal-body-section:last-of-type {
  border-bottom: none;
}

/* @media (max-width: 991px) {
  .modal-body-section {
    padding: 20px 15px;
  }
} */

.modal-body-title {
  font-size: 18px;
  color: #222;
  font-weight: 400;
}

h3.modal-body-title {
  margin-bottom: 8px;
}

.owner-anchor {
  padding: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background-color: transparent;
  border: none;
  cursor: pointer;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
}

.owner-anchor .owner-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
}

@media (max-width: 1199px) {
  .owner-anchor .owner-img {
    width: 45px;
    height: 45px;
  }
}

.owner-anchor .owner-text {
  -webkit-margin-start: 15px;
          margin-inline-start: 15px;
  text-align: start;
}

.owner-anchor .owner-text h6 {
  font-size: 14px;
  font-weight: 400;
  color: var(--secondery-color);
  margin: 0;
}

.owner-anchor .owner-text span {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 300;
  color: #454242;
}

.owner-anchor:hover {
  text-decoration: none;
}

.owner-feats {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  margin-top: 15px;
}

@media (max-width: 991px) {
  .owner-feats {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    /* -webkit-box-pack: center;
        -ms-flex-pack: center; */
            /* justify-content: center; */
    margin-top: 10px;
  }
}

.feat {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  font-weight: 400;
  font-family: var(--font-body);
  color: var(--text-color);
}

@media (max-width: 991px) {
  .feat {
    margin: 5px;
  }
}

.feat-icon {
  width: 35px;
}

.feat-icon svg {
  fill: var(--primary-color);
  -webkit-transform: scale(0.75);
          transform: scale(0.75);
}

/* Specific styling for the owner section in page body */
/* .owner-section {
    margin-top: 20px;
    margin-bottom: 20px;
} */

/* Owner text rating stars */
.owner-text .rating span {
  fill: none;
  stroke: #ffba00;
  stroke-width: 1px;
}

.owner-text .rating span.active {
  fill: #ffba00;
  stroke: #ffba00;
}

/* Project Header Buttons Styles */
.head-btns {
  display: flex;
  gap: 10px;
  align-items: center;
}

.head-btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: #fff;
  font-weight: 500;
  height: 40px;
  padding: 0 20px;
  /* border-radius: 5px; */
  transition: all 0.3s ease-in-out;
  text-decoration: none;
  cursor: pointer;
  font-size: 14px;
}

.head-btn:hover {
  text-decoration: none;
  /* transform: translateY(-2px); */
  /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); */
}

/* Primary Button (Add Offer) */
.head-btn-primary {
  background-color: var(--primary-color);
}

.head-btn-primary:hover {
  background-color: var(--secondery-color);
  color: #fff;
}

/* Favorite Button - Transparent with Border */
.head-btn-fav {
  background-color: unset !important;
  border: 1px solid var(--primary-color);
  color: var(--primary-color) !important;
}

.head-btn-fav:hover {
  background-color: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

.head-btn-fav svg {
  /* fill: currentColor; remove this to allow toggle */
  fill: none; /* Default empty */
  stroke: currentColor; /* Border uses text color */
  flex-shrink: 0;
}

.head-btn-fav.active svg {
  fill: currentColor;
}

/* Share Button - Icon Only */
.head-btn-share {
  background-color: unset !important;
    border: 1px solid var(--primary-color);
    color: var(--primary-color) !important;
    padding: 5px;
    width: 40px;
    min-width: 40px;
    text-align: center;
}

.head-btn-share:hover {
  background-color: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

.head-btn-share svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  flex-shrink: 0;
}

/* Favorite Button - Icon Only */
.head-btn-fav {
  background-color: transparent !important;
  border: 1px solid var(--primary-color);
  color: var(--primary-color) !important;
  padding: 5px;
  width: 40px;
  min-width: 40px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.head-btn-fav:hover {
  border-color: var(--primary-color);
  color: var(--primary-color) !important;
}

.head-btn-fav svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.head-btn-fav.active {
  border-color: var(--primary-color);
  color: var(--primary-color) !important;
}

.head-btn-fav.active svg {
  fill: var(--primary-color);
  stroke: var(--primary-color);
}

/* Edit Button - Icon Only */
.head-btn-edit {
  background-color: transparent !important;
  border: 1px solid var(--primary-color);
  color: var(--primary-color) !important;
  transition: all 0.3s ease;
}

.head-btn-edit:hover {
  background-color: var(--primary-color);
  color: #fff !important;
  border-color: var(--primary-color);
}

.head-btn-edit svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  flex-shrink: 0;
}

/* Outline Button - Text with Border */
.head-btn-outline {
  background-color: transparent;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
}

.head-btn-outline:hover {
  background-color: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

.head-btn-outline svg {
  fill: none;
  stroke: currentColor;
  flex-shrink: 0;
}

/* Responsive Styles */
@media (max-width: 767px) {
  .head-btns {
    gap: 8px;
    flex-wrap: wrap;
  }
  
  .head-btn {
    height: 36px;
    padding: 0 15px;
    font-size: 14px;
  }
  
  .head-btn-share {
    width: 36px;
    min-width: 36px;
  }
}

/* action-btn-group inside head-btns (single_work page) */
.head-btns .action-btn-group {
  display: flex;
  align-items: center;
}

.head-btns .action-kebab-toggle {
  height: 40px;
  width: 40px;
  border-radius: 0;
}

@media (max-width: 767px) {
  .head-btns .action-kebab-toggle {
    height: 36px;
    width: 36px;
  }
}

/* ===================================
   Author Info Section - Blog Details
   =================================== */
.author-info-section {
  border-top: 1px solid rgba(38, 38, 38, 0.1);
}

.author-info-card {
  display: flex;
    align-items: flex-start;
    gap: 15px;
    background-color: #fff;
    padding: 15px;
}

.author-avatar {
  flex-shrink: 0;
}

.author-avatar img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.author-details {
  flex: 1;
}

.author-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-color);
  margin: 0 0 5px 0;
  font-family: var(--font-heading);
}

.author-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--primary-color);
  margin: 0 0 10px 0;
  font-family: var(--font-heading);
}

.author-bio {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(38, 38, 38, 0.8);
  margin: 0;
  font-family: var(--font-heading);
}

.identity-alert-banner{
  display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 20px;
    margin-bottom: 10px;
    background-color: #fdf8e3;
    border: 1px solid #ffeeba;
}

.uncomplete-btn{
  margin-top: 12px; display: inline-block; padding: 6px 15px; background-color: #14965a; color: #fff; text-decoration: none; border-radius: 0; font-weight: 500; transition: background-color 0.3s;
}
.btn.focus, .btn:focus {
    box-shadow: unset;
}

.uncomplete-btn:hover{
  box-shadow: unset;
  background-color: #19b36b;
    color: #fff;
}

/* Responsive Styles */
@media (max-width: 767px) {
  /* .author-info-section {
    margin: 30px 0;
    padding: 20px 0;
  } */

  .page-title-cont .title-cont-details{
      flex-direction: column;
      gap: 10px;
  }

  .author-info-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
  }

  .author-avatar img {
    width: 70px;
    height: 70px;
  }

  .author-name {
    font-size: 18px;
  }

  .author-bio {
    font-size: 15px;
  }
}

/* Payment Methods Section */
.payment-methods-section {
  margin-top: 25px;
}

.payment-methods-title {
  font-size: 15px;
  margin-bottom: 15px;
}

.payment-methods {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.payment-method {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.payment-method:hover {
  transform: translateY(-2px);
}

.payment-method svg {
  display: block;
  /* border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
  transition: box-shadow 0.3s ease;
}

@media (max-width: 767px) {
  .payment-methods {
    justify-content: center;
  }
  
  .payment-methods-section {
    text-align: center;
  }
}

/* ========================================
   Page Title & Breadcrumb Styles
   ======================================== */

.page-title-cont {
  /* margin-bottom: 30px; */
  padding-bottom: 10px;
  /* border-bottom: 1px solid rgba(96, 208, 73, 0.15); */
}

.page-title {
  font-size: 22px;
  font-weight: 500;
  color: var(--text-color);
  margin: 5px 0 0 0;
  position: relative;
  display: inline-block;
}

/* .page-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  right: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondery-color));
  border-radius: 2px;
} */

.page-title-breadcrumb ul {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  /* gap: 8px; */
}

.page-title-breadcrumb li {
  display: flex;
  align-items: center;
  font-size: 13px;
  color: #666;
  position: relative;
  margin-left: 5px;
}

.page-title-breadcrumb li:not(:last-child)::after {
  content: '>';
  display: inline-block;
  margin: 0 5px;
  color: #999;
  font-weight: 400;
  font-size: 14px;
}

.page-title-breadcrumb li a {
  color: var(--secondery-color);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  padding-bottom: 2px;
}

.page-title-breadcrumb li a::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 1px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.page-title-breadcrumb li a:hover {
  color: var(--primary-color);
}

.page-title-breadcrumb li a:hover::before {
  width: 100%;
}

.page-title-breadcrumb li:last-child {
  color: #999;
  font-weight: 500;
}

/* Responsive Styles */
@media (max-width: 767px) {
  /* .page-title-cont {
    padding: 15px 0;
    margin-bottom: 20px;
  } */
  
  .page-title {
    font-size: 22px;
    margin-bottom: 10px;
  }
  
  .page-title::after {
    width: 45px;
    height: 2px;
    bottom: -6px;
  }
  
  .page-title-breadcrumb li {
    font-size: 13px;
  }
  
  .page-title-breadcrumb li:not(:last-child)::after {
    width: 4px;
    /* height: 4px; */
    margin: 0 6px;
  }
}

@media (max-width: 480px) {
  .page-title {
    font-size: 18px;
  }
  
  .page-title-breadcrumb li {
    font-size: 14px;
  }
}

.work-item .work-summary {
    margin: 0;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 300;
    line-height: 1.5;
    color: rgb(26 26 46 / 81%);
    padding: 0 10px;
    overflow: hidden;
    background-color: #fff;
    padding-bottom: 10px;
}

.work-stats {
    display: flex;
    gap: 12px;
    margin-top: 1px;
    font-size: 12px;
    color: rgb(26 26 46 / 81%);
    background-color: #fff;
    padding: 20px 10px;
    /* justify-content: space-between; */
}

.stat-item{
  display: flex;
  align-items: center;
  gap: 4px;
}

/* تنسيقات قسم التوثيقات */
/* .verification-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 10px 0;
}

.verification-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
} */

/* .verification-item:hover {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
} */

/* .verification-label {
    font-size: 14px;
    color: #333;
    font-weight: 500;
} */

.verification-icon {
    width: 20px;
    height: 20px;
}

/* حالة التوثيق */
.verification-icon.verified circle {
    fill: #60d049;
}

.verification-icon.unverified circle {
    fill: #f48892;
}

/* Clickable verification link for unverified items */
.verification-link {
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 4px;
    padding: 2px 4px;
    margin: -2px -4px;
}

.verification-link .verification-label {
    text-decoration: line-through;
    color: #dc3545;
}

.verification-link:hover {
    background-color: rgba(220, 53, 69, 0.08);
    text-decoration: none;
    color: inherit;
}

.verification-link:hover .verification-label {
    text-decoration: underline;
    color: #dc3545;
}

.verification-link:hover .verification-icon.unverified circle {
    fill: #dc3545;
}

.verification-hint {
    display: block;
    font-size: 12px;
    color: #6b7280;
    margin-top: 2px;
    font-weight: 400;
}

.verification-link:hover .verification-hint {
    color: #dc3545;
}

.offers-sort-wrapper {
  display: flex;
  align-items: center;
  position: relative;
}

/* Multi-select container */
.offers-multi-sort-container {
  position: relative;
}

/* Toggle button */
.offers-sort-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1px solid #ddd;
  background: #fff;
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--text-color);
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  white-space: nowrap;
}
.offers-sort-toggle-btn:hover,
.offers-sort-toggle-btn.active {
  border-color: var(--primary-color);
  color: var(--primary-color);
}
.sort-arrow-icon {
  margin-right: auto;
  margin-inline-start: 4px;
  transition: transform 0.2s;
  opacity: 0.6;
}
.offers-sort-toggle-btn.active .sort-arrow-icon {
  transform: rotate(180deg);
}

/* Dropdown panel */
.offers-sort-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  min-width: 200px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.10);
  z-index: 999;
  padding: 8px 0;
}
.offers-sort-dropdown-menu.open {
  display: block;
}

/* Group labels */
.sort-group-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #999;
  padding: 6px 14px 4px;
}
.sort-group-separator {
  height: 1px;
  background: #f0f0f0;
  margin: 6px 0;
}

/* Checkbox options */
.sort-checkbox-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  cursor: pointer;
  font-size: 13px;
  color: var(--text-color);
  transition: background 0.15s;
  margin: 0;
  user-select: none;
}
.sort-checkbox-option:hover {
  background: #f5f5f5;
}
.sort-checkbox-option input[type="checkbox"] {
  display: none;
}
.sort-checkmark {
  width: 16px;
  height: 16px;
  border: 1.5px solid #ccc;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.15s, background 0.15s;
}
.sort-checkbox-option input[type="checkbox"]:checked ~ .sort-checkmark {
  background: var(--primary-color);
  border-color: var(--primary-color);
}
.sort-checkbox-option input[type="checkbox"]:checked ~ .sort-checkmark::after {
  content: '';
  display: block;
  width: 9px;
  height: 5px;
  border: 2px solid #fff;
  border-top: none;
  border-right: none;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translate(1px, -1px);
}
.sort-checkbox-option input[type="checkbox"]:checked + .sort-checkmark + span {
  color: var(--primary-color);
  font-weight: 600;
}

@media (max-width: 767px) {
  .offers-sort-toggle-btn {
    font-size: 12px;
    padding: 6px 10px;
  }
  .offers-sort-dropdown-menu {
    min-width: 180px;
  }
}


/* Offers Pagination info line */
.offers-pagination-info {
  font-size: 13px;
  color: #888;
  font-family: var(--font-body);
}

.offer-btn-accepted {
  background-color: #19b36b;
    color: #fff;
    cursor: default;
    height: 25px;
    border-radius: 5px;
    font-size: 12px;
    padding: 3px 10px;
    align-self: center;
}

/* Word Counter */
.word-counter {
    font-size: 0.85em;
    color: #dc3545;
    transition: color 0.2s ease;
    position: absolute;
    bottom: 1px;
    right: 5px;
    background-color: #fff;
    padding: 5px;
    width: 98%;
}
.word-counter.met {
    color: #28a745;
}
@media (max-width: 767px) {
    .word-counter {
        /* bottom: 5px; */
        width: 95%;
    }
}

.js-validation-error {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
    border-radius: 0;
    padding: 5px;
}

/* ===================================
   Installments Details - Offer Page
   =================================== */
.installments-details {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 10px;
}

.installment-item {
  transition: border-color 0.2s ease;
}

.installment-item:hover {
  border-color: var(--primary-color);
}

.installment-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-color);
  /* margin-bottom: 14px; */
  padding-bottom: 10px;
  border-bottom: 1px dashed #e0e4e8;
}

.installment-item .cost-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}

.installment-item .cost-item {
  background-color: #fff;
  padding: 10px 14px;
  /* border: 1px solid #eef1f4; */
  transition: box-shadow 0.2s ease;
}

/* .installment-item .cost-item:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
} */

.installment-item .cost-item .label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: #8b95a2;
  margin-bottom: 4px;
  letter-spacing: 0.2px;
}

.installment-item .cost-item p {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-color);
}

/* Status Badges */
.status-completed {
  display: inline-block;
  padding: 2px 10px;
  background-color: rgb(25 179 107);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
}

.status-running {
  display: inline-block;
  padding: 2px 10px;
  background-color: rgb(212 137 0);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
}

.status-pending-completed {
  display: inline-block;
  padding: 2px 10px;
  background-color: rgb(33 150 243);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
}

.status-not-started {
  display: inline-block;
  padding: 2px 10px;
  background-color: #8b95a2;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
}

.status-cancelled {
  display: inline-block;
  padding: 2px 10px;
  background-color: #dc3545;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
}

/* Total Summary */
.installment-total {
  background-color: #f0faf4;
  padding: 10px 0;
  /* border: 1px solid rgba(20, 150, 90, 0.2); */
  /* padding: 18px; */
  /* margin-top: 4px; */
}

.installment-total .cost-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}

.installment-total .cost-item {
  padding: 10px 14px;
}

.installment-total .cost-item .label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 4px;
}

.installment-total .cost-item p {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-color);
}

/* Responsive */
@media (max-width: 767px) {
  .installment-item {
    padding: 14px;
  }

  .installment-title {
    font-size: 15px;
  }

  .installment-item .cost-items,
  .installment-total .cost-items {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .installment-item .cost-item,
  .installment-total .cost-item {
    padding: 8px 10px;
  }

  .installment-item .cost-item p,
  .installment-total .cost-item p {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .installment-item .cost-items,
  .installment-total .cost-items {
    grid-template-columns: 1fr 1fr;
  }
}

#fee-breakdown{
  display: flex;
  gap: 10px;
  flex-direction: column;
  margin-bottom: 20px;
}

/* ===== Project Status Badges ===== */
.project-status {
  color: #fff;
  padding: 5px 10px;
  /* border-radius: 3px; */
  font-size: 12px;
  font-weight: 500;
  display: inline-block;
}

.project-status-active {
  background-color: #14965A;
}

.project-status-completed {
  background-color: #1a1a2e;
}

.project-status-pending {
  background-color: #D97706;
}

.project-status-running {
  color: #fff;
  background-color: #d48900;
}

.project-status-rejected {
  background-color: #f97316;
}

.project-status-cancelled {
  background-color: #DC2626;
}

.project-status-closed {
  background-color: #9e9e9e;
}

/* ===== Offer Status Badges ===== */
.offer-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  padding: 2px 10px;
  color: #fff;
  border-radius: 3px;
  margin-right: 5px;
  font-weight: 600;
}

.offer-status-pending {
  background-color: #D97706;
}

.offer-status-running {
  color: #d48900;
  background-color: rgba(255, 165, 0, 0.12);
}

.offer-status-completed {
  background-color: #2563EB;
}

.offer-status-closed {
  background-color: #6B7280;
}

.offer-status-rejected {
  background-color: #EA580C;
}

.offer-status-cancelled {
  background-color: #DC2626;
}

/* format_text() paragraph spacing */
p.fmt-para {
  margin: 0 0 0.6em 0;
  line-height: inherit;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}
p.fmt-para:last-child {
  margin-bottom: 0;
}
p.fmt-heading {
  margin: 0.8em 0 0.3em 0;
  line-height: inherit;
  font-size: inherit;
  color: inherit;
}
p.fmt-heading:first-child {
  margin-top: 0;
}
ul.fmt-list {
  margin: 0 0 0.6em 0;
  padding-inline-start: 1.4em;
  list-style: disc;
  line-height: 1.9;
}
ul.fmt-list li {
  font-size: inherit;
  color: inherit;
  list-style-type: circle;
}
ul.fmt-list:last-child {
  margin-bottom: 0;
}
p.fmt-heading strong {
    font-weight: unset;
}

/* Advanced Options Toggle */
/* .advanced-options-wrapper {
    margin-top: 10px;
    margin-bottom: 10px;
} */

.advanced-options-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 10px 0;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    user-select: none;
    transition: color 0.2s ease;
}

.advanced-options-toggle:hover {
    color: var(--secondery-color);
}

.advanced-options-icon {
    display: inline-flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.advanced-options-toggle.open .advanced-options-icon {
    transform: rotate(180deg);
}

.advanced-options-content {
    padding-top: 5px;
}

/* ===================================
   Boost Project Checkbox (Payment Type)
   =================================== */
.boost-checkbox-wrap {
    margin: 5px 0;
}

.boost-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 5px;
    cursor: pointer;
    /* padding: 14px 16px; */
    /* border: 2px solid #e5e7eb; */
    /* background-color: #fafffe; */
    /* transition: border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease; */
    user-select: none;
    margin: 0;
}

/* .boost-checkbox-label:hover {
    border-color: var(--primary-color);
    background-color: #f0faf5;
    box-shadow: 0 2px 8px rgba(20, 150, 90, 0.08);
} */

/* إخفاء الـ checkbox الأصلي */
.boost-checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

/* مربع الاختيار المُصمم */
.boost-checkmark {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border: 2px solid #cdd3d9;
    border-radius: 4px;
    background-color: #fff;
    transition: border-color 0.2s ease, background-color 0.2s ease;
    position: relative;
    margin-top: 1px;
}

/* العلامة (✓) الداخلية */
.boost-checkmark::after {
    content: '';
    display: block;
    width: 10px;
    height: 5px;
    border: 2px solid #fff;
    border-top: none;
    border-right: none;
    /* border-left and border-bottom form a checkmark */
    border-width: 0 0 2px 2px;
    transform: rotate(-45deg) scale(0) translate(1px, -1px);
    transition: transform 0.18s cubic-bezier(0.12, 0.4, 0.29, 1.46);
    opacity: 0;
}

/* حالة Hover على الـ label */
.boost-checkbox-label:hover .boost-checkmark {
    border-color: var(--primary-color);
}

/* حالة Checked */
.boost-checkbox-label input[type="checkbox"]:checked ~ .boost-checkmark,
.boost-checkbox-label:has(input[type="checkbox"]:checked) .boost-checkmark {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.boost-checkbox-label input[type="checkbox"]:checked ~ .boost-checkmark::after,
.boost-checkbox-label:has(input[type="checkbox"]:checked) .boost-checkmark::after {
    transform: rotate(-45deg) scale(1) translate(1px, -1px);
    opacity: 1;
}

/* حالة Checked: تغيير لون الـ border على الـ label */
/* .boost-checkbox-label:has(input[type="checkbox"]:checked) {
    border-color: var(--primary-color);
    background-color: #f0faf5;
} */

/* نص الـ checkbox */
.boost-checkbox-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-color);
    font-family: var(--font-body);
}

.boost-checkbox-text strong {
    color: var(--primary-color);
}

@media (max-width: 767px) {
    .boost-checkbox-label {
        padding: 12px;
        gap: 10px;
    }
    .boost-checkbox-text {
        font-size: 13px;
    }
}

/* ===== Invite Score Badge (freelancer invitation cards) ===== */
.invite-score-badge {
    position: absolute;
    top: 20px;
    left: 60px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 20px;
    z-index: 10;
    pointer-events: none;
    white-space: nowrap;
    box-shadow: 0 1px 4px rgba(0,0,0,0.12);
}

.invite-score-badge.score-excellent {
    background-color: #e8f9f0;
    color: #14965a;
    border: 1px solid #b2e8cd;
}

.invite-score-badge.score-good {
    background-color: #fff8e6;
    color: #d08a00;
    border: 1px solid #ffe4a0;
}

.invite-score-badge.score-fair {
    background-color: #f0f0f0;
    color: #666;
    border: 1px solid #d8d8d8;
}

.freelancer-selection-item .invite-score-badge svg {
    flex-shrink: 0;
}

/* Project Skills Field — same as .edit-item-cont.multi-select in profile */
.project-skills-field {
  margin-bottom: 15px;
}

.project-skills-label {
  font-size: 16px;
  color: var(--text-color);
  margin: 0 0 10px;
  font-weight: 400;
}

.project-skills-field .select2-container .select2-selection.select2-selection {
  border: solid 1px rgb(206 212 218);
  border-radius: 0;
}

.project-skills-field .select2-container .select2-selection__rendered li.select2-selection__choice {
  padding: 10px;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-orient: horizontal;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  height: 35px;
  background-color: #f7f3f3;
  border-radius: 5px;
  border: 0.6px solid #eae4e4;
}

.project-skills-field .select2-container .select2-selection__rendered li.select2-selection__choice .select2-selection__choice__remove {
  padding: 0;
  margin: 0;
  margin-left: 5px;
  border: 0;
  position: static;
  font-size: 15px;
  height: 25px;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  overflow: hidden;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.project-skills-field .select2-container .select2-selection__rendered li.select2-selection__choice .select2-selection__choice__remove:hover {
  background-color: transparent;
  color: #ccc;
}

.project-skills-error {
  color: #dc3545;
  font-size: 0.875em;
  display: block;
  margin-top: 4px;
}

/* Work Skills Field — same as .edit-item-cont.multi-select in profile */
.work-skills-field {
  margin-bottom: 15px;
}

.work-skills-label {
  font-size: 16px;
  color: var(--text-color);
  margin: 0 0 10px;
  font-weight: 400;
}

.work-skills-field .select2-container .select2-selection.select2-selection {
  border: solid 1px rgb(206 212 218);
  border-radius: 0;
}

.work-skills-field .select2-container .select2-selection__rendered li.select2-selection__choice {
  padding: 10px;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-orient: horizontal;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  height: 35px;
  background-color: #f7f3f3;
  border-radius: 5px;
  border: 0.6px solid #eae4e4;
}

.work-skills-field .select2-container .select2-selection__rendered li.select2-selection__choice .select2-selection__choice__remove {
  padding: 0;
  margin: 0;
  margin-left: 5px;
  border: 0;
  position: static;
  font-size: 15px;
  height: 25px;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  overflow: hidden;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.work-skills-field .select2-container .select2-selection__rendered li.select2-selection__choice .select2-selection__choice__remove:hover {
  background-color: transparent;
  color: #ccc;
}

.work-skills-error {
  color: #dc3545;
  font-size: 0.875em;
  display: block;
  margin-top: 4px;
}

/* Skills Tags */
.project-skills-wrapper {
    position: relative;
    margin-top: 10px;
    margin-bottom: 5px;
    min-width: 0;
}

.projectDetails-page-cont > *,
.addOffer-page-cont > *,
.offerDetails-page-cont > *,
.UserAdmin-page-cont > *,
.UserMoney-page-cont > * {
    min-width: 0;
}

.project-skills-tags {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 5px;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.project-skills-tags::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.skills-nav {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 44px;
    border: 0;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #8c8c96;
    z-index: 2;
    padding: 0;
    transition: color 0.15s;
}

.skills-nav:hover {
    color: #60d049;
}

.skills-nav svg {
    flex-shrink: 0;
}

.skills-nav-prev {
    inset-inline-start: 0;
    background: linear-gradient(to left, rgb(255 255 255) 0%, #ffffff 50%, #ffffff00 100%);
    justify-content: flex-start;
    padding-inline-start: 2px;
}

.skills-nav-next {
    inset-inline-end: 0;
    background: linear-gradient(to right, rgb(255 255 255) 0%, #ffffff 50%, #ffffff00 100%);
    justify-content: flex-end;
    padding-inline-end: 2px;
}

[dir="rtl"] .skills-nav svg,
html[dir="rtl"] .skills-nav svg {
    transform: scaleX(-1);
}

.skill-tag {
    display: flex;
    background-color: #f7f3f3;
    /* color: #707070 !important; */
    border: 0;
    border-radius: 5px;
    padding: 8px 10px;
    font-size: 14px;
    /* font-weight: 500; */
    white-space: nowrap;
    height: 25px;
    padding: 0 10px;
    /* min-width: 55px; */
    align-items: center;
    flex-shrink: 0;
}

.work-skills,
.work-dates-section {
    background-color: #fff;
}

.work-skills-title {
    font-size: 16px;
    /* font-weight: 600; */
    margin-bottom: 0;
    /* color: #333; */
}

.select2-container--default .select2-selection--multiple.select2-selection--clearable{
  padding-right: 5px;
}

/* =============================================
   Skill Tag Links
   ============================================= */
a.skill-tag-link,
a.tag-item-link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    /* transition: background-color 0.2s, color 0.2s, border-color 0.2s; */
}

a.skill-tag-link:hover {
    background-color: #ececec;
    /* color: #fff;
    border-color: #60d049; */
}

.project-more-link {
    font-size: 13px;
    color: #60d049;
    text-decoration: none;
    cursor: pointer;
    font-weight: 600;
}
.project-more-link:hover {
    text-decoration: underline;
    color: #4db83a;
}

a.tag-item-link:hover {
   background-color: #ececec;
    /* color: #fff; */
    border: 0;
}

/* =============================================
   Work Actions Bar (Like & Share below skills)
   ============================================= */
.work-actions-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.work-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 20px;
    /* border-radius: 6px; */
    border: 1px solid #ddd;
    background-color: #fff;
    color: #555;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
    line-height: 1;
}

.work-action-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background-color: #f7fef9;
}

.work-action-btn svg {
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: all 0.25s ease;
}

.like-action-btn.active {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background-color: #f7fef9;
}

.like-action-btn.active svg {
    fill: var(--primary-color);
    stroke: var(--primary-color);
}

.action-count {
    font-size: 13px;
    font-weight: 600;
    min-width: 16px;
    text-align: center;
}

/* =============================================
   Skill Page - Tabs
   ============================================= */
.skill-page .page-title {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.skill-page-badge {
    display: inline-block;
    background-color: #19b36b;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    vertical-align: middle;
}

.skill-tabs-nav {
    display: flex;
    gap: 8px;
    border-bottom: 2px solid #eee;
    margin: 20px 0 0;
    padding-bottom: 0;
    flex-wrap: wrap;
}

.skill-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    padding: 10px 18px;
    font-size: 15px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
    white-space: nowrap;
}

.skill-tab-btn:hover {
    color: #19b36b;
}

.skill-tab-btn.active {
    color: #19b36b;
    border-bottom-color: #19b36b;
    font-weight: 700;
}

.skill-tab-count {
    display: inline-block;
    background-color: #f0f0f0;
    color: #555;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    padding: 1px 8px;
    min-width: 24px;
    text-align: center;
    transition: background-color 0.2s, color 0.2s;
}

.skill-tab-btn.active .skill-tab-count {
    background-color: #60d04920;
    color: #60d049;
}

.skill-tabs-content {
    padding-top: 24px;
}

.skill-tab-panel {
    display: none;
}

.skill-tab-panel.active {
    display: block;
}

@media (max-width: 576px) {
    .skill-tabs-nav {
        gap: 4px;
    }
    .skill-tab-btn {
        padding: 8px 10px;
        font-size: 13px;
    }
}

/* =============================================
   Category Links (project-job, freelancer-job, value)
   ============================================= */
a.project-job-link,
a.freelancer-job-link,
a.category-link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: color 0.2s;
}

a.project-job-link:hover,
a.freelancer-job-link:hover,
a.category-link:hover {
    background-color: var(--primary-color);
}

.categories-card {
    background: #fff;
    padding: 15px;
    height: 100%;
}
.categories-card__title {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #4e2626;
    margin-bottom: 10px;
    text-decoration: none;
    border-bottom: 2px solid #e9f7f1;
    padding-bottom: 10px;
}
.categories-card__title:hover {
    color: #14924e;
    text-decoration: none;
}
.categories-card__subs {
    margin: 0;
    padding: 0;
}
.categories-card__subs li {
    padding: 4px 0;
}
.categories-card__sub-link {
    font-size: 0.9rem;
    color: #555;
    text-decoration: none;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}
.categories-card__sub-link::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: #19b36b;
    flex-shrink: 0;
}
.categories-card__sub-link:hover {
    color: #19b36b;
    text-decoration: none;
}

h2.skills-index-category-title {
    font-size: 24px;
    margin-bottom: 15px;
}

/* ── Voice Message Styles ─────────────────────────────────── */

/* Mic button in input toolbar */
.voice-record-btn {
  background: none;
  border: none;
  padding: 0;
  margin: 0 5px 0 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #afbbc6;
  transition: color 0.25s ease;
  flex-shrink: 0;
}

.voice-record-btn svg {
  width: 20px;
  height: 20px;
}

.voice-record-btn:hover,
.voice-record-btn.is-recording {
  color: #e53e3e;
}

/* Recording bar */
.voice-recording-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff5f5;
  border: 1px solid #fed7d7;
  /* border-radius: 8px; */
  padding: 8px 12px;
}

/* Pulsing red dot */
.voice-rec-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e53e3e;
  flex-shrink: 0;
  animation: voice-pulse 1s ease-in-out infinite;
}

@keyframes voice-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.85); }
}

.voice-rec-label {
  font-size: 13px;
  color: #e53e3e;
  flex: 1;
}

.voice-rec-timer {
  font-size: 13px;
  font-weight: 600;
  color: #e53e3e;
  font-variant-numeric: tabular-nums;
  min-width: 36px;
}

.voice-cancel-btn,
.voice-stop-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: none;
  /* border-radius: 6px; */
  padding: 4px 10px;
  font-size: 12px;
  font-family: var(--font-body);
  cursor: pointer;
  transition: background 0.2s ease;
}

.voice-cancel-btn {
  background: #fff;
  color: #718096;
  border: 1px solid #e2e8f0;
}

.voice-cancel-btn:hover {
  background: #f7fafc;
}

.voice-stop-btn {
  background: #e53e3e;
  color: #fff;
}

.voice-stop-btn:hover {
  background: #c53030;
}

/* Audio preview bar (after recording, before sending) */
.voice-preview-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f0fff4;
  border: 1px solid #c6f6d5;
  /* border-radius: 8px; */
  padding: 8px 12px;
}

.voice-send-btn,
.voice-discard-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: none;
  /* border-radius: 6px; */
  padding: 5px 12px;
  font-size: 12px;
  font-family: var(--font-body);
  cursor: pointer;
  transition: background 0.2s ease;
  flex-shrink: 0;
}

.voice-send-btn {
  background: var(--primary-color);
  color: #fff;
}

.voice-send-btn:hover {
  background: var(--secondery-color);
}

.voice-discard-btn {
  background: #fff;
  color: #718096;
  border: 1px solid #e2e8f0;
}

.voice-discard-btn:hover {
  background: #f7fafc;
}

/* Audio player inside a chat bubble */
.audio-message {
  margin-top: 6px;
}

.message-attachment:has(.audio-message) {
  background: none;
  border: none;
  padding: 0;
  margin-top: 4px;
}

.audio-message audio {
  width: 100%;
  min-width: 250px;
  height: 36px;
  border-radius: 20px;
  outline: none;
}

@media (max-width: 575px) {
  .audio-message audio {
    max-width: 100%;
  }
}

.projectoffer-head .user-works-count{
  font-size: 12px;
  color: #666;
  display: flex;
  gap: 5px;
  align-items: center;
  text-decoration: none;
}

/* Draft Button */
.editPage-btn.draft {
    background: #fff;
    color: #555;
    border: 1px solid #d0d0d0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: border-color 0.2s, color 0.2s;
}
.editPage-btns .editPage-btn.draft:hover {
    background-color: #f5f5f5;
    border-color: #888;
    color: #333;
    border: 1px solid #ccc;
}


.freelancers-grid {
    display: flex;
    flex-direction: column;
    /* gap: 15px; */
}
.freelancer-selection-item {
    border: 2px solid transparent !important; 
    transition: all 0.2s;
    height: 100%;
}
.freelancer-selection-item:hover {
    transform: translateY(-2px);
    /* box-shadow: 0 5px 15px rgba(0,0,0,0.05); */
    border-color: #eee !important;
}
.freelancer-selection-item.selected {
    border-color: #14965A !important;
    background-color: #f9fff9;
}
/* View Profile Icon Hover Effect */
.view-profile-icon:hover {
    background-color: #4db83a !important;
    transform: scale(1.1);
    /* box-shadow: 0 4px 8px rgba(0,0,0,0.2) !important; */
}
/* Modal Styles */
.modal-body {
    max-height: 70vh;
    overflow-y: auto;
}


/* Side info block above rocket */
.project-side-info {
    background: #fff;
    /* border: 1px solid #c3e6d4; */
    /* border-radius: 10px; */
    padding: 15px;
    /* margin-bottom: 10px; */
}
.project-side-info__title {
    font-size: 18px;
    font-weight: 700;
    color: #0e6e41;
    margin: 0 0 10px 0;
}
.project-side-info__sub {
    font-size: 14px;
    color: #3a6e54;
    margin: 0 0 15px 0;
    opacity: 0.85;
}
.project-side-info__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.project-side-info__list li {
    display: flex;
    align-items: center;
    gap: 10px;
    /* font-size: 14px; */
    color: #2d5a3d;
}
.psi-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    background: #14965A;
    color: #fff;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 700;
    flex-shrink: 0;
}

.add-project-img .rocket-img {
    background-color: #fff;
    padding: 50px;
}

/* ── Badge System ── */
.user-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.6;
    white-space: nowrap;
    position: relative;
    cursor: default;
}
.user-badge .badge-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}
.user-badge .badge-icon svg {
    width: 100%;
    height: 100%;
}

.badge-ready {
    background: #ECFDF5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}
.badge-rising-star {
    background: #FFFBEB;
    color: #92400E;
    border: 1px solid #FDE68A;
}
.badge-profit-pro {
    background: #EFF6FF;
    color: #1E40AF;
    border: 1px solid #BFDBFE;
}
.badge-elite {
    background: #F5F3FF;
    color: #5B21B6;
    border: 1px solid #DDD6FE;
}
.badge-veteran {
    background: #FFF7ED;
    color: #9A3412;
    border: 1px solid #FED7AA;
}

/* Badge tooltip */
.user-badge[data-tooltip] {
    position: relative;
}
.user-badge[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 6px);
    right: 50%;
    transform: translateX(50%);
    background: #1F2937;
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 400;
    white-space: nowrap;
    z-index: 50;
    pointer-events: none;
}
.user-badge[data-tooltip]:hover::before {
    content: '';
    position: absolute;
    bottom: calc(100% + 2px);
    right: 50%;
    transform: translateX(50%);
    border: 5px solid transparent;
    border-top-color: #1F2937;
    z-index: 50;
    pointer-events: none;
}

/* Badge in freelancer card (compact) */
.freelancer-head .user-badge {
    font-size: 10px;
    padding: 1px 8px;
}

/* Badges section in profile */
.badges-section {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px;
    background-color: #fff;
    margin-bottom: 10px;
}
.badge-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid #E5E7EB;
    background: #fff;
    flex: 0 1 auto;
    min-width: 200px;
    min-width: 220px;
}
a.badge-card,
a.badge-card:hover,
a.badge-card:visited,
a.badge-card:active,
a.badge-card:focus {
    color: inherit;
    text-decoration: none;
}
/* .badge-card.earned {
    border-color: var(--badge-color, #E5E7EB);
    background: var(--badge-bg, #fff);
} */
.badge-card.locked {
    opacity: 0.5;
    filter: grayscale(0.6);
}
.badge-card-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.badge-card-icon svg {
    width: 20px;
    height: 20px;
}
.badge-card-info {
    flex: 1;
    min-width: 0;
}
.badge-card-info h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #111827;
}
.badge-card-info p {
    margin: 2px 0 0;
    font-size: 12px;
    color: #6B7280;
    line-height: 1.4;
}
.badge-progress {
    width: 100%;
    height: 4px;
    background: #E5E7EB;
    border-radius: 2px;
    margin-top: 6px;
    overflow: hidden;
}
.badge-progress-bar {
    height: 100%;
    border-radius: 2px;
    transition: width 0.3s ease;
}
.badge-card .badge-earned-check {
    color: #10B981;
    font-size: 18px;
    flex-shrink: 0;
}

/* Badge icon-only with tooltip */
.badges-section--icons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 0;
}
.badge-icon-only {
    position: relative;
    display: inline-flex;
}
.badge-icon-only__icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: default;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    border: 2px solid var(--badge-color);
}
.badge-icon-only__icon svg {
    width: 20px;
    height: 20px;
}
.badge-icon-only__icon--sm {
    width: 16px;
    height: 16px;
    border-width: 1px;
}
.badge-icon-only__icon--sm svg {
    width: 9px;
    height: 9px;
}
.badge-icon-only:hover .badge-icon-only__icon {
    transform: scale(1.12);
    box-shadow: 0 4px 12px color-mix(in srgb, var(--badge-color) 30%, transparent);
}
.badge-icon-only__tooltip {
    position: absolute;
    bottom: calc(100% + 8px);
    right: 50%;
    transform: translateX(50%);
    background: #1F2937;
    color: #fff;
    border-radius: 6px;
    padding: 5px 10px;
    white-space: nowrap;
    font-size: 12px;
    font-weight: 600;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s ease;
    z-index: 99;
}
.badge-icon-only__tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 50%;
    transform: translateX(50%);
    border: 5px solid transparent;
    border-top-color: #1F2937;
}
.badge-icon-only:hover .badge-icon-only__tooltip {
    opacity: 1;
}

/* Badges explanation page */
.badges-page {
    padding: 40px 0;
}
.badges-page-header {
    text-align: center;
    margin-bottom: 40px;
}
.badges-page-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 12px;
}
.badges-page-header p {
    font-size: 16px;
    color: #6B7280;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}
.badges-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}
.badge-explain-card {
    background: #fff;
    /* border: 1px solid #E5E7EB; */
    /* border-radius: 12px; */
    padding: 20px;
    /* transition: box-shadow 0.2s, border-color 0.2s; */
    display: flex;
    flex-direction: column;
}
.badge-explain-card .badge-explain-progress-wrapper,
.badge-explain-card .badge-earned-label {
    margin-top: auto;
    padding-top: 12px;
}
.badge-explain-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.badge-explain-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.badge-explain-icon svg {
    width: 24px;
    height: 24px;
}
.badge-explain-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #111827;
}
.badge-explain-header .badge-tier {
    font-size: 12px;
    color: #9CA3AF;
    font-weight: 400;
}
.badge-explain-desc {
    font-size: 14px;
    color: #6B7280;
    line-height: 1.7;
    margin-bottom: 16px;
}
.badge-explain-conditions {
    list-style: none;
    padding: 0;
    margin: 0;
}
.badge-explain-conditions li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 13px;
    color: #374151;
    /* border-bottom: 1px solid #F3F4F6; */
}
.badge-explain-conditions li:last-child {
    border-bottom: none;
}
.badge-explain-conditions li .condition-icon {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 10px;
}
.badge-explain-conditions li .condition-icon.met {
    background: #10B981;
    color: #fff;
}
.badge-explain-conditions li .condition-icon.unmet {
    background: #E5E7EB;
    color: #9CA3AF;
}
.badge-explain-progress-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}
.badge-explain-progress-wrapper .badge-progress {
    flex: 1;
    height: 6px;
}
.badge-explain-progress-wrapper span {
    font-size: 12px;
    font-weight: 600;
    color: #6B7280;
    white-space: nowrap;
}

/* Standalone badge section on explanation page */
.badge-standalone-section {
    background: #FFFBEB;
    border: 1px solid #FDE68A;
    border-radius: 12px;
    padding: 24px;
    margin-top: 32px;
}

@media (max-width: 768px) {
    .badges-page-grid {
        grid-template-columns: 1fr;
    }
    .badge-card {
        flex: 0 1 100%;
    }
}


