@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700;800&display=swap");
@font-face {
  font-family: Phenomena;
  src: url(./fonts/Phenomena/Phenomena-Regular.ttf);
}

body,
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
*,
::after,
::before {
  box-sizing: border-box;
}

* {
  box-sizing: border-box;
}

* {
  outline: none;
}
table {
  caption-side: bottom;
  border-collapse: collapse;
}

.plate {
  display: flex;
  min-width: 240px;
  padding: 24px;
  flex-direction: column;
  align-items: flex-start;
  border-radius: 4px;
  background: #efeaff;
}

.plate-divider {
  display: flex;
  padding-bottom: 24px;
  margin-bottom: 12px;
  align-items: flex-start;
  align-self: stretch;
  border-bottom: 1px solid #cbcbcb;
}

.earning-title {
  margin: 30px 0;
  width: 100%;
}

.commissions-top {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}

.commissions-top .plate-commissions:nth-child(2) {
  flex-grow: 2;
}

.commissions-blocks-wrapper {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.plate-commissions-block {
  display: flex;
  flex-direction: column;
}

.earning-table,
.earning-table-wrapper,
.earning-table-filter {
  width: 100%;
}
.earning-table {
  border-radius: 4px 4px 0 0;
  overflow: hidden;
}

.earning-table-filter {
  margin-bottom: 28px;
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: end;
  flex-wrap: wrap;
}
.earning-table th {
  color: #fff;
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 100%; /* 16px */
  border-right: 1px solid #6439db;
  border-bottom: 1px solid #7b4ef8;
  background: #7b4ef8;
}

.earning-table th:last-child {
  border-right: none;
}

.earning-table tr td:first-child,
.earning-table tr th:first-child,
.earning-table tr td:last-child,
.earning-table tr th:last-child {
  width: 200px;
  min-width: 200px;
}

.earning-table tr td:last-child {
  text-align: left;
}

.earning-table th,
.earning-table td {
  height: 50px;
  width: 120px;
  min-width: 120px;
  padding: 15px 15px 15px 20px;
  text-align: center;
}

.earning-table tr {
  border-bottom: 1px solid #cbcbcb;
}

.earning-table tfoot {
  border-bottom: 1px solid #cbcbcb;
  background: #efeaff;
}

.period-select {
  display: flex;
  height: 48px;
  padding: 12px 24px;
  align-items: center;
  width: 145px;
  position: relative;
}

body .chart-select {
  margin: 20px 0 0 0;
  position: absolute;
  top: 0;
  right: 30px;
  z-index: 2;
  border: none;
  color: #7b4ef8;
  text-align: end;
  font-size: 11px;
  cursor: pointer;
  background: transparent;
  padding: 0 3px;
  height: 15px;
  font-family: Inter, sans-serif;
}

body .chart-select option {
  padding: 2px;
}

.chart-select.input-date::-webkit-calendar-picker-indicator {
  content: "/";
  background: url("calendar.svg");
  background-size: cover;
  color: #7b4ef8 !important;
  cursor: pointer;
  background-position: 1px -1px;
}
.chart-select.input-date {
  color: #7b4ef8;
  width: 85px;
}
.chart-select.input-date.donut-date {
  right: 5px;
  bottom: 15px;
  top: unset;
}

.apexcharts-legend-series {
  cursor: pointer;
  line-height: normal;
  height: 11px;
}

.donuts-exercise-list a:last-child {
  border-bottom: none;
}

#target-charts {
  position: absolute;
  top: -40px;
}

.mui-select-arrow img {
  transition: transform ease-in-out 0.2s;
}

.open svg {
  transform: rotate(180deg);
  transition: transform ease-in-out 0.2s;
}

ul li.MuiButtonBase-root {
  font-size: 11px !important;
}

ul li.filter-select-item {
  font-size: 14px !important;
}

.form-control {
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 14px;
  font-family: Inter, sans-serif;
  font-weight: 400;
  line-height: 1.5;
  color: #323030;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 0.25rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.input-date {
  width: 190px;
  padding: 12px 24px;
}
.input-date::-webkit-calendar-picker-indicator {
  content: "/";
  background: url("calendar.svg");
  background-size: cover;
  color: #7b4ef8 !important;
  cursor: pointer;
}
span.date-range-delimiter {
  margin: 0 8px;
  color: #333333 !important;
}

.dashboard-container {
  max-width: 776px;
}

@media (min-width: 1920px) {
  .chart-select.input-date.donut-date {
    right: 20px;
    bottom: 30px;
    top: unset;
  }
}
@media (max-width: 1960px) {
}

@media (max-width: 780px) {
  .dashboard-container .plate-chart {
    width: 100%;
    overflow-x: auto;
  }
}
