.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-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;
}