
:root {
    --tfpa-green: #1F4A3D;
    --tfpa-green-dark: #163D33;
    --tfpa-green-soft: #EEF5F1;
    --tfpa-lime: #16A34A;
    --tfpa-yellow: #FFD93B;
    --tfpa-text: #4B5563;
    --tfpa-muted: #78827E;
    --tfpa-border: #E5EBE8;
    --tfpa-soft: #F7FAF8;
}

/* =========================================================
   PUBLIC / GUEST HARD RESET
   Prevent theme/Elementor global button styles from leaking
   into the account UI (especially cached guest pages).
========================================================= */

.tfpa-portal button,
.tfpa-portal button:hover,
.tfpa-portal button:focus,
.tfpa-portal button:active {
    -webkit-appearance: none !important;
    appearance: none !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    font-family: "Kalame", "Kalameh", "Dana", Tahoma, sans-serif !important;
    -webkit-text-fill-color: currentColor !important;
}

.tfpa-portal .tfpa-tab,
.tfpa-portal .tfpa-tab:hover,
.tfpa-portal .tfpa-tab:focus,
.tfpa-portal .tfpa-tab:active {
    min-height: 42px !important;
    padding: 0 16px !important;
    border: 0 !important;
    outline: 0 !important;
    border-radius: 999px !important;
    background: transparent !important;
    color: #64716C !important;
    box-shadow: none !important;
    font-size: 13px !important;
    font-weight: 800 !important;
}

.tfpa-portal .tfpa-tab.is-active,
.tfpa-portal .tfpa-tab.is-active:hover,
.tfpa-portal .tfpa-tab.is-active:focus,
.tfpa-portal .tfpa-tab.is-active:active {
    border: 0 !important;
    background: transparent !important;
    color: #FFFFFF !important;
    box-shadow: none !important;
}

.tfpa-portal .tfpa-password-toggle,
.tfpa-portal .tfpa-password-toggle:hover,
.tfpa-portal .tfpa-password-toggle:focus,
.tfpa-portal .tfpa-password-toggle:active {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    margin-left: 3px !important;
    padding: 0 !important;
    border: 0 !important;
    outline: 0 !important;
    border-radius: 12px !important;
    background: transparent !important;
    color: #7E8A85 !important;
    box-shadow: none !important;
}

.tfpa-portal .tfpa-password-toggle:focus-visible {
    outline: 2px solid rgba(31,74,61,.28) !important;
    outline-offset: 1px !important;
}

.tfpa-portal .tfpa-submit,
.tfpa-portal .tfpa-submit:link,
.tfpa-portal .tfpa-submit:visited,
.tfpa-portal .tfpa-submit:focus,
.tfpa-portal .tfpa-submit:active {
    width: 100% !important;
    min-height: 50px !important;
    padding: 9px 12px 9px 9px !important;
    border: 0 !important;
    outline: 0 !important;
    border-radius: 999px !important;
    background: var(--tfpa-green) !important;
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
    box-shadow: 0 9px 22px rgba(31,74,61,.16) !important;
    font-size: 13px !important;
    font-weight: 900 !important;
}

@media (hover:hover) and (pointer:fine) {
    .tfpa-portal .tfpa-submit:hover {
        border: 0 !important;
        background: var(--tfpa-green-dark) !important;
        color: #FFFFFF !important;
        -webkit-text-fill-color: #FFFFFF !important;
        transform: translateY(-3px) !important;
        box-shadow: 0 14px 28px rgba(31,74,61,.22) !important;
    }
}

.tfpa-portal .tfpa-submit__icon {
    background: var(--tfpa-yellow) !important;
    color: var(--tfpa-green-dark) !important;
    -webkit-text-fill-color: var(--tfpa-green-dark) !important;
}

.tfpa-portal .tfpa-input input,
.tfpa-portal .tfpa-input input:hover,
.tfpa-portal .tfpa-input input:focus,
.tfpa-portal .tfpa-input input:active {
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    color: #26342F !important;
    -webkit-text-fill-color: #26342F !important;
    box-shadow: none !important;
}

