/* KEMMO BUYER ACCOUNT UI V1 */

.kemmo-buyer-account-btn-v1{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  flex:none;
  min-width:64px;
  height:42px;
  padding:0 15px;
  border:1px solid rgba(203,213,225,.85);
  border-radius:999px;
  background:rgba(255,255,255,.92);
  color:#1d4ed8;
  box-shadow:
    0 5px 18px
    rgba(15,23,42,.045);
  font:inherit;
  font-size:12px;
  line-height:1;
  font-weight:850;
  cursor:pointer;
  z-index:2;
  transition:
    transform .18s ease,
    border-color .18s ease,
    box-shadow .18s ease,
    background .18s ease;
}

.kemmo-buyer-account-btn-v1:hover{
  transform:translateY(-1px);
  border-color:#b9d2ff;
  box-shadow:
    0 8px 22px
    rgba(15,23,42,.075);
}

.kemmo-buyer-account-btn-v1:active{
  transform:scale(.97);
}

.kemmo-buyer-account-btn-v1.is-authenticated{
  background:#eff6ff;
  border-color:#bdd5ff;
}

.kemmo-buyer-account-dot-v1{
  display:none;
  width:7px;
  height:7px;
  border-radius:50%;
  background:#22c55e;
  box-shadow:
    0 0 0 3px
    rgba(34,197,94,.10);
}

.kemmo-buyer-account-btn-v1.is-authenticated
.kemmo-buyer-account-dot-v1{
  display:block;
}

.kemmo-buyer-account-btn-v1.is-fallback{
  position:fixed;
  top:14px;
  right:88px;
  z-index:100050;
}


.kemmo-buyer-auth-backdrop-v1{
  position:fixed;
  inset:0;
  z-index:100100;
  background:
    rgba(8,15,29,.38);
  opacity:0;
  pointer-events:none;
  transition:
    opacity .2s ease;
  backdrop-filter:
    blur(3px);
  -webkit-backdrop-filter:
    blur(3px);
}

.kemmo-buyer-auth-backdrop-v1.is-open{
  opacity:1;
  pointer-events:auto;
}


.kemmo-buyer-auth-sheet-v1{
  position:fixed;
  left:50%;
  bottom:12px;
  z-index:100110;
  width:
    min(
      460px,
      calc(100% - 20px)
    );
  max-height:
    calc(100dvh - 24px);
  overflow-y:auto;
  padding:
    7px 18px 18px;
  border:
    1px solid
    rgba(226,232,240,.96);
  border-radius:26px;
  background:
    rgba(255,255,255,.985);
  box-shadow:
    0 28px 90px
    rgba(8,15,29,.25);
  transform:
    translate(
      -50%,
      calc(100% + 40px)
    );
  transition:
    transform .25s
    cubic-bezier(.2,.8,.2,1);
  overscroll-behavior:contain;
}

.kemmo-buyer-auth-sheet-v1.is-open{
  transform:
    translate(-50%,0);
}


.kemmo-buyer-auth-grip-v1{
  width:38px;
  height:4px;
  margin:
    3px auto 17px;
  border-radius:999px;
  background:#dfe5ed;
}


.kemmo-buyer-auth-eyebrow-v1{
  display:inline-flex;
  align-items:center;
  gap:6px;
  margin-bottom:7px;
  color:#2563eb;
  font-size:9px;
  line-height:1;
  font-weight:900;
  letter-spacing:.06em;
  text-transform:uppercase;
}

.kemmo-buyer-auth-eyebrow-v1::before{
  content:"";
  width:6px;
  height:6px;
  border-radius:50%;
  background:#3b82f6;
}


.kemmo-buyer-auth-title-v1{
  margin:0;
  color:#111d34;
  font-size:24px;
  line-height:1.12;
  font-weight:950;
  letter-spacing:-.035em;
}


.kemmo-buyer-auth-sub-v1{
  margin-top:7px;
  color:#7b8798;
  font-size:11px;
  line-height:1.55;
}


