.pw-wrap { position: relative; display: block; }
.pw-wrap input { padding-right: 56px; box-sizing: border-box; width: 100%; }
.pw-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  height: 34px;
  width: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(0,0,0,0.06);
  padding: 0;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  color: #374151;
  border-radius: 8px;
  z-index: 5;
}
.pw-toggle:focus { outline: 2px solid rgba(59,130,246,0.18); }

/* Ensure the signup card lays out without overflow and has comfortable padding */
.vcard.auth-card.premium-signup { padding: 22px; max-width: 580px; box-sizing: border-box; }
.auth-right { display:flex; align-items:center; justify-content:center; padding: 20px; }

/* Responsive tweaks */
@media (max-width: 680px) {
  .pw-wrap input { padding-right: 48px; }
  .pw-toggle { height: 30px; width: 30px; font-size: 13px; }
  .vcard.auth-card.premium-signup { padding: 18px; }
}

/* Chatbot button override to ensure round shape on this page */
#chatbot-btn { border-radius: 50%; box-shadow: 0 8px 20px rgba(37,99,235,0.12); }
/* hide chatbot by default without inline styles */
#chatbot { display: none; }

/* ===========================
   ADDITIONAL PRO UI STYLES
   =========================== */

.auth-card {
  max-width: 520px;
  margin: auto;
  padding: 40px;
}

.auth-card h1 {
  font-size: 28px;
  margin-bottom: 8px;
}

.subtitle {
  color: #64748b;
  margin-bottom: 28px;
  font-size: 15px;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.form-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-section.full {
  grid-template-columns: 1fr;
}

label {
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
}

input, select {
  padding: 14px 14px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  font-size: 14px;
  width: 100%;
}

input:focus, select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59,130,246,.15);
}

.btn.primary {
  padding: 16px;
  font-size: 15px;
  border-radius: 12px;
  background: linear-gradient(135deg,#2563eb,#3b82f6);
  color: #fff;
  border: none;
}

.check-row {
  font-size: 13px;
  color: #475569;
}

@media (max-width: 640px) {
  .form-section {
    grid-template-columns: 1fr;
  }
}