.tfpa-portal .tfpa-form__meta a,
.tfpa-portal .tfpa-form__meta a:hover,
.tfpa-portal .tfpa-form__meta a:focus,
.tfpa-portal .tfpa-form__meta a:active {
    color: var(--tfpa-green) !important;
    -webkit-text-fill-color: var(--tfpa-green) !important;
    text-decoration: none !important;
}


.tfpa-portal,
.tfpa-portal *,
.tfpa-header-account,
.tfpa-header-account * {
    box-sizing: border-box;
}

.tfpa-portal,
.tfpa-portal input,
.tfpa-portal button,
.tfpa-portal a {
    font-family: "Kalame", "Kalameh", "Dana", Tahoma, sans-serif !important;
}

.tfpa-portal {
    position: relative;
    isolation: isolate;
    width: 100vw;
    margin-inline: calc(50% - 50vw);
    padding: clamp(26px, 5vw, 72px) clamp(16px, 4vw, 56px);
    overflow: hidden;
    direction: rtl;
    color: var(--tfpa-green);
    background:
        radial-gradient(circle at 10% 20%, rgba(255, 217, 59, .11), transparent 26%),
        radial-gradient(circle at 92% 82%, rgba(22, 163, 74, .10), transparent 27%),
        linear-gradient(180deg, #fbfdfb 0%, #f2f7f3 100%);
}

.tfpa-shell {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(430px, .98fr);
    width: min(1180px, 100%);
    min-height: min(720px, calc(100vh - 160px));
    margin-inline: auto;
    overflow: hidden;
    border: 1px solid rgba(31, 74, 61, .09);
    border-radius: clamp(24px, 2.4vw, 36px);
    background: #fff;
    box-shadow: 0 28px 75px rgba(12, 40, 32, .12);
}

.tfpa-visual {
    position: relative;
    isolation: isolate;
    min-height: 640px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(7, 43, 33, .08), rgba(4, 34, 26, .72)),
        var(--tfpa-image) center/cover no-repeat;
}

.tfpa-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(130deg, rgba(255,255,255,.10), transparent 32%),
        radial-gradient(circle at 78% 15%, rgba(255,217,59,.22), transparent 26%),
        linear-gradient(180deg, rgba(10,55,42,.05) 0%, rgba(5,35,27,.14) 52%, rgba(4,28,22,.88) 100%);
}

.tfpa-visual::after {
    content: "";
    position: absolute;
    z-index: 1;
    top: -20%;
    bottom: -20%;
    left: -40%;
    width: 26%;
    transform: skewX(-16deg);
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.20), rgba(255,217,59,.10), transparent);
    filter: blur(2px);
    animation: tfpaShine 8s cubic-bezier(.22,1,.36,1) infinite;
}

.tfpa-visual__noise {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: .13;
    pointer-events: none;
    background-image: radial-gradient(rgba(255,255,255,.7) .7px, transparent .7px);
    background-size: 18px 18px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.65), transparent 75%);
}

.tfpa-visual__content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: clamp(26px, 4vw, 46px);
    color: #fff;
}

.tfpa-visual__badge {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 14px;
    border: 1px solid rgba(255,255,255,.55);
    border-radius: 999px;
    background: rgba(10, 55, 42, .38);
    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);
    font-size: 12px;
    font-weight: 800;
    box-shadow: inset 0 1px rgba(255,255,255,.13);
}

.tfpa-visual__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--tfpa-yellow);
    box-shadow: 0 0 0 5px rgba(255,217,59,.11);
    animation: tfpaPulse 2.8s ease-in-out infinite;
}

.tfpa-visual__spacer {
    flex: 1;
    min-height: 200px;
}

.tfpa-visual__copy {
    max-width: 500px;
}

.tfpa-visual__eyebrow {
    display: block;
    margin-bottom: 12px;
    direction: ltr;
    text-align: right;
    color: #DBFF7D;
    font-family: Arial, sans-serif !important;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
}

.tfpa-visual h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(34px, 3.2vw, 52px);
    font-weight: 900;
    line-height: 1.35;
    text-wrap: balance;
}

