.header {
  padding: 24px;
}

.header .title {
  color: #151618;
  margin: 0;
  font-weight: 500;
  font-size: 24px;
}

button.add-new,
button.actions {
  color: #151618;
}

button.add-new span {
  font-size: 30px;
  font-weight: 400;
}

.tabs-header {
  border-bottom: solid 1px #dee2e6;
  padding: 0 24px;
  column-gap: 12px;
  margin: 0;
}

.tab-title {
  color: #868e96;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
}
.tab-title a{
  padding: 8px 8px 12px;
  text-decoration: none;
  color: #868e96;
}
.tab-title.active {
  color: #2d68f8;
  font-weight: 600;
  font-size: 16px;
  border-bottom: solid 2px #2d68f8;
}
.tab-title.active a{
  display: block;
  color: #2d68f8;
}
.tab-item {
  padding: 20px 24px;
}

.filter-container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 12px;
  row-gap: 12px;
}

.filter-container .search-container input,
.filter-container .date-container input,
.status-container
  .select-option-container
  .select2.select2-container--default
  .select2-selection--single {
  border-radius: 12px;
  border: solid 2px #dee2e6;
  min-width: 200px;
}

.tab-item .content.no-data {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 24px;
  padding: 48px 0px;
}

.tab-item .content.no-data p {
  margin: 0;
  font-weight: 600;
  color: #151618;
}

.tab-item .content.no-data img {
  width: 144px;
}

#order-information {
  overflow: auto;
}

.order-list {
  min-width: 1280px;
  overflow: auto;
}

.order-list .type-block {
  margin-top: 20px;
  margin-bottom: 20px;
}

.order-list .block-container {
  display: flex;
  column-gap: 24px;
}

.order-list .block {
  width: calc(calc(100% - 48px) / 4);
}

.order-list .type-block .block {
  background-color: #5e718d;
  color: #ffffff;
  padding: 16px 20px;
  border-radius: 8px;
  row-gap: 16px;
  column-gap: 16px;
  flex-wrap: wrap;
}

.order-list .type-block .block.in-progress {
  background-color: #2d68f8;
}
.order-list .type-block .block.confirm {
  background: #d8a800;
  color: #000;
}
.order-list .type-block .block.completed {
  background-color: #11a75c;
}

.order-list .type-items-container {
  display: flex;
}

.order-list .type-items {
  background-color: #e7e8ee;
  padding: 12px;
  border-radius: 8px;
}

.order-list .type-items .item {
  padding: 12px;
  background-color: #ffffff;
  border-radius: 4px;
}

.order-list .type-items .item:not(:first-child) {
  margin-top: 12px;
}

.item .item-tag {
  display: flex;
  align-items: center;
  padding: 4px 9px;
  background-color: #dee2e6;
  column-gap: 6px;
  border-radius: 6px;
  width: fit-content;
  color: #5e718d;
  font-weight: 600;
  font-size: 14px;
}

.item .item-tag.started {
  color: #011aff;
  background-color: #f2f7ff;
}

.item .item-tag.in-review,
.item .item-tag.request-for-revision {
  color: #d8a800;
  background-color: #fff9df;
}

.item .item-tag.completed {
  color: #11a75c;
  background-color: #e3f6ed;
}

.item .item-tag.delivered {
    color: #11a75c;
    background-color: #e3f6ed;
}

.item .item-tag.resolved {
  color: #373a40;
  background-color: #dee2e6;
}

.order-list .item-title {
  margin: 16px 0;
  display: flex;
  align-items: center;
}

.order-list .item-title img {
  aspect-ratio: 1 / 1;
  width: 28px;
}

.order-list .item-title span {
  margin-left: 8px;
  font-weight: 600;
  font-size: 18px;
  line-height: 24px;
  color: #333;
}

.order-list .item-overview .item-key {
  color: #868e96;
  font-size: 14px;
}

.order-list .item-overview .item-value {
  color: #373a40;
  font-size: 14px;
}

.order-list .item-overview .item-value.bold {
  font-weight: 600;
}

.item-users .avatar-container {
  height: 24px;
}

.item-users .avatar-container .avatar-default {
  font-size: 12px;
}

.item-interactive-container {
  padding-top: 16px;
  border-top: solid 1px #dee2e6;
  flex-wrap: wrap;
  row-gap: 16px;
  column-gap: 16px;
}

.item-interactive {
  display: flex;
  align-items: center;
  column-gap: 16px;
  row-gap: 16px;
  flex-wrap: wrap;
}