.kemmo-buyer-auth-tabs-v1{
  display:grid;
  grid-template-columns:
    repeat(2,minmax(0,1fr));
  gap:6px;
  margin-top:18px;
  padding:4px;
  border-radius:14px;
  background:#f3f6fa;
}


.kemmo-buyer-auth-tab-v1{
  appearance:none;
  height:38px;
  border:0;
  border-radius:11px;
  background:transparent;
  color:#758094;
  font:inherit;
  font-size:11px;
  font-weight:850;
  cursor:pointer;
  transition:
    background .18s ease,
    color .18s ease,
    box-shadow .18s ease;
}

.kemmo-buyer-auth-tab-v1.is-active{
  background:#fff;
  color:#155fcc;
  box-shadow:
    0 3px 12px
    rgba(15,23,42,.06);
}


.kemmo-buyer-auth-form-v1{
  display:grid;
  gap:11px;
  margin-top:16px;
}


.kemmo-buyer-auth-label-v1{
  display:block;
  margin-bottom:6px;
  color:#556174;
  font-size:10px;
  font-weight:850;
}


.kemmo-buyer-auth-input-v1{
  width:100%;
  height:46px;
  padding:0 14px;
  border:
    1px solid
    #dfe5ec;
  border-radius:13px;
  outline:0;
  background:#fff;
  color:#142037;
  font:inherit;
  font-size:13px;
  box-sizing:border-box;
  transition:
    border-color .18s ease,
    box-shadow .18s ease;
}

.kemmo-buyer-auth-input-v1:focus{
  border-color:#9ec2ff;
  box-shadow:
    0 0 0 3px
    rgba(37,99,235,.07);
}


.kemmo-buyer-auth-password-wrap-v1{
  position:relative;
}

.kemmo-buyer-auth-password-wrap-v1
.kemmo-buyer-auth-input-v1{
  padding-right:67px;
}


.kemmo-buyer-auth-password-toggle-v1{
  position:absolute;
  top:50%;
  right:8px;
  transform:translateY(-50%);
  height:30px;
  padding:0 9px;
  border:0;
  border-radius:9px;
  background:#f3f6fa;
  color:#667286;
  font:inherit;
  font-size:9px;
  font-weight:850;
  cursor:pointer;
}


.kemmo-buyer-auth-submit-v1{
  width:100%;
  height:47px;
  margin-top:2px;
  border:0;
  border-radius:14px;
  background:
    linear-gradient(
      135deg,
      #1d4ed8,
      #1689e8
    );
  color:#fff;
  box-shadow:
    0 10px 25px
    rgba(29,78,216,.19);
  font:inherit;
  font-size:12px;
  font-weight:900;
  cursor:pointer;
  transition:
    transform .18s ease,
    opacity .18s ease;
}

.kemmo-buyer-auth-submit-v1:active{
  transform:scale(.985);
}

.kemmo-buyer-auth-submit-v1:disabled{
  opacity:.55;
  cursor:wait;
}


.kemmo-buyer-auth-message-v1{
  display:none;
  margin-top:11px;
  padding:10px 12px;
  border-radius:11px;
  font-size:10px;
  line-height:1.45;
}

.kemmo-buyer-auth-message-v1.is-error{
  display:block;
  background:#fff2f2;
  color:#c24141;
}

.kemmo-buyer-auth-message-v1.is-success{
  display:block;
  background:#eefbf3;
  color:#15803d;
}


.kemmo-buyer-auth-foot-v1{
  margin-top:14px;
  color:#99a3b1;
  font-size:9px;
  line-height:1.5;
  text-align:center;
}


.kemmo-buyer-account-card-v1{
  margin-top:17px;
  padding:15px;
  border:
    1px solid
    #e2e8f0;
  border-radius:16px;
  background:
    linear-gradient(
      145deg,
      #f8fbff,
      #f3f7ff
    );
}


.kemmo-buyer-account-state-v1{
  display:flex;
  align-items:center;
  gap:7px;
  color:#15803d;
  font-size:9px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.04em;
}

.kemmo-buyer-account-state-v1::before{
  content:"";
  width:7px;
  height:7px;
  border-radius:50%;
  background:#22c55e;
}


