/* a {
  color: inherit;
} */

.btn-primary,
.btn-primary.disabled,
.btn-primary:disabled {
  background-color: var(--globalColor);
  border-color: var(--globalColor);
}

.daterangepicker .drp-calendar td.active {
  background-color: var(--globalColor);
}

.reports-summary .summary_head {
  padding: 0 0px;
  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;
  gap: 20px;
  border-radius: 0.25rem;
}

.reports-summary .summary_head #filterForm {
  display: flex;
  align-items: center;
  gap: 10px;
}

.summary_conntry {
  position: relative;
}

.summary_conntry select {
  background: #fff;
  cursor: pointer;
  height: 53px;
  border-color: #fff;
  min-width: 200px;
}

.summary_conntry .arrowIcon {
  position: absolute;
  top: 56%;
  left: 13px;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  color: #000
}

.reports-summary .summary_head .print-icon {
  white-space: nowrap;
}

.reports-summary .dateRange-input {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.reports-summary .dateRange-input .icon {
  width: 40px;
  height: 100%;
  background-color: var(--globalColor);
  padding: 0 10px;
  color: #fff;
  height: 53px;
  text-align: center;
  line-height: 49px;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

/* .reports-summary .dateRange-input .icon >i {
    margin-left: 5px;
  } */
.reports-summary .dateRange-input .input {
  min-width: 200px;
  padding: 0;
  width: auto;
  border: 0;
}

.reports-summary .dateRange-input .input input {
  height: 39px;
  border-radius: 5px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-right: 0;
}

.reports-summary .dateRange-input #summaryDateRange,
.reports-summary .dateRange-input #summaryDateRangeSubscription {
  position: relative;
  background: #F5F7F9;
  cursor: pointer;
  padding: 10px 15px 10px 40px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  /* white-space: nowrap; */
  height: 53px;
  max-height: 53px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  flex-wrap: nowrap;

}

@media (min-width: 991px) and (max-width: 1100px) {

  .reports-summary .dateRange-input #summaryDateRange,
  .reports-summary .dateRange-input #summaryDateRangeSubscription {
    font-size: 12px;
  }
}


.reports-summary .dateRange-input #summaryDateRange .arrowIcon,
.reports-summary .dateRange-input #summaryDateRangeSubscription .arrowIcon {
  position: absolute;
  top: 50%;
  left: 14px;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  color: #000;
  font-size: 10px;
}

.reports-summary .dateRange-input #summaryDateRange .filterd,
.reports-summary .dateRange-input #summaryDateRangeSubscription .filterd {
  display: inline-block;
  font-size: 11px;
  margin-right: 2px;
}

.reports-summary .dateRange-input button {
  margin-right: 15px;
}

.reports-summary .card-box {
  margin-top: 20px;
  margin-bottom: 0;
  height: 97%;
}

.reports-summary .card-box .header-title {
  font-size: 15px;
  color: #444;
}


@media (max-width: 567px) {
  .reports-summary .card-box {
    padding: 15px;
  }

  .reports-summary .table-with-scroll .table_card {
    padding: 0 !important;
  }

  .reports-summary .summary_head #filterForm {
    flex: 1;
  }

  .reports-summary .dateRange-input .input,
  .reports-summary .dateRange-input {
    width: 100%;
  }
  .reports-summary .dateRange-input #summaryDateRange,
  .reports-summary .dateRange-input #summaryDateRangeSubscription {
    padding: 15px 15px 15px 25px;
    /* width: calc(100% - 7px); */
    width: 100%;
  }

  .reports-summary .dateRange-input #summaryDateRange span,
  .reports-summary .dateRange-input #summaryDateRangeSubscription span {
    font-size: 12px;
  }


  .reports-summary .dateRange-input #summaryDateRange .filterd,
  .reports-summary .dateRange-input #summaryDateRangeSubscription .filterd {
    font-size: 9px;
  }


}

/* .kt-portlet {
  margin-bottom: 14px;
} */

.card,
.card-box {
  margin-bottom: 13.500px;
  border: 1px solid #f0f2f5;
  box-shadow: 0 1px 2px 0 hsl(0deg 0% 93% / 50%);
  border-radius: 15px;
  /* padding-bottom: 10px; */
}

.totals_summary {
  padding: 20px;
}

.reports-summary .table-with-scroll {
  max-height: 305px;
  overflow-y: scroll;
  -webkit-transition: 300ms ease-in-out;
  transition: 300ms ease-in-out;
}

.reports-summary .tables_rows .table_card {
  min-height: auto;
  padding: 15px;
}

.empty-card {
  color: #eb6460;
  border: none;
  box-shadow: none;
}

.empty-card .icon {
  font-size: 22px;
}

.empty-card p {
  margin-top: 5px;
  margin-bottom: 0;
}

