/* TP by Othello — buyer fields (product page). Designs: classic, filled, soft, premium, lavender. */
/* Light, self-contained "Player information" card. Previously these fields inherited the shop's
   theme with almost no styling of our own; the shop owner asked for a specific, fixed look
   instead (light card, eyebrow header, badge-style verify result) — so from here down the card's
   own colours are deliberate and no longer inherited from the theme. */

.tp-card {
    margin: 0 0 8px;
    background: #ffffff;
    border: 1.5px solid #c7d2fe;
    border-radius: 12px;
    padding: 16px 16px 12px;
    box-shadow: 0 0 0 3px #eef2ff;
}
/* WooCommerce core ships .form-row with its own (often 1.5-2em) bottom margin and, in some
   two-column layouts, a width less than 100%. Our rows reuse .form-row for compatibility with
   plugins that hook it, so pin the box model back here rather than fight theme specificity. */
.tp-card p.form-row {
    width: 100% !important;
    float: none !important;
    box-sizing: border-box !important;
    margin: 0 !important;
}
.tp-card-eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: -16px -16px 14px;
    padding: 12px 16px;
    background: #2a1655;
    border-bottom: 1px solid #2a1655;
    border-radius: 10.5px 10.5px 0 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #ffffff;
}
.tp-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    box-sizing: border-box;
    border-radius: 50%;
    background: #6366f1;
    border: 2px solid #a78bfa;
}

/* Field label + input. Overrides the theme's own form-row styling on purpose (that is the point
   of the redesign) — !important only on the handful of properties a theme is likely to also set. */
