* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.atm {
  display: flex;
  align-items: center;
  justify-content: center;
}

body {
  background-color: #000b29;
}

.container {
  width: 50%;
  margin: 0 auto;
}

.wrapper {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.screen {
  width: 100%;
  height: 100px;
  margin: 50px 0;
  text-align: center;
  position: relative;
}

input.cardEnter {
  width: 100%;
  text-align: center;
  height: 100%;
  border: 1px solid #f8f5f2;
  background-color: #f8f5f2;
  color: #000;
  font-size: 30px;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  letter-spacing: 10px;
  border-radius: 5px;
  box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px, rgba(14, 30, 37, 0.32) 0px 2px 16px 0px;
}

input.atmEnter {
  width: 100%;
  text-align: center;
  height: 100px;
  border: 1px solid #f8f5f2;
  background-color: #f8f5f2;
  color: #000;
  font-size: 30px;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  letter-spacing: 10px;
  border-radius: 5px;
  box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px, rgba(14, 30, 37, 0.32) 0px 2px 16px 0px;
}

input.cardEnter:focus,
input.atmEnter:focus {
  outline: none;
  border: 1px solid #f8f5f2;
}

.action {
  display: flex;
  column-gap: 20px;
  margin-top: 50px;
}

.actionButtons {
  display: flex;
  column-gap: 10px;
}

.actionButtons button,
.nextButtons p {
  width: 100%;
  border-radius: 10px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  border: none;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 2px;
  transition: all 0.3s ease-out;
  text-transform: uppercase;
  box-shadow: rgba(0, 0, 0, 0.17) 0px -23px 25px 0px inset, rgba(0, 0, 0, 0.15) 0px -36px 30px 0px inset, rgba(0, 0, 0, 0.1) 0px -79px 40px 0px inset,
    rgba(0, 0, 0, 0.06) 0px 2px 1px, rgba(0, 0, 0, 0.09) 0px 4px 2px, rgba(0, 0, 0, 0.09) 0px 8px 4px, rgba(0, 0, 0, 0.09) 0px 16px 8px, rgba(0, 0, 0, 0.09) 0px 32px 16px;
}

.clear {
  margin-bottom: 10px;
  background-color: #353c3f;
  color: #fff;
}
.clear:active {
  background-color: #fff;
  color: #353c3f;
  border: 1px solid #353c3f;
}

.cancel,
.back {
  background-color: #d70026;
  color: #fff;
}

.back:active,
.cancel:active,
.logout:active {
  background-color: #fff;
  color: #d70026;
  border: 1px solid #d70026;
}

.continue,
.confirm {
  background-color: #486b00;
  color: #fff;
}

.continue:active,
.confirm:active,
.withdraw:active,
.next:active {
  background-color: #fff;
  color: #486b00;
  border: 1px solid #486b00;
}

.buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
  grid-gap: 10px;
  justify-items: center;
}

.buttons p {
  background-color: #edb82d;
  width: 140px;
  border-radius: 10px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  cursor: pointer;
  color: #fff;
  box-shadow: rgba(0, 0, 0, 0.17) 0px -23px 25px 0px inset, rgba(0, 0, 0, 0.15) 0px -36px 30px 0px inset, rgba(0, 0, 0, 0.1) 0px -79px 40px 0px inset,
    rgba(0, 0, 0, 0.06) 0px 2px 1px, rgba(0, 0, 0, 0.09) 0px 4px 2px, rgba(0, 0, 0, 0.09) 0px 8px 4px, rgba(0, 0, 0, 0.09) 0px 16px 8px, rgba(0, 0, 0, 0.09) 0px 32px 16px;
}

.buttons p:active {
  background-color: #fff;
  color: #edb82d;
  border: 1px solid #edb82d;
}