.tfpa-visual p {
    max-width: 490px;
    margin: 14px 0 0;
    color: rgba(255,255,255,.84);
    font-size: 14px;
    line-height: 2;
}

.tfpa-float-card {
    position: absolute;
    z-index: 4;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.55);
    border-radius: 18px;
    background: rgba(255,255,255,.14);
    color: var(--tfpa-yellow);
    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);
    box-shadow: 0 13px 28px rgba(0,0,0,.14);
    animation: tfpaFloat 4.4s ease-in-out infinite;
}

.tfpa-float-card--a {
    top: 26%;
    left: 8%;
    width: 56px;
    height: 56px;
    transform: rotate(-8deg);
    font-size: 30px;
}

.tfpa-float-card--b {
    top: 46%;
    right: 9%;
    width: 66px;
    height: 44px;
    transform: rotate(7deg);
    font-family: Arial, sans-serif !important;
    font-size: 12px;
    font-weight: 900;
    animation-delay: -1.4s;
}

.tfpa-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(30px, 5vw, 64px);
    background:
        linear-gradient(145deg, rgba(248,250,249,.7), rgba(255,255,255,1) 44%),
        #fff;
}

.tfpa-card::before {
    content: "";
    position: absolute;
    top: 25px;
    left: 25px;
    width: 70px;
    height: 70px;
    border: 1px dashed rgba(31,74,61,.14);
    border-radius: 50%;
    animation: tfpaSpin 24s linear infinite;
    pointer-events: none;
}

.tfpa-card__brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.tfpa-card__mark {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border: 1px solid var(--tfpa-border);
    border-radius: 50%;
    background: #fff;
    color: var(--tfpa-green);
    box-shadow: 0 7px 18px rgba(31,74,61,.08);
}

.tfpa-card__mark svg {
    width: 21px;
    height: 21px;
    fill: currentColor;
}

.tfpa-eyebrow {
    display: block;
    margin-bottom: 2px;
    color: var(--tfpa-lime);
    font-size: 11px;
    font-weight: 800;
}

.tfpa-card h1 {
    margin: 0;
    color: var(--tfpa-green);
    font-size: clamp(27px, 2.6vw, 40px);
    line-height: 1.4;
    font-weight: 900;
}

.tfpa-card h1 strong {
    color: var(--tfpa-green);
    white-space: nowrap;
}

.tfpa-card h1 strong::after {
    content: "";
    display: inline-block;
    width: 9px;
    height: 9px;
    margin-right: 8px;
    border-radius: 50%;
    vertical-align: .2em;
    background: var(--tfpa-yellow);
    box-shadow: 0 0 0 5px rgba(255,217,59,.18);
}

.tfpa-intro {
    max-width: 540px;
    margin: 13px 0 24px;
    color: var(--tfpa-muted);
    font-size: 13px;
    line-height: 1.9;
}

.tfpa-tabs {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
    margin-bottom: 24px;
    padding: 4px;
    border: 1px solid var(--tfpa-border);
    border-radius: 999px;
    background: var(--tfpa-soft);
}

.tfpa-tab {
    position: relative;
    z-index: 2;
    min-height: 42px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #64716C;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: color .28s ease, transform .28s ease;
}

.tfpa-tab.is-active {
    color: #fff;
}

.tfpa-tabs__indicator {
    position: absolute;
    z-index: 1;
    top: 4px;
    right: 4px;
    width: calc(50% - 6px);
    height: calc(100% - 8px);
    border-radius: 999px;
    background: var(--tfpa-green);
    box-shadow: 0 5px 14px rgba(31,74,61,.18);
    transition: transform .38s cubic-bezier(.22,1,.36,1);
}

.tfpa-tabs.is-register .tfpa-tabs__indicator {
    transform: translateX(-100%);
}

.tfpa-message {
    display: none;
    margin: -10px 0 16px;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 12px;
    line-height: 1.7;
}

.tfpa-message.is-visible {
    display: block;
}

.tfpa-message.is-error {
    background: #FFF1F1;
    color: #A33A3A;
    border: 1px solid #F3CACA;
}

.tfpa-message.is-success {
    background: #EEF8F1;
    color: #1F6B3C;
    border: 1px solid #CFE8D6;
}