.item-interactive .interactive-index {
  display: flex;
  align-items: center;
  column-gap: 6px;
}

.item-interactive .interactive-index span {
  color: #868e96;
  font-weight: 500;
  font-size: 14px;
}

.item-interactive-container .item-users {
  display: flex;
}

.item-interactive-container .item-users > div {
  border: solid 1px #ffffff;
  border-radius: 50%;
}

.item-interactive-container .item-users > div.last-item:after {
  content: attr(data-i);
  color: #ffffff;
  position: absolute;
  width: 100%;
  height: 100%;
  background: #55555591;
  top: 0;
  left: 0;
  border-radius: 50%;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.item-interactive-container .item-users > div {
  transform: translateX(calc(-6px * var(--i)));
  z-index: calc(5 - var(--i));
}

.shared-table-container .pagination {
  display: flex;
  padding: 12px 16px;
  border-top: solid 1px #f3ebf7;
  align-items: center;
  justify-content: space-between;
}

.item-more-action {
  cursor: pointer;
  filter: opacity(0.7);
}

table tr:not(:first-child) {
  border-top: solid 1px #f3ebf7;
}

table td .designer-name {
  display: flex;
  align-items: center;
  column-gap: 8px;
}

table td .designer-name .avatar-container {
  height: 32px;
}

table td .designer-name .avatar-default {
  font-size: 16px;
}

table td.total-orders {
  color: #2d68f8;
}

.x-pagination-container {
  padding: 12px 16px;
  border-top: solid 1px #f3ebf7;
  flex-wrap: wrap;
  row-gap: 16px;
  column-gap: 16px;
}

.create-order-modal-container .shared-x-modal-container .shared-x-modal {
  max-width: 657px;
}

.line-through-title {
  position: relative;
  font-weight: 600;
  font-size: 18px;
  text-align: center;
  margin: 20px 0;
}

.line-through-title span {
  position: relative;
  background: white;
  padding: 0px 8px;
  z-index: 2;
}

.line-through-title::after,
.line-through-title::before {
  content: "";
  z-index: 1;
  position: absolute;
  width: 50%;
  top: 10px;
  transform: translateY(-50%);
  height: 1px;
}

.line-through-title::before {
  left: 0;
  background: linear-gradient(to right, #dee2e680, #7c7e80);
}

.line-through-title::after {
  right: 0;
  background: linear-gradient(to left, #dee2e680, #7c7e80);
}

.input-block {
  width: calc(50% - 6px);
}

.x-designer-name {
  color: #262626;
  font-weight: 500;
  font-size: 14px;
  white-space: break-spaces;
}

.x-designer-note {
  color: #ff4c4c;
  font-weight: 500;
  font-size: 14px;
  white-space: break-spaces;
}

.x-item.in-active {
  opacity: 0.5;
  cursor: not-allowed;
}

.content-modal {
  display: flex;
  flex-direction: column;
  row-gap: 16px;
}

.content-modal .question {
  font-weight: 500;
  font-size: 16px;
  margin: 0;
}

.assets-container {
  border-radius: 8px;
  background: linear-gradient(to right, #fbf7ff, #f4e9f5, #eeeffa);
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  row-gap: 16px;
}

.assets-container .line-through-title {
  margin-bottom: 0;
}

.assets-container .line-through-title span {
  background: linear-gradient(to right, #f5ebf7, #f3eaf6);
}

.create-order-modal-container .x-modal-content-container,
.select-service-modal-container .x-modal-content-container,
.select-designer-modal-container .x-modal-content-container {
  max-height: 66vh;
  overflow: auto;
  margin-right: -20px;
  padding-right: 20px;
}

.total-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #e1fae3;
  border-radius: 12px;
  padding: 16px;
}
.form-search {
  background: #ffffff;
  padding: 12px;
  border-radius: 12px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.item-form-search {
  flex: 0 0 20%;
  max-width: 222px;
}

.input-form-search {
  width: 100%;
  border-radius: 12px;
  border: 2px solid #dee2e6;
  height: 40px;
  font-weight: 400;
  font-size: 14px;
  line-height: 17.64px;
  padding: 0 16px;
}

.item-form-search label {
  display: block;
  width: 100%;
  margin-bottom: 0;
}

.input-search {
  background: url("../img/order/icon-search.svg") no-repeat right 16px center;
}
select {
  /* for Firefox */
  -moz-appearance: none;
  /* for Chrome */
  -webkit-appearance: none;
}

.select-form-search {
  background: url("../img/order/icon-drop.svg") no-repeat right 16px center;
}

.input-date {
  background: url("../img/order/icon-calendar.svg") no-repeat right 16px center;
}

.form-search {
  margin-bottom: 24px;
}

.order-item {
  background: #ffffff;
  border-radius: 12px;
  padding: 16px;
}

.total-container .total-title {
  margin: 0;
  font-weight: 500;
  color: #262626;
  font-size: 16px;
}

.total-container .total-qty {
  margin: 0;
  font-weight: 400;
  color: #868e96;
  font-size: 14px;
}

.total-container .total-money {
  margin: 0;
  font-weight: 600;
  color: #262626;
  font-size: 20px;
}

.assets-container .input-text-container input {
  border-color: #dee2e6;
}

.assets-container .input-text-container .input-text-desc {
  color: #5e718d;
}

.select-service-modal-container .shared-x-modal-container .shared-x-modal,
.select-designer-modal-container .shared-x-modal-container .shared-x-modal {
  max-width: 812px;
}

.select-service-modal-container .line-through-title {
  margin-top: 0;
}

.services-container {
  display: flex;
  flex-wrap: wrap;
  column-gap: 16px;
  row-gap: 16px;
}

.services-container .service-item-container {
  width: calc(calc(100% - 32px) / 3);
}

.select-designer-modal-container .search-designer-container input {
  border-radius: 32px;
  border-color: #ced4da;
}

.desingers-container {
  display: flex;
  flex-wrap: wrap;
  column-gap: 16px;
  row-gap: 16px;
}

.desiger-item-container {
  width: calc(calc(100% - 32px) / 3);
  cursor: pointer;
}

.duration-container .duration-title,
.orientation-title {
  margin: 0;
  color: #3d4a5c;
  font-size: 14px;
  font-weight: 500;
}

.duration-container .duration-time {
  margin: 0;
  color: #868e96;
  font-size: 14px;
}

.duration-container .duration-time span {
  color: #262626;
}

.orientation-list {
  display: flex;
  flex-wrap: wrap;
  column-gap: 15px;
  row-gap: 16px;
  margin-top: 4px;
}

.orientation-item {
  padding: 11px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  border-radius: 4px;
  border: solid 1px #adb5bd;
  width: fit-content;
  row-gap: 7px;
  cursor: pointer;
}

.orientation-item.active,
.orientation-item.active .orientation-status {
  border: solid 2px #009900;
}

.orientation-item.active .orientation-status::before {
  content: "";
  position: absolute;
  width: 10px;
  aspect-ratio: 1 / 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #009900;
  border-radius: 50%;
}

.orientation-status {
  width: 20px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: solid 1px #afbaca;
  position: relative;
}

.orientation-status-name {
  color: #373a40;
  font-size: 14px;
}

.block-title {
  margin: 0;
  font-weight: 500;
  color: #151618;
  font-size: 18px;
}

.block-title span {
  font-size: 14px;
  color: #868e96;
  font-weight: 400;
}

.custom-select-item-list {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  row-gap: 12px;
}

.custom-select-item {
  padding: 14px;
  border-radius: 8px;
  border: solid 1px #afbaca;
  display: flex;
  column-gap: 8px;
  align-items: flex-start;
  cursor: pointer;
}

.custom-select-item.active,
.custom-select-item.active .custom-select-item-status {
  border: solid 1px #009900;
}

.custom-select-item.active .custom-select-item-status::after {
  content: "";
  position: absolute;
  width: 10px;
  aspect-ratio: 1 / 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #009900;
  border-radius: 2px;
}

.custom-select-item-status {
  flex-shrink: 0;
  aspect-ratio: 1 / 1;
  width: 20px;
  border-radius: 4px;
  border: solid 2px #afbaca;
  position: relative;
}

.custom-select-item-content {
  width: 100%;
}

.custom-select-item-title {
  margin: 0;
  color: #373a40;
  font-size: 14px;
  font-weight: 500;
}

.custom-select-item-desc {
  color: #868e96;
  font-weight: 400;
  font-size: 12px;
}

.upload-own-music .input-text-container input {
  border: none;
  background: #dee2e6;
  color: #8897ae;
  cursor: pointer;
}

.design-direction {
  margin-top: 8px;
}

.output-container {
  display: flex;
  align-items: center;
  column-gap: 12px;
  overflow-x: auto;
}

.have-multi-frame-rates.custom-select-item,
.have-high-frame-rates.custom-select-item {
  border: none;
  padding: 0;
  margin-top: 15px;
}

.have-multi-frame-rates.custom-select-item .custom-select-item-title,
.have-high-frame-rates.custom-select-item .custom-select-item-title {
  font-weight: 400;
}

#purchase_order .shared-table-container table {
  min-width: initial;
  width: 98%;
}

#purchase_order .shared-table-container .service-name,
#purchase_order .shared-table-container .designer {
  display: flex;
  align-items: center;
  column-gap: 8px;
}

#purchase_order .shared-table-container .designer .avatar-container {
  height: 32px;
}

#purchase_order .shared-table-container .designer .avatar-default {
  font-size: 14px;
}

#purchase_order .x-modal-content-container {
  display: flex;
  flex-direction: column;
  row-gap: 20px;
}

