body {
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background-color: #f4f4f4;
}

.unanchor {
  text-decoration: none;
  color: black;
}

.horizontal {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.stat-block {
  margin-bottom: 1rem;
  margin-top: 1rem;
  padding: 10px;
  border-radius: 5px;
  background-color: #f5f5f5;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  width: auto;
}
.stat-block h2, .stat-block h3 {
  margin: 0;
  font-weight: lighter;
}
.stat-block h2 {
  font-size: 1rem;
}
.stat-block h3 {
  font-size: 0.8rem;
}
.stat-block h4 {
  font-size: 1.5rem;
  margin: 0;
  font-weight: bolder;
}
.stat-block h4 a {
  text-decoration: none;
  color: black;
}

.big-button {
  padding: 10px;
  border-radius: 5px;
  border: dashed grey 1px;
  background-color: #f5f5f5;
  cursor: pointer;
  transition: all 0.3s;
  min-height: 10rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
.big-button:hover {
  background-color: #e5e5e5;
}

.button {
  padding: 1rem;
  border-radius: 5px;
  border: none;
  background-color: green;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: bold;
  color: white;
}
.button:hover {
  background-color: #e5e5e5;
}

.table-wrapper {
  overflow-x: auto;
}
.table-wrapper .expense-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
  overflow-x: scroll;
}
.table-wrapper .expense-table th, .table-wrapper .expense-table td {
  border-bottom: 0.5px solid black;
  padding: 1rem;
}
.table-wrapper .expense-table th {
  background-color: black;
  color: white;
  text-align: left;
}
.table-wrapper .expense-table tr:nth-child(even) {
  background-color: #f5f5f5;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}
.modal .modal-content {
  background-color: white;
  margin: 3rem auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  border-radius: 5px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}
.modal .modal-content .close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}
.modal .modal-content .close:hover, .modal .modal-content .close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.nav {
  position: relative;
  background-color: black;
  padding: 2rem;
}
.nav-toggle {
  display: none;
}
.nav-toggle:checked ~ .nav-menu {
  transform: scale(1, 1);
}
.nav-toggle-label {
  position: absolute;
  top: 0;
  left: 0;
  margin-left: 1em;
  height: 100%;
  display: flex;
  align-items: center;
  cursor: pointer;
}
.nav-toggle-label span {
  font-size: 1.5em;
  line-height: 1;
  padding: 0.25rem;
  color: white;
  border: solid 1px white;
}
.nav-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #333;
  width: 100%;
  transform: scale(1, 0);
  transform-origin: top;
  transition: transform 0.3s ease-out;
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-menu li {
  margin-bottom: 1em;
  margin-left: 1em;
}
.nav-menu a {
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 150ms ease-in-out;
}
.nav-toggle:checked ~ .nav-menu a {
  opacity: 1;
  transition: opacity 250ms ease-in-out 250ms;
}

@media screen and (min-width: 768px) {
  .nav-toggle-label {
    display: none;
  }
  .nav-menu {
    all: unset;
    display: flex;
    justify-content: flex-end;
  }
  .nav-menu li {
    margin-left: 3em;
    margin-bottom: 0;
  }
  .nav-menu a {
    opacity: 1;
  }
  .nav button {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    text-transform: uppercase;
    transition: color 150ms ease-in-out;
  }
  .nav button:hover {
    color: #ccc;
  }
}
form.custom_input label {
  font-size: 1.2rem;
  font-weight: bold;
}
form.custom_input .form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}
form.custom_input select, form.custom_input input {
  font-size: 1.2rem;
  padding: 5px;
  margin: 5px;
  border: none;
  border-bottom: 2px solid black;
  background-color: transparent;
  display: flex;
  width: 300px;
}
form.custom_input fieldset {
  margin-top: 1rem;
  border: 1px solid black;
  border-radius: 5px;
  padding: 10px;
  margin-bottom: 20px;
  width: 300px;
}
form.custom_input fieldset legend {
  font-size: 1.2rem;
  font-weight: bold;
}
form.custom_input #id_accounts label {
  display: flex;
  flex-direction: row;
}
form.custom_input #id_accounts label input {
  margin: 0 10px 0 0;
  display: block;
  width: unset;
}
form.custom_input button {
  font-size: 1.2rem;
  padding: 1rem;
  margin: 5px;
  border: none;
  border-radius: 5px;
  background-color: green;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}
form.custom_input button :hover {
  background-color: lightgreen;
}
form.custom_input .custom_input form {
  margin-bottom: 20px;
}
form.custom_input .btn-danger {
  background-color: #dc3545;
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
}
form.custom_input .btn-danger:hover {
  background-color: #c82333;
}

main {
  padding-inline: 1rem;
}

li {
  list-style-type: none;
}

@media screen and (min-width: 768px) {
  main {
    max-width: 1366px;
    margin: auto;
    display: flex;
    flex-direction: column;
  }
  main .stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
  main .chart-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
  }
  main .big-chart {
    grid-column: span 3;
  }
  main canvas {
    max-height: 30vh;
  }
}

/*# sourceMappingURL=styles.css.map */
