.spendings_container {
  display: flex;
  gap: 30px;
  padding: 30px;
}
@media only screen and (max-width: 768px) {
  .spendings_container {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}

.calendar-widget {
  flex-shrink: 0;
  flex-grow: 0;
  display: flex;
  flex-direction: column;
  width: 250px;
  user-select: none;
}
.calendar-widget__year {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  height: 30px;
  padding: 10px;
  color: #3C7034;
}
.calendar-widget__year__text {
  font-size: 1.3rem;
  font-weight: bold;
}
.calendar-widget__year__back {
  margin-right: auto;
}
.calendar-widget__year__next {
  margin-left: auto;
}
.calendar-widget__months_container {
  flex-grow: 1;
}
.calendar-widget__months {
  height: calc(3/4 * 250px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding-top: 10px;
}
.calendar-widget__months__month {
  display: flex;
  border: 2px solid transparent;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.9rem;
  font-weight: bold;
  color: #9B9B9B;
}
.calendar-widget__months__month:hover {
  border-color: #93DD00;
}
.calendar-widget__months__month--selected {
  background-color: #93DD00;
  color: white;
}

@media only screen and (max-width: 768px) {
  .results {
    width: 100%;
  }
}

.table-container {
  background-color: #FFF;
  border-radius: 20px;
  padding: 10px;
}
.table-container:not(:nth-child(1)) {
  margin-top: 20px;
}

.table {
  width: 100%;
  height: auto;
  table-layout: fixed;
  border-collapse: collapse;
  text-align: left;
  margin-top: 20px;
  font-size: 1rem;
}
@media only screen and (max-width: 920px) {
  .table {
    font-size: 0.9rem;
  }
}
.table td, .table th {
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 10px;
}
.table th:not(:last-child), .table td:not(:last-child) {
  border-right: 1px solid #CCC;
}
.table th:not(:first-child), .table td:not(:first-child) {
  padding-left: 20px;
}
.table thead tr th {
  margin-bottom: 10px;
  padding-top: 0;
  color: #3C7034;
}
.table tbody tr {
  text-align: left;
  padding: 10px;
}
.table tbody tr td {
  color: #9B9B9B;
  font-weight: 500;
}
.table tbody tr:hover {
  background-color: rgba(0, 0, 0, 0.1);
}
@media only screen and (max-width: 425px) {
  .table, .table thead, .table tbody, .table th, .table td, .table tr {
    display: block;
  }
  .table thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }
  .table tr:not(:last-child) {
    margin-bottom: 10px;
  }
  .table tr:nth-child(even) {
    background-color: #F5F5F5;
  }
  .table td {
    border: none !important;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 50% !important;
    white-space: normal;
    text-align: left;
  }
  .table td:before {
    content: attr(data-title);
    position: absolute;
    top: 6px;
    left: 6px;
    width: 45%;
    padding-right: 10px;
    white-space: nowrap;
    text-align: left;
    font-weight: bold;
  }
}

.table-title {
  font-size: 1.2rem;
  color: #3C7034;
  font-weight: 700;
  text-transform: uppercase;
  margin-left: 10px;
}