/* ============================================================
   eTenders Pro — Front-End Styles
   All conversion UI: paywall, CTAs, urgency, countdown,
   popups, sticky bar, lead forms, tools
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --etp-primary:       #8e9100;
    --etp-primary-dark:  #6e7100;
    --etp-primary-light: #b8bb00;
    --etp-primary-bg:    #f7f7e8;
    --etp-green:         #059669;
    --etp-whatsapp:      #25d366;
    --etp-whatsapp-dark: #1da851;
    --etp-red:           #dc2626;
    --etp-yellow:        #d97706;
    --etp-text:          #111827;
    --etp-muted:         #6b7280;
    --etp-border:        #e5e7eb;
    --etp-bg:            #f9fafb;
    --etp-white:         #ffffff;
    --etp-radius:        12px;
    --etp-shadow:        0 4px 20px rgba(142,145,0,.10);
    --etp-shadow-lg:     0 20px 60px rgba(142,145,0,.18);
    --etp-font:          'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ── Shared Card ─────────────────────────────────────────── */
.etp-card {
    background: var(--etp-white);
    border: 1.5px solid var(--etp-border);
    border-radius: var(--etp-radius);
    padding: 1.5rem;
    box-shadow: var(--etp-shadow);
    margin: 1.5rem 0;
    font-family: var(--etp-font);
}

/* ── Buttons ─────────────────────────────────────────────── */
.etp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .85rem 2rem;
    border-radius: 50px;
    font-size: .95rem;
    font-weight: 700;
    font-family: var(--etp-font);
    letter-spacing: .02em;
    text-decoration: none !important;
    cursor: pointer;
    transition: background .2s, transform .15s, box-shadow .2s;
    border: none;
    line-height: 1;
    white-space: nowrap;
}

.etp-btn:hover  { transform: translateY(-2px); }
.etp-btn:active { transform: translateY(0) scale(.98); }