#purchase_order .promotion-code-container {
  display: flex;
  align-items: flex-end;
  column-gap: 8px;
  row-gap: 8px;
}

#purchase_order .promotion-code-container .input-text-container {
  width: 100%;
}

#purchase_order #promotion_code {
  margin: 0;
  width: 100%;
}

.promotion-code-container .apply-btn {
  height: 44px;
  flex-shrink: 0;
}

.order-summary-container {
  background-color: #f5f5f5;
  border-radius: 8px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  row-gap: 8px;
  margin-bottom: 20px;
}

.order-summary-title {
  font-weight: 600;
  color: #151618;
  font-size: 14px;
  margin: 0;
}

.order-summary-line-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.order-summary-item-title {
  color: #868e96;
  font-size: 14px;
}

.order-summary-item-value {
  color: #151618;
  font-size: 14px;
}

.order-summary-item-value.bold {
  font-weight: 600;
}

.order-summary-divider {
  background-color: #dee2e6;
  height: 1px;
}
.rating_order svg {
  stroke-width: 0px !important;
}
.order-title {
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0;
}
.order-id {
  font-weight: 400;
  font-size: 14px;
  line-height: 17.64px;
}

.order-id span {
  font-weight: 600;
  color: #373a40;
}

.order-main-info {
  margin-bottom: 16px;
}