.kemmo-buyer-account-email-v1{
  margin-top:8px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#15223a;
  font-size:14px;
  font-weight:900;
}


.kemmo-buyer-wallet-preview-v1{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:12px;
  padding:12px;
  border-radius:13px;
  background:#fff;
  border:1px solid #e7ecf2;
}

.kemmo-buyer-wallet-preview-v1 span:first-child{
  color:#667286;
  font-size:10px;
  font-weight:800;
}

.kemmo-buyer-wallet-preview-v1 span:last-child{
  color:#94a3b8;
  font-size:10px;
  font-weight:900;
}


.kemmo-buyer-logout-v1{
  width:100%;
  height:43px;
  margin-top:12px;
  border:
    1px solid
    #e0e6ed;
  border-radius:13px;
  background:#fff;
  color:#647084;
  font:inherit;
  font-size:11px;
  font-weight:850;
  cursor:pointer;
}


@media(max-width:650px){

  .kemmo-buyer-account-btn-v1{
    min-width:58px;
    height:40px;
    padding:0 12px;
    font-size:11px;
  }

  .kemmo-buyer-account-btn-v1.is-fallback{
    top:12px;
    right:82px;
  }

  .kemmo-buyer-auth-sheet-v1{
    bottom:8px;
    width:
      calc(100% - 14px);
    padding:
      6px 16px 16px;
    border-radius:24px;
  }

  .kemmo-buyer-auth-title-v1{
    font-size:22px;
  }

}


/* KEMMO BUYER ACCOUNT VISUAL V2 START */

.kemmo-buyer-email-status-v2{
  display:flex;
  align-items:center;
  gap:7px;
  margin-top:9px;
  font-size:9px;
  line-height:1.3;
  font-weight:900;
}

.kemmo-buyer-email-status-v2::before{
  content:"";
  width:7px;
  height:7px;
  flex:none;
  border-radius:50%;
}

.kemmo-buyer-email-status-v2.is-verified{
  color:#15803d;
}

.kemmo-buyer-email-status-v2.is-verified::before{
  background:#22c55e;
  box-shadow:
    0 0 0 3px
    rgba(34,197,94,.10);
}

.kemmo-buyer-email-status-v2.is-unverified{
  color:#b56a04;
}

.kemmo-buyer-email-status-v2.is-unverified::before{
  background:#f59e0b;
  box-shadow:
    0 0 0 3px
    rgba(245,158,11,.10);
}

.kemmo-buyer-verify-email-v2{
  width:100%;
  min-height:39px;
  margin-top:11px;
  border:1px solid #d5e4ff;
  border-radius:11px;
  background:#edf4ff;
  color:#245fc9;
  font:inherit;
  font-size:10px;
  font-weight:900;
  cursor:pointer;
}

.kemmo-buyer-verify-email-v2:disabled{
  opacity:.58;
  cursor:wait;
}

.kemmo-buyer-wallet-preview-v1 strong{
  color:#101d38;
  font-size:14px;
  font-weight:950;
  letter-spacing:-.02em;
}

.kemmo-buyer-account-card-v1
+
.kemmo-buyer-auth-message-v1{
  margin-top:10px;
}

/* KEMMO BUYER ACCOUNT VISUAL V2 END */


/* KEMMO BUYER TOPUP UI V1 START */

.kemmo-buyer-topup-open-v1{
  width:100%;
  min-height:42px;
  margin-top:12px;
  border:0;
  border-radius:12px;
  background:#2563eb;
  color:#fff;
  font:inherit;
  font-size:13px;
  font-weight:800;
  cursor:pointer;
}

.kemmo-buyer-topup-open-v1:disabled{
  opacity:.48;
  cursor:not-allowed;
}

.kemmo-buyer-topup-form-v1{
  display:grid;
  gap:12px;
  margin-top:18px;
}

.kemmo-buyer-topup-presets-v1{
  display:grid;
  grid-template-columns:
    repeat(2,minmax(0,1fr));
  gap:8px;
}