.tp-card p.tp-field { margin: 0 0 12px !important; }
.tp-card .tp-field label {
    display: block;
    margin: 0 0 6px;
    font-size: 13px;
    font-weight: 500;
    color: #374151 !important;
}
.tp-card .tp-field label .required {
    color: #ef4444;
    text-decoration: none;
    border: 0;
}
.tp-card .tp-field .woocommerce-input-wrapper { display: block; width: 100%; }
.tp-card .tp-input {
    display: block;
    width: 100% !important;
    height: 42px;
    padding: 0 12px !important;
    background: #ffffff !important;
    border: 1px solid #d1d5db !important;
    border-radius: 8px !important;
    color: #111827 !important;
    font-size: 14px !important;
    box-shadow: none !important;
    transition: border-color .15s ease;
}
.tp-card .tp-input::placeholder { color: #9ca3af; opacity: 1; }
.tp-card .tp-input:focus {
    outline: none !important;
    border-color: #6366f1 !important;
}
.tp-card select.tp-input {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239ca3af' stroke-width='1.6' fill='none' fill-rule='evenodd' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    -webkit-appearance: none;
    appearance: none;
    padding-right: 32px !important;
}

/* Verify button — a full-width, quietly outlined action so it reads as secondary to Add to cart. */
.tp-verify-wrap { margin: 4px 0 0; }
.tp-verify-result:not(:empty) { margin-top: 6px; }
.tp-verify-actions .tp-verify-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
    min-height: 42px;
    cursor: pointer;
    background-color: #f9fafb !important;
    color: #374151 !important;
    border: 1px solid #d1d5db !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    box-shadow: none !important;
}
.tp-verify-btn-icon { flex-shrink: 0; color: #6b7280; }
.tp-verify-actions .tp-verify-btn:hover:not(:disabled) { background-color: #f3f4f6 !important; }
.tp-verify-actions .tp-verify-btn:disabled { opacity: .6; cursor: wait; }

/* Result card. Reserve height up front so nothing below (Add to cart) shifts as the check runs. */
.tp-verify-result { min-height: 0; }
.tp-verify-result:empty { display: none; }

.tp-verify-note {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    padding: 12px 32px 12px 12px;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.45;
    color: #374151;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
}
.tp-verify-note.is-ok { background: #eef2ff; border-color: #e0e7ff; }
.tp-verify-note.is-skip { background: #f9fafb; border-color: #e5e7eb; }
.tp-verify-note.is-bad { background: #fef2f2; border-color: #fecaca; color: #b91c1c; }
.tp-verify-note.is-busy { background: #f9fafb; border-color: #e5e7eb; color: #6b7280; }

.tp-verify-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #d1d5db;
    color: #ffffff;
    margin-top: 1px;
}
.tp-verify-note.is-ok .tp-verify-badge { background: #6366f1; }
.tp-verify-note.is-skip .tp-verify-badge { background: #9ca3af; }

.tp-verify-body { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.tp-verify-eyebrow {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #9ca3af;
}
.tp-verify-note.is-ok .tp-verify-eyebrow { color: #6366f1; }
.tp-verify-name {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    overflow-wrap: anywhere;
}
.tp-verify-sub { font-size: 12px; color: #6b7280; }
.tp-verify-sub b { color: #2563eb; font-weight: 600; }

/* Failure / retry / skip links inside the .is-bad note — plain text, same red as the note. */
.tp-verify-note.is-bad a,
.tp-verify-note .tp-verify-mustfix {
    display: inline-block;
    margin-left: 6px;
    color: #b91c1c;
    text-decoration: underline;
    font-weight: 500;
}

.tp-verify-clear {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    text-decoration: none !important;
    font-size: 16px;
    line-height: 1;
}
.tp-verify-clear:hover { color: #6b7280; }

@media (max-width: 600px) {
    .tp-card { padding: 14px 10px 12px; margin: 0 -8px 8px; }
    .tp-card-eyebrow { margin: -14px -10px 14px; padding: 12px 10px; }
}

/* ════════════════════════════════════════════════════════════════════════════
   Player field DESIGNS — settings theke select kora (Modern Filled / Soft Modern /
   Premium Refined). Shob selector .tp-card.tp-styled er bhitore scoped — site er onno kono
   form/input/button e haat dey na. "classic" select thakle ei block kichui kore na.
   ════════════════════════════════════════════════════════════════════════════ */

/* ── Design token: A — Modern Filled (default notun design) ── */
.tp-card.tp-style-filled {
    --tp-card-border: #D9DDF0;
    --tp-card-shadow: 0 4px 18px rgba(40, 22, 91, .08);
    --tp-head-bg: linear-gradient(135deg, #28165B 0%, #351B78 55%, #5B2DE8 100%);
    --tp-head-line: transparent;
    --tp-head-title: #FFFFFF;
    --tp-head-sub: #D9D1FF;
    --tp-ic-bg: rgba(124, 92, 255, .95);
    --tp-ic-radius: 50%;
    --tp-ic-ring: 0 0 0 3px rgba(255, 255, 255, .10);
    --tp-deco: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 280 74' preserveAspectRatio='xMaxYMid slice'%3E %3Cdefs%3E%3CradialGradient id='g' cx='1' cy='0' r='.9'%3E%3Cstop offset='0' stop-color='%239B7BFF' stop-opacity='.45'/%3E%3Cstop offset='1' stop-color='%239B7BFF' stop-opacity='0'/%3E%3C/radialGradient%3E%3C/defs%3E %3Crect width='280' height='74' fill='url(%23g)'/%3E %3Cpolygon points='128,74 176,0 190,0 142,74' fill='%238E6BFF' fill-opacity='.16'/%3E %3Cpolygon points='160,74 208,0 232,0 184,74' fill='%238E6BFF' fill-opacity='.24'/%3E %3Cpolygon points='204,74 252,0 268,0 220,74' fill='%23A58BFF' fill-opacity='.30'/%3E %3Cpolygon points='236,74 284,0 310,0 262,74' fill='%23B7A2FF' fill-opacity='.26'/%3E %3Cline x1='196' y1='74' x2='244' y2='0' stroke='%23FFFFFF' stroke-opacity='.18' stroke-width='1'/%3E %3C/svg%3E");
    --tp-focus: #6D4AFF;
    --tp-btn-bg: linear-gradient(135deg, #4F35E8 0%, #633BFF 55%, #8A3FFC 100%);
    --tp-btn-bg-hover: linear-gradient(135deg, #432AD4 0%, #5831EA 55%, #7934E8 100%);
    --tp-btn-bg-busy: linear-gradient(135deg, #6247E8 0%, #7552F3 55%, #8B5CF6 100%);
    --tp-btn-shadow: 0 4px 12px rgba(91, 63, 230, .18);
    --tp-btn-shadow-hover: 0 6px 16px rgba(91, 63, 230, .22);
}

/* ── Design token: B — Soft Modern (lavender header, dark lekha) ── */
.tp-card.tp-style-soft {
    --tp-card-border: #E4E0F7;
    --tp-card-shadow: 0 4px 18px rgba(79, 53, 232, .07);
    --tp-head-bg:
        radial-gradient(120% 140% at 100% 0%, rgba(167, 139, 250, .28) 0%, rgba(167, 139, 250, 0) 55%),
        linear-gradient(135deg, #F3F0FF 0%, #ECE7FF 60%, #E6DFFF 100%);
    --tp-head-line: #E4DEFA;
    --tp-head-title: #1E1450;
    --tp-head-sub: #6E6893;
    --tp-ic-bg: linear-gradient(135deg, #6D4AFF 0%, #8A63FF 100%);
    --tp-ic-radius: 50%;
    --tp-ic-ring: 0 4px 10px rgba(109, 74, 255, .25);
    --tp-deco: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 280 74' preserveAspectRatio='xMaxYMid slice'%3E %3Cpath d='M96 0 C 132 30 196 50 280 54 L280 0 Z' fill='%23B9ABFF' fill-opacity='.16'/%3E %3Cpath d='M150 0 C 176 30 226 50 280 58 L280 0 Z' fill='%23A898FF' fill-opacity='.20'/%3E %3Cpath d='M188 0 C 204 22 236 36 280 40 L280 0 Z' fill='%23FFFFFF' fill-opacity='.30'/%3E %3Cpath d='M226 0 C 238 16 256 26 280 28 L280 0 Z' fill='%23B9ABFF' fill-opacity='.20'/%3E %3Cpath d='M150 74 C 206 70 250 58 280 34 L280 74 Z' fill='%23FFFFFF' fill-opacity='.42'/%3E %3C/svg%3E");
    --tp-focus: #6D4AFF;
    --tp-btn-bg: linear-gradient(135deg, #6A55F5 0%, #7B62FA 55%, #9170FF 100%);
    --tp-btn-bg-hover: linear-gradient(135deg, #5C47EA 0%, #6D53F0 55%, #8360F5 100%);
    --tp-btn-bg-busy: linear-gradient(135deg, #8472F7 0%, #907DFA 55%, #A08CFF 100%);
    --tp-btn-shadow: 0 4px 12px rgba(106, 85, 245, .16);
    --tp-btn-shadow-hover: 0 6px 16px rgba(106, 85, 245, .22);
}

/* ── Design token: C — Premium Refined (purple outline, rounded-square icon, blue→magenta button) ── */
.tp-card.tp-style-premium {
    --tp-card-border: #8B6CF6;
    --tp-card-shadow: 0 6px 22px rgba(60, 30, 140, .10);
    --tp-head-bg: linear-gradient(135deg, #231252 0%, #2F1870 50%, #4A22B8 100%);
    --tp-head-line: transparent;
    --tp-head-title: #FFFFFF;
    --tp-head-sub: #CFC6F7;
    --tp-ic-bg: linear-gradient(145deg, #9A88FF 0%, #6A4DF0 100%);
    --tp-ic-radius: 11px;
    --tp-ic-ring: inset 0 0 0 1px rgba(255, 255, 255, .22);
    --tp-deco: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 280 74' preserveAspectRatio='xMaxYMid slice'%3E%3Cdefs%3E %3CradialGradient id='g' cx='.86' cy='.3' r='.6'%3E%3Cstop offset='0' stop-color='%23A78BFA' stop-opacity='.5'/%3E%3Cstop offset='1' stop-color='%23A78BFA' stop-opacity='0'/%3E%3C/radialGradient%3E %3ClinearGradient id='f' x1='0' y1='1' x2='1' y2='0'%3E%3Cstop offset='0' stop-color='%23C4B5FD' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%23C4B5FD' stop-opacity='.24'/%3E%3C/linearGradient%3E %3C/defs%3E %3Crect width='280' height='74' fill='url(%23g)'/%3E %3Cpolygon points='140,74 196,0 214,0 158,74' fill='url(%23f)'/%3E %3Cpolygon points='170,74 226,0 262,0 206,74' fill='url(%23f)'/%3E %3Cline x1='164' y1='74' x2='220' y2='0' stroke='%23E9E3FF' stroke-opacity='.28' stroke-width='1'/%3E%3Cg transform='rotate(-14 250 40)'%3E%3Cg transform='translate(220 12) scale(1.25)' fill='%23C4B5FD' fill-opacity='.10' stroke='%23FFFFFF' stroke-opacity='0.3' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E %3Cpath d='M9 4h26c6.5 0 11 5 11.6 11.4l1.3 13.2c.5 5-5.5 8-9.2 4.6L33 28H11l-5.7 5.2C1.6 36.6-4.4 33.6-3.9 28.6L-2.6 15.4C-2 9 2.5 4 9 4z'/%3E %3Cpath d='M8 12v8M4 16h8'/%3E%3Ccircle cx='32' cy='13' r='1.6'/%3E%3Ccircle cx='36.5' cy='18' r='1.6'/%3E%3Cpath d='M19 13h6' stroke-opacity='0.21'/%3E%3C/g%3E%3C/g%3E%3Cpath d='M208 14.5 Q208 18 211.5 18 Q208 18 208 21.5 Q208 18 204.5 18 Q208 18 208 14.5Z' fill='%23FFFFFF' fill-opacity='0.7'/%3E%3Cpath d='M222 57.5 Q222 60 224.5 60 Q222 60 222 62.5 Q222 60 219.5 60 Q222 60 222 57.5Z' fill='%23FFFFFF' fill-opacity='0.5'/%3E%3C/svg%3E");
    --tp-focus: #6D3BF0;
    --tp-btn-bg: linear-gradient(90deg, #4338CA 0%, #6D3BF0 52%, #B03FE0 100%);
    --tp-btn-bg-hover: linear-gradient(90deg, #3A30B5 0%, #5F31DB 52%, #9C34CC 100%);
    --tp-btn-bg-busy: linear-gradient(90deg, #5D55D6 0%, #8160F2 52%, #BE68E6 100%);
    --tp-btn-shadow: 0 6px 16px rgba(109, 59, 240, .22);
    --tp-btn-shadow-hover: 0 8px 20px rgba(109, 59, 240, .28);
}

/* ── Card ── */
.tp-card.tp-styled {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin: 0 0 14px;
    padding: 0;
    background: #FFFFFF;
    border: 1px solid var(--tp-card-border);
    border-radius: 14px;
    box-shadow: var(--tp-card-shadow);
    overflow: hidden;
    color: #111827;
    font-family: inherit;
    text-align: left;
}
.tp-card.tp-styled *, .tp-card.tp-styled *::before, .tp-card.tp-styled *::after { box-sizing: border-box; }

/* ── Header ── */
.tp-styled .tp-head {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 56px;
    padding: 9px 22px;
    background: var(--tp-head-bg);
    border-bottom: 1px solid var(--tp-head-line);
    isolation: isolate;
}
/* Header er DAN dike decorative accent (A: diagonal stripe, B: soft wave, C: geometric).
   Shudhu background layer — text/icon er niche (z-index -1), click dhore na, header er baire jay na. */
.tp-styled .tp-head { overflow: hidden; }
.tp-styled .tp-head::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: clamp(150px, 50%, 300px);
    background-image: var(--tp-deco);
    background-repeat: no-repeat;
    background-position: right center;
    background-size: auto 100%;   /* uchchota header er shoman; bam dik theke crop hoy */
    -webkit-mask-image: linear-gradient(to left, #000 55%, transparent);
    mask-image: linear-gradient(to left, #000 55%, transparent);
    pointer-events: none;
    z-index: -1;
}
.tp-styled .tp-head-ic {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: var(--tp-ic-radius);
    background: var(--tp-ic-bg);
    box-shadow: var(--tp-ic-ring);
    color: #FFFFFF;
}
.tp-styled .tp-head-ic svg { width: 19px; height: 19px; }
.tp-styled .tp-head-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.tp-styled .tp-head-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .2px;
    text-transform: uppercase;
    color: var(--tp-head-title);
}
.tp-styled .tp-head-sub { font-size: 12px; font-weight: 400; line-height: 1.35; color: var(--tp-head-sub); }

/* ── Body + grid (desktop/tablet 2 column, order ager moto) ── */
.tp-styled .tp-body { padding: 20px 22px 22px; }
.tp-styled .tp-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 16px;
    row-gap: 18px;
}
.tp-styled .tp-grid.is-single { grid-template-columns: minmax(0, 1fr); }
.tp-card.tp-styled p.tp-field { margin: 0 !important; padding: 0 !important; min-width: 0; }

/* ── Label ── */
.tp-card.tp-styled .tp-field label {
    display: block;
    margin: 0 0 8px;
    padding: 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    color: #111827 !important;
    text-align: left;
}
.tp-card.tp-styled .tp-field label .required {
    color: #EF4444;
    font-weight: 700;
    text-decoration: none;
    border: 0;
    cursor: default;
}
.tp-styled .tp-opt { margin-left: 2px; font-size: 12px; font-weight: 500; color: #8A91A3; }

/* ── Input + icon ── */
.tp-styled .tp-in { position: relative; display: block; width: 100%; }
.tp-styled .tp-in-ic {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    color: #59627A;
    pointer-events: none;
    z-index: 1;
}
.tp-card.tp-styled .tp-input {
    display: block;
    width: 100% !important;
    height: 48px !important;
    min-height: 48px;
    margin: 0 !important;
    padding: 0 14px 0 43px !important;
    background-color: #FFFFFF !important;
    border: 1px solid #D5D9E5 !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    color: #1F2937 !important;
    font-family: inherit;
    font-size: 14px !important;
    font-weight: 500;
    line-height: normal;
    transition: border-color .16s ease, box-shadow .16s ease;
}
.tp-card.tp-styled .tp-input::placeholder { color: #8A91A3; font-weight: 400; opacity: 1; }
.tp-card.tp-styled .tp-input:hover:not(:focus):not(:disabled) { border-color: #B8B0E8 !important; }
.tp-card.tp-styled .tp-input:focus {
    outline: none !important;
    border-color: var(--tp-focus) !important;
    box-shadow: 0 0 0 3px rgba(109, 74, 255, .10) !important;
}
.tp-card.tp-styled select.tp-input {
    padding-right: 40px !important;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1.5 1.5l5.5 5.5 5.5-5.5' stroke='%2359627A' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 15px center !important;
}
/* Kichu select na kora obosthay placeholder er moto halka rong */
.tp-card.tp-styled select.tp-input:has(option[value=""]:checked) { color: #8A91A3 !important; font-weight: 400; }

/* ── Verify button ── */
.tp-styled .tp-verify-wrap { margin: 16px 0 0; }
.tp-card.tp-styled .tp-verify-actions { margin: 0 !important; }
.tp-card.tp-styled .tp-verify-actions .tp-verify-btn {
    position: relative;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100% !important;
    max-width: none !important;
    height: 48px;
    min-height: 48px;
    margin: 0 !important;
    padding: 0 18px !important;
    border: 1px solid transparent !important;
    border-radius: 10px !important;
    background: var(--tp-btn-bg) !important;
    color: #FFFFFF !important;
    box-shadow: var(--tp-btn-shadow) !important;
    font-family: inherit;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    letter-spacing: .1px;
    text-transform: none !important;
    text-decoration: none !important;
    opacity: 1;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.tp-card.tp-styled .tp-verify-actions .tp-verify-btn:hover:not(:disabled) {
    background: var(--tp-btn-bg-hover) !important;
    box-shadow: var(--tp-btn-shadow-hover) !important;
    transform: translateY(-1px);
}
.tp-card.tp-styled .tp-verify-actions .tp-verify-btn:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: var(--tp-btn-shadow) !important;
}
.tp-card.tp-styled .tp-verify-actions .tp-verify-btn:focus-visible {
    outline: 2px solid var(--tp-focus) !important;
    outline-offset: 2px;
}
.tp-styled .tp-btn-ic { display: flex; flex-shrink: 0; }
.tp-styled .tp-ic-spin, .tp-styled .tp-ic-ok { display: none; }

/* Loading — eki button, eki jaygay, eki uchchota */
.tp-card.tp-styled .tp-verify-actions .tp-verify-btn.is-loading,
.tp-card.tp-styled .tp-verify-actions .tp-verify-btn.is-loading:hover {
    background: var(--tp-btn-bg-busy) !important;
    box-shadow: var(--tp-btn-shadow) !important;
    transform: none;
    opacity: 1;
    cursor: progress;
    font-weight: 600 !important;
}
.tp-styled .tp-verify-btn.is-loading .tp-ic-shield { display: none; }
.tp-styled .tp-verify-btn.is-loading .tp-ic-spin { display: flex; animation: tp-spin .85s linear infinite; }
@keyframes tp-spin { to { transform: rotate(360deg); } }

/* Verified (existing success state) — shobuj */
.tp-card.tp-styled .tp-verify-actions .tp-verify-btn.is-verified {
    background: #ECFDF3 !important;
    border-color: #86EFAC !important;
    color: #15803D !important;
    box-shadow: none !important;
}
.tp-card.tp-styled .tp-verify-actions .tp-verify-btn.is-verified:hover:not(:disabled) {
    background: #DCFCE7 !important;
    box-shadow: none !important;
    transform: none;
}
.tp-styled .tp-verify-btn.is-verified .tp-ic-shield { display: none; }
.tp-styled .tp-verify-btn.is-verified .tp-ic-ok { display: flex; }

/* ── Result card (existing messages, shudhu chehara) ── */
.tp-styled .tp-verify-result:not(:empty) { margin-top: 12px; }
.tp-styled .tp-verify-result:has(> .tp-verify-note.is-busy) { display: none; } /* button-i loading dekhay */
.tp-styled .tp-verify-note { border-radius: 10px; font-size: 13px; }
.tp-styled .tp-verify-note.is-ok { background: #ECFDF3; border-color: #BBF7D0; }
.tp-styled .tp-verify-note.is-ok .tp-verify-badge { background: #16A34A; }
.tp-styled .tp-verify-note.is-ok .tp-verify-eyebrow { color: #15803D; }
.tp-styled .tp-verify-note.is-bad {
    background: #FEF2F2;
    border-color: #FCA5A5;
    color: #DC2626;
    font-weight: 500;
}
.tp-styled .tp-verify-note.is-bad a,
.tp-styled .tp-verify-note .tp-verify-mustfix { color: #DC2626; }

/* ── Mobile (≤767px): ek line e ek field ── */
@media (max-width: 767px) {
    .tp-card.tp-styled {
        margin: 0 0 12px;
        border-color: #E0E3EF;
        border-radius: 12px;
        box-shadow: 0 3px 12px rgba(40, 22, 91, .06);
    }
    .tp-card.tp-style-premium { border-color: var(--tp-card-border); }
    .tp-styled .tp-head { min-height: 52px; padding: 8px 16px; gap: 11px; }
    .tp-styled .tp-head::after { width: clamp(80px, 26%, 140px); }
    .tp-styled .tp-head-ic { width: 32px; height: 32px; }
    .tp-styled .tp-head-ic svg { width: 17px; height: 17px; }
    .tp-styled .tp-head-title { font-size: 13px; }
    .tp-styled .tp-head-sub { font-size: 11.5px; }
    .tp-styled .tp-body { padding: 16px; }
    .tp-styled .tp-grid { grid-template-columns: minmax(0, 1fr); row-gap: 14px; }
    .tp-card.tp-styled .tp-field label { font-size: 13px; margin-bottom: 7px; }
    .tp-card.tp-styled .tp-input { height: 46px !important; min-height: 46px; }
    .tp-styled .tp-verify-wrap { margin-top: 14px; }
    .tp-card.tp-styled .tp-verify-actions .tp-verify-btn { font-size: 14px !important; }
}

@media (prefers-reduced-motion: reduce) {
    .tp-card.tp-styled .tp-verify-actions .tp-verify-btn,
    .tp-card.tp-styled .tp-input { transition: none; }
    .tp-card.tp-styled .tp-verify-actions .tp-verify-btn:hover:not(:disabled) { transform: none; }
    .tp-styled .tp-verify-btn.is-loading .tp-ic-spin { animation-duration: 1.6s; }
}

/* ── Design token: E — Soft Lavender (reference image er hubohu: lavender card, header card er sathe mishe thake,
      upore gol kona shada body, dan kone asol soft wave) ── */
.tp-card.tp-style-lavender {
    --tp-card-border: #E6E3FA;
    --tp-card-shadow: 0 8px 28px rgba(99, 82, 220, .10);
    --tp-head-bg: transparent;
    --tp-head-line: transparent;
    --tp-head-title: #1B1646;
    --tp-head-sub: #5B54AE;
    --tp-ic-bg: linear-gradient(145deg, #8E72FF 0%, #6D4AFF 100%);
    --tp-ic-radius: 50%;
    --tp-ic-ring: 0 6px 14px rgba(109, 74, 255, .28);
    --tp-deco: none;
    --tp-focus: #6D4AFF;
    --tp-btn-bg: linear-gradient(90deg, #6446FB 0%, #6C4EFC 50%, #8B6EFF 100%);
    --tp-btn-bg-hover: linear-gradient(90deg, #5638F0 0%, #5F41F3 50%, #7C5EF8 100%);
    --tp-btn-bg-busy: linear-gradient(90deg, #7D66FB 0%, #8670FC 50%, #A08BFF 100%);
    --tp-btn-shadow: 0 8px 18px rgba(100, 70, 251, .22);
    --tp-btn-shadow-hover: 0 10px 22px rgba(100, 70, 251, .28);
    background: linear-gradient(180deg, #EEEBFD 0%, #F3F2FE 60%, #F5F4FE 100%);
    padding: 0;
    border-radius: 16px;
}
.tp-style-lavender .tp-head { min-height: 62px; padding: 10px 14px; gap: 14px; }
.tp-card.tp-style-lavender .tp-head::after {
    /* Reference design er asol wave (assets/../img/tp-wave.webp) — header er dan kone, uchchota header er shoman */
    width: auto;
    aspect-ratio: 453 / 237;          /* chhobir anupat — header jotoi uchu hok, chhobi puro bhore thake */
    background-image: url("../img/tp-wave.webp");
    background-size: 100% 100%;
    background-position: right top;
    -webkit-mask-image: linear-gradient(to left, #000 55%, transparent);
    mask-image: linear-gradient(to left, #000 55%, transparent);
}
.tp-style-lavender .tp-head-ic { width: 42px; height: 42px; }
.tp-style-lavender .tp-head-ic svg { width: 22px; height: 22px; }
.tp-style-lavender .tp-head-title { font-size: 15px; letter-spacing: .1px; }
.tp-style-lavender .tp-head-sub { font-size: 13px; font-weight: 500; }
.tp-style-lavender .tp-head { padding: 10px 20px; }
.tp-style-lavender .tp-body { background: #FFFFFF; border-radius: 14px 14px 0 0; padding: 18px 18px 20px; box-shadow: 0 -1px 0 rgba(109, 74, 255, .06); }
.tp-style-lavender .tp-in-ic { left: 15px; }
.tp-style-lavender .tp-in-ic svg { width: 23px; height: 23px; }
.tp-style-lavender .tp-in-ic svg *, .tp-style-lavender .tp-btn-ic svg * { stroke-width: 1.75; }
.tp-card.tp-style-lavender .tp-input { padding-left: 52px !important; font-size: 14.5px !important; }
.tp-style-lavender .tp-btn-ic svg { width: 24px; height: 24px; }
.tp-card.tp-style-lavender .tp-field label { font-size: 14.5px; }
.tp-card.tp-style-lavender .tp-input { border-color: #DCE0EA !important; }
.tp-card.tp-style-lavender .tp-input::placeholder { color: #6B7280; }
.tp-card.tp-style-lavender .tp-verify-actions .tp-verify-btn { height: 52px; min-height: 52px; font-size: 16px !important; font-weight: 600 !important; }
@media (max-width: 767px) {
    .tp-card.tp-style-lavender { border-color: var(--tp-card-border); border-radius: 14px; }
    .tp-style-lavender .tp-head { min-height: 54px; padding: 8px 16px; gap: 11px; }
    .tp-card.tp-style-lavender .tp-head::after { width: auto; }
    .tp-style-lavender .tp-head-ic { width: 36px; height: 36px; }
    .tp-style-lavender .tp-head-ic svg { width: 19px; height: 19px; }
    .tp-style-lavender .tp-head-title { font-size: 13.5px; }
    .tp-style-lavender .tp-head-sub { font-size: 12px; }
    .tp-style-lavender .tp-body { padding: 16px 16px 18px; }
    .tp-card.tp-style-lavender .tp-input { font-size: 14px !important; }
    .tp-card.tp-style-lavender .tp-field label { font-size: 13.5px; }
    .tp-card.tp-style-lavender .tp-verify-actions .tp-verify-btn { height: 48px; min-height: 48px; font-size: 15px !important; }
}

/* ── Phone (≤600px): Classic er moto card ta dui pashe 8px kore choura (negative margin),
      ar bhitorer padding o Classic er shoman — jate notun design e field gulo aager motoi prosostho thake ── */
@media (max-width: 600px) {
    .tp-card.tp-styled {
        width: auto;
        max-width: none;
        margin: 0 -9px 10px;   /* dui pashe 9px — Classic er cheye 1px beshi choura */
    }
    .tp-styled .tp-head,
    .tp-style-lavender .tp-head { padding-left: 12px; padding-right: 12px; }
    .tp-styled .tp-body,
    .tp-style-lavender .tp-body { padding: 14px 10px 12px; }
}

/* ════════════════════════════════════════════════════════════════════════════
   Header ar field-er sadha ongsho jekhane mele, sekhane sadha ongsher UPORER DUI KONA gol
   (reference design er moto). Header er nicher 12-14px e ekta sadha gol-kona "strip" boshano
   hoy — dekhe mone hoy sadha body ta header er upor uthe esheche. Header er dekha uchchota,
   lekha, field er jayga — kichui shore na (header e jotota jog, body theke totota kom).
   Soft Lavender e age thekei ache, tai eta shudhu Classic + Filled + Soft + Premium e.
   ════════════════════════════════════════════════════════════════════════════ */

/* Classic */
.tp-card-eyebrow {
    position: relative;
    padding-bottom: 24px;          /* 12 + 12 (strip) */
    margin-bottom: 2px;            /* 14 - 12 */
    border-bottom: 0;              /* strip er niche dag na thake */
}
.tp-card-eyebrow::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 12px;
    background: #ffffff;           /* card er rong */
    border-radius: 12px 12px 0 0;
    pointer-events: none;
}
@media (max-width: 600px) {
    .tp-card-eyebrow { padding-bottom: 24px; margin-bottom: 2px; }
}

/* Modern Filled / Soft Modern / Premium Refined */
.tp-card.tp-styled:not(.tp-style-lavender) .tp-head {
    border-bottom: 0;
    min-height: 70px;              /* 56 + 14 */
    padding-bottom: 23px;          /* 9 + 14 */
}
.tp-card.tp-styled:not(.tp-style-lavender) .tp-head::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 14px;
    background: #FFFFFF;
    border-radius: 14px 14px 0 0;
    pointer-events: none;
    z-index: 1;                    /* decoration er upore */
}
.tp-card.tp-styled:not(.tp-style-lavender) .tp-body { padding-top: 6px; }   /* 20 - 14 */
@media (max-width: 767px) {
    .tp-card.tp-styled:not(.tp-style-lavender) .tp-head { min-height: 64px; padding-bottom: 20px; }  /* 52+12, 8+12 */
    .tp-card.tp-styled:not(.tp-style-lavender) .tp-head::before { height: 12px; border-radius: 12px 12px 0 0; }
    .tp-card.tp-styled:not(.tp-style-lavender) .tp-body { padding-top: 4px; }  /* 16 - 12 */
}
@media (max-width: 600px) {
    .tp-card.tp-styled:not(.tp-style-lavender) .tp-body { padding-top: 2px; }  /* 14 - 12 */
}

/* ════════════════════════════════════════════════════════════════════════════
   1) Classic: 1 tar beshi field thakle desktop/tablet (≥768px) e pashapashi 2 ta.
      Header, verify button, result — puro choura (dui column jure). Field order ager moto.
   ════════════════════════════════════════════════════════════════════════════ */
@media (min-width: 768px) {
    .tp-card.tp-cols-2:not(.tp-styled) {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 14px;
        align-items: start;
    }
    .tp-card.tp-cols-2:not(.tp-styled) > * { grid-column: 1 / -1; }
    .tp-card.tp-cols-2:not(.tp-styled) > p.tp-field { grid-column: auto; min-width: 0; }
}

/* ════════════════════════════════════════════════════════════════════════════
   2) Header icon e Classic er moto border: gol icon e gol border, chaukona icon e chaukona border
   ════════════════════════════════════════════════════════════════════════════ */
.tp-card.tp-style-filled   .tp-head-ic { border: 2px solid #A78BFA; }
.tp-card.tp-style-soft     .tp-head-ic { border: 2px solid #C4B5FD; }
.tp-card.tp-style-lavender .tp-head-ic { border: 2px solid #C4B5FD; }
.tp-card.tp-style-premium  .tp-head-ic { border: 2px solid #B8A6FF; border-radius: var(--tp-ic-radius); }

/* ════════════════════════════════════════════════════════════════════════════
   3) Verify button: hover/click/tap e button er gol konar BAIRE kono chaukona effect na
      (mobile tap highlight, theme er outline/pseudo-element ripple). Shob design e.
   ════════════════════════════════════════════════════════════════════════════ */
.tp-card .tp-verify-actions .tp-verify-btn {
    -webkit-tap-highlight-color: transparent;
    -webkit-appearance: none;
    appearance: none;
    position: relative;
    overflow: hidden;              /* theme er ripple/pseudo effect button er gol konar bhitore thake */
    background-clip: padding-box;
    outline: none !important;
}
.tp-card .tp-verify-actions .tp-verify-btn::before,
.tp-card .tp-verify-actions .tp-verify-btn::after {
    content: none !important;      /* theme er hover overlay/ripple — amader button e lage na */
    display: none !important;
}
.tp-card .tp-verify-actions .tp-verify-btn:focus,
.tp-card .tp-verify-actions .tp-verify-btn:active { outline: none !important; }
/* Keyboard focus e shudhu gol ring (button er shape follow kore) */
.tp-card:not(.tp-styled) .tp-verify-actions .tp-verify-btn:focus-visible {
    box-shadow: 0 0 0 3px rgba(99, 102, 241, .30) !important;
}
.tp-card.tp-styled .tp-verify-actions .tp-verify-btn:focus-visible {
    outline: none !important;
    box-shadow: var(--tp-btn-shadow), 0 0 0 3px rgba(109, 74, 255, .30) !important;
}

/* ════════════════════════════════════════════════════════════════════════════
   4) Puro section er border — spashto, highlight kora (phone e o)
   ════════════════════════════════════════════════════════════════════════════ */
.tp-card:not(.tp-styled) { border-color: #A5B4FC; box-shadow: 0 0 0 3px #EEF2FF; }
.tp-card.tp-style-filled   { --tp-card-hl: #9D87F8; --tp-card-ring: rgba(124, 92, 255, .10); }
.tp-card.tp-style-soft     { --tp-card-hl: #B9A8FB; --tp-card-ring: rgba(139, 108, 255, .10); }
.tp-card.tp-style-premium  { --tp-card-hl: #8B6CF6; --tp-card-ring: rgba(109, 59, 240, .10); }
.tp-card.tp-style-lavender { --tp-card-hl: #BDB0FB; --tp-card-ring: rgba(139, 108, 255, .10); }
.tp-card.tp-styled {
    border: 1.5px solid var(--tp-card-hl);
    box-shadow: 0 0 0 3px var(--tp-card-ring), var(--tp-card-shadow);
}

/* ════════════════════════════════════════════════════════════════════════════
   Shada ongsho shuru theke prothom label porjonto gap — SHOB design e, shob screen e ek (12px).
   (Classic e chilo 14, notun design e 14–20 — ekhon shob 12.) Header er dekha uchchota ek-i.
   ════════════════════════════════════════════════════════════════════════════ */
/* Classic: 12px gol-kona strip-i gap — tar niche ar kono margin na */
.tp-card-eyebrow { margin-bottom: 0; }
@media (max-width: 600px) {
    .tp-card-eyebrow { margin-bottom: 0; }
}

/* Filled / Soft / Premium: strip 12px, body te upore ar padding na */
.tp-card.tp-styled:not(.tp-style-lavender) .tp-head { min-height: 68px; padding-bottom: 21px; }   /* 56+12, 9+12 */
.tp-card.tp-styled:not(.tp-style-lavender) .tp-head::before { height: 12px; border-radius: 12px 12px 0 0; }
.tp-card.tp-styled:not(.tp-style-lavender) .tp-body { padding-top: 0; }
@media (max-width: 767px) {
    .tp-card.tp-styled:not(.tp-style-lavender) .tp-head { min-height: 64px; padding-bottom: 20px; }  /* 52+12, 8+12 */
    .tp-card.tp-styled:not(.tp-style-lavender) .tp-body { padding-top: 0; }
}
@media (max-width: 600px) {
    .tp-card.tp-styled:not(.tp-style-lavender) .tp-body { padding-top: 0; }
}

/* Soft Lavender: asol shada body — upore 12px */
.tp-card.tp-style-lavender .tp-body { padding-top: 12px; }
@media (max-width: 767px) {
    .tp-card.tp-style-lavender .tp-body { padding-top: 12px; }
}
@media (max-width: 600px) {
    .tp-card.tp-style-lavender .tp-body { padding-top: 12px; }
}

/* Classic fix: header ta <p> — theme (jemon Astra: ".entry-content p { margin-bottom: 1.6em }")
   er p-margin amader class er cheye "shokto" selector, tai margin-bottom 0 bosheni, gap boro
   dekhachhilo. !important + beshi specific selector diye theme ke harano. Label er line-height o
   theme theke (kichu theme 2 dey) — label er upore faka barto; eta 1.4 e fix. */
.tp-card.tp-fields .tp-card-eyebrow { margin-bottom: 0 !important; }
.tp-card.tp-fields:not(.tp-styled) .tp-field label { line-height: 1.4 !important; }

/* Shob design: WooCommerce core (".woocommerce form .form-row { padding: 3px }") ar theme er
   p/label spacing jeno amader gap na bodlay — field row, verify row ar label e theme er
   padding/margin/line-height baad. Ete shob theme e gap ek thake. */
.tp-card.tp-fields p.tp-field,
.tp-card.tp-fields p.tp-verify-actions { padding: 0 !important; }
.tp-card.tp-fields .tp-field label {
    padding: 0 !important;
    margin-top: 0 !important;
    line-height: 1.4 !important;
}

/* ════════════════════════════════════════════════════════════════════════════
   Verify FAIL warning box (shob design). Shudhu chehara — lekha/logic same.
   - Puro choura box, halka lal background, lal-golapi border.
   - "Please correct the details above." — chhoto lal outline label, box er UPORER border er
     thik majhkhane boshano (border ta label er majh diye pichhone jay), bam dik theke ektu
     bhitore jate gol kona dekha jay. Underline nai, samne "!" icon.
   - Description puro choura — dane kono column/faka rakha hoy na.
   ════════════════════════════════════════════════════════════════════════════ */
.tp-card .tp-verify-note.is-bad {
    display: block;                 /* age flex chhilo — label ta dane alada column hoye jayga khacchilo */
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 12px 14px;
    background: #FEF2F2;
    border: 1.5px solid #FCA5A5;
    border-radius: 12px;
    color: #DC2626;
    font-size: 13.5px;
    font-weight: 400;
    line-height: 1.55;
    text-align: left;
    overflow-wrap: anywhere;
}
/* Label thakle: box er upore label er ordhek uchchota jayga, bhitore label er nichher ordhek */
.tp-card .tp-verify-result:has(.tp-verify-mustfix) { margin-top: 24px; }
.tp-card .tp-verify-note.is-bad:has(.tp-verify-mustfix) { padding-top: 20px; }

.tp-card .tp-verify-note .tp-verify-mustfix {
    position: absolute;
    top: 0;
    left: 16px;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: calc(100% - 32px);
    margin: 0;
    padding: 4px 11px 4px 5px;
    background: #FFFFFF;
    border: 1.5px solid #FCA5A5;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(220, 38, 38, .08);
    color: #DC2626;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.tp-card .tp-verify-note .tp-verify-mustfix::before {
    content: "!";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #EF4444;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
}
@media (max-width: 600px) {
    .tp-card .tp-verify-note.is-bad { padding: 12px; font-size: 13px; }
    .tp-card .tp-verify-note.is-bad:has(.tp-verify-mustfix) { padding-top: 19px; }
    .tp-card .tp-verify-note .tp-verify-mustfix { left: 12px; max-width: calc(100% - 24px); font-size: 11.5px; padding: 3px 9px 3px 4px; }
    .tp-card .tp-verify-note .tp-verify-mustfix::before { width: 15px; height: 15px; font-size: 10px; }
}

/* Verify Account button — shob design e ektu chepta (upor-nich). Theme er button padding jeno
   uchchota na barate pare, tai upor-nicher padding 0 ar nirdishto uchchota. */
.tp-card:not(.tp-styled) .tp-verify-actions .tp-verify-btn {
    height: 38px !important;           /* age 42 (theme padding e aro boro hoto) */
    min-height: 38px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    line-height: 1 !important;
}
.tp-card.tp-styled .tp-verify-actions .tp-verify-btn {
    height: 42px !important;           /* age 48 */
    min-height: 42px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
.tp-card.tp-style-lavender .tp-verify-actions .tp-verify-btn {
    height: 44px !important;           /* age 52 (desktop) / 48 (mobile) */
    min-height: 44px !important;
}
.tp-style-lavender .tp-btn-ic svg { width: 20px; height: 20px; }
@media (max-width: 767px) {
    .tp-card.tp-style-lavender .tp-verify-actions .tp-verify-btn { height: 42px !important; min-height: 42px !important; }
}

/* ════════════════════════════════════════════════════════════════════════════
   Header maap v2 — WC One Page Checkout er "CHECKOUT" heading ar AVC er "Select Package"
   band er sathe hubohu ek. Shudhu styled design (filled / soft / premium / lavender) —
   Classic chhoa hoyni. Rong, background, deco, icon shape, field/body kichu bodlay na; shudhu
   header er uchchota, padding, gap, icon er maap ar lekhar size. Font-family theme theke (inherit).
   ════════════════════════════════════════════════════════════════════════════ */

/* ── DESKTOP + TABLET (>767px) ── */
.tp-card.tp-styled .tp-head { gap: 12px; padding-left: 18px; padding-right: 18px; }
.tp-card.tp-styled .tp-head-text { gap: 2px; }
.tp-card.tp-styled .tp-head-title {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .04em;
    line-height: 1.25;
    text-transform: uppercase;
}
.tp-card.tp-styled .tp-head-sub { font-size: 12px; font-weight: 400; line-height: 1.25; }
.tp-card.tp-styled .tp-head-ic { width: 36px; height: 36px; }
.tp-card.tp-styled .tp-head-ic svg { width: 19px; height: 19px; }

/* Filled / Soft / Premium: dekha jawa 64px + nicher 12px shada gol-kona strip = 76px */
.tp-card.tp-styled:not(.tp-style-lavender) .tp-head {
    min-height: 76px;
    padding: 14px 18px 26px;
}

/* Lavender: strip nei — dekha jawa ar asol uchchota ek-i 64px */
.tp-card.tp-styled.tp-style-lavender .tp-head {
    min-height: 64px;
    padding: 14px 18px;
    border-bottom: 0;   /* transparent 1px border chhilo — dekha jeto na, kintu uchchota 65px kore dito */
}

/* ── MOBILE (≤767px) ── */
@media (max-width: 767px) {
    .tp-card.tp-styled .tp-head { gap: 11px; }
    .tp-card.tp-styled .tp-head-title { font-size: 13px; }
    .tp-card.tp-styled .tp-head-sub { font-size: 11.5px; }
    .tp-card.tp-styled .tp-head-ic { width: 32px; height: 32px; }
    .tp-card.tp-styled .tp-head-ic svg { width: 17px; height: 17px; }

    /* strip soho: dekha jawa 58px + 12px strip = 70px */
    .tp-card.tp-styled:not(.tp-style-lavender) .tp-head {
        min-height: 70px;
        padding: 12px 16px 24px;
    }
    .tp-card.tp-styled.tp-style-lavender .tp-head {
        min-height: 58px;
        padding: 12px 16px;
    }
}

/* ≤600px: side padding 16px (age 12px chhilo) — WCOPC/AVC er moto */
@media (max-width: 600px) {
    .tp-card.tp-styled .tp-head,
    .tp-card.tp-styled.tp-style-lavender .tp-head,
    .tp-card.tp-styled:not(.tp-style-lavender) .tp-head { padding-left: 16px; padding-right: 16px; }
}

/* Manual confirmation (quota reached / check unavailable): sits ABOVE the Verify button */
.tp-manual-confirm{display:flex;align-items:center;gap:10px;margin:0 0 12px;padding:12px 14px;border:1.5px solid #FCD34D;background:#FFFBEB;border-radius:12px;color:#92400E;font-size:14px;font-weight:500;line-height:1.4;cursor:pointer;user-select:none;box-sizing:border-box;width:100%}
.tp-manual-confirm input.tp-manual-chk{width:18px;height:18px;min-width:18px;margin:0;flex:none;accent-color:#16A34A;cursor:pointer}
.tp-manual-confirm.is-checked{border-color:#86EFAC;background:#F0FDF4;color:#166534}


/* ── TP extras: required-field highlight + inline message ── */
.tp-card .tp-input.tp-missing { border-color: #EF4444 !important; box-shadow: 0 0 0 3px rgba(239, 68, 68, .12) !important; }
.tp-card .tp-miss-msg { display: block; margin-top: 6px; font-size: 12.5px; font-weight: 500; color: #DC2626; }
.tp-card .tp-verify-wrap[hidden] { display: none !important; }
.tp-card .tp-verify-note.is-skip .tp-verify-name { font-weight: 500; color: #4B5563; }
