
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:Arial,sans-serif;
}

body{
  background:#202020;
}

.page{
  position:relative;
  width:100%;
  min-height:100vh;
  overflow:hidden;
  display:flex;
  justify-content:center;
  align-items:center;
}

.overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.55);
  backdrop-filter:blur(3px);
}

.background-ui{
  position:absolute;
  inset:0;
  opacity:.2;
  display:flex;
}

.sidebar{
  width:220px;
  background:#1f2937;
  padding:20px;
}

.logo{
  width:150px;
  height:40px;
  background:#111827;
  border-radius:999px;
  margin-bottom:25px;
}

.menu{
  height:42px;
  background:rgba(255,255,255,.1);
  border-radius:10px;
  margin-bottom:12px;
}

.menu.active{
  background:#eab308;
}

.content{
  flex:1;
  padding:30px;
}

.top{
  height:40px;
  width:250px;
  border-radius:10px;
  background:rgba(255,255,255,.1);
  margin-bottom:30px;
}

.cards{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:20px;
}

.card{
  height:160px;
  border-radius:20px;
  background:rgba(255,255,255,.1);
}

.card.large{
  grid-column:span 2;
}

.modal{
  position:relative;
  z-index:2;
  width:680px;
  background:#fff;
  border-radius:18px;
  overflow:hidden;
  text-align:center;
  box-shadow:0 25px 80px rgba(0,0,0,.55);
  padding-top:35px;
}

.close{
  position:absolute;
  top:12px;
  right:22px;
  border:none;
  background:transparent;
  font-size:38px;
  cursor:pointer;
  color:#5e5e5e;
}

.token-image{
  width:220px;
  height:220;
  object-fit:contain;
  display:block;
  margin:0 auto 28px;
}

h2{
  font-size:20px;
  margin-bottom:18px;
  color:#1f1f1f;
}

.description{
  font-size:17px;
  color:#1f1f1f;
  margin-bottom:52px;
}

.inputs{
  display:flex;
  justify-content:center;
  gap:14px;
  margin-bottom:8px;
  min-height:50px;
}

.digit{
  width:28px;
  height:34px;
  border:none;
  border-bottom:2px solid black;
  background:transparent;
  text-align:center;
  font-size:42px;
  outline:none;
}

.digit.error-state{
  border-bottom-color:#ef4444;
}

.loader{
  display:none;
  flex-direction:column;
  align-items:center;
  margin-bottom:10px;
}

.spinner{
  width:40px;
  height:40px;
  border:3px solid #e5e7eb;
  border-top-color:black;
  border-radius:50%;
  animation:spin 1s linear infinite;
  margin-bottom:10px;
}

@keyframes spin{
  to{transform:rotate(360deg);}
}

.error{
  display:none;
  color:#ef4444;
  font-size:12px;
  margin-bottom:20px;
}

.footer{
  margin-top:25px;
  padding:34px;
  background:#f3f3f3;
  border-top:1px solid #ececec;
}

.footer h3{
  margin-bottom:30px;
}

.footer-actions{
  display:flex;
  justify-content:center;
  gap:90px;
}

.footer-actions button{
  border:none;
  background:transparent;
  cursor:pointer;
  font-size:13px;
}
