[hidden] {
  display: none !important;
}

.authScreen {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: linear-gradient(135deg, #0c3328 0%, #164d3b 55%, #d9f25f 55%, #eef5bd 100%);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  padding: 8vw;
  color: white;
}

.authBrand span {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: #d9f25f;
  color: #164d3b;
  font-weight: 900;
  font-size: 22px;
}

.authBrand h1 {
  font: 700 58px Georgia;
  margin: 20px 0 10px;
}

.authBrand p {
  font-size: 18px;
  color: #d2e0da;
  max-width: 440px;
}

.authCard {
  background: white;
  color: #17251f;
  border-radius: 20px;
  padding: 38px;
  box-shadow: 0 25px 80px #071c1655;
  max-width: 430px;
  width: 100%;
  justify-self: end;
}

.authCard h2 {
  font-size: 30px;
  margin: 8px 0 24px;
}

.authCard > button {
  width: 100%;
  margin-top: 12px;
}

.authCard p {
  color: #6d7973;
  line-height: 1.5;
}

.authCard small {
  letter-spacing: 2px;
  color: #164d3b;
  font-weight: 800;
}

.authDivider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #829089;
  font-size: 12px;
  margin: 20px 0 10px;
}

.authDivider::before,
.authDivider::after {
  content: "";
  height: 1px;
  background: #dfe7e3;
  flex: 1;
}

.googleButton {
  width: 100%;
  background: white;
  color: #24322c;
  border: 1px solid #cbd6d1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.googleButton:hover {
  background: #f4f8f6;
}

.googleButton b {
  font: 700 18px Arial;
  color: #4285f4;
}

.headerUser {
  text-align: right;
}

.headerUser span,
.headerUser b {
  display: block;
}

.headerUser span {
  font-size: 9px;
  letter-spacing: 1.5px;
  color: #6d7973;
}

.rule button {
  margin-top: 8px;
  padding: 6px 10px;
  background: transparent;
  color: #d9f25f;
  border-color: #376758;
}

.dashboardGrid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 18px;
}

.chart {
  display: grid;
  gap: 15px;
  margin-top: 24px;
}

.chartRow {
  display: grid;
  grid-template-columns: 70px 1fr 150px;
  gap: 12px;
  align-items: center;
}

.chartRow small {
  text-align: right;
  color: #6d7973;
}

.bars {
  display: grid;
  gap: 4px;
}

.bars span {
  display: block;
  min-width: 3px;
  height: 9px;
  border-radius: 10px;
}

.incomeBar {
  background: #2d9b67;
}

.expenseBar {
  background: #e69157;
}

@media (max-width: 850px) {
  .authScreen {
    grid-template-columns: 1fr;
    padding: 25px;
  }

  .authBrand {
    display: none;
  }

  .authCard {
    justify-self: center;
  }

  .dashboardGrid {
    grid-template-columns: 1fr;
  }

  .chartRow {
    grid-template-columns: 55px 1fr;
  }

  .chartRow small {
    grid-column: 2;
  }
}
