body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.nav-bar {
  width: 100%;
  border-bottom: 2px solid gold;
  height: 90px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.section-login {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  justify-content: center;
  align-items: center;
  max-width: 500px;
}

.login-logo {
  width: 100%;
}

.banner-logo {
  height: 100%;

  > img {
    height: 100%;
  }
}

.line-login-btn {
  height: 60px;
  font-size: 22px;
  font-weight: 600;
  width: 100%;
  color: white;
  border-radius: 5px;
  background-color: #06c755;
  text-decoration: unset;
  transition: 0.3s ease;
  > img {
    height: 100%;
    margin-right: 0.5rem;
  }
}

.line-login-btn:hover {
  opacity: 0.6;
}

.info-profile {
  display: flex;
  column-gap: 2rem;
  padding-right: 1rem;
}

.avatar {
  background-color: #ccc;
  border-radius: 50%;
  border: 1px solid gold;
  height: 70px;
  width: 70px;
  overflow: hidden;

  > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

main {
  padding: 2rem 0 100px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 768px;
  row-gap: 2.5rem;
}

.section-balance {
  position: relative;
  width: 70%;
  max-width: 400px;
}

.info-balance {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  > div:first-child {
    font-size: clamp(24px, 4vw, 28px);
    font-weight: 100;
  }

  > div:last-child {
    font-size: clamp(38px, 5vw, 48px);
    font-weight: bold;
  }
}

#table-history td,
#table-history th {
  vertical-align: middle;
  font-size: 16px;
}

footer {
  position: fixed;
  bottom: 0;
  width: 100%;
}

.footer-container {
  width: 100%;
  display: flex;
  justify-content: center;
  column-gap: 1rem;
}

.footer-btn {
  height: 90px;
  transition: 0.4s ease;
  cursor: pointer;

  :hover {
    transform: translateY(-3px);
  }

  > img {
    height: 100%;
    width: auto;
  }
}

#modal-deposit,
#modal-withdraw {
  .modal-header,
  .modal-footer {
    border: 0;
  }

  .modal-footer {
    display: flex;
    justify-content: space-between;
  }
}

#pills-tab .nav-link:not(.disabled) {
  color: #ffc107 !important;
}

#pills-tab .nav-link.active {
  background-color: #ffc107 !important;
  color: #000 !important;
  font-weight: bold;
}

#table-refer tbody>tr>td {
  vertical-align: middle;
  text-align: center;
  width: 35%;

  &:last-child {
    width: 30%;
    text-align: right;
  }
}

@media screen and (max-width: 578px) {
  .nav-bar {
    height: 60px;
  }

  .avatar {
    height: 45px;
    width: 45px;
  }

  .info-profile {
    column-gap: 1rem;
    padding-right: 0.4rem;
    font-size: 12px;
  }

  .footer-btn {
    height: 60px;
  }

  #table-history td,
  #table-history th {
    vertical-align: middle;
    font-size: 12px;
  }
}