.profile {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile i {
  font-size: 100px;
  color: #fff;
}

.loggedin {
  width: 100%;
  padding: 20px;
}

.loggedin .top {
  display: flex;
  justify-content: space-between;
}

.userdetail .name {
  font-size: 40px;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
}

.userdetail .phone {
  font-size: 24px;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  color: #fff;
  margin: 0;
  text-transform: uppercase;
}

.userdetail .bank {
  font-size: 24px;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  color: #d70026;
  margin: 0;
  text-transform: uppercase;
}

.userdetail .type {
  font-size: 16px;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  color: #edb82d;
  font-style: italic;
  text-transform: capitalize;
}

.logout,
.withdraw,
.balanceBtn,
.close,
.next {
  width: 150px;
  border-radius: 10px;
  height: 45px;
  font-size: 18px;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  border: 1px solid #d70026;
  cursor: pointer;
  letter-spacing: 2px;
  transition: all 0.3s ease-out;
  text-transform: uppercase;
  background-color: #d70026;
  color: #fff;
  box-shadow: rgba(0, 0, 0, 0.17) 0px -23px 25px 0px inset, rgba(0, 0, 0, 0.15) 0px -36px 30px 0px inset, rgba(0, 0, 0, 0.1) 0px -79px 40px 0px inset,
    rgba(0, 0, 0, 0.06) 0px 2px 1px, rgba(0, 0, 0, 0.09) 0px 4px 2px, rgba(0, 0, 0, 0.09) 0px 8px 4px, rgba(0, 0, 0, 0.09) 0px 16px 8px, rgba(0, 0, 0, 0.09) 0px 32px 16px;
}

.withdraw,
.next {
  border: 1px solid #486b00;
  background-color: #486b00;
  color: #fff;
}

.balanceBtn {
  border: 1px solid #edb82d;
  background-color: #edb82d;
  color: #fff;
  width: 200px;
}

.balanceBtn:active {
  border: 1px solid #edb82d;
  background-color: #fff;
  color: #edb82d;
}

.cardDetail {
  width: 80%;
  height: 30%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 0 auto;
}

.cardDetail img {
  width: 100%;
  height: 100%;
}

.cardDetail .num {
  width: 100%;
  position: absolute;
  font-size: 41px;
  font-family: sans-serif;
  font-weight: 700;
  letter-spacing: 5px;
  left: 30px;
  top: 60%;
  color: #fff;
  text-shadow: 0px 4px 4px #282828;
}

.cardDetail .bankName {
  width: 100%;
  position: absolute;
  font-size: 35px;
  font-family: sans-serif;
  font-weight: 700;
  letter-spacing: 2px;
  left: 30px;
  top: 20px;
  color: #fff;
  text-transform: uppercase;
  text-shadow: 0px 4px 4px #282828;
}

.cardDetail .cardType {
  width: 100%;
  position: absolute;
  font-size: 50px;
  font-family: sans-serif;
  font-weight: 700;
  letter-spacing: 2px;
  right: 30px;
  top: 30%;
  font-style: italic;
  color: #d70026;
  text-transform: uppercase;
  text-shadow: 0px 4px 4px #282828;
  text-align: right;
}

.cardDetail .validity {
  display: flex;
  align-items: center;
  column-gap: 10px;
  position: absolute;
  right: 30px;
  bottom: 20px;
  color: #fff;
}

.validity .val {
  font-size: 14px;
  font-family: sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0;
  text-shadow: 0px 4px 4px #282828;
}

.validity .val .thru {
  letter-spacing: 1px;
}

.validity .date {
  font-size: 38px;
  font-family: sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  text-shadow: 0px 4px 4px #282828;
}

.cardNumber {
  font-size: 40px;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  color: #d70026;
  text-align: center;
  margin: 20px 0;
  letter-spacing: 10px;
}

.balance {
  text-align: center;
  margin: 10px 0;
}

.balance h1,
.updatePin h1 {
  font-size: 40px;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  color: #fff;
}

.updatePin h1 {
  margin-bottom: 30px;
  text-decoration: underline;
  color: #d70026;
}

.Btn {
  display: flex;
  align-items: center;
  flex-direction: column;
  row-gap: 10px;
}

.success {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  flex-direction: column;
  row-gap: 20px;
}

.success img {
  width: 100px;
  height: 100px;
}

.bottom {
  width: 100%;
  text-align: center;
  margin: 20px 0;
}

.reset {
  text-align: center;
}

.bottom p,
.success p,
.reset h1 {
  color: #fff;
  padding: 10px 10px;
  margin: 0 5px;
  display: inline-block;
  font-size: 20px;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  cursor: pointer;
}

label {
  text-align: left;
  font-size: 20px;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  color: #edb82d;
  margin-bottom: 10px;
}

#oldPin,
#mobile,
#setNewPin,
#cardNumber {
  width: 100%;
  margin: 10px 0 50px 0;
  height: 50px;
  padding: 0 10px;
  font-size: 25px;
  letter-spacing: 10px;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  border: 2px solid #fff;
}

