.bcaf-auth-wrap {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
}

.bcaf-card,
.bcaf-logged-in-card {
    background: linear-gradient(180deg, #ffffff 0%, #fffefb 100%);
    border: 1px solid rgba(20, 20, 20, 0.06);
    border-radius: 26px;
    box-shadow:
        0 20px 60px rgba(17, 20, 14, 0.08),
        0 6px 18px rgba(17, 20, 14, 0.04);
    position: relative;
    overflow: hidden;
}

.bcaf-card::before,
.bcaf-logged-in-card::before {
    content: "";
    position: absolute;
    top: -90px;
    right: -90px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 187, 58, 0.14), transparent 68%);
    pointer-events: none;
}

.bcaf-card {
    padding: 28px;
}

.bcaf-card-single {
    width: 100%;
}

.bcaf-tabs {
    display: flex;
    gap: 8px;
    background: #f6f6f0;
    border: 1px solid rgba(20, 20, 20, 0.06);
    border-radius: 18px;
    padding: 6px;
    margin-bottom: 28px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.03);
}

.bcaf-tab {
    flex: 1;
    border: 0;
    background: transparent;
    border-radius: 14px;
    padding: 13px 14px;
    font-size: 14px;
    font-weight: 800;
    color: #7b8177;
    cursor: pointer;
    transition:
        color 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.2s ease;
    letter-spacing: 0.01em;
}

.bcaf-tab:hover {
    color: #141414;
    transform: translateY(-1px);
}

.bcaf-tab.is-active {
    background: #ffffff;
    color: #141414;
    box-shadow:
        0 8px 20px rgba(17, 20, 14, 0.05),
        inset 0 0 0 1px rgba(20, 20, 20, 0.04);
}

.bcaf-panel {
    display: none;
}

.bcaf-panel.is-active {
    display: block;
}

.bcaf-panel h3 {
    margin: 0 0 10px;
    font-size: 34px;
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #111111;
}

.bcaf-subtext {
    margin: 0 0 24px;
    color: #6f756b;
    font-size: 14px;
    line-height: 1.8;
    max-width: 95%;
}

.bcaf-form {
    display: grid;
    gap: 18px;
}

.bcaf-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.bcaf-field label {
    display: block;
    margin-bottom: 9px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.03em;
    color: #111111;
}

.bcaf-field label small {
    font-weight: 600;
    color: #8a9086;
    font-size: 11px;
    letter-spacing: 0;
}


.bcaf-helper-text {
    margin: 8px 0 0;
    color: #6f756b;
    font-size: 12px;
    line-height: 1.55;
}

.bcaf-field-referral .bcaf-input-wrap {
    background: linear-gradient(135deg, rgba(255, 187, 58, 0.08), rgba(165, 220, 92, 0.08)), #fcfcf8;
}

.bcaf-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 54px;
    border: 1px solid rgba(20, 20, 20, 0.09);
    border-radius: 14px;
    background: #fcfcf8;
    box-shadow:
        inset 0 1px 1px rgba(0, 0, 0, 0.01),
        0 0 0 rgba(0, 0, 0, 0);
    transition:
        border-color 0.22s ease,
        background 0.22s ease,
        box-shadow 0.22s ease,
        transform 0.2s ease;
}

.bcaf-input-wrap:hover {
    background: #ffffff;
    border-color: rgba(20, 20, 20, 0.16);
    box-shadow:
        inset 0 1px 1px rgba(0, 0, 0, 0.01),
        0 6px 16px rgba(17, 20, 14, 0.04);
}

.bcaf-input-wrap:focus-within {
    background: #ffffff;
    border-color: rgba(165, 220, 92, 0.95);
    box-shadow:
        0 0 0 4px rgba(165, 220, 92, 0.13),
        0 10px 24px rgba(165, 220, 92, 0.10);
    transform: translateY(-1px);
}