.reports-summary .table-with-scroll::-webkit-scrollbar-track {
  background-color: #fff;
  height: 1px;
  opacity: 0;
}

.reports-summary .table-with-scroll::-webkit-scrollbar {
  width: 5px;
  height: 1px;
  background-color: #F5F5F5;
  opacity: 0;
}

.reports-summary .table-with-scroll::-webkit-scrollbar-thumb {
  background-color: #c1c1c1;
  border-radius: 4px;
  opacity: 0;
}

.reports-summary .mostProducts .table_card .table-card-item:first-child,
.reports-summary .mostProducts .table_card_head .table-card-item:first-child {
  width: 33.33%;
}

.reports-summary .mostProducts .table_card .table-card-item:first-child .table-item-content,
.reports-summary .mostProducts .table_card_head .table-card-item:first-child .table-item-content {
  text-align: right;
}

.reports-summary .mostProducts .table_card .table-card-item:first-child .table-item-content img,
.reports-summary .mostProducts .table_card_head .table-card-item:first-child .table-item-content img {
  margin-left: 10px;
}

.reports-summary .mostProducts .table_card .table-card-item:last-child,
.reports-summary .mostProducts .table_card_head .table-card-item:last-child {
  width: 33.33% !important;
}


.reports-summary .twoRows .table_card .table-card-item:first-child,
.reports-summary .twoRows .table_card_head .table-card-item:first-child {
  width: 80%;
}

.reports-summary .twoRows .table_card .table-card-item:first-child .table-item-content,
.reports-summary .twoRows .table_card_head .table-card-item:first-child .table-item-title {
  text-align: right;
}

.reports-summary .twoRows .table_card .table-card-item:last-child,
.reports-summary .twoRows .table_card_head .table-card-item:last-child {
  width: 20% !important;
}


.reports-summary .orderAverage {
  text-align: center;
  font-size: 35px;
  min-height: 305px;
  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: #343a40;
  /* color: #000080; */
}

