body {
  font-family: Arial, sans-serif;
  background:#0b0b0b;
  padding: 70px;
  padding-bottom: 70px;
  color:#fff;
  height:100vh;
}

button {
  padding:8px 12px;
  border:none;
  background:#00ffae;
  color:#000;
  border-radius:12px;
  cursor:pointer;
}
.popup-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
}
.btn-primary {
  background: #00ffae;
  color: #000;
}
.btn-secondary {
  background: #333;
  color: #fff;
}

.card {
  background:#1c1c1c;
  padding:12px;
  border-radius:8px;
  margin-bottom:10px;
}
.popup {
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.7);
  display:none;
  align-items:center;
  justify-content:center;
}
.popup-content {
  background:#222;
  padding:20px;
  width:90%;
  max-width:520px;
  border-radius:10px;
  box-sizing: border-box;
}
input {
  width:100%;
  padding:8px;
  margin-bottom:10px;
  border-radius:4px;
  border:none;
  outline:none;
  text-align:center;
  box-sizing:border-box;
}

.input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.input-group input {
  width: 100%;
  padding-right: 60px;
}

.input-group .unit {
  position: absolute;
  right: 12px;
  color: #aaa;
  font-size: 14px;
  pointer-events: none;
}

.ptc-card {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ptc-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  background: #222;
}

.ptc-info {
  flex: 1;
}

.fullscreen-popup {
  position: fixed;
  inset: 0;
  background: #0b0b0b;
  color: #fff;
  z-index: 9999;
  display: flex;
  flex-direction: column;
}

.fullscreen-header {
  padding: 20px 70px;
  background: #111;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #222;
}

.fullscreen-header button {
  background: none;
  color: #fff;
  font-size: 20px;
}

.fullscreen-content {
  padding: 70px;
  padding-bottom: 70px;
  overflow-y: auto;
}

.history-card {
  background: #1c1c1c;
  padding: 12px;
  border-radius: 10px;
  margin-bottom: 10px;
  font-size: 13px;
}
#totalEarning {
  font-size: 13px;
  color: #00ffae;
}
#ptcList {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
@media (max-width: 420px) {
  #ptcList {
    grid-template-columns: repeat(2, 1fr);
  }
}
