/* CONTAINER */
.cashback-container{

  max-width:480px;

  margin:auto;

  padding:85px 14px 100px;

  box-sizing:border-box;

}


/* HEADER */
.cashback-header{
  text-align:center;
  margin-bottom:20px;
}

.cashback-header h1{
  color:#fff;
  font-size:22px;
  margin:0;
}

.cashback-header p{
  color:#94a3b8;
  font-size:13px;
}

/* GRID */
.cashback-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
  margin-top:20px;
}

/* CARD */
.cashback-card{
  background:#0f172a;
  border:1px solid rgba(255,255,255,0.05);
  padding:16px;
  border-radius:16px;
  text-align:center;
  box-shadow:0 8px 20px rgba(0,0,0,0.3);
}

.cashback-card h3{
  color:#94a3b8;
  font-size:13px;
  margin:0;
}

.cashback-card h2{
  color:#00d492;
  font-size:20px;
  margin-top:8px;
}

/* VARIANTS */
.cashback-card.earned h2{
  color:#00d492;
}

.cashback-card.withdrawn h2{
  color:#ffb020;
}

.cashback-card.available h2{
  color:#ffd166;
}

/* WITHDRAW BUTTON */
.withdraw-btn{
  width:100%;
  margin-top:20px;
  padding:14px;
  border:none;
  border-radius:14px;
  background:linear-gradient(135deg,#00a884,#00d492);
  color:white;
  font-size:14px;
  font-weight:600;
  cursor:pointer;
}

/* HISTORY */
.history-box{
  display:none;
  margin-top:25px;
}

.history-box h3{
  color:#fff;
  font-size:16px;
  margin-bottom:10px;
}

#cashbackHistory{
  display:flex;
  flex-direction:column;
  gap:10px;
}

/* ITEM */
.history-item{
  background:#0f172a;
  padding:12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,0.05);
  display:flex;
  justify-content:space-between;
  color:#cbd5e1;
  font-size:13px;
}








.referral-card{

  background:
  linear-gradient(
    135deg,
    #00D492,
    #00A884
  );

  border-radius:22px;

  padding:18px;

  margin-bottom:18px;

  color:white;

  box-shadow:
  0 10px 25px
  rgba(0,212,146,.25);

}

.referral-top{

  display:flex;

  justify-content:space-between;

  align-items:center;

  gap:12px;

}

.referral-label{

  font-size:13px;

  opacity:.85;

  margin-bottom:8px;

}

.referral-code{

  font-size:28px;

  font-weight:900;

  letter-spacing:2px;

}

.copy-referral-btn{

  border:none;

  background:white;

  color:#00A884;

  font-weight:800;

  padding:10px 16px;

  border-radius:12px;

  cursor:pointer;

}





.back-arrow{

  position:fixed;

  top:20px;
  left:20px;

  width:35px;
  height:35px;

  display:flex;
  align-items:center;
  justify-content:center;

  background:
    linear-gradient(
      135deg,
      #ffffff,
      #ffffff
    );

  color:#000000;

  border-radius:50%;

  font-size:16px;

  font-weight:400;

  cursor:pointer;

  z-index:1000;

  box-shadow:
    0 4px 15px
    rgba(0, 0, 0, 0.35);

}




/* =========================
   PAGE HEADER
========================= */

.page-header{

  position:fixed;

  top:0;
  left:0;
  right:0;

  height:65px;

  display:flex;
  align-items:center;
  justify-content:space-between;

  padding:0 16px;

  box-sizing:border-box;

  background:
  rgba(7,17,31,.92);

  backdrop-filter:
  blur(12px);

  border-bottom:
  1px solid
  rgba(255,255,255,.06);

  z-index:9999;

}


/* BACK BUTTON */

.header-back{

  width:38px;
  height:38px;

  display:flex;
  align-items:center;
  justify-content:center;

  border-radius:50%;

  background:
  rgba(255,255,255,.08);

  color:#fff;

  font-size:18px;

  cursor:pointer;

}


/* TITLE */

.header-title{

  flex:1;

  text-align:center;

  font-size:18px;

  font-weight:700;

  color:#fff;

}


/* RIGHT ACTION */

.header-action{

  width:38px;
  height:38px;

}