.tfpa-panels {
    position: relative;
}

.tfpa-form {
    display: none;
    opacity: 0;
    transform: translateY(10px);
}

.tfpa-form.is-active {
    display: block;
    animation: tfpaPanelIn .45s cubic-bezier(.22,1,.36,1) forwards;
}

.tfpa-form__head {
    margin-bottom: 18px;
}

.tfpa-form__head h2,
.tfpa-logged h2 {
    margin: 0;
    color: var(--tfpa-green);
    font-size: 20px;
    font-weight: 900;
    line-height: 1.5;
}

.tfpa-form__head p,
.tfpa-logged > p {
    margin: 5px 0 0;
    color: var(--tfpa-muted);
    font-size: 12px;
    line-height: 1.8;
}

.tfpa-field {
    display: block;
    margin-bottom: 14px;
}

.tfpa-field > span:first-child {
    display: block;
    margin-bottom: 7px;
    color: #55635E;
    font-size: 11px;
    font-weight: 800;
}

.tfpa-input {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 48px;
    border: 1px solid var(--tfpa-border);
    border-radius: 15px;
    background: #fff;
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.tfpa-input:focus-within {
    border-color: rgba(31,74,61,.44);
    box-shadow: 0 0 0 4px rgba(31,74,61,.07);
    transform: translateY(-1px);
}

.tfpa-input > svg {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-right: 14px;
    fill: #87938E;
}

.tfpa-input input {
    min-width: 0;
    flex: 1;
    height: 46px;
    padding: 0 11px;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    color: #26342F;
    font-size: 13px;
    box-shadow: none !important;
}

.tfpa-input input::placeholder {
    color: #A7B0AC;
}

.tfpa-password-toggle {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-left: 3px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: #7E8A85;
    cursor: pointer;
}

.tfpa-password-toggle svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.tfpa-field-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.tfpa-form__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: -2px 0 18px;
    font-size: 11px;
}

.tfpa-form__meta a {
    color: var(--tfpa-green);
    font-weight: 800;
    text-decoration: none;
}

.tfpa-check {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #67736F;
    cursor: pointer;
}

.tfpa-check input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.tfpa-check span {
    display: grid;
    place-items: center;
    width: 17px;
    height: 17px;
    border: 1px solid #CBD5D1;
    border-radius: 5px;
    background: #fff;
}

.tfpa-check input:checked + span {
    border-color: var(--tfpa-green);
    background: var(--tfpa-green);
    box-shadow: inset 0 0 0 4px var(--tfpa-yellow);
}

.tfpa-submit,
.tfpa-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 50px;
    border: 0;
    border-radius: 999px;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
    transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s ease, background-color .3s ease;
}

.tfpa-submit {
    width: 100%;
    padding: 9px 12px 9px 9px;
    background: var(--tfpa-green);
    color: #fff;
    box-shadow: 0 9px 22px rgba(31,74,61,.16);
}

.tfpa-submit__icon {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 31px;
    height: 31px;
    margin-right: auto;
    border-radius: 50%;
    background: var(--tfpa-yellow);
    color: var(--tfpa-green-dark);
    font-family: Arial, sans-serif !important;
    font-size: 18px;
    transition: transform .3s cubic-bezier(.22,1,.36,1);
}

.tfpa-submit:hover,
.tfpa-btn--primary:hover {
    transform: translateY(-3px);
    background: var(--tfpa-green-dark);
    box-shadow: 0 14px 28px rgba(31,74,61,.22);
}

.tfpa-submit:hover .tfpa-submit__icon {
    transform: translateX(-4px) rotate(-8deg);
}

.tfpa-submit.is-loading {
    pointer-events: none;
    opacity: .82;
}

.tfpa-submit.is-loading .tfpa-submit__icon {
    display: none;
}

.tfpa-submit__loader {
    display: none;
    width: 20px;
    height: 20px;
    margin-right: auto;
    border: 2px solid rgba(255,255,255,.32);
    border-top-color: #fff;
    border-radius: 50%;
    animation: tfpaSpin .75s linear infinite;
}