.etp-btn-primary {
    background: linear-gradient(135deg, #7a7d00 0%, #a0a400 100%);
    color: var(--etp-white) !important;
    box-shadow: 0 4px 14px rgba(142,145,0,.35), inset 0 1px 0 rgba(255,255,255,.15);
}
.etp-btn-primary:hover {
    background: linear-gradient(135deg, #6e7100 0%, #8e9100 100%);
    box-shadow: 0 8px 22px rgba(142,145,0,.45);
}

.etp-btn-whatsapp {
    background: linear-gradient(135deg, #20c45e 0%, #25d366 100%);
    color: var(--etp-white) !important;
    box-shadow: 0 4px 14px rgba(37,211,102,.40), inset 0 1px 0 rgba(255,255,255,.15);
}
.etp-btn-whatsapp:hover {
    background: linear-gradient(135deg, #1aad52 0%, #1fba5a 100%);
    box-shadow: 0 8px 22px rgba(37,211,102,.50);
}

.etp-btn-secondary {
    background: var(--etp-white);
    color: var(--etp-text) !important;
    border: 1.5px solid var(--etp-border);
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.etp-btn-secondary:hover {
    border-color: var(--etp-primary);
    color: var(--etp-primary) !important;
    box-shadow: 0 4px 12px rgba(142,145,0,.15);
}

.etp-btn-sm { padding: .6rem 1.25rem; font-size: .875rem; }
.etp-full-width { width: 100%; margin-bottom: .6rem; }

/* Inline form submit button — full-width, uniform spacing */
.etp-lead-inline .etp-btn {
    width: 100%;
    padding: .75rem 1.5rem;
    font-size: .95rem;
    border-radius: 8px;
    margin-top: .25rem;
}

/* ── Paywall Message ─────────────────────────────────────── */
.etp-paywall-message {
    background: #fff;
    border-radius: 20px;
    padding: 0;
    margin: 2.5rem 0;
    color: var(--etp-text);
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,.06), 0 12px 40px rgba(142,145,0,.10);
    position: relative;
    overflow: hidden;
    font-family: var(--etp-font);
    border: 1.5px solid var(--etp-border);
}

/* Gradient accent bar at top */
.etp-paywall-message::before {
    content: '';
    display: block;
    height: 5px;
    background: linear-gradient(90deg, #4a4c00, #8e9100, #b8bb00);
    border-radius: 20px 20px 0 0;
    position: static;
    width: auto;
}

.etp-paywall-message::after {
    display: none;
}

.etp-paywall-inner {
    position: relative;
    z-index: 1;
    padding: 2.75rem 2.5rem 2.5rem;
}

.etp-paywall-lock {
    font-size: 0;
    margin-bottom: 1.25rem;
    display: block;
}

.etp-paywall-lock::after {
    content: '';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: linear-gradient(135deg, #f7f7e8 0%, #efefca 100%);
    border: 1.5px solid rgba(142,145,0,.20);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 24 24' fill='none' stroke='%238e9100' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2' ry='2'%3E%3C/rect%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    box-shadow: 0 4px 14px rgba(142,145,0,.15);
}

@keyframes etp-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.etp-paywall-title {
    font-size: 1.55rem;
    font-weight: 800;
    font-family: var(--etp-font);
    letter-spacing: -.03em;
    color: var(--etp-text);
    margin: 0 0 .6rem;
    line-height: 1.25;
}

.etp-paywall-body {
    color: var(--etp-muted);
    margin-bottom: 1rem;
    font-size: .93rem;
    line-height: 1.65;
    font-family: var(--etp-font);
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
}

/* Checklist inside paywall body */
.etp-paywall-body ul,
.etp-paywall-checklist {
    list-style: none;
    padding: 0;
    margin: .75rem auto 1.5rem;
    display: inline-flex;
    flex-direction: column;
    gap: .45rem;
    text-align: left;
}

.etp-paywall-body ul li,
.etp-paywall-checklist li {
    display: flex;
    align-items: center;
    gap: .55rem;
    font-size: .9rem;
    color: var(--etp-text);
    font-weight: 500;
}

.etp-paywall-body ul li::before,
.etp-paywall-checklist li::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    min-width: 18px;
    border-radius: 50%;
    background: #8e9100 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center;
    font-weight: normal;
    opacity: 1;
}

.etp-paywall-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 1.5rem 0 0;
    padding: 0 .5rem;
}

/* ── Pre-Paywall CTA ─────────────────────────────────────── */
.etp-pre-cta {
    border-left: 4px solid var(--etp-primary);
    background: linear-gradient(to right, var(--etp-primary-bg), var(--etp-white));
}

.etp-pre-cta-title {
    font-size: 1.1rem;
    font-weight: 700;
    font-family: var(--etp-font);
    letter-spacing: -.01em;
    color: var(--etp-primary);
    margin: 0 0 .6rem;
}

.etp-pre-cta-body {
    margin-bottom: 1rem;
    font-size: .9rem;
    font-family: var(--etp-font);
    color: var(--etp-text);
    line-height: 1.6;
}

.etp-pre-cta-actions {
    display: flex;
    gap: .6rem;
    flex-wrap: wrap;
}

/* ── Inline CTA (after paragraph) ───────────────────────── */
.etp-inline-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: var(--etp-primary-bg);
    border: 1.5px dashed rgba(142,145,0,.35);
    border-radius: 8px;
    padding: .75rem 1rem;
    margin: 1.25rem 0;
    flex-wrap: wrap;
    font-family: var(--etp-font);
}

.etp-inline-cta-text {
    font-size: .9rem;
    font-family: var(--etp-font);
    color: var(--etp-text);
    flex: 1;
}

.etp-inline-cta-actions {
    display: flex;
    gap: .5rem;
}

/* ── End-of-Post CTA ─────────────────────────────────────── */
.etp-end-cta {
    text-align: center;
    border-color: var(--etp-whatsapp);
    border-width: 2px;
}

.etp-end-cta-text {
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--etp-font);
    margin-bottom: 1rem;
    color: var(--etp-text);
}

/* ── Urgency Banner ──────────────────────────────────────── */
.etp-urgency-banner {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-radius: var(--etp-radius);
    margin: 0 0 1.25rem 0;
    border-width: 1.5px;
    border-style: solid;
    flex-wrap: wrap;
    font-family: var(--etp-font);
    box-sizing: border-box;
    width: 100%;
}

.etp-urgency-red    { background:#fef2f2; border-color:#fca5a5; color:#7f1d1d; }
.etp-urgency-yellow { background:#fffbeb; border-color:#fcd34d; color:#78350f; }
.etp-urgency-green  { background:#f0fdf4; border-color:#86efac; color:#14532d; }
.etp-urgency-expired{ background:#f9fafb; border-color:#d1d5db; color:#374151; }

.etp-urgency-icon,
.etp-urgency-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    background: rgba(0,0,0,.07);
    flex-shrink: 0;
    align-self: center;
}

.etp-urgency-icon-wrap svg {
    display: block;
}

.etp-urgency-content {
    display: flex;
    flex-direction: column;
    gap: .2rem;
    flex: 1 1 auto;
    min-width: 0;
}

.etp-urgency-deadline {
    display: block;
    font-weight: 700;
    font-size: 1rem;
    font-family: var(--etp-font);
    line-height: 1.3;
}

.etp-urgency-label {
    display: block;
    font-size: .85rem;
    opacity: .85;
    font-family: var(--etp-font);
    line-height: 1.3;
}

/* ── Countdown ───────────────────────────────────────────── */
.etp-countdown {
    display: flex;
    align-items: center;
    gap: .25rem;
    margin-left: auto;
    flex-shrink: 0;
}

.etp-countdown-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(0,0,0,.08);
    border-radius: 5px;
    padding: .3rem .5rem;
    min-width: 40px;
}

.etp-countdown-num  { font-size: 1.2rem; font-weight: 800; line-height: 1; font-family: var(--etp-font); }
.etp-countdown-lbl  { font-size: .6rem;  text-transform: uppercase; opacity: .75; font-family: var(--etp-font); letter-spacing: .06em; }
.etp-countdown-sep  { font-size: 1.2rem; font-weight: 700; opacity: .5; }

@media (max-width: 540px) {
    .etp-urgency-banner {
        flex-direction: column;
        align-items: flex-start;
    }
    .etp-countdown {
        margin-left: 0;
        width: 100%;
        justify-content: center;
    }
}

/* ── Lead Form (popup only — inline removed) ─────────────── */
.etp-lead-inline { display: none; }
.etp-lead-inline-text { display: none; }

.etp-input {
    width: 100%;
    padding: .7rem 1rem;
    border: 1.5px solid rgba(255,255,255,.25);
    border-radius: 8px;
    font-size: .9rem;
    font-family: var(--etp-font);
    color: var(--etp-text);
    background: rgba(255,255,255,.92);
    transition: border-color .2s, box-shadow .2s, background .2s;
    box-sizing: border-box;
}

.etp-input::placeholder {
    color: #9ca3af;
}

.etp-input:focus {
    border-color: var(--etp-primary-light);
    outline: none;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(184,187,0,.25);
}

.etp-field-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .625rem;
    margin-bottom: .875rem;
}

.etp-field-row .etp-input { flex: 1; min-width: 0; }

.etp-form-feedback {
    margin-top: .75rem;
    font-size: .85rem;
    font-weight: 600;
    font-family: var(--etp-font);
    padding: .5rem .75rem;
    border-radius: 6px;
}

.etp-form-feedback.etp-success { color: #065f46; background: rgba(209,250,229,.9); }
.etp-form-feedback.etp-error   { color: #7f1d1d; background: rgba(254,226,226,.9); }

/* ── Popups (Lead + Exit) ────────────────────────────────── */
.etp-popup-overlay,
.etp-exit-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.65);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 1rem;
    backdrop-filter: blur(3px);
    opacity: 0;
    transition: opacity .25s;
}

.etp-popup-overlay.etp-popup-visible,
.etp-exit-overlay.etp-popup-visible {
    opacity: 1;
}

.etp-popup-box,
.etp-exit-box {
    background: var(--etp-white);
    border-radius: 14px;
    padding: 2rem;
    max-width: 460px;
    width: 100%;
    box-shadow: var(--etp-shadow-lg);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    font-family: var(--etp-font);
    border-top: 4px solid var(--etp-primary);
}

.etp-popup-close {
    position: absolute;
    top: .75rem;
    right: .75rem;
    background: var(--etp-bg);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    cursor: pointer;
    font-size: 1rem;
    color: var(--etp-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s;
}
.etp-popup-close:hover { background: var(--etp-border); }

.etp-popup-title,
.etp-exit-title {
    font-size: 1.3rem;
    font-weight: 800;
    font-family: var(--etp-font);
    letter-spacing: -.02em;
    color: var(--etp-text);
    margin: 0 0 .75rem;
}

.etp-popup-body,
.etp-exit-body {
    color: var(--etp-muted);
    margin-bottom: 1.25rem;
    font-family: var(--etp-font);
    line-height: 1.6;
}

.etp-popup-privacy {
    text-align: center;
    font-size: .78rem;
    font-family: var(--etp-font);
    color: var(--etp-muted);
    margin-top: .75rem;
}

.etp-exit-actions {
    display: flex;
    flex-direction: column;
    gap: .6rem;
    margin: 1.25rem 0;
}

.etp-lead-popup-form label {
    display: block;
    margin-bottom: .75rem;
    font-size: .88rem;
    font-weight: 600;
    font-family: var(--etp-font);
    color: var(--etp-text);
}

.etp-lead-popup-form input {
    display: block;
    margin-top: .3rem;
    font-family: var(--etp-font);
}

/* ── Sticky Bar ──────────────────────────────────────────── */
.etp-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(20, 21, 0, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .85rem 1.25rem;
    z-index: 9998;
    transform: translateY(100%);
    transition: transform .35s cubic-bezier(.4,0,.2,1);
    box-shadow: 0 -4px 24px rgba(0,0,0,.30);
    font-family: var(--etp-font);
    border-top: 1px solid rgba(142,145,0,.20);
}

.etp-sticky-bar.etp-sticky-visible {
    transform: translateY(0);
}

.etp-sticky-btn {
    flex: 1;
    text-align: center;
    padding: .75rem 1rem;
    border-radius: 50px;
    font-size: .875rem;
    font-weight: 700;
    font-family: var(--etp-font);
    letter-spacing: .02em;
    text-decoration: none !important;
    transition: opacity .15s, transform .15s, box-shadow .15s;
    line-height: 1;
}

.etp-sticky-btn:hover  { opacity: .92; transform: translateY(-1px); }
.etp-sticky-btn:active { transform: scale(.97); }

.etp-sticky-upgrade {
    background: linear-gradient(135deg, #7a7d00 0%, #a0a400 100%);
    color: #fff !important;
    box-shadow: 0 3px 10px rgba(142,145,0,.40);
}

.etp-sticky-whatsapp {
    background: linear-gradient(135deg, #20c45e 0%, #25d366 100%);
    color: #fff !important;
    box-shadow: 0 3px 10px rgba(37,211,102,.40);
}

.etp-sticky-close {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50%;
    color: rgba(255,255,255,.6);
    font-size: 1rem;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background .15s, color .15s;
    padding: 0;
}
.etp-sticky-close:hover { background: rgba(255,255,255,.18); color: #fff; }

/* ── Social Proof ────────────────────────────────────────── */
.etp-social-proof {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: var(--etp-primary-bg);
    border: 1px solid rgba(142,145,0,.30);
    border-radius: 999px;
    padding: .35rem .9rem;
    font-size: .82rem;
    font-family: var(--etp-font);
    color: #4a4c00;
    font-weight: 600;
    margin: .75rem 0 1.25rem;
}

/* ── Tools ───────────────────────────────────────────────── */
.etp-tool-title {
    font-size: 1.1rem;
    font-weight: 700;
    font-family: var(--etp-font);
    letter-spacing: -.01em;
    margin: 0 0 .4rem;
    color: var(--etp-text);
}

.etp-tool-desc {
    color: var(--etp-muted);
    font-size: .88rem;
    font-family: var(--etp-font);
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

.etp-estimator-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .75rem;
    margin-bottom: 1rem;
}

@media (max-width: 480px) {
    .etp-estimator-fields { grid-template-columns: 1fr; }
}

.etp-field-group label {
    display: block;
    font-size: .85rem;
    font-weight: 600;
    font-family: var(--etp-font);
    color: var(--etp-text);
    margin-bottom: .25rem;
}

.etp-estimator-result {
    margin-top: 1.25rem;
    padding: 1rem;
    background: var(--etp-primary-bg);
    border-radius: 8px;
    border: 1.5px solid rgba(142,145,0,.25);
}

.etp-result-table { width: 100%; border-collapse: collapse; font-family: var(--etp-font); }
.etp-result-table td { padding: .4rem .5rem; font-size: .92rem; }
.etp-result-table td:last-child { text-align: right; }
.etp-total-row td {
    border-top: 2px solid rgba(142,145,0,.25);
    padding-top: .75rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--etp-primary-dark);
}

.etp-disclaimer {
    font-size: .78rem;
    font-family: var(--etp-font);
    color: var(--etp-muted);
    margin-top: .5rem;
}

/* Checklist */
.etp-checklist-items { list-style: none; padding: 0; margin: 0 0 1rem; }

.etp-checklist-item {
    padding: .5rem 0;
    border-bottom: 1px solid var(--etp-border);
    transition: background .15s;
}

.etp-check-label {
    display: flex;
    align-items: center;
    gap: .6rem;
    cursor: pointer;
    font-size: .9rem;
    font-family: var(--etp-font);
    color: var(--etp-text);
}

.etp-item-done .etp-check-text {
    text-decoration: line-through;
    color: var(--etp-muted);
}

.etp-progress-bar {
    height: 8px;
    background: var(--etp-border);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: .4rem;
}

.etp-progress-fill {
    height: 100%;
    background: var(--etp-primary);
    border-radius: 999px;
    transition: width .3s ease;
}

.etp-progress-label {
    font-size: .8rem;
    font-family: var(--etp-font);
    color: var(--etp-muted);
    font-weight: 600;
}

.etp-checklist-progress {
    margin: .75rem 0;
}

/* ── Tool Gate ───────────────────────────────────────────── */
.etp-tool-gate {
    text-align: center;
    padding: 2rem;
}

.etp-tool-gate p {
    margin-bottom: 1rem;
    color: var(--etp-muted);
    font-family: var(--etp-font);
}

/* ── Admin Dashboard ─────────────────────────────────────── */
.etp-dashboard-stats {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.etp-dash-stat {
    background: #fff;
    border: 1px solid #dcdcde;
    border-radius: 8px;
    padding: 1rem 1.5rem;
    text-align: center;
    min-width: 140px;
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
    font-family: var(--etp-font);
}

.etp-dash-stat strong {
    display: block;
    font-size: 2rem;
    color: var(--etp-primary);
    line-height: 1;
    margin-bottom: .25rem;
    font-family: var(--etp-font);
    font-weight: 800;
}

.etp-dash-stat span {
    font-size: .78rem;
    color: var(--etp-muted);
    font-family: var(--etp-font);
    text-transform: uppercase;
    letter-spacing: .05em;
}

.etp-dashboard-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 900px) {
    .etp-dashboard-cols { grid-template-columns: 1fr; }
}

.etp-dash-panel h2 {
    font-size: 1rem;
    font-family: var(--etp-font);
    margin-bottom: .75rem;
}

/* ── Settings Tabs ───────────────────────────────────────── */
.etp-tab-nav {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--etp-border);
    padding-bottom: .5rem;
}

.etp-tab-btn {
    background: var(--etp-bg);
    border: 1.5px solid var(--etp-border);
    border-radius: 6px 6px 0 0;
    padding: .5rem 1rem;
    font-size: .88rem;
    font-weight: 600;
    font-family: var(--etp-font);
    cursor: pointer;
    transition: background .15s, border-color .15s;
    color: var(--etp-text);
}

.etp-tab-btn:hover,
.etp-tab-btn.etp-tab-active {
    background: var(--etp-primary);
    border-color: var(--etp-primary);
    color: #fff;
}

.etp-lead-count {
    background: var(--etp-primary);
    color: #fff;
    border-radius: 999px;
    padding: .15rem .6rem;
    font-size: .8rem;
    font-family: var(--etp-font);
    font-weight: 700;
}

/* ── Responsive Tweaks ───────────────────────────────────── */
@media (max-width: 600px) {
    .etp-paywall-actions,
    .etp-pre-cta-actions { flex-direction: column; }

    .etp-countdown { margin-left: 0; width: 100%; }

    .etp-field-row { grid-template-columns: 1fr; }

    .etp-inline-cta { flex-direction: column; }

    .etp-paywall-message { padding: 0; }

    .etp-paywall-inner { padding: 2rem 1.25rem 1.75rem; }
}

/* ── Member-status-aware paywall styles ─────────────────── */

/* Expired-member renew notice inside the main paywall card */
.etp-paywall-renew-notice {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-left: 3px solid #d97706;
    border-radius: 6px;
    padding: .6rem 1rem;
    font-size: .875rem;
    color: #92400e;
    margin: .5rem 0 1rem;
    line-height: 1.5;
}

/* Expired-member hint inside the pre-paywall CTA */
.etp-pre-cta-renew-hint {
    font-size: .85rem;
    color: #92400e;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 5px;
    padding: .45rem .85rem;
    margin: .25rem 0 .75rem;
    line-height: 1.5;
}

/* Visual distinction: renew state gets an amber accent instead of olive */
.etp-paywall-status-expired .etp-btn-primary,
.etp-pre-cta-status-expired .etp-btn-primary,
.etp-inline-cta-status-expired .etp-btn-primary {
    background: #d97706;
    border-color: #b45309;
    box-shadow: 0 2px 8px rgba(217,119,6,.30);
}
.etp-paywall-status-expired .etp-btn-primary:hover,
.etp-pre-cta-status-expired .etp-btn-primary:hover,
.etp-inline-cta-status-expired .etp-btn-primary:hover {
    background: #b45309;
    box-shadow: 0 4px 12px rgba(217,119,6,.40);
}

/* ── Non-member Preview Card ─────────────────────────────── */
.etp-preview-card {
    background: var(--etp-surface, #fff);
    border: 1px solid var(--etp-border, #e5e7eb);
    border-radius: var(--etp-radius, 8px);
    padding: 1.25rem 1.5rem;
    margin: 0 0 1.25rem;
    font-family: var(--etp-font);
}

.etp-preview-category {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: var(--etp-primary, #5a6e00);
    background: rgba(90,110,0,.08);
    border-radius: 4px;
    padding: .2rem .6rem;
    margin-bottom: .9rem;
}

/* Definition list of key fields */
.etp-preview-fields {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin: 0 0 1rem;
    padding: 0;
    border: 1px solid var(--etp-border, #e5e7eb);
    border-radius: 6px;
    overflow: hidden;
}

.etp-preview-field {
    display: grid;
    grid-template-columns: 9rem 1fr;
    border-bottom: 1px solid var(--etp-border, #e5e7eb);
    font-size: .875rem;
    line-height: 1.5;
}

.etp-preview-field:last-child {
    border-bottom: none;
}

.etp-preview-field dt {
    background: var(--etp-secondary, #f9fafb);
    color: var(--etp-text-muted, #6b7280);
    font-weight: 600;
    padding: .55rem .75rem;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.etp-preview-field dd {
    padding: .55rem .75rem;
    color: var(--etp-text, #111827);
    margin: 0;
    word-break: break-word;
}

/* Description snippet */
.etp-preview-description {
    font-size: .9rem;
    color: var(--etp-text, #111827);
    line-height: 1.65;
    margin: 0 0 .9rem;
}

.etp-preview-description p {
    margin: 0;
}

/* "Full details available to members" hint */
.etp-preview-blur-hint {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .8rem;
    color: var(--etp-text-muted, #6b7280);
    border-top: 1px dashed var(--etp-border, #e5e7eb);
    padding-top: .75rem;
    margin-top: .25rem;
}

.etp-preview-blur-hint::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2' ry='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

@media (max-width: 480px) {
    .etp-preview-field {
        grid-template-columns: 1fr;
    }
    .etp-preview-field dt {
        border-bottom: 1px solid var(--etp-border, #e5e7eb);
        padding-bottom: .3rem;
    }
}