.order-time {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
}

.order-end-time {
  text-align: right;
}

.order-date {
  font-weight: 600;
  font-size: 14px;
  line-height: 17.64px;
  color: #ff4f1a;
  margin-bottom: 4px;
}

.order-time-desc {
  font-weight: 400;
  font-size: 12px;
  line-height: 15.12px;
  color: #868e96;
}

.order-line {
  display: block;
  border-bottom: 1px dashed #adb5bd;
  position: relative;
  margin-bottom: 16px;
}

.order-line:before {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  position: absolute;
  background: #adb5bd;
  left: 0;
  top: -6px;
}

.order-line:after {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  position: absolute;
  background: #adb5bd;
  right: 0;
  top: -6px;
}

.order-type {
  /*gap: 8px;*/
  border-radius: 16px;
  padding: 6px;
  background: #f8f9fd;

  font-weight: 600;
  font-size: 14px;
  line-height: 24px;
  letter-spacing: 0;
  color: #151618;

  display: flex;
  gap: 8px;
  align-items: center;

  margin-bottom: 12px;
}

.order-type-icon {
  background-color: #ffffff;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background-position: center;
  background-repeat: no-repeat;
  display: block;
}

.order-type-icon.icon-type-day-to-dusk {
  background-image: url("../img/order/icon-type-day-to-dusk.svg");
}

.order-type-icon.icon-type-single-exposure {
  background-image: url("../img/order/icon-type-single-exposure.svg");
}

.order-type-icon.icon-type-rain-to-shine {
  background-image: url("../img/order/icon-type-rain-to-shine.svg");
}

.order-type-icon.icon-type-property-video {
  background-image: url("../img/order/icon-type-property-video.svg");
}

.order-customer {
  display: flex;
  gap: 8px;
  align-items: center;

  font-weight: 600;
  font-size: 14px;
  line-height: 24px;
  letter-spacing: 0;
  color: #151618;

  margin-bottom: 12px;
}

.order-customer-avatar {
  width: 32px;
  height: 32px;
}

.order-attribute {
  font-weight: 500;
  font-size: 14px;
  line-height: 24px;
  letter-spacing: 0;
}

.order-attribute li {
  display: inline-block;
  position: relative;
  padding-right: 16px;
  padding-left: 10px;
}

.order-attribute li:first-child {
  padding-left: 0;
}

.order-attribute li:after {
  position: absolute;
  content: "";
  border-left: 1px solid #dee2e6;
  height: 18px;
  right: 0;
  top: 4px;
}

