/*///////// GLOBAL /////////*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  color: #333;
  transition: all 0.5s;
}

body {
  background-color: #eee;
  position: relative;
}

/*///////// GENERAL /////////*/

/* primary colour : #eeeeee
accent colour : #333333
additional colours:  */
.grn {
  color: green;
}

.rd {
  color: rgb(209, 0, 0);
}

/*///////// HEADER /////////*/

.ico-main {
  height: 6rem;
  width: 6rem;
}

.hed {
  height: 10vh;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
}

.hed-main {
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 400;
}

.btn-grp {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
}

.field {
  border: none;
  height: 2rem;
  width: 6rem;
  border-radius: 100rem;
  text-align: center;
}

.ico-login {
  height: 1.5rem;
  width: 2rem;
  border-radius: 100rem;
  transition: 0.5s;
}

.def-btn {
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 100rem;
  cursor: pointer;
}

.ico-login:hover {
  background-color: #333;
  color: #eee;
}

/*///////// MAIN /////////*/

.main-sec {
  opacity: 0;
  width: 100vw;
  height: 90vh;
  padding-left: 20rem;
  padding-right: 20rem;
  padding-bottom: 2rem;
  display: flex;
  justify-content: space-around;
  flex-direction: column;
}

.bal {
  color: #333;
  font-weight: 600;
}

.bal-sub {
  color: #666;
}

.main-hed {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.amt {
  font-weight: 400;
  font-size: 3rem;
}

.t-date {
  font-size: 0.8rem;
}

.grid-main {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, 1fr);
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  row-gap: 1rem;
  column-gap: 1rem;
  height: 65%;
  width: 100%;
}

.side,
.side-one,
.side-two,
.side-three {
  height: 100%;
  width: 100%;
  border-radius: 0.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.side {
  grid-area: 1 / 1 / 4 / 2;
  overflow: scroll;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.5rem;
}

.side-one {
  grid-area: 1 / 2 / 2 / 3;
  background: rgb(219, 202, 90);
  background: linear-gradient(
    167deg,
    rgba(219, 202, 90, 1) 0%,
    rgba(210, 146, 28, 1) 100%
  );
  padding: 1.5rem;
}

.side-two {
  grid-area: 2 / 2 / 3 / 3;
  background: rgb(89, 242, 65);
  background: linear-gradient(
    167deg,
    rgba(89, 242, 65, 1) 0%,
    rgba(15, 131, 9, 1) 100%
  );
  padding: 1.5rem;
}

.side-three {
  grid-area: 3 / 2 / 4 / 3;
  background: rgb(231, 85, 85);
  background: linear-gradient(
    167deg,
    rgba(231, 85, 85, 1) 0%,
    rgba(138, 10, 10, 1) 100%
  );
  padding: 1.5rem;
}

.deposit {
  background-color: rgb(0, 195, 0);
  color: #eee;
  padding: 0.3rem 1rem;
  border-radius: 100rem;
}

.withdrawl {
  background-color: rgb(212, 0, 0);
  color: #eee;
  padding: 0.3rem 1rem;
  border-radius: 100rem;
}

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

.list-item {
  display: flex;
  width: 100%;
  padding: 1rem;
  background-color: white;
  align-items: center;
  justify-content: space-between;
}

/*///////// FOOTER /////////*/

.last {
  display: flex;
}
.foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 50%;
}

.current {
  font-size: 1.5rem;
  font-weight: 400;
}

.foot p {
  font-size: 0.8rem;
  font-weight: 600;
}

.tim {
  font-weight: 600;
}

.foot-opt {
  display: flex;
  width: 50%;
  align-items: center;
  justify-content: space-around;
}

.sortt {
  border: none;
  background-color: #eee;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
}

.frm {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.frm-fld {
  width: 30%;
  height: 2rem;
  border: none;
  border-radius: 0.5rem;
  background-color: rgba(238, 238, 238, 0.595);
  text-align: center;
}

.ico-for {
  padding: 0.3rem 0;
  height: 1.5rem;
  width: 5rem;
  background-color: #eee;
  border-radius: 0.5rem;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background-color: #33333398;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.popup h1,
p {
  margin-bottom: 1rem;
}

.popup ul {
  list-style: none;
}

.popup li:nth-child(even) {
  font-weight: bold;
}

.popup {
  background-color: #eee;
  border-radius: 2rem;
  padding: 4rem;
  position: relative;
  z-index: 1000;
}

.close-button {
  position: absolute;
  top: 2rem;
  right: 2rem;
  color: #eee;
  background-color: rgba(231, 85, 85, 1);
  border: none;
  font-weight: bold;
  padding: 0.5rem;
  cursor: pointer;
  font-size: 1.2rem;
  border-radius: 0.2rem;
}

.hid {
  display: none;
}
