/*
 * ClickBee Wallet Quick Actions
 * 104 — modern wallet-platform style
 */

.cb-wallet-actions-modern{
  box-sizing:border-box;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  width:100%;
  min-width:0;
  margin-top:12px;
}

.cb-wallet-actions-modern,
.cb-wallet-actions-modern *{
  box-sizing:border-box;
}

.cb-wallet-quick-action{
  -webkit-appearance:none;
  appearance:none;
  -webkit-tap-highlight-color:transparent;
  touch-action:manipulation;

  position:relative;
  z-index:40;

  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:11px;

  width:100%;
  min-width:0;
  min-height:56px;
  margin:0;
  padding:8px 13px;

  border:1px solid rgba(166,174,226,.10);
  border-radius:16px;

  outline:0;
  color:#f4f6ff;
  background:
    linear-gradient(
      180deg,
      rgba(31,37,75,.92),
      rgba(24,30,65,.92)
    );

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.035),
    0 8px 22px rgba(3,6,28,.10);

  font:inherit;
  text-align:left;
  cursor:pointer!important;
  pointer-events:auto!important;
  user-select:none;

  transform:translateZ(0);
  transition:
    transform .15s cubic-bezier(.22,1,.36,1),
    border-color .15s ease,
    background .15s ease,
    box-shadow .15s ease;
}

/* Entire tile is one hit target. */
.cb-wallet-quick-action > *{
  pointer-events:none!important;
}

.cb-wallet-quick-action:before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  pointer-events:none;
  opacity:0;
  transition:opacity .15s ease;
}

.cb-wallet-quick-deposit{
  border-color:rgba(145,108,255,.20);
  background:
    radial-gradient(
      78% 150% at 0% 0%,
      rgba(132,98,255,.13),
      transparent 72%
    ),
    linear-gradient(
      180deg,
      rgba(33,39,79,.95),
      rgba(25,30,68,.95)
    );
}

.cb-wallet-quick-deposit:before{
  background:
    linear-gradient(
      105deg,
      rgba(112,91,255,.10),
      rgba(184,91,255,.08)
    );
}

.cb-wallet-quick-withdraw{
  border-color:rgba(116,135,207,.14);
}

.cb-wallet-quick-withdraw:before{
  background:
    linear-gradient(
      105deg,
      rgba(95,112,182,.08),
      rgba(117,89,181,.05)
    );
}

.cb-wallet-quick-icon{
  display:grid;
  place-items:center;

  width:38px;
  height:38px;
  flex:0 0 38px;

  border-radius:50%;
  border:1px solid rgba(255,255,255,.06);

  background:#171d46;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.035);

  transition:
    transform .15s cubic-bezier(.22,1,.36,1),
    background .15s ease;
}

.cb-wallet-quick-icon > span{
  display:grid;
  place-items:center;

  width:22px;
  height:22px;
  border-radius:50%;

  font-size:14px;
  font-weight:650;
  line-height:1;
}

.cb-wallet-quick-deposit .cb-wallet-quick-icon{
  background:
    linear-gradient(
      145deg,
      rgba(116,91,244,.24),
      rgba(145,84,224,.14)
    );
  border-color:rgba(143,111,255,.16);
}

.cb-wallet-quick-deposit .cb-wallet-quick-icon > span{
  color:#d8cbff;
  background:rgba(130,98,255,.12);
}

.cb-wallet-quick-withdraw .cb-wallet-quick-icon{
  background:
    linear-gradient(
      145deg,
      rgba(81,98,169,.20),
      rgba(89,77,139,.12)
    );
  border-color:rgba(121,137,207,.12);
}

.cb-wallet-quick-withdraw .cb-wallet-quick-icon > span{
  color:#c2cae7;
  background:rgba(113,128,190,.10);
}

.cb-wallet-quick-label{
  min-width:0;
  overflow:hidden;

  color:#edf0fb;
  font-size:10.5px;
  font-weight:760;
  line-height:1;
  letter-spacing:.005em;

  white-space:nowrap;
  text-overflow:ellipsis;
}