.order-attribute li:last-child:after {
  display: none;
}

.order-item-status {
  padding: 8px 12px 8px 36px;
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0;
  background-repeat: no-repeat;
  background-position: center left 10px;
  border-radius: 8px;
  display: inline-block;
}
.order-status {
  margin-bottom: 12px;
}

.order-status-wait-for-acceptance {
  background-image: url("../img/order/order-status-wait-for-acceptance.svg");
  background-color: #dee2e6;
  color: #5e718d;
}

.order-status-started {
  background-image: url("../img/order/order-status-started.svg");
  color: #011aff;
  background-color: #f2f7ff;
}

.order-status-complained {
  background-image: url("../img/order/order-status-complained.svg");
  color: #ef1617;
  background-color: #f6e3e3;
}

.order-status-in-review {
  background-image: url("../img/order/order-status-in-review.svg");
  color: #d8a800;
  background-color: #fff9df;
}

.order-status-expired {
  background-image: url("../img/order/order-status-expired.svg");
  color: #ef1617;
  background-color: #f6e3e3;
}

.order-status-completed {
  background-image: url("../img/order/order-status-in-completed.svg");
  color: #11a75c;
  background-color: #e3f6ed;
}

.order-status-delivered {
  background-image: url("../img/order/order-status-in-completed.svg");
  color: #11a75c;
  background-color: #e3f6ed;
}

.order-status-in-progress {
  background-image: url("../img/order/order-status-in-resolved.svg");
  color: #373a40;
  background-color: #dee2e6;
}

.order-status-pending-vendor-confirm {
  background-image: url("../img/order/order-status-in-resolved.svg");
  color: #373a40;
  background-color: #dee2e6;
}

.order-status-resolved {
    background-image: url("../img/order/order-status-in-resolved.svg");
    color: #373a40;
    background-color: #dee2e6;
}

.order-status-in-expired {
  background-image: url("../img/order/order-status-in-expired.svg");
  color: #ef1617;
  background-color: #f6e3e3;
}

.order-status-request-revision {
  background-image: url("../img/order/order-status-request-for-revision.svg");
  color: #d8a800;
  background-color: #fff9df;
}

.order-status-dispute {
  background-image: url("../img/order/order-status-request-for-revision.svg");
  color: #d8a800;
  background-color: #fff9df;
}

.order-status-awaiting-revision {
  background-image: url("../img/order/order-status-request-for-revision.svg");
  color: #d8a800;
  background-color: #fff9df;
}

.row-order {
  margin-left: 10px;
  margin-right: 10px;
}

.col-order {
  padding-left: 10px;
  padding-right: 10px;
  margin-bottom: 20px;
}

.text-order-detail-title {
  font-weight: 600;
  font-size: 20px;
  line-height: 30px;
  letter-spacing: 0;
  color: #151618;
  position: relative;
}

.text-order-detail-title:after {
  content: "";
  width: 28px;
  height: 28px;
  /*background-size: 100%;*/
  /*background: url("../img/order/icon-title-order-detail.svg") no-repeat center;*/
  /*position: absolute;*/
  left: 0;
}

.order-detail-title {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 12px;
}

.order-detail-info {
  display: flex;
  gap: 8px;
}

.order-list-info ul li {
  display: inline-block;
  margin-right: 24px;
}

.order-label-info {
  font-weight: 400;
  font-size: 14px;
  line-height: 25px;
  letter-spacing: 0;
}

.order-value-info {
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: 0;
  color: #151618;
}

.order-detail-avatar img {
  min-width: 48px;
  min-height: 48px;
}

.order-date-info {
  color: #e01f00;
}

.order-list-info {
  margin-bottom: 32px;
}

.vertical-line {
  width: 2px;
  height: 30px;
  background-color: #dee2e6;
}

.btn-open-folder {
  padding: 10px 16px;
  border: 2px solid #dee2e6;
  border-radius: 8px;
  float: inline-end;
  margin-bottom: 12px;
  display: flex;
  justify-content: center;
  align-item: center;
  gap: 8px;
  background-color: white;
}

.service-order {
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  border: 4px solid #fcfcfc;
  padding: 8px 24px;
  border-radius: 12px;
}

.service-order.active {
  border: 4px solid #2d68f81a;
  color: #2d68f8;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.service-order.active span {
  width: 24px;
  height: 24px;
  background: linear-gradient(180deg, #ec6459 0%, #e44639 100%);
  border-radius: 6px;
  color: #fcfcfc;
  display: flex;
  justify-content: center;
  align-items: center;
}

#tabs_service {
  min-height: calc(100vh - 318px);
}