.bcaf-input {
    width: 100%;
    height: 52px;
    padding: 0 15px;
    margin: 0;
    border: 0 !important;
    border-radius: 14px;
    background: transparent !important;
    background-color: transparent !important;
    font-size: 14px;
    color: #141414;
    outline: none !important;
    box-shadow: none !important;
    appearance: none;
    -webkit-appearance: none;
}

.bcaf-input:hover,
.bcaf-input:focus,
.bcaf-input:active {
    border: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    background-color: transparent !important;
}

.bcaf-input[type="text"],
.bcaf-input[type="email"],
.bcaf-input[type="password"],
.bcaf-input[type="tel"] {
    border: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    background-color: transparent !important;
}

.bcaf-input::placeholder {
    color: #9aa095;
}

.bcaf-input:-webkit-autofill,
.bcaf-input:-webkit-autofill:hover,
.bcaf-input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #fcfcf8 inset;
    -webkit-text-fill-color: #141414;
    border-radius: 14px;
    transition: background-color 9999s ease-in-out 0s;
}

.bcaf-input-wrap:focus-within .bcaf-input:-webkit-autofill,
.bcaf-input-wrap:hover .bcaf-input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px #ffffff inset;
}

.bcaf-input-wrap-password .bcaf-input-password {
    padding-right: 56px;
}

.bcaf-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #7b8177;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
    padding: 0;
}

.bcaf-toggle:hover {
    background: rgba(20, 20, 20, 0.05);
    color: #111111;
}

.bcaf-toggle:focus-visible {
    outline: none;
    background: rgba(165, 220, 92, 0.14);
    color: #111111;
    box-shadow: 0 0 0 3px rgba(165, 220, 92, 0.18);
}

.bcaf-toggle:active {
    transform: translateY(-50%) scale(0.96);
}

.bcaf-toggle-icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.bcaf-toggle-icon svg {
    width: 18px;
    height: 18px;
    display: block;
}

/* =========================
   PASSWORD TOGGLE ICONS
   ========================= */

/* DEFAULT STATE (password hidden) → show 🚫👁️ */
.bcaf-toggle-icon-show {
    display: none;
}

.bcaf-toggle-icon-hide {
    display: inline;
}

/* PASSWORD VISIBLE STATE → show 👁️ */
.bcaf-toggle.is-visible .bcaf-toggle-icon-show {
    display: inline;
}

.bcaf-toggle.is-visible .bcaf-toggle-icon-hide {
    display: none;
}

.bcaf-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: -2px;
    font-size: 13px;
}

.bcaf-check {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: #6f756b;
    font-size: 13px;
    line-height: 1.5;
}

.bcaf-check input {
    accent-color: #8cc93a;
    transform: translateY(1px);
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
}

.bcaf-check span {
    transition: color 0.2s ease;
}

.bcaf-check:hover span {
    color: #4f554b;
}

.bcaf-link {
    color: #6e9a1f;
    text-decoration: none;
    font-weight: 800;
    font-size: 13px;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.bcaf-link:hover {
    color: #4f7412;
    text-decoration: underline;
}

.bcaf-btn {
    border: 0;
    border-radius: 14px;
    min-height: 54px;
    padding: 14px 18px;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        filter 0.22s ease,
        background 0.22s ease;
    letter-spacing: 0.01em;
    cursor: pointer;
}

.bcaf-btn:hover {
    transform: translateY(-1px);
}

.bcaf-btn:active {
    transform: translateY(0);
}

.bcaf-btn:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 4px rgba(165, 220, 92, 0.18),
        0 12px 26px rgba(17, 20, 14, 0.10);
}