#oldPin:focus,
#mobile:focus,
#cardNumber:focus,
#setNewPin:focus {
  outline: none;
  border: 2px solid #fff;
}

.next {
  margin-right: 10px;
}

.upbottom {
  position: relative;
}

.upbottom p {
  position: absolute;
  bottom: 20px;
  color: #d70026;
  font-size: 16px;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  display: none;
}

.screen p {
  position: absolute;
  color: #d70026;
  font-size: 20px;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  width: 100%;
}

#oldPinError {
  display: none;
}

.cardSection {
  margin: 50px 0;
}

.registerCard {
  border: 1px solid #2a2f33;
  background: #2a2f33;
  padding: 20px 30px;
  border-radius: 20px;
  margin: 0 auto 50px auto;
  width: 80%;
  z-index: 1;
}

.cardback {
  border: 1px solid gray;
  background: gray;
  padding: 20px 30px;
  border-radius: 20px;
  width: 80%;
  margin: 0 auto;
  position: relative;
  height: 100%;
  z-index: 0;
  height: 327px;
}

.cardback::before {
  content: "";
  height: 60px;
  background-color: #000;
  width: 100%;
  border: 1px solid;
  position: absolute;
  left: -1px;
  top: 50px;
}

label span {
  color: #d70026;
}

.inputTop .child2 {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  column-gap: 20px;
}

.inputBottom,
.inputTop,
.topRegisterCard {
  display: flex;
  align-items: center;
  column-gap: 20px;
}

.inputTop .child1,
.inputTop .child2 {
  width: 60%;
}

.inputTop .child2 {
  width: 40%;
}

.inputTop .child2 .childbottom {
  width: 60%;
}

.inputBottom .child1 {
  width: 65%;
}
.inputBottom .child2 {
  width: 35%;
}

#userName,
#valid,
#inputCardNumber,
#pin,
#cardType,
#bankCard,
#bankname,
#banktype,
#bankamount,
#phoneNumber {
  width: 100%;
  margin: 10px 0 10px 0;
  height: 45px;
  padding: 0 10px;
  font-size: 22px;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  border: 1px solid #fff;
}

#inputCardNumber {
  background: #fff;
  display: flex;
  align-items: center;
}

#valid:focus,
#userName:focus,
#inputCardNumber:focus,
#pin:focus,
#cardType:focus,
#bankCard:focus,
#bankname:focus,
#banktype:focus,
#bankamount:focus,
#phoneNumber:focus {
  outline: none;
  border: 1px solid #fff;
}

.userCardType,
.bankCard {
  width: 50%;
}

.cardbackTop {
  position: absolute;
  top: 120px;
  right: 30px;
  left: 30px;
}
.cardbackBottom {
  position: absolute;
  top: 210px;
  right: 30px;
  left: 30px;
}
.cardbackTop,
.cardbackBottom {
  display: flex;
  column-gap: 20px;
}

.bankname,
.banktype {
  width: 70%;
}

.pin,
.bankamount {
  width: 30%;
}

.cardSectionButtons {
  margin-left: 10%;
  margin-top: 50px;
}

button:disabled {
  opacity: 0.5;
}

.parent {
  text-align: center;
}

.cardDetail .num {
  left: 2px;
  text-align: center;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