#mobile-taskMng #tabs_service {
  min-height: 100%;
}

.main-content {
  background: #faf9fd;
  min-height: 85vh;
}

.input-not-border {
  outline: none;
  border: none;
  background: transparent;
  caret-color: #2d68f8;
}
.btn-send {
  padding: 8px 12px;
  border: none;
  border-radius: 40px;
}
.example-img-public {
  width: 270px;
  height: 270px;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 12px;
}

.img-arrow {
  height: 24px;
  width: 24px;
}

.img-arrow-location {
  position: fixed;
  top: 50%;
  right: 20px;
}

.order-detail-wrapper {
  position: relative;
}

.navbar {
  position: fixed;
  top: 0;
  height: 100%;
  background: #f3f2f5;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: left 0.3s ease;
  padding-top: 50px;
  right: 0;
  max-width: 400px;
  width: 100%;
  z-index: 5;
  display: none;
}

.navbar.active {
  display: block;
}

.modal {
  display: none;
  position: fixed;
  z-index: 4;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal.active {
  display: block;
}

.thread {
  max-height: 850px;
}

.thread::-webkit-scrollbar {
  width: 3px;
}

.open-navbar {
  display: none;
}

#tabs_service {
  position: relative;
}

.img-arrow-right-location {
  position: absolute;
  top: 50%;
  left: -10px;
}

.overflow-auto {
  overflow: auto;
}

.checkbox-container input[type="checkbox"] {
  display: none;
}

.h-tabs {
  /*max-height: 640px;*/
  overflow: auto;
  min-height: 640px;
}

.checkbox-container .checkbox-icon {
  width: 20px;
  height: 20px;
  border: 2px solid #afbaca;
  border-radius: 4px;
  display: inline-block;
  /* background-image: url("{{ URL::asset("assets/frontend/img/order/avatar-detail.svg") }}"); */
  background-size: cover;
  cursor: pointer;
  transition: background-image 0.3s ease, border-color 0.3s ease;
}

.checkbox-container input[type="checkbox"]:checked + .checkbox-icon {
  /* TODO: không nên sử dụng đường dẫn trực tiếp, do chưa tìm được cách sử dụng URL hay FuncLib ở file css nên dùng tạm */
  background-image: url("../../../../../../../assets/frontend/img/icon/check.svg");
  background-color: #000;
  border-color: #000;
}

.dropdown-content {
  position: absolute;
  top: 45px;
  left: -34px;
  background: #ffffff;
  border-radius: 8px;
  width: 245px;
  box-shadow: 0px 0px 16px 4px #0000000a;
  display: flex;
  flex-direction: column;
  justify-content: start;
  z-index: 1;
}

.dropdown-content-right {
  position: absolute;
  top: 45px;
  right: 0;
  background: #ffffff;
  border-radius: 8px;
  width: 245px;
  box-shadow: 0px 0px 16px 4px #0000000a;
  display: flex;
  flex-direction: column;
  z-index: 1;
  justify-content: start;
}

.dropdown-content::before {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid #ffffff;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.dropdown-content-right::before {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid #ffffff;
  top: -10px;
  right: 5%;
  transform: translateX(-50%);
}

.generate-code {
  margin-bottom: 4px;
  border: 1.5px solid #ffffff99;
  width: 160px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  height: 44px;
  font-size: 14px;
  background: #141718;
  color: #ffffff;
  cursor: pointer;
}

@media (max-width: 1600px) {
  .task-manager {
    display: none;
  }
  .thread {
    max-height: 90vh;
  }
  .open-navbar {
    display: block;
  }
  .h-tabs {
    height: auto;
    max-height: 89vh;
    overflow-y: auto;
  }
  .required-width-500 {
    width: 515px;
  }
}

.add-promo {
  padding: 12px 20px;
  border: 1.5px solid #ffffff8f;
  box-sizing: border-box;
  border-radius: 8px;
  float: right;
}

.add-promo-success {
  background: #4af73e;
  border: 2px solid #ffffff8f;
}

.add-promo-cancel {
  border: 2px solid #dee2e6;
  background: #ffffff;
}

.fund-balance-modal-container .shared-modal,
.create-order-modal-container .shared-modal {
  border-radius: 12px;
  overflow: hidden;
}

.fund-balance-modal-container .shared-modal .shared-modal-body,
.create-order-modal-container .shared-modal .shared-modal-body {
  padding-bottom: 40px;
  overflow: hidden;
}

