* {
  padding: 0;
  margin: 0;
}
ol,
ul {
  padding: 0;
  margin: 0;
}
:root {
  --border: #DEE1ED;
  --secondary: #1C2430;
  --plus-sign-color: #12A378;
  --minus-sign-color: #E5484D;
}
.card {
  margin-bottom: 1.875rem;
  background-color: #fff;
  transition: all 0.5s ease-in-out;
  position: relative;
  border: 0rem solid transparent;
  border-radius: 1.375rem;
  box-shadow: 0rem 0.3125rem 0.3125rem 0rem rgba(82, 63, 105, 0.05);
}
.card .card-header .export {
  padding: 9px 18px;
  border-radius: 8px;
  border: 1px #D7DCE2 solid;
  background: #FFFFFF;
  color: #374151;
  font-weight: bold;
  font-size: 10px;
}
.card .card-header .d-flex {
  flex-wrap: wrap;
}
.card .card-body .cost-value {
  height: 24px;
}
.card-yesterday-cost .card-body .cost-title,
.card-last_7-cost .card-body .cost-title,
.card-monthly-cost .card-body .cost-title,
.card-quarterly-cost .card-body .cost-title {
  font-size: 13px;
  color: #667085;
}
.card-yesterday-cost .card-body h2,
.card-last_7-cost .card-body h2,
.card-monthly-cost .card-body h2,
.card-quarterly-cost .card-body h2 {
  font-size: 27px;
  color: #111827;
  font-weight: bold;
}
.card-monthly-cost .card-body .avg,
.card-quarterly-cost .card-body .avg {
  color: #667085;
}
.card-yesterday-cost .cost-value .yesterday_percentage {
  background-color: #d8fff8;
  color: #01BD9B;
  font-size: 0.75rem;
  padding: 0.413rem;
  line-height: 0.6875rem;
  border-radius: 4px;
}
.card-yesterday-cost h2 {
  margin-bottom: 1rem;
}
.card-last_7-cost h2 {
  margin-bottom: 1rem;
}
.card-monthly-cost .cost-value .avg {
  font-size: 0.75rem;
}
.card-monthly-cost h2 {
  margin-top: 1rem;
  margin-bottom: 0;
}
.card-quarterly-cost h2 {
  margin-top: 1rem;
  margin-bottom: 0;
}
.avg {
  height: 1rem;
}
.nav-pills .nav-item .nav-link {
  padding: 8px 12px;
  border: 1px solid var(--border);
  margin: 0 4px;
  background-color: #F9F9FB;
  color: var(--secondary);
  font-weight: 500;
  box-shadow: none;
  border-radius: 4px;
  font-size: 13px;
}
.nav-pills .nav-item .nav-link.active {
  background-color: var(--primary);
  color: white;
}
@keyframes sk {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
.card-top-10 {
  border: 1px solid #E1E5EA;
  border-radius: 16px;
  box-shadow: 0px 7px 16px rgba(17, 24, 39, 0.04);
}
.card-top-10 .card-header {
  background: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.25rem 1.25rem;
  position: relative;
}
.card-top-10 .card-header .card-header-info h5 {
  font-size: 12px;
  padding-left: 1rem;
  line-height: 18px;
  position: relative;
  font-weight: bold;
}
.card-top-10 .card-header .card-header-info h5:before {
  content: '';
  position: absolute;
  left: 0;
  top: -1.5px;
  width: 4px;
  height: calc(100% + 3px);
  background-color: #5B8DEF;
  border-radius: 2px;
}
.card-top-10 .card-body .cost {
  height: 11rem;
}
.card-top-10 .card-body .cost .nav-item .name {
  font-size: 11px;
  width: 90px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.card-top-10 .card-body .cost .nav-item .value,
.card-top-10 .card-body .cost .nav-item .percentage {
  font-size: 10px;
  font-weight: bold;
}
.card-top-10 .card-body .cost .nav-item .plus-sign {
  color: var(--plus-sign-color);
}
.card-top-10 .card-body .cost .nav-item .minus-sign {
  color: var(--minus-sign-color);
}
.card-top-10 .card-body .cost .nav-item:nth-child(-n+2) {
  background: #EFF6FF;
  border-radius: 8px;
}
.card-top-10 .card-body .cost .nav-item:nth-child(-n+2) .name {
  font-weight: bold;
}
.card-top-10 .card-body .cost .nav-item:nth-child(2)::before,
.card-top-10 .card-body .cost .nav-item:nth-child(3)::before {
  background: #94A3B8;
}
.card-top-10 .card-body .cost.show {
  display: block;
}
.card-top-10 .card-body .cost:not(.show) {
  display: none;
}
.card-top-10 .card-header:after {
  content: "";
  position: absolute;
  background: #EEF2F7;
  width: calc(100% - 2.5rem);
  height: 0.25rem;
  border-radius: 1rem;
  bottom: 0;
  left: 1.25rem;
  -webkit-transition: all 0.2s;
  -ms-transition: all 0.2s;
  transition: all 0.2s;
}
@media only screen and (min-width: 1192px) and (max-width: 1389px) {
  .card-top-10 .card-header {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .card-top-10 .card-header .nav .nav-link {
    font-size: 10px;
    padding: 6px;
  }
  .card-top-10 .card-body .cost .nav-item {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
.card-cost .card-body .cost {
  padding-left: 1rem;
  column-count: 2;
}
.card-cost .card-body .cost .nav-item {
  display: grid;
  grid-template-columns: 18px 1fr 1fr 1fr;
  margin-bottom: 4px;
  counter-increment: item;
  padding: 4px 2px;
  align-items: center;
}
.card-cost .card-body .cost .nav-item .name,
.card-cost .card-body .cost .nav-item .value,
.card-cost .card-body .cost .nav-item .percentage {
  padding-left: 1rem;
  white-space: nowrap;
  /* 内容不换行 */
  break-inside: avoid;
  /* 列表项不被切断 */
}
.card-cost .card-body .cost .nav-item::before {
  content: counter(item);
  font-weight: bold;
  color: #FFF;
  background: #D8DEE6;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: right;
  padding-right: 4px;
  border-radius: 50%;
  /* 正圆 */
}
.card-cost .card-body .cost .nav-item:first-child::before {
  background: #5B8DEF;
}
.card-cost .card-body .cost .nav-item:nth-child(-n+2) {
  background: #EFF6FF;
}
.card-echart .card-header {
  padding-bottom: calc(1.25rem - 4px);
}
.card-echart .card-header .card-header-info h5 {
  font-size: 12px;
  padding-left: 1rem;
  line-height: 18px;
  position: relative;
}
.card-echart .card-header .card-header-info h5:before {
  content: '';
  position: absolute;
  left: 0;
  top: -1.5px;
  width: 4px;
  height: calc(100% + 3px);
  background-color: #5B8DEF;
  border-radius: 2px;
}
.card-echart .card-header .card-header-info .marker {
  height: 8px;
  width: 8px;
  margin-right: 4px;
  border-radius: 4px;
  display: inline-block;
  background-color: #5B8DEF;
}
.card-echart .card-header .card-header-info .marker-title {
  margin: 0;
}
.card-echart .card-header .card-header-info .card-subtitle {
  margin-top: 4px;
}
.card-echart .card-header:after {
  content: none;
}
.card-echart .card-body #cost-echart {
  width: 100%;
  height: 11rem;
}
.card-growth .card-header .card-header-info h5:before {
  background-color: #2AA876;
}
.card-growth .card-body .cost {
  padding-left: 1rem;
  column-count: 2;
}
.card-growth .card-body .cost .nav-item {
  display: grid;
  grid-template-columns: 18px 1fr 1fr;
  margin-bottom: 4px;
  counter-increment: item;
  padding: 4px 2px;
  align-items: center;
}
.card-growth .card-body .cost .nav-item .name,
.card-growth .card-body .cost .nav-item .value,
.card-growth .card-body .cost .nav-item .percentage {
  padding-left: 1rem;
  white-space: nowrap;
  /* 内容不换行 */
  break-inside: avoid;
  /* 列表项不被切断 */
}
.card-growth .card-body .cost .nav-item::before {
  content: counter(item);
  font-weight: bold;
  color: #FFF;
  background: #D8DEE6;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: right;
  padding-right: 4px;
  border-radius: 50%;
  /* 正圆 */
}
.card-growth .card-body .cost .nav-item:first-child::before {
  background: #2AA876;
}
.card-growth .card-body .cost .nav-item:nth-child(-n+2) {
  background: #ECFDF5;
}
.card-decline .card-header .card-header-info h5:before {
  background-color: #F97373;
}
.card-decline .card-body .cost {
  padding-left: 1rem;
  column-count: 2;
}
.card-decline .card-body .cost .nav-item {
  display: grid;
  grid-template-columns: 18px 1fr 1fr;
  margin-bottom: 4px;
  counter-increment: item;
  padding: 4px 2px;
  align-items: center;
}
.card-decline .card-body .cost .nav-item .name,
.card-decline .card-body .cost .nav-item .value,
.card-decline .card-body .cost .nav-item .percentage {
  padding-left: 1rem;
  white-space: nowrap;
  /* 内容不换行 */
  break-inside: avoid;
  /* 列表项不被切断 */
}
.card-decline .card-body .cost .nav-item::before {
  content: counter(item);
  font-weight: bold;
  color: #FFF;
  background: #D8DEE6;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: right;
  padding-right: 4px;
  border-radius: 50%;
  /* 正圆 */
}
.card-decline .card-body .cost .nav-item:first-child::before {
  background: #F97373;
}
.card-decline .card-body .cost .nav-item:nth-child(-n+2) {
  background: #FFF1F2;
}
.card-dail-report .card-header,
.card-cost-report .card-header,
.card-native-report .card-header,
.card-sd_icon-report .card-header {
  background: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.25rem 1.25rem;
  position: relative;
}
.card-dail-report .card-header h4,
.card-cost-report .card-header h4,
.card-native-report .card-header h4,
.card-sd_icon-report .card-header h4 {
  font-weight: bold;
  font-size: 17px;
}
.card-dail-report .card-header .reportrange,
.card-cost-report .card-header .reportrange,
.card-native-report .card-header .reportrange,
.card-sd_icon-report .card-header .reportrange {
  height: 36px;
  width: 280px;
  border: 1px solid #E1E5EA;
  border-radius: 8px;
  padding: 0.375rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 10px;
  appearance: none;
  background-color: var(--bs-body-bg);
  background-image: var(--bs-form-select-bg-img), var(--bs-form-select-bg-icon, none);
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
  border: var(--bs-border-width) solid var(--bs-border-color);
  border-radius: var(--bs-border-radius);
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.card-dail-report .card-header .reportrange svg,
.card-cost-report .card-header .reportrange svg,
.card-native-report .card-header .reportrange svg,
.card-sd_icon-report .card-header .reportrange svg {
  width: 12px;
  height: 12px;
}
.dd-loading .sk-yesterday_percentage {
  height: 21px;
  width: 20%;
}
.dd-loading .sk-avg {
  height: 14px;
  width: 80%;
}
.dd-loading .sk-total_yesterday_data,
.dd-loading .sk-total_last_7_data,
.dd-loading .sk-monthly_data,
.dd-loading .sk-quarterly_data {
  height: 32px;
  width: 80%;
}
.dd-loading .sk-monthly_data,
.dd-loading .sk-quarterly_data {
  height: 30px;
  margin-bottom: 2px;
}
.dd-loading .sk-nav-item {
  background: none !important;
  column-gap: 10px;
}
.dd-loading .sk-nav-item .sk-name,
.dd-loading .sk-nav-item .sk-value,
.dd-loading .sk-nav-item .sk-percentage {
  height: 16px;
}
.dd-loading .sk-nav-item .sk-name {
  width: 80%;
}
.dd-loading .sk-nav-item .sk-value,
.dd-loading .sk-nav-item .sk-percentage {
  width: 80%;
}
.dd-loading [class*=" sk-"],
.dd-loading .sk-echart {
  border-radius: 5px;
  background: linear-gradient(90deg, #c9c9c9 0%, #c9c9c980 50%, #c9c9c9 100%);
  background-size: 200% 100%;
  animation: sk 1.1s ease-in-out infinite;
}
#phx_acc_name_select > .select {
  height: 36px;
  width: 280px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  border: 1px solid #e5e7eb;
  cursor: pointer;
}