.tfpa-submit.is-loading .tfpa-submit__loader {
    display: block;
}

.tfpa-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 18px 0 0;
    color: #87918D;
    font-size: 10.5px;
    line-height: 1.8;
}

.tfpa-note svg {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    margin-top: 2px;
    fill: #7E8B85;
}

.tfpa-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
}

.tfpa-logged {
    text-align: center;
}

.tfpa-avatar-wrap {
    position: relative;
    width: 96px;
    margin: 0 auto 14px;
}

.tfpa-avatar {
    display: block;
    width: 96px;
    height: 96px;
    border: 5px solid #fff;
    border-radius: 50%;
    box-shadow: 0 12px 26px rgba(31,74,61,.13);
}

.tfpa-status-dot {
    position: absolute;
    right: 5px;
    bottom: 8px;
    width: 16px;
    height: 16px;
    border: 3px solid #fff;
    border-radius: 50%;
    background: #22C55E;
}

.tfpa-logged__kicker {
    display: block;
    margin-bottom: 4px;
    color: var(--tfpa-lime);
    font-family: Arial, sans-serif !important;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .1em;
}

.tfpa-profile {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 22px 0;
    text-align: right;
}

.tfpa-profile > div {
    padding: 13px 14px;
    border: 1px solid var(--tfpa-border);
    border-radius: 15px;
    background: var(--tfpa-soft);
}

.tfpa-profile span {
    display: block;
    margin-bottom: 4px;
    color: #87918D;
    font-size: 10px;
}