#request_for_revisions_form .trumbowyg-box {
  border: none;
  box-shadow: 0px 4px 10px 0px #0000001a;
  border-radius: 8px;
}

#request_for_revisions_form .trumbowyg-button-pane {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  border: none;
}
#readonly_content_order_detail {
  padding: 10px 12px;
  border: 1px solid #dee2e6;
  max-height: 100px;
  border-radius: 6px;
}

.ratting-bg {
  top: 5px;
  left: 1px;
  right: 1px;
  border-radius: 6px 6px 0 0;
  height: 40px;
  display: flex;
  align-items: center;
  padding-left: 10px;
}

.pt-45 {
  padding-top: 45px !important;
}

.scroll-width::-webkit-scrollbar {
  width: 2px;
  height: 2px;
}

.scroll-width {
  scrollbar-width: thin;
  scrollbar-color: #888 #f1f1f1;
  width: 250px;
}

.scroll-width {
  -ms-overflow-style: -ms-autohiding-scrollbar;
}

.btn-disabled {
  background: #ced4da;
}

.vertical-line-comment {
  position: relative;
}

.btn-submit-group-checkbox {
  padding: 12px 10px;
  background: #000;
  color: #fff;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  line-height: 17.64px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: none;
}

.btn-submit-group-checkbox.active {
  display: block;
}

.form-checkbox-container {
  height: 90vh;
}

.vertical-line-comment .avatar-container::before {
  content: "";
  display: block;
  height: 100px;
  width: 2px;
  background: #dee2e6;
  position: absolute;
  z-index: -999;
    top: -25%;
    left: 50%;
    transform: translate(-50%,-50%);
}

.parent-comemnt-line {
  width: 2px;
  height: 100%;
  background: #dee2e6;
  position: absolute;
  left: 24px;
}

.expired-order-alert {
  display: flex;
  align-items: center;
  background-color: #ffefef;
  border-radius: 16px;
  padding: 16px 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  border-bottom: 4px solid #ee3939;
}

.alert-icon {
  margin-right: 12px;
  flex-shrink: 0;
}

.alert-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.alert-content p {
  color: #e74c3c;
  font-weight: 500;
  font-size: 16px;
  margin: 0;
}

.alert-content a {
  color: #151618;
  display: flex;
  align-items: center;
  gap: 4px;
}

.handle-link {
  color: #333;
  font-weight: 500;
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}

.handle-link:hover {
  color: #e74c3c;
}

.alert-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: 16px;
  opacity: 0.7;
  transition: opacity 0.2s;
  flex-shrink: 0;
}

.alert-close:hover {
  opacity: 1;
}

.x-item-line-price {
  margin: 2px 0;
  width: 150px;
}
.x-item-line-price label {
  display: inline-block;
  font-weight: normal;
  font-size: 14px;
}
.x-item-line-price span {
  display: inline-block;
  float: right;
  font-weight: normal;
  font-size: 14px;
}
.x-item-line-price b {
  display: inline-block;
  float: right;
  font-size: 14px;
}
.relative {
  position: relative;
}

.d-tooltip {
  position: relative;
  display: inline-block;
}

.d-tooltip .d-tooltiptext {
  visibility: hidden;
  max-width: 170px;
  background: #fff;
  color: #000;
  border-radius: 6px;
  padding: 5px 8px;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -60px;
  opacity: 0;
  transition: opacity 0.3s;
  border: 1px solid #ddd;
}

.d-tooltip .d-tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 35%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #ddd transparent transparent transparent;
}