.reports-summary .ratesAverage {
  text-align: center;
  font-size: 33px;
  min-height: 305px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-flow: column;
  flex-flow: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.reports-summary .ratesAverage .min {
  font-size: 13px;
}

.reports-summary .ratesAverage .stars {
  display: block;
  font-size: 14px;
  vertical-align: middle;
  margin-top: 10px;
  direction: ltr;
  line-height: 0;
}

.reports-summary .ratesAverage .stars i {
  font-size: 18px;
  color: #f0f2f5;
}

.reports-summary .ratesAverage .stars i.active {
  color: orange;
}

.reports-summary .ratesAverage p:first-child {
  color: #343a40;

}

.reports-summary .ratesAverage .ratesTotal {
  font-weight: 400;
  font-size: 16px;
}

.reports-summary .icon.payment {
  position: relative;
  display: inline-block;
  font-size: 14px;
  margin-left: 8px;
  background: #F5F7F9;
  width: 30px;
  height: 30px;
  border-radius: 0.15rem;
  vertical-align: middle;
  text-align: center;
  line-height: 25px;
}

.reports-summary .icon.payment i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.reports-summary .mini-icon {
  display: inline-block;
  font-size: 16px;
  margin-left: 8px;
  background: #F5F7F9;
  width: 30px;
  height: 30px;
  border-radius: 0.30rem;
  vertical-align: middle;
  text-align: center;
  line-height: 24px;
}

.reports-summary .mini-icon.instagram {
  background-color: rgba(204, 35, 102, 0.1);
  color: #cc2366;
}

.reports-summary .mini-icon.snapchat {
  background-color: rgba(242, 243, 245, 0.6);
  color: #f2d451;
}

.reports-summary .mini-icon.youtube {
  background-color: rgba(255, 0, 0, 0.1);
  color: #FF0000;
}

.reports-summary .mini-icon.google {
  background-color: rgba(251, 189, 0, 0.1);
  color: #fff;
}

.reports-summary .tables_rows.visits .table_card .table-card-item,
.reports-summary .tables_rows.visits .table_card_head .table-card-item {
  width: 33%;
}

.reports-summary .tables_rows.visits .table_card .table-card-item:first-child {
  text-align: right;
}

.reports-summary .tables_rows.third-col .table_card .table-card-item,
.reports-summary .tables_rows.third-col .table_card_head .table-card-item {
  width: calc(100% / 3);
}

.reports-summary .tables_rows.third-col .table_card .table-card-item:first-child {
  text-align: right;
}

.reports-summary .paymentWays .table_card .table-card-item:nth-child(1),
.reports-summary .paymentWays .table_card_head .table-card-item:nth-child(1) {
  width: 40%;
  text-align: right;
  white-space: nowrap;
}

.reports-summary .payWays .table_card .table-card-item:nth-child(1),
.reports-summary .payWays .table_card_head .table-card-item:nth-child(1) {
  text-align: right;
}

.reports-summary .payWays .table_card .table-card-item:nth-child(1) img:last-child,
.reports-summary .payWays .table_card_head .table-card-item:nth-child(1) img:last-child {
  margin-left: 8px;
}

.reports-summary .shippingFees .table_card .table-card-item:nth-child(1),
.reports-summary .shippingFees .table_card_head .table-card-item:nth-child(1) {
  text-align: right;
}

.reports-summary .shippingFees .table-card-item:nth-child(2) .table-item-content {
  text-align: left;
}

.reports-summary .tables_rows.fifty_table .table_card {
  padding: 15px;
}

.reports-summary .tables_rows.fifty_table .table_card .table-card-item:nth-child(2) .table-item-content {
  text-align: left;
}

.reports-summary .tables_rows.fifty_table .table_card.totalTR .table-item-content {
  font-size: 16px;
}

@media(min-width: 567px) {
  .shipperImg {
    margin-right: 7px;
  }
}


.daterangepicker td.active,
.daterangepicker td.active:hover,
.daterangepicker .ranges li.active {
  background-color: var(--globalColor) !important;

}

.daterangepicker.show-calendar .ranges {
  margin-top: 0;
  border-left: 1px solid #eeeeee;
}

.daterangepicker .ranges li {
  padding: 10px 12px;
  color: #000;
  font-family: "Ping AR + LT", sans-serif;
}

.daterangepicker .drp-calendar th.month {
  color: #000;
}

.daterangepicker .calendar-table th,
.daterangepicker .calendar-table td,
.daterangepicker .drp-buttons .btn {
  font-family: "Ping AR + LT", sans-serif;
}

.daterangepicker .calendar-table th,
.daterangepicker .calendar-table td {
  color: #000;
}

.daterangepicker .drp-buttons .btn.applyBtn {
  color: #fff;
}

/* مدة محددة: نص التاريخ يبقى يمين والأزرار (تطبيق/إعادة تعيين) تنزاح لأقصى اليسار.
   !important لأن daterangepicker.css يُحمَّل مرتين وتأتي نسخته الثانية بعد هذا الملف
   فتفرض display:block بنفس الـ specificity وتلغي التخطيط. */
.daterangepicker.show-calendar .drp-buttons {
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-flow: row;
  flex-flow: row;
  gap: 8px;
}

.daterangepicker.show-calendar .drp-buttons .drp-selected {
  margin-inline-end: auto !important;
}

.daterangepicker .calendar-table table {
  direction: rtl;
}

.daterangepicker .calendar-table .prev span {
  transform: rotate(225deg);
  -webkit-transform: rotate(225deg);
}

.daterangepicker .calendar-table .next span {
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}

.daterangepicker td.in-range {
  /* background: #7477ce;
    color: #fff; */
  background-color: #f1f2f4 !important;
  color: #4a4ca4;
}

.daterangepicker td.active,
.daterangepicker td.off.end-date,
td.off.start-date {
  color: #fff !important;
}

.daterangepicker td.start-date {
  border-radius: 0px 4px 4px 0px;
}

.daterangepicker td.end-date {
  border-radius: 4px 0px 0px 4px;
  background-color: var(--globalColor) !important;
}

/* .daterangepicker .drp-calendar td.today */

.daterangepicker .drp-calendar td.today.active {
  background-color: var(--globalColor) !important;

}

@media (min-width: 730px) {
  .daterangepicker .ranges {
    float: right;
    text-align: right;
  }
}

@media (max-width: 567px) {
  .daterangepicker .ranges ul {
    text-align: right;
  }

  .reports-summary .orderAverage,
  .reports-summary .ratesAverage {
    min-height: 200px !important;
  }

  .reports-summary .mini-icon {
    display: block;
    margin-bottom: 5px;
    margin-right: auto;
    margin-left: auto;
  }

  .reports-summary .icon.payment {
    display: block;
    margin-bottom: 5px;
    margin-right: auto;
    margin-left: auto;
  }
}


.daterangepicker .drp-calendar th.next span, .daterangepicker .drp-calendar th.prev span {
  border-color: #000;
}

.daterangepicker .drp-buttons .cancelBtn {
  position: relative;
  display: inline-block;
  text-align: center;
  background: #ffffff;
  border: 1px solid #dee2e6;
  color: #000;
  border-radius: 10px;
  height: 44px;
  padding: 6px 10px !important;
  line-height: 20px;
  outline: none !important;
  box-shadow: none !important;
  /* display: flex;
    flex-flow: row-reverse; */
  direction: rtl !important;
  letter-spacing: 0px;
  font-weight: 400;
}

.daterangepicker .drp-buttons .applyBtn {
  position: relative;
  display: inline-block;
  text-align: center;
  width: 100px;
  border-radius: 10px;
  height: 44px;
  padding: 6px 10px !important;
  line-height: 20px;
  outline: none !important;
  box-shadow: none !important;
  /* display: flex;
    flex-flow: row-reverse; */
  direction: rtl !important;
  letter-spacing: 0px;
  font-weight: 400;
}

.daterangepicker .drp-buttons .cancelBtn::before {
  content: "\f26e";
  font-style: normal;
  font-weight: normal !important;
  font-variant: normal;
  text-transform: none;
  font-family: uicons-regular-rounded !important;
  /* top: 54%;
    right: 7px;
    transform: translateY(-50%); */
  font-size: 10px;
  margin-left: 5px;
  position: relative;
  top: 1px;
}

.daterangepicker .date-wrap {
  display: flex;
  flex-flow: row-reverse;
}

.daterangepicker.show-ranges .drp-calendar.left {
  border-left: 0;
}

@media(max-width: 567px) {

  .reports-summary .mostProducts .table_card_head .table-card-item:last-child,
  .reports-summary .mostProducts .table_card_head .table-card-item:first-child {
    width: 50% !important;

  }

  .reports-summary .mostProducts .table_card_head .table-card-item:last-child {
    text-align: left !important;
  }

  .reports-summary .mostProducts .table_card_head .table-card-item:first-child .table-item-title {
    text-align: center !important;
  }

  .reports-summary .twoRows .table_card_head .table-card-item:last-child,
  .reports-summary .twoRows .table_card_head .table-card-item:first-child {
    width: 50% !important;

  }

  .reports-summary .twoRows .table_card_head .table-card-item:last-child {
    text-align: left !important;
  }

  .reports-summary .twoRows .table_card_head .table-card-item:first-child .table-item-title {
    text-align: center !important;
  }

  .quickStatics {
    padding: 10px 0 !important;
  }

  .quickStatics .table-card-item .table-item-title,
  .quickStatics .table-item-content {
    white-space: nowrap;
  }

  .daterangepicker {
    width: auto;
    left: 0 !important;
    right: 50% !important;
    transform: translateX(50%);
    width: max-content;
  }

  .daterangepicker.show-calendar .drp-buttons {
    flex-flow: row;
    justify-content: flex-start;
  }

  .daterangepicker .date-wrap {
    display: flex;
    flex-flow: column-reverse;
  }

}

.drp-calendar.left .range::after {
  content: 'من';
}

.drp-calendar.right .range::after {
  content: 'الى';
}

.daterangepicker .drp-calendar td.today, .daterangepicker .drp-calendar td.today.active {
  background: var(--globalColor) !important;
  color: #fff;
}

.paymentFeesHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.paymentFeesHeader .fees-activate-btn {
  background: #F5F7F9;
  border: 1px solid #E7E5EA;
  color: #333;
  padding: 8px 25px;
  border-radius: 4px;
  display: inline-block;
  font-size: 13px;
  outline: none;
  box-shadow: none;
}

.charts-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.charts-loading img {
  max-width: 50px;
}


@media(max-width: 767px) {
  .reports-summary .summary_head.withCountries {
    flex-flow: column;
  }

  .reports-summary .summary_head.withCountries #filterForm {
    flex-flow: column;
    align-items: flex-start;
    width: 100%;
  }

  .withCountries .summary_conntry {
    width: 100%;
  }

  .reports-summary .summary_head.withCountries .print-icon {
    margin-right: auto;
  }


  .reports-summary .summary_head.withCountries .dateRange-input #summaryDateRange,
  .reports-summary .summary_head.withCountries .dateRange-input #summaryDateRangeSubscription {
    width: 100%;
  }

  #print_btn {
    height: 49px;
    line-height: 30px;

  }
}



.withLinkHover {
  color: #4a4ca4 !important;
}

.withLinkHover:hover {
  text-decoration: underline;
}

.table_card .table-card-item .itemOptinos .dropdown-toggle {
  vertical-align: middle;
}

.table_card .table-card-item .itemOptinos .dropdown-toggle {
  position: relative;
}

.table_card .table-card-item .itemOptinos .dropdown-toggle i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.table_card .table-card-item .itemOptinos .dropdown-item {
  display: block;
}


.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:not(:disabled):not(.disabled).active,
.show>.btn-primary.dropdown-toggle {
  background-color: var(--globalColor);
  border-color: var(--globalColor);
}

.btn-primary:hover {
  color: #fff;
  background-color: var(--globalColor);
  border-color: var(--globalColor);
}



.charts-wrapper {
  /* background: #f5f7f9; */
  margin-top: 30px;
}


.latest-subscriptions {
  min-height: 360px;
  height: calc(100% - 13.5px);
  overflow-y: auto;
  overflow-x: hidden;
}


.login_card_item.horizontal .inner h3 {
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
}