.tfpa-profile strong {
    display: block;
    overflow: hidden;
    color: var(--tfpa-green);
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tfpa-logged__actions {
    display: flex;
    gap: 10px;
}

.tfpa-btn {
    flex: 1;
    padding: 10px 16px;
}

.tfpa-btn--primary {
    background: var(--tfpa-green);
    color: #fff !important;
}

.tfpa-btn--ghost {
    border: 1px solid var(--tfpa-border);
    background: #fff;
    color: var(--tfpa-green) !important;
}

.tfpa-btn--ghost:hover {
    transform: translateY(-2px);
    border-color: rgba(31,74,61,.25);
    background: var(--tfpa-soft);
}

.tfpa-orb {
    position: absolute;
    z-index: 0;
    border-radius: 50%;
    filter: blur(2px);
    pointer-events: none;
}

.tfpa-orb--one {
    top: 8%;
    right: -80px;
    width: 240px;
    height: 240px;
    border: 1px dashed rgba(31,74,61,.12);
    animation: tfpaSpin 34s linear infinite;
}

.tfpa-orb--two {
    left: -90px;
    bottom: 4%;
    width: 210px;
    height: 210px;
    border: 1px dashed rgba(255,217,59,.28);
    animation: tfpaSpin 28s linear infinite reverse;
}

/* Header account icon */
.tfpa-header-account[hidden] {
    display: none !important;
}

.elementor-location-header .elementor-element-74f3952 {
    position: relative;
}

.tfpa-header-account {
    position: absolute !important;
    z-index: 1000022 !important;
    top: 50% !important;
    left: calc(var(--tx, 1px) * 58) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: calc(var(--tx, 1px) * 46) !important;
    height: calc(var(--tx, 1px) * 46) !important;
    min-width: calc(var(--tx, 1px) * 46) !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: translateY(-50%) !important;
    border: 1px solid #E5EBE8 !important;
    border-radius: 50% !important;
    background: #fff !important;
    color: #1F4A3D !important;
    box-shadow: 0 calc(var(--tx, 1px) * 3) calc(var(--tx, 1px) * 10) rgba(31,74,61,.06);
    text-decoration: none !important;
    cursor: pointer;
    transition:
        transform .3s cubic-bezier(.22,1,.36,1),
        background-color .3s ease,
        color .3s ease,
        border-color .3s ease,
        box-shadow .3s ease !important;
}

.tfpa-header-account svg {
    width: calc(var(--tx, 1px) * 16) !important;
    height: calc(var(--tx, 1px) * 16) !important;
    fill: currentColor !important;
}

.tfpa-header-account:hover,
.tfpa-header-account.is-current {
    background: #1F4A3D !important;
    color: #FFD93B !important;
    border-color: #1F4A3D !important;
    transform: translateY(calc(-50% - (var(--tx, 1px) * 2))) rotate(-5deg) !important;
    box-shadow: 0 calc(var(--tx, 1px) * 7) calc(var(--tx, 1px) * 17) rgba(31,74,61,.18) !important;
}

@media (min-width: 768px) and (max-width: 1024px) {
    .tfpa-header-account {
        left: calc(var(--tx, 1px) * 50) !important;
        width: calc(var(--tx, 1px) * 42) !important;
        height: calc(var(--tx, 1px) * 42) !important;
        min-width: calc(var(--tx, 1px) * 42) !important;
    }
}

@media (max-width: 767px) {
    .tfpa-shell {
        grid-template-columns: 1fr;
        min-height: 0;
        border-radius: 24px;
    }

    .tfpa-visual {
        min-height: 270px;
    }

    .tfpa-visual__content {
        min-height: 270px;
        padding: 22px;
    }

    .tfpa-visual__spacer {
        min-height: 80px;
    }

    .tfpa-visual__copy {
        max-width: 100%;
    }

    .tfpa-visual h2 {
        font-size: clamp(28px, 8vw, 38px);
    }

    .tfpa-visual p {
        display: none;
    }

    .tfpa-float-card--a {
        top: 24%;
        left: 7%;
        width: 48px;
        height: 48px;
    }

    .tfpa-float-card--b {
        top: 40%;
        right: 7%;
    }

    .tfpa-card {
        padding: 28px 20px 24px;
    }

    .tfpa-card::before {
        display: none;
    }

    .tfpa-field-grid,
    .tfpa-profile {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .tfpa-logged__actions {
        flex-direction: column;
    }

    .tfpa-header-account {
        left: auto !important;
        right: calc(var(--tx, 1px) * 50) !important;
        width: calc(var(--tx, 1px) * 42) !important;
        height: calc(var(--tx, 1px) * 42) !important;
        min-width: calc(var(--tx, 1px) * 42) !important;
    }
}

@media (max-width: 420px) {
    .tfpa-portal {
        padding-inline: 12px;
    }

    .tfpa-shell {
        border-radius: 20px;
    }

    .tfpa-visual {
        min-height: 230px;
    }

    .tfpa-visual__content {
        min-height: 230px;
        padding: 18px;
    }

    .tfpa-visual__badge {
        padding: 7px 11px;
        font-size: 10px;
    }

    .tfpa-visual h2 {
        font-size: 27px;
    }

    .tfpa-card {
        padding: 24px 16px 20px;
    }

    .tfpa-card__mark {
        width: 46px;
        height: 46px;
    }

    .tfpa-card h1 {
        font-size: 25px;
    }

    .tfpa-intro {
        font-size: 12px;
    }

    .tfpa-form__meta {
        align-items: flex-start;
        flex-direction: column;
    }

    .tfpa-header-account {
        right: calc(var(--tx, 1px) * 48) !important;
        width: calc(var(--tx, 1px) * 38) !important;
        height: calc(var(--tx, 1px) * 38) !important;
        min-width: calc(var(--tx, 1px) * 38) !important;
    }
}

@media (hover:hover) and (pointer:fine) {
    .tfpa-tab:hover {
        transform: translateY(-1px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .tfpa-portal *,
    .tfpa-portal *::before,
    .tfpa-portal *::after,
    .tfpa-header-account {
        animation: none !important;
        transition: none !important;
    }
}

@keyframes tfpaPanelIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes tfpaShine {
    0%, 18% { left: -40%; opacity: 0; }
    28% { opacity: .9; }
    48% { left: 125%; opacity: 0; }
    100% { left: 125%; opacity: 0; }
}

@keyframes tfpaPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 5px rgba(255,217,59,.11); }
    50% { transform: scale(1.12); box-shadow: 0 0 0 8px rgba(255,217,59,.05); }
}

@keyframes tfpaFloat {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -8px; }
}

@keyframes tfpaSpin {
    to { transform: rotate(360deg); }
}


/* =========================================================
   V1.0.2 — FINAL INTERACTION OVERRIDES
   Keep theme/Elementor accent colors out of account controls.
========================================================= */

.tfpa-portal .tfpa-tabs {
    border-color: var(--tfpa-border) !important;
    background: var(--tfpa-soft) !important;
    box-shadow: none !important;
}

.tfpa-portal .tfpa-tabs__indicator,
.tfpa-portal .tfpa-tabs__indicator:hover,
.tfpa-portal .tfpa-tabs__indicator:focus,
.tfpa-portal .tfpa-tabs__indicator:active {
    background: var(--tfpa-green) !important;
    border: 0 !important;
    box-shadow: 0 5px 14px rgba(31,74,61,.18) !important;
}

.tfpa-portal button.tfpa-tab,
.tfpa-portal button.tfpa-tab:hover,
.tfpa-portal button.tfpa-tab:focus,
.tfpa-portal button.tfpa-tab:focus-visible,
.tfpa-portal button.tfpa-tab:active {
    border: 0 !important;
    outline: 0 !important;
    background-color: transparent !important;
    background-image: none !important;
    color: #64716C !important;
    -webkit-text-fill-color: #64716C !important;
    box-shadow: none !important;
}

.tfpa-portal button.tfpa-tab.is-active,
.tfpa-portal button.tfpa-tab.is-active:hover,
.tfpa-portal button.tfpa-tab.is-active:focus,
.tfpa-portal button.tfpa-tab.is-active:focus-visible,
.tfpa-portal button.tfpa-tab.is-active:active {
    border: 0 !important;
    outline: 0 !important;
    background-color: transparent !important;
    background-image: none !important;
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
    box-shadow: none !important;
}

.tfpa-portal button.tfpa-password-toggle,
.tfpa-portal button.tfpa-password-toggle:hover,
.tfpa-portal button.tfpa-password-toggle:focus,
.tfpa-portal button.tfpa-password-toggle:active {
    border: 0 !important;
    background: transparent !important;
    color: #7E8A85 !important;
    -webkit-text-fill-color: #7E8A85 !important;
    box-shadow: none !important;
}

.tfpa-portal button.tfpa-password-toggle:hover {
    background: var(--tfpa-green-soft) !important;
    color: var(--tfpa-green) !important;
    -webkit-text-fill-color: var(--tfpa-green) !important;
}

.tfpa-portal button.tfpa-submit,
.tfpa-portal button.tfpa-submit:hover,
.tfpa-portal button.tfpa-submit:focus,
.tfpa-portal button.tfpa-submit:focus-visible,
.tfpa-portal button.tfpa-submit:active {
    border: 0 !important;
    outline: 0 !important;
    background-color: var(--tfpa-green) !important;
    background-image: none !important;
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
    box-shadow: 0 9px 22px rgba(31,74,61,.16) !important;
}

@media (hover:hover) and (pointer:fine) {
    .tfpa-portal button.tfpa-submit:hover {
        background-color: var(--tfpa-green-dark) !important;
        color: #FFFFFF !important;
        -webkit-text-fill-color: #FFFFFF !important;
        transform: translateY(-3px) !important;
        box-shadow: 0 14px 28px rgba(31,74,61,.22) !important;
    }
}

.tfpa-portal .tfpa-submit__icon,
.tfpa-portal button.tfpa-submit:hover .tfpa-submit__icon,
.tfpa-portal button.tfpa-submit:focus .tfpa-submit__icon,
.tfpa-portal button.tfpa-submit:active .tfpa-submit__icon {
    background: var(--tfpa-yellow) !important;
    color: var(--tfpa-green-dark) !important;
    -webkit-text-fill-color: var(--tfpa-green-dark) !important;
}

.tfpa-portal .tfpa-submit__icon svg {
    display: block !important;
    width: 15px !important;
    height: 15px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

.tfpa-portal .tfpa-submit__icon svg path {
    fill: none !important;
    stroke: currentColor !important;
}

/* Final submit-arrow direction */
.tfpa-submit__icon svg {
    transform: rotate(180deg) !important;
}