.bcaf-btn-green {
    background: linear-gradient(135deg, #a5dc5c, #8cc93a);
    color: #132107;
    box-shadow: 0 12px 26px rgba(165, 220, 92, 0.22);
}

.bcaf-btn-green:hover {
    box-shadow: 0 16px 30px rgba(165, 220, 92, 0.28);
    filter: brightness(1.02);
}

.bcaf-btn-gold {
    background: linear-gradient(135deg, #ffbb3a, #f3aa11);
    color: #2a1a00;
    box-shadow: 0 12px 26px rgba(255, 187, 58, 0.22);
}

.bcaf-btn-gold:hover {
    box-shadow: 0 16px 30px rgba(255, 187, 58, 0.28);
    filter: brightness(1.02);
}

.bcaf-btn-light {
    background: #ffffff;
    color: #141414;
    border: 1px solid rgba(20, 20, 20, 0.08);
    box-shadow: 0 8px 20px rgba(17, 20, 14, 0.04);
}

.bcaf-logged-in-card {
    padding: 24px;
    display: flex;
    gap: 18px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.bcaf-logged-in-user {
    display: flex;
    gap: 14px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.bcaf-logged-in-user img {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 10px 20px rgba(17, 20, 14, 0.08);
}

.bcaf-logged-in-user small,
.bcaf-logged-in-user span {
    display: block;
    color: #6f756b;
}

.bcaf-logged-in-user small {
    font-size: 12px;
    margin-bottom: 3px;
}

.bcaf-logged-in-user strong {
    display: block;
    font-size: 18px;
    margin: 4px 0;
    color: #111111;
}

.bcaf-logged-in-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* ==================================================
   Lost Password / Account Recovery screen
   ================================================== */
.bcaf-lost-password-wrap {
    width: min(520px, calc(100% - 32px));
    max-width: 520px;
    margin: 28px auto 34px;
}

.bcaf-lost-card {
    padding: 30px;
}

.bcaf-auth-kicker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(144, 204, 65, 0.14);
    color: #4f7412;
    font-size: 10px;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.bcaf-lost-card h3 {
    margin: 0 0 10px;
    color: #111111;
    font-size: 32px;
    line-height: 1.08;
    font-weight: 850;
    letter-spacing: -0.035em;
}

.bcaf-lost-card .bcaf-subtext {
    max-width: 440px;
    margin-bottom: 22px;
}

.bcaf-lost-form {
    gap: 16px;
}

.bcaf-lost-card .bcaf-btn {
    width: 100%;
}

.bcaf-lost-note {
    margin-top: 16px;
    text-align: center;
}

.bcaf-lost-note .bcaf-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 12px;
    border-radius: 999px;
}

.bcaf-lost-note .bcaf-link::before {
    content: "←";
    margin-right: 7px;
    font-weight: 900;
}


/* v1.1.28 password reset success notice */
.bcaf-system-notice {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 18px;
    padding: 13px 14px;
    border-radius: 16px;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 750;
    border: 1px solid rgba(144, 204, 65, 0.25);
    background: linear-gradient(135deg, rgba(144, 204, 65, 0.16), rgba(255, 187, 58, 0.10));
    color: #22310f;
}

.bcaf-system-notice-icon {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #90CC41;
    color: #ffffff;
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 8px 18px rgba(144, 204, 65, 0.22);
}

.bcaf-notices .woocommerce-message,
.bcaf-notices .woocommerce-info {
    border-radius: 16px;
    border: 1px solid rgba(144, 204, 65, 0.22);
    background: rgba(144, 204, 65, 0.12);
    color: #22310f;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 700;
    padding: 12px 14px;
    margin: 0 0 16px;
}

.bcaf-notices .woocommerce-error {
    border-radius: 16px;
    border: 1px solid rgba(202, 58, 58, 0.22);
    background: rgba(202, 58, 58, 0.08);
    color: #6e1d1d;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 700;
    padding: 12px 14px;
    margin: 0 0 16px;
}


/* v1.1.29 direct password reset email + branded reset form */
.bcaf-reset-password-wrap .bcaf-reset-card {
    max-width: 520px;
}
.bcaf-reset-link-button {
    width: 100%;
    text-align: center;
    justify-content: center;
    text-decoration: none !important;
}
.bcaf-reset-form .bcaf-btn-gold,
.bcaf-lost-form .bcaf-btn-gold {
    background: #FFBB3A !important;
    color: #141414 !important;
    border-color: rgba(20,20,20,.06) !important;
}
.bcaf-reset-form .bcaf-btn-gold:hover,
.bcaf-lost-form .bcaf-btn-gold:hover,
.bcaf-reset-link-button:hover {
    background: #f3ad24 !important;
    color: #141414 !important;
}


/* ==========================================================================
   v1.1.34: New BudClub Auth Form Design
   Presentation-only update. Login/register functionality remains unchanged.
   ========================================================================== */
.bcaf-auth-wrap{
  width:100%;
  max-width:640px;
  margin:0 auto;
  color:#f4f3ec;
  --bcaf-bg:#0c0d0a;
  --bcaf-card:#1a1d16;
  --bcaf-card-2:#11140f;
  --bcaf-line:rgba(158,240,26,.16);
  --bcaf-line-strong:rgba(158,240,26,.38);
  --bcaf-green:#9ef01a;
  --bcaf-gold:#d4af37;
  --bcaf-cream:#f4f3ec;
  --bcaf-muted:#9aa08c;
}

.bcaf-auth-wrap *,
.bcaf-auth-wrap *::before,
.bcaf-auth-wrap *::after{
  box-sizing:border-box;
}

.bcaf-card,
.bcaf-logged-in-card{
  background:
    radial-gradient(circle at top right,rgba(158,240,26,.10),transparent 34%),
    linear-gradient(180deg,var(--bcaf-card),var(--bcaf-card-2));
  border:1px solid var(--bcaf-line);
  border-radius:24px;
  box-shadow:0 24px 70px rgba(0,0,0,.30);
  color:var(--bcaf-cream);
}

.bcaf-card::before,
.bcaf-logged-in-card::before{
  background:radial-gradient(circle,rgba(158,240,26,.13),transparent 68%);
}

.bcaf-card{
  padding:26px;
}

.bcaf-tabs{
  background:#0c0d0a;
  border:1px solid rgba(158,240,26,.15);
  border-radius:18px;
  padding:6px;
  margin-bottom:24px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03);
}

.bcaf-tab{
  color:var(--bcaf-muted);
  border-radius:14px;
  font-weight:900;
}

.bcaf-tab:hover{
  color:var(--bcaf-cream);
  background:rgba(158,240,26,.06);
}

.bcaf-tab.is-active{
  background:var(--bcaf-green);
  color:#071006;
  box-shadow:0 12px 30px rgba(158,240,26,.20);
}

.bcaf-panel h3,
.bcaf-title,
.bcaf-logged-in-card h3{
  color:var(--bcaf-cream)!important;
  font-family:"Hanken Grotesk","DM Sans",Inter,system-ui,sans-serif;
  font-weight:900;
  letter-spacing:-.04em;
}

.bcaf-subtext,
.bcaf-muted,
.bcaf-logged-in-card p{
  color:#cbd2c0!important;
}

.bcaf-field label{
  color:#dfe7d4;
  font-weight:850;
  letter-spacing:.08em;
}

.bcaf-input-wrap{
  min-height:54px;
  border:1px solid rgba(158,240,26,.18);
  background:#0c0d0a;
  border-radius:14px;
  transition:border-color .18s ease,box-shadow .18s ease,background .18s ease;
}

.bcaf-input-wrap:focus-within{
  border-color:var(--bcaf-green);
  box-shadow:0 0 0 3px rgba(158,240,26,.12);
  background:#0f120d;
}

.bcaf-input{
  color:var(--bcaf-cream)!important;
  background:transparent!important;
}

.bcaf-input::placeholder{
  color:rgba(244,243,236,.42);
}

.bcaf-toggle{
  background:rgba(158,240,26,.09);
  border:1px solid rgba(158,240,26,.16);
  color:var(--bcaf-green);
}

.bcaf-toggle:hover{
  background:rgba(158,240,26,.15);
}

.bcaf-checkbox,
.bcaf-checkbox input,
.bcaf-remember,
.bcaf-terms{
  color:#cbd2c0!important;
}

.bcaf-checkbox a,
.bcaf-terms a,
.bcaf-forgot a,
.bcaf-link{
  color:var(--bcaf-green)!important;
}

.bcaf-submit,
.bcaf-button,
.bcaf-primary,
.bcaf-auth-wrap button[type="submit"]{
  min-height:52px;
  border:1px solid rgba(158,240,26,.26)!important;
  border-radius:999px!important;
  background:var(--bcaf-green)!important;
  color:#071006!important;
  font-weight:950!important;
  box-shadow:0 16px 34px rgba(158,240,26,.22)!important;
}

.bcaf-submit:hover,
.bcaf-button:hover,
.bcaf-primary:hover,
.bcaf-auth-wrap button[type="submit"]:hover{
  filter:brightness(1.03);
  transform:translateY(-1px);
}

.bcaf-secondary,
.bcaf-auth-wrap .button:not([type="submit"]){
  border:1px solid rgba(158,240,26,.38)!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.04)!important;
  color:var(--bcaf-cream)!important;
}

.bcaf-alert,
.bcaf-message,
.bcaf-notice{
  border-radius:14px;
  border-color:rgba(158,240,26,.22)!important;
  background:rgba(158,240,26,.08)!important;
  color:#eaffca!important;
}

.bcaf-error{
  border-color:rgba(255,90,90,.34)!important;
  background:rgba(255,90,90,.09)!important;
  color:#ffd0d0!important;
}

.bcaf-form-footer{
  color:var(--bcaf-muted);
}

.bcaf-social,
.bcaf-divider{
  border-color:rgba(158,240,26,.12)!important;
  color:var(--bcaf-muted)!important;
}


/* ==========================================================================
   v1.1.35: Auth Input Text Visibility Fix
   Fixes typed email/password text appearing dark on dark input backgrounds.
   ========================================================================== */
.bcaf-auth-wrap input,
.bcaf-auth-wrap input[type="text"],
.bcaf-auth-wrap input[type="email"],
.bcaf-auth-wrap input[type="password"],
.bcaf-auth-wrap input[type="tel"],
.bcaf-auth-wrap input[type="url"],
.bcaf-auth-wrap input[type="number"],
.bcaf-auth-wrap textarea,
.bcaf-auth-wrap select,
.bcaf-auth-wrap .bcaf-input{
  color:#f4f3ec!important;
  -webkit-text-fill-color:#f4f3ec!important;
  caret-color:#9ef01a!important;
  background-color:transparent!important;
}

.bcaf-auth-wrap input::placeholder,
.bcaf-auth-wrap textarea::placeholder,
.bcaf-auth-wrap .bcaf-input::placeholder{
  color:rgba(244,243,236,.48)!important;
  -webkit-text-fill-color:rgba(244,243,236,.48)!important;
  opacity:1!important;
}

.bcaf-auth-wrap input:-webkit-autofill,
.bcaf-auth-wrap input:-webkit-autofill:hover,
.bcaf-auth-wrap input:-webkit-autofill:focus,
.bcaf-auth-wrap input:-webkit-autofill:active{
  -webkit-text-fill-color:#f4f3ec!important;
  caret-color:#9ef01a!important;
  box-shadow:0 0 0 1000px #0c0d0a inset!important;
  border-color:rgba(158,240,26,.28)!important;
  transition:background-color 9999s ease-in-out 0s!important;
}

/* Browser/password-manager inserted values */
.bcaf-auth-wrap input[data-com-onepassword-filled],
.bcaf-auth-wrap input[data-lastpass-icon-root],
.bcaf-auth-wrap input:-internal-autofill-selected{
  color:#f4f3ec!important;
  -webkit-text-fill-color:#f4f3ec!important;
}
