/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

/* Container */
.container {
  width: 420px;
  background: #ffffff;
  border-radius: 26px;
  overflow: hidden;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  padding: 22px;
}

.logo {
  font-weight: 600;
  color: #333;
  width:50%;
}

.invoice {
  text-align: right;
}

.invoice h1 {
  font-size: 26px;
  font-weight: 700;
}

.invoice p {
  font-size: 13px;
  color: #666;
  margin-top: 4px;
}

/* Card */
.card {
  background: #ffffff;
  padding: 20px;
  min-height: 520px;
  overflow: hidden;
}

/* Slider */
.slider {
  display: flex;
  width: 100%;
  transition: transform 0.35s ease;
}

.screen {
  width: 100%;
  flex-shrink: 0;   /* âœ… THIS FIXES WHITE SCREEN */
  padding: 20px;
}

/* ===== Currency ===== */
.title {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
}
.sub-title{
	text-align: center;
    color: #727171;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
}
.currency-list,
.network-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Items */
.currency-item,
.network-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 15px;
  border-radius: 24px;
  cursor: pointer;
  transition: 0.2s;
  border: 1px solid #dfdfdf;
}

/* Hover */
.currency-item:hover,
.network-item:hover {
  background: #e5e5e5;
}

/* Left */
.currency-left,
.network-left {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 16px;
  font-weight: 500;
}

.icon img {
	width: 46px;
}

/* Hover text */
.currency-right,
.network-right {
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.2s ease;
  font-weight: 500;
}

.currency-item:hover .currency-right,
.network-item:hover .network-right {
  opacity: 1;
  transform: translateX(0);
}

/* Header (network/payment) */
.card-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.back {
  font-size: 20px;
  cursor: pointer;
}

/* ===== PAYMENT SCREEN ===== */
.payment-screen {
  text-align: center;
  padding-top: 10px;
}

/* Warning */
.warning {
    color: #ff0080;
    margin-left: 10px;
}

.warning span {
  font-weight: 600;
}

/* You pay */
.you-pay {
  color: #555;
  font-size: 16px;
  font-weight: 700;
}

.amount {
  font-size: 30px;
  font-weight: 700;
  margin: 10px 0 20px;
}

/* QR */
.qr {
  width: 160px;
  height: 160px;
}

.qr::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    45deg,
    #000,
    #000 4px,
    #fff 4px,
    #fff 8px
  );
}

/* Deposit */
.deposit-label {
  color: #888;
  font-size: 15px;
  margin-bottom: 10px;
}

/* Address */
.address-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.address {
  font-size: 22px;
  font-weight: 700;
  word-break: break-all;
  display: inline-block;
}

/* Copied badge */
.copied {
  background: #000;
  color: #fff;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 6px;
}

/* Footer */
.footer {
  text-align: center;
  padding: 14px;
  border-top: 1px solid #e9e9e9;
}

.footer a {
  font-size: 15px;
  text-decoration: underline;
  color: #333;
}

/* Copy wrapper */
.copy-wrapper {
  position: relative;
  cursor: pointer;
  display: inline-block;
  align-items: center;
}

/* Icon (simple square copy icon) */
.copy-icon {
  width: 20px;
  height: 20px;
  position: relative;
}

/* Hover text */
.copy-text {
  position: absolute;
  bottom: 130%;
  left: 50%;
  transform: translateX(-50%);
  background: #000;
  color: #fff;
  font-size: 12px;
  padding: 5px 8px;
  border-radius: 6px;
  opacity: 0;
  transition: 0.2s;
  white-space: nowrap;
}

/* Show on hover */
.copy-wrapper:hover .copy-text {
  opacity: 1;
}

.copied-toast {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  background: black;
  color: white;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
  animation: fadeInOut 1.5s ease;
}

@keyframes fadeInOut {
  0% { opacity: 0; transform: translate(-50%, 10px); }
  20% { opacity: 1; transform: translate(-50%, 0); }
  80% { opacity: 1; }
  100% { opacity: 0; }
}

* Settings button */
#btnSetting {
    position: absolute;
    right: 278px;
    background: white;
    border: none;
    padding: 6px;
    height: 38px;
    cursor: pointer;
}
#btnSetting img {
	height: 28px;
	filter: brightness(0) saturate(100%) invert(50%) sepia(36%) saturate(1079%) hue-rotate(177deg) brightness(99%) contrast(101%);
}
/* Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100vh;
  background: #fff;
  box-shadow: -4px 0 16px rgba(0,0,0,0.15);
  padding: 20px;
  transition: right 0.3s ease;
  z-index: 999;
}

/* Active */
.sidebar.open {
  right: 0;
}

/* Header */
.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.sidebar-header h3 {
  font-size: 18px;
}

.close-btn {
  cursor: pointer;
  font-size: 18px;
}

/* Groups */
.setting-group {
  margin-bottom: 24px;
}

.setting-group label {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  color: #555;
}

/* Color input */

.group-control{
	display: flex;
    align-items: center;
}
.group-control .txt-code{
	height: 30px;
    padding: 4px;
    border-radius: 3px;
    border: solid gray 1px;
}
.group-control .txt-picker{
	width: 40px;
    height: 40px;
    border: none;
    cursor: pointer;
    background: none;
}

.logo-group{
	display: flex;
    margin: 20px 0;
    border: solid 1px #cccccc;
    padding: 10px 5px;
    border-radius: 10px;
    cursor: pointer;
}
.logo-group img{
	margin-right: 5px;
}
#partner_logo{
	width: 80px;
    max-height: 120px;
}
.footer-protector{
	display:flex;
}
.footer-protector section{
	width: 50%;
	display: flex;
    align-items: center;
    justify-content: center;
}
.footer-protector section img{
	width: 20px;
	margin-right: 5px;
	margin-bottom: 20px;
    margin-top: 10px;
}
.footer-protector section span{
	margin-bottom: 13px;
	font-size:13px;
}
.sep-bar {
  width: 100%;
  height: 4px;
  border-radius: 999px;

  background: linear-gradient(
    90deg,
    #7b61ff,
    #4f8cff,
    #36d1dc,
    #5bffb6,
    #7b61ff
  );

  background-size: 200% 100%;

  animation: move 3s linear infinite;
}

@keyframes move {
  from {
    background-position: 0% 0;
  }
  to {
    background-position: 200% 0;
  }
}