.kemmo-buyer-topup-presets-v1 button{
  min-height:40px;
  border:1px solid rgba(148,163,184,.28);
  border-radius:11px;
  background:rgba(255,255,255,.04);
  color:inherit;
  font:inherit;
  font-size:12px;
  font-weight:750;
  cursor:pointer;
}

.kemmo-buyer-topup-presets-v1 button.is-active{
  border-color:#2563eb;
  background:rgba(37,99,235,.12);
}

.kemmo-buyer-topup-input-wrap-v1{
  display:flex;
  align-items:center;
  gap:5px;
  padding-left:13px;
  border:1px solid rgba(148,163,184,.26);
  border-radius:12px;
  overflow:hidden;
}

.kemmo-buyer-topup-input-wrap-v1 > span{
  font-size:13px;
  font-weight:800;
  opacity:.65;
}

.kemmo-buyer-topup-input-wrap-v1
.kemmo-buyer-auth-input-v1{
  min-width:0;
  border:0;
  border-radius:0;
}

.kemmo-buyer-topup-input-wrap-v1
.kemmo-buyer-auth-input-v1:focus{
  box-shadow:none;
}

.kemmo-buyer-topup-hint-v1{
  margin-top:-5px;
  font-size:10px;
  opacity:.58;
}

.kemmo-buyer-topup-primary-v1{
  width:100%;
  min-height:44px;
  border:0;
  border-radius:12px;
  background:#2563eb;
  color:#fff;
  font:inherit;
  font-size:13px;
  font-weight:850;
  cursor:pointer;
}

.kemmo-buyer-topup-primary-v1:disabled{
  opacity:.55;
  cursor:wait;
}

.kemmo-buyer-topup-secondary-v1{
  width:100%;
  min-height:42px;
  margin-top:9px;
  border:1px solid rgba(148,163,184,.26);
  border-radius:12px;
  background:transparent;
  color:inherit;
  font:inherit;
  font-size:12px;
  font-weight:750;
  cursor:pointer;
}

.kemmo-buyer-topup-status-v1{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  margin-top:14px;
  padding:0 10px;
  border-radius:999px;
  background:rgba(245,158,11,.12);
  color:#b45309;
  font-size:10px;
  font-weight:850;
  text-transform:uppercase;
  letter-spacing:.04em;
}

.kemmo-buyer-topup-status-v1.is-success{
  background:rgba(22,163,74,.12);
  color:#15803d;
}

.kemmo-buyer-topup-amount-v1{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  margin-top:14px;
  padding:14px;
  border:1px solid rgba(148,163,184,.22);
  border-radius:14px;
}

.kemmo-buyer-topup-amount-v1 span{
  font-size:11px;
  opacity:.6;
}

.kemmo-buyer-topup-amount-v1 strong{
  font-size:20px;
  line-height:1;
}

.kemmo-buyer-topup-qr-v1{
  display:flex;
  justify-content:center;
  margin:14px 0;
  padding:12px;
  border-radius:15px;
  background:#fff;
}

.kemmo-buyer-topup-qr-v1 img{
  display:block;
  width:min(100%,260px);
  height:auto;
  aspect-ratio:1;
  object-fit:contain;
}

.kemmo-buyer-topup-meta-v1{
  display:grid;
  margin:10px 0;
}

.kemmo-buyer-topup-meta-v1 > div{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:9px 0;
  border-bottom:1px solid rgba(148,163,184,.14);
}

.kemmo-buyer-topup-meta-v1 span{
  flex:0 0 auto;
  font-size:10px;
  opacity:.58;
}

.kemmo-buyer-topup-meta-v1 strong{
  min-width:0;
  font-size:10px;
  text-align:right;
  word-break:break-all;
}

.kemmo-buyer-topup-success-v1{
  margin:12px 0;
  padding:11px 12px;
  border-radius:11px;
  background:rgba(22,163,74,.10);
  color:#15803d;
  font-size:11px;
  font-weight:700;
  line-height:1.5;
}

/* KEMMO BUYER TOPUP UI V1 END */