.d-tooltip:hover .d-tooltiptext {
  visibility: visible;
  opacity: 1;
}
.desc-promo {
  color: #090;
  position: relative;
  margin-top: -18px;
  font-size: 14px;
}
.desc-promo-error {
  color: #ee3939;
}
.desc-fund-my-balance {
  color: #ee3939;
  position: relative;
  font-size: 14px;
}
.groupOrderDrafs {
  padding: 0 25px;
  display: inline-block;
  width: 100%;
}
.projectName {
  color: #151618;
  margin: 0;
  font-weight: 500;
  font-size: 18px;
}
.countOrderDraftsProj {
  color: #868e96;
  font-size: 15px;
}
.boxOrderDraftafs {
  display: inline-block;
  width: 100%;
}
.lineOneOrderDrafts {
  background: #e8ebee;
  display: inline-block;
  width: 100%;
  padding: 12px;
  border-radius: 5px;
  margin: 10px 0;
}
.lineOneOrderDrafts .thumbSkill {
  width: 30px;
  height: 30px;
  overflow: hidden;
  border-radius: 100%;
  display: inline-block;
  float: left;
  margin-top: 10px;
}
.lineOneOrderDrafts .info {
  margin-top: 5px;
  position: relative;
  left: 5px;
}
.lineOneOrderDrafts .title {
  font-weight: bold;
  color: #151618;
  font-size: 15px;
}
.lineOneOrderDrafts .quantity {
  color: #868e96;
  font-size: 15px;
}
.lineOneOrderDrafts .vendor-name {
  display: inline-block;
  width: 100%;
  background: #fff;
  border: 1px solid #afbaca;
  border-radius: 5px;
  padding: 5px;
}
.lineOneOrderDrafts .vendor-name .avatar-container {
  height: 30px;
  display: inline-block;
  float: left;
  margin-right: 10px;
}
.lineOneOrderDrafts .vendor-name span {
  color: #000;
  position: relative;
  top: 4px;
}
.lineOneOrderDrafts .dueTime {
  display: inline-block;
  width: 100%;
  margin-top: 12px;
  color: #868e96;
}
.lineOneOrderDrafts .dueTime span {
  color: #000;
}
.lineOneOrderDrafts .cost {
  color: #000;
  display: inline-block;
  width: 100%;
  margin-top: 12px;
  font-weight: bold;
  text-align: right;
}

.lineOneOrderDrafts .delete {
    color: red;
    display: inline-block;
    width: 100%;
    margin-top: 12px;
    text-align: right;
}

.dark-btn-checkout {
  color: #ffffff;
  padding: 8px 12px;
  font-size: 13px;
  border: none;
  background: #151618;
  border-radius: 5px;
  float: right;
  position: relative;
  top: 5px;
  font-weight: bold;
}
.dark-btn-checkout:hover {
  background: #454648;
}
.w-100 {
  width: 100%;
}
#selected-designer,
#select-service {
  border: solid 1px #afbaca;
  padding: 10px;
  border-radius: 5px;
  background: #fafafa;
}
.x-input-number-container .x-input-value-ext {
  font-size: 15px;
  min-width: 10px;
  text-align: center;
  max-width: 55px;
  border: none;
  background: none;
}
.showListProject .select2.select2-container {
  width: 100% !important;
}
.showListProject
  .select2.select2-container--default
  .select2-selection--single {
  color: #373a40;
  font-weight: 400;
  font-size: 14px;
  margin: 0 0 4px;
  outline: none;
  border: solid 1px #afbaca;
  border-radius: 6px;
  height: 44px;
}
.showListProject
  .select2.select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  line-height: 44px;
  padding: 0 42px 0 11px;
}
.showListProject
  .select2.select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  background: url("../img/icon/arrow_down.svg") no-repeat 0 0;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  top: 50%;
  transform: translateY(-50%);
  right: 12px;
  width: 22px;
  height: 22px;
}
.showListProject .select2-selection__arrow b {
  display: none;
}
.image-add-ons-container {
  margin-bottom: 15px;
}
.orientaion-container {
  display: inline-block;
  width: 100%;
  margin-top: 15px;
}
.aspect-ratio .select2.select2-container {
  max-width: 200px !important;
}
.content.no-data {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 24px;
  padding: 48px 0px;
}
.input-text-container select {
  padding: 11px 44px 11px 14px;
  border-radius: 12px;
  border: solid 2px #dee2e6;
  min-width: 200px;
  color: #373a40;
  font-weight: 400;
  font-size: 14px;
  height: auto;
}
.new-custom-order {
  height: calc(100vh - 444px);
  overflow: auto;
}
@media all and (max-width: 1599px) {
  .new-custom-order {
    height: calc(100vh - 148px);
  }
}
@media (max-width: 1100px) {
  .header {
    flex-wrap: wrap;
  }

  .header .title {
    width: 100%;
    margin-bottom: 8px;
  }

  .order-list-info {
    flex-direction: column;
    margin-bottom: 16px;
    gap: 8px;
  }

  .filter-container .search-container {
    width: 100%;
  }

  .filter-container .search-status,
  .filter-container .date-container {
    width: calc(50% - 6px);
  }

  .filter-container .search-status select,
  .filter-container .date-container .dateRange {
    min-width: initial;
  }
}

@media (max-width: 576px) {
  .alert-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .handle-link {
    margin-top: 8px;
  }
}

@media (max-width: 500px) {
  .order-detail-title {
    flex-direction: column;
  }
  .order-detail-info {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  .service-order {
    font-size: 15px;
  }
}
