
.toast-container {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 32px;
  pointer-events: none;
}

.toast {
  background: rgba(20, 20, 22, 0.78);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 14px 20px;
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.34);
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: min(82vw, 340px);
  color: #fff;
  animation: toastIn 0.22s cubic-bezier(.2, .9, .3, 1.15);
  
  pointer-events: none;
}

.toast.toast-out {
  animation: toastOut 0.22s ease-in forwards;
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: scale(0.94);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes toastOut {
  from {
    opacity: 1;
    transform: scale(1);
  }

  to {
    opacity: 0;
    transform: scale(0.96);
  }
}

.toast-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 15px;
}

.toast-success .toast-icon {
  color: #4ade80;
}

.toast-error .toast-icon {
  color: #f87171;
}

.toast-warning .toast-icon {
  color: #fbbf24;
}

.toast-info .toast-icon {
  color: #60a5fa;
}

.toast-message {
  font-size: 14.5px;
  line-height: 1.45;
  color: #fff;
  font-weight: 500;
}

.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.hidden {
  display: none;
}
.shadow-xl {
  --tw-shadow:
    0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --tw-shadow-colored:
    0 20px 25px -5px var(--tw-shadow-color),
    0 8px 10px -6px var(--tw-shadow-color);
}
.text-center {
  text-align: center;
}
.p-8 {
  padding: 25px;
  border-radius: 13px;
}
.bg-white {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}
.mb-4 {
  margin-bottom: 1rem;
}
.mx-auto {
  margin: 0 auto;
}
.text-gray-700 {
  --tw-text-opacity: 1;
  color: rgb(55 65 81 / var(--tw-text-opacity, 1));
}
.font-medium {
  font-weight: 500;
}
blockquote,
dd,
dl,
figure,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
p,
pre {
  margin: 0;
}


.paypwd-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  z-index: 9998;
}

.paypwd-overlay.show {
  display: flex;
}

.paypwd-card {
  position: relative;
  width: 100%;
  max-width: 400px;
  box-sizing: border-box;
  background: #fff;
  border-radius: 14px;
  padding: 30px 22px 22px;
  animation: paypwdIn 0.22s ease-out;
}

@keyframes paypwdIn {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.paypwd-close {
  position: absolute;
  top: 8px;
  right: 12px;
  padding: 4px;
  border: 0;
  background: none;
  font-size: 26px;
  line-height: 1;
  color: #bdbdbd;
  cursor: pointer;
}

.paypwd-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 17px;
  font-weight: 600;
  color: #1f2937;
}


.paypwd-ico {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  width: 22px;
  height: 21px;
}

.paypwd-ico::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0;
  width: 14px;
  height: 11px;
  box-sizing: border-box;
  border: 2px solid #0777ed;
  border-radius: 7px 7px 0 0;
}

.paypwd-ico::after {
  content: "123";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 22px;
  height: 14px;
  box-sizing: border-box;
  border: 2px solid #0777ed;
  border-radius: 4px;
  background: #fff;
  color: #0777ed;
  font-size: 9px;
  font-weight: 700;
  line-height: 11px;
  text-align: center;
}


.paypwd-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 22px;
  padding: 3px;
  background: #f1f3f5;
  border-radius: 10px;
}

.paypwd-tab {
  flex: 1;
  padding: 8px 0;
  border: 0;
  border-radius: 8px;
  background: none;
  font-size: 14px;
  color: #6b7280;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  -webkit-appearance: none;
  appearance: none;
}

.paypwd-tab.is-active {
  background: #fff;
  color: #0777ed;
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.paypwd-pane[hidden] {
  display: none;
}


.paypwd-boxes {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 22px;
}

.paypwd-box {
  flex: 1 1 0;
  min-width: 0;
  max-width: 48px;
  height: 46px;
  box-sizing: border-box;
  border: 1px solid #d5d8dd;
  border-radius: 8px;
  background: #fff;
  color: #1f2937;
  font-size: 20px;
  text-align: center;
  outline: none;
  caret-color: #0777ed;
  -webkit-appearance: none;
  appearance: none;
}

.paypwd-box:focus {
  border-color: #0777ed;
  box-shadow: 0 0 0 2px rgba(7, 119, 237, 0.15);
}


.paypwd-mix-wrap {
  position: relative;
  margin-bottom: 14px;
}

.paypwd-mix-input {
  width: 100%;
  height: 46px;
  box-sizing: border-box;
  padding: 0 44px 0 14px;
  border: 1px solid #d5d8dd;
  border-radius: 8px;
  background: #fff;
  color: #1f2937;
  font-size: 15px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.paypwd-mix-input:focus {
  border-color: #0777ed;
  box-shadow: 0 0 0 2px rgba(7, 119, 237, 0.15);
}

.paypwd-mix-wrap .pwd-eye {
  position: absolute;
  top: 0;
  right: 0;
  width: 44px;
  height: 46px;
  border: 0;
  background: none;
  color: #9ca3af;
  font-size: 15px;
  cursor: pointer;
}

.paypwd-submit {
  width: 100%;
  height: 46px;
  margin-bottom: 20px;
  border: 0;
  border-radius: 8px;
  background: #0777ed;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.paypwd-submit:active {
  opacity: 0.85;
}

.paypwd-forgot {
  display: block;
  margin-top: 2px;
  font-size: 15px;
  color: #0777ed;
  text-decoration: none;
}

@media (max-width: 360px) {
  .paypwd-card { padding: 26px 16px 18px; }
  .paypwd-boxes { gap: 6px; }
  .paypwd-box { height: 42px; font-size: 18px; }
}