.cb-wallet-quick-action:focus-visible{
  box-shadow:
    0 0 0 3px rgba(129,100,240,.10),
    0 9px 24px rgba(3,6,28,.12),
    inset 0 1px 0 rgba(255,255,255,.04);
}

@media(hover:hover) and (pointer:fine){
  .cb-wallet-quick-action:hover{
    transform:translateY(-1px);
    border-color:rgba(144,126,222,.24);
    box-shadow:
      0 10px 25px rgba(3,6,28,.14),
      inset 0 1px 0 rgba(255,255,255,.045);
  }

  .cb-wallet-quick-action:hover:before{
    opacity:1;
  }

  .cb-wallet-quick-action:hover .cb-wallet-quick-icon{
    transform:scale(1.035);
  }
}

.cb-wallet-quick-action:active{
  transform:translateY(1px) scale(.985);
  box-shadow:
    0 4px 12px rgba(3,6,28,.10),
    inset 0 1px 4px rgba(0,0,0,.12);
}

.cb-wallet-quick-action:active .cb-wallet-quick-icon{
  transform:scale(.96);
}

@media(max-width:430px){
  .cb-wallet-actions-modern{
    gap:8px;
  }

  .cb-wallet-quick-action{
    min-height:54px;
    padding:8px 10px;
    gap:9px;
    border-radius:15px;
  }

  .cb-wallet-quick-icon{
    width:36px;
    height:36px;
    flex-basis:36px;
  }

  .cb-wallet-quick-label{
    font-size:10px;
  }
}

@media(prefers-reduced-motion:reduce){
  .cb-wallet-quick-action,
  .cb-wallet-quick-action:before,
  .cb-wallet-quick-icon{
    transition:none!important;
  }
}


/* 105 — compact wallet action refinement. */
.cb-wallet-actions-modern{
  gap:7px!important;
  margin-top:8px!important;
}

.cb-wallet-quick-action{
  min-height:44px!important;
  height:44px!important;

  gap:8px!important;
  padding:6px 10px!important;

  border-radius:13px!important;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.03),
    0 5px 14px rgba(3,6,28,.08)!important;
}

.cb-wallet-quick-icon{
  width:30px!important;
  height:30px!important;
  flex:0 0 30px!important;

  border-radius:50%!important;
}

.cb-wallet-quick-icon > span{
  width:18px!important;
  height:18px!important;

  font-size:12px!important;
}

.cb-wallet-quick-label{
  font-size:9.5px!important;
  font-weight:760!important;
}

@media(hover:hover) and (pointer:fine){
  .cb-wallet-quick-action:hover{
    transform:translateY(-1px)!important;
    box-shadow:
      0 7px 17px rgba(3,6,28,.11),
      inset 0 1px 0 rgba(255,255,255,.04)!important;
  }
}

.cb-wallet-quick-action:active{
  transform:translateY(1px) scale(.988)!important;
}

@media(max-width:430px){
  .cb-wallet-actions-modern{
    gap:6px!important;
  }

  .cb-wallet-quick-action{
    min-height:42px!important;
    height:42px!important;

    gap:7px!important;
    padding:5px 8px!important;

    border-radius:12px!important;
  }

  .cb-wallet-quick-icon{
    width:28px!important;
    height:28px!important;
    flex-basis:28px!important;
  }

  .cb-wallet-quick-icon > span{
    width:17px!important;
    height:17px!important;
    font-size:11px!important;
  }

  .cb-wallet-quick-label{
    font-size:9.2px!important;
  }
}


/* 109 — native-link history repair. */
a.cb-wallet-quick-action{
  text-decoration:none!important;
  color:#f4f6ff!important;
}

a.cb-wallet-quick-action:visited{
  color:#f4f6ff!important;
}

/* 234 — on desktop the two quick actions occupy the same overall width as the price card. */
@media(min-width:769px){
  .cb-wallet-actions-modern{
    width:100%!important;
    max-width:500px!important;
  }
}
