/* Center wrapper */
.wpfb-card {
  max-width: 520px;
  margin: 120px auto;              /* moves it slightly lower, more breathing space */
  padding: 48px 48px 54px;         /* increased inner spacing */
  background: #111;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.12);
  color: #eee;
  font-family: inherit;
  box-shadow: none !important;
}

/* Tabs */
.wpfb-tabs {
  display: flex;
  justify-content: center;
  gap: 36px;
  padding-bottom: 14px; /* increased padding below tabs */
  margin-bottom: 36px; /* space before inputs */
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.wpfb-tab {
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255,255,255,.55);
  padding: 6px 0;
  cursor: pointer;
  position: relative;
}

.wpfb-tab:hover {
  color: rgba(255,255,255,.85);
}

.wpfb-tab.is-active {
  color: #fff;
}

.wpfb-tab.is-active::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0; right: 0;
  margin: auto;
  width: 75%;
  height: 2px;
  background: #e31b23; /* your brand red */
  border-radius: 4px;
}

/* Panels */
.wpfb-panel { display: none; }
.wpfb-panel.is-active { display: block; }

/* Labels & Inputs */
.wpfb-label {
  font-size: .85rem;
  opacity: .8;
  margin: 10px 0 6px;
  display: block;
}

.wpfb-input {
  width: 100%;
  height: 46px;
  background: #0d0d0d;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  color: #fff;
  padding: 0 14px;
  outline: none;
  transition: border .2s, box-shadow .2s;
}

.wpfb-input:focus {
  border-color: #e31b23;
  box-shadow: 0 0 0 3px rgba(227,27,35,.25);
}

/* Primary Button */
.wpfb-btn {
  width: 100%;
  height: 48px;
  margin-top: 16px;
  background: #e31b23;
  border: none;
  border-radius: 10px;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: transform .15s, filter .15s;
}

.wpfb-btn:hover { filter: brightness(.92); }
.wpfb-btn:active { transform: scale(.97); }

/* Google Button */
.wpfb-btn--google {
  background: #fff;
  color: #111;
  border: 1px solid rgba(0,0,0,.15);
}

/* Divider */
.wpfb-or {
  text-align: center;
  margin: 24px 0;
  position: relative;
  color: rgba(255,255,255,.6);
}

.wpfb-or::before, .wpfb-or::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 40%;
  height: 1px;
  background: rgba(255,255,255,.15);
}
.wpfb-or::before { left: 0; }
.wpfb-or::after { right: 0; }

/* Hint + Messages */
.wpfb-hint {
  margin-top: 8px;
  font-size: .85rem;
  color: rgba(255,255,255,.55);
}
.wpfb-panel {
  display: none;
  animation: fade .25s ease-in-out;
}
.wpfb-panel.is-active {
  display: block;
}

/* Smooth fade animation (subtle) */
@keyframes fade {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.wpfb-or {
  text-align: center;
  margin: 36px 0;   /* more spacing around divider line */
  position: relative;
  color: rgba(255,255,255,.6);
}
.wpfb-field {
  display: grid;
  gap: 10px;
  margin: 18px 0;  /* was ~14px → now more space between fields */
}

#wpfb-msg { margin-top: 18px; font-size: .9rem; }
#wpfb-msg.wpfb-msg--ok { color: #7ef58a; }
#wpfb-msg.wpfb-msg--err { color: #ff7b72; }
