/* Scoped form styles */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background-color: #1f1f1f;
  padding: 30px;
  width: 450px;
  border-radius: 20px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

.auth-form ::placeholder {
  font-family: inherit;
  color: #aaa;
}

.auth-form__label {
  color: #f1f1f1;
  font-weight: 600;
}

.auth-form__input-wrapper {
  border: 1.5px solid #333;
  border-radius: 10px;
  height: 50px;
  display: flex;
  align-items: center;
  padding-left: 10px;
  transition: 0.2s ease-in-out;
  background-color: #2b2b2b;
}

.auth-form__input {
  margin-left: 10px;
  border-radius: 10px;
  border: none;
  width: 100%;
  height: 100%;
  background-color: #2b2b2b;
  color: #f1f1f1;
}

.auth-form__input:focus {
  outline: none;
}

.auth-form__input-wrapper:focus-within {
  border: 1.5px solid #2d79f3;
}

.auth-form__row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
}

.auth-form__row label {
  font-size: 14px;
  color: #f1f1f1;
  font-weight: 400;
}

.auth-form__link {
  font-size: 14px;
  margin-left: 5px;
  color: #2d79f3;
  font-weight: 500;
  cursor: pointer;
}

.auth-form__submit {
  margin: 20px 0 10px 0;
  background-color: #2d79f3;
  border: none;
  color: white;
  font-size: 15px;
  font-weight: 500;
  border-radius: 10px;
  height: 50px;
  width: 100%;
  cursor: pointer;
}

.auth-form__text {
  text-align: center;
  color: #f1f1f1;
  font-size: 14px;
  margin: 5px 0;
}

.auth-form__oauth {
  margin-top: 10px;
  width: 100%;
  height: 50px;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 500;
  gap: 10px;
  border: 1px solid #333;
  background-color: #2b2b2b;
  color: #f1f1f1;
  cursor: pointer;
  transition: 0.2s ease-in-out;
}

.auth-form__oauth:hover {
  border: 1px solid #2d79f3;
}

.exit-button {
  position: absolute;
  top: 10px;
  right: 15px;
  background: transparent;
  border: none;
  color: #ccc;
  font-size: 24px;
  cursor: pointer;
  transition: color 0.2s;
}

.exit-button:hover {
  color: #fff;
}

/* Validation Checklist (signup form) */
#signup-validation-checklist {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1em;
  font-size: 0.9em;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px; /* vertical and horizontal spacing */
  max-height: 80px; /* or any max height you want */
  overflow-y: auto;
  transition: max-height 0.3s ease;
}

.validation-item {
  flex: 1 1 45%; /* make each item about 45% width, so 2 per line */
  display: flex;
  align-items: center;
  color: gray;
  stroke: gray;
}

.validation-item.valid {
  color: green;
}

.validation-item.valid .check-icon {
  stroke: green;
}

.check-icon {
  width: 16px;
  height: 16px;
  margin-right: 8px;
  flex-shrink: 0;
}
.span {
  font-size: 14px;
  margin-left: 5px;
  color: #2d79f3;
  font-weight: 500;
  cursor: pointer;
}


.tooltip {
  position: relative;
  display: inline-block;
  cursor: help;
  color: #2d79f3;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 220px;
  background-color: #333;
  color: #fff;
  text-align: left;
  border-radius: 5px;
  padding: 8px;
  position: absolute;
  z-index: 10;
  bottom: 125%; /* position above the icon */
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s;
  font-size: 0.85em;
  pointer-events: none;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.crypto-wallet {
  display: flex;
  align-items: center;
  gap: 10px;
}

.crypto-address {
  flex: 1;
  user-select: all;
}

.copy-btn {
  background-color: #2d79f3;
  border: none;
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.9em;
}

.copy-btn:hover {
  background-color: #1c4db7;
}
.tooltip-wrapper {
  position: relative;
  display: inline-block;
}

.qr-tooltip {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  position: absolute;
  bottom: 110%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  width: 150px;
  height: 150px;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(0,0,0,0.2);
  background: white;
  z-index: 1000;
}

.qr-tooltip.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}




.tooltip-wrapper:hover .qr-tooltip {
  display: block;
}


.payment-method-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 20px 0;
  text-align: center;
}

.payment-options {
  display: flex;
  gap: 30px;
  margin-top: 10px;
  justify-content: center;
}

.payment-option {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 16px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.payment-option input[type="radio"] {
  accent-color: #0070ba; /* PayPal blue */
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.payment-option:hover span {
  color: #0070ba;
}
.qr-subtitle {
  font-size: 14px;
  color: #555;
  margin-top: 8px;
  font-weight: 400;
}
.form-wrapper {
    max-height: 100vh; /* or 100vh minus some margin */
    overflow-y: auto;
    padding: 10px; /* optional, for some breathing space */
    box-sizing: border-box;
  }