/* ============================================================
   Bheed GNR8TR v3.0.4 — Frontend Styles
   Selectors use #bheed-*-wrap prefix for specificity over theme.
   ============================================================ */

/* ── Scoped reset ────────────────────────────────────────────── */
#bheed-talent-reg-wrap *,
#bheed-agency-reg-wrap *,
#bheed-agency-type-wrap *,
#bheed-talent-profile-wrap *,
#bheed-agency-dashboard-wrap *,
#bheed-crowd-wrap *,
#bheed-login-wrap *,
.bheed-gate-notice * {
    box-sizing: border-box;
}

/* ── Outer wrappers ──────────────────────────────────────────── */
#bheed-talent-reg-wrap,
#bheed-agency-reg-wrap,
.bheed-registration-wrap {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 0 40px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 15px;
    color: #1e293b;
}

/* ════════════════════════════════════════════════════════════
   PROGRESS BAR
   ════════════════════════════════════════════════════════════ */
#bheed-talent-reg-wrap .bheed-progress,
#bheed-agency-reg-wrap .bheed-progress,
.bheed-registration-wrap .bheed-progress {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start;
    flex-wrap: nowrap;
    gap: 0;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    border-bottom: 2px solid #e2e8f0;
    background: transparent;
}
#bheed-talent-reg-wrap .bheed-progress::-webkit-scrollbar,
#bheed-agency-reg-wrap .bheed-progress::-webkit-scrollbar { display: none; }

#bheed-talent-reg-wrap .bheed-step,
#bheed-agency-reg-wrap .bheed-step,
.bheed-registration-wrap .bheed-step {
    display: flex !important;
    flex-direction: column !important;
    align-items: center;
    gap: 5px;
    padding: 10px 14px 12px;
    cursor: default;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    min-width: 64px;
    text-align: center;
    transition: border-color .2s;
    white-space: nowrap;
    flex-shrink: 0;
    background: transparent;
}

#bheed-talent-reg-wrap .bheed-step-num,
#bheed-agency-reg-wrap .bheed-step-num,
.bheed-registration-wrap .bheed-step-num {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
    line-height: 1;
}
#bheed-talent-reg-wrap .bheed-step-label,
#bheed-agency-reg-wrap .bheed-step-label,
.bheed-registration-wrap .bheed-step-label {
    display: block;
    font-size: 11px;
    color: #94a3b8;
    font-weight: 500;
    margin: 0;
    padding: 0;
}

/* Active step */
#bheed-talent-reg-wrap .bheed-step.active,
#bheed-agency-reg-wrap .bheed-step.active {
    border-bottom-color: #1e3a5f;
}
#bheed-talent-reg-wrap .bheed-step.active .bheed-step-num,
#bheed-agency-reg-wrap .bheed-step.active .bheed-step-num {
    background: #1e3a5f;
    color: #fff;
}
#bheed-talent-reg-wrap .bheed-step.active .bheed-step-label,
#bheed-agency-reg-wrap .bheed-step.active .bheed-step-label {
    color: #1e3a5f;
    font-weight: 600;
}
/* Complete step */
#bheed-talent-reg-wrap .bheed-step.complete .bheed-step-num,
#bheed-agency-reg-wrap .bheed-step.complete .bheed-step-num {
    background: #dcfce7;
    color: #16a34a;
}
#bheed-talent-reg-wrap .bheed-step.complete .bheed-step-label,
#bheed-agency-reg-wrap .bheed-step.complete .bheed-step-label {
    color: #16a34a;
}

/* ════════════════════════════════════════════════════════════
   FORM STEP PANELS
   ════════════════════════════════════════════════════════════ */
#bheed-talent-reg-wrap .bheed-form-step,
#bheed-agency-reg-wrap .bheed-form-step {
    display: none !important;
}
#bheed-talent-reg-wrap .bheed-form-step.active,
#bheed-agency-reg-wrap .bheed-form-step.active {
    display: block !important;
}
#bheed-talent-reg-wrap .bheed-form-step h3,
#bheed-agency-reg-wrap .bheed-form-step h3 {
    margin: 0 0 6px;
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
}
#bheed-talent-reg-wrap .bheed-step-hint,
#bheed-agency-reg-wrap .bheed-step-hint {
    margin: 0 0 22px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
    display: block;
}

/* ════════════════════════════════════════════════════════════
   FORM GROUPS & LABELS
   ════════════════════════════════════════════════════════════ */
#bheed-talent-reg-wrap .bheed-form-group,
#bheed-agency-reg-wrap .bheed-form-group,
#bheed-crowd-wrap .bheed-form-group {
    margin-bottom: 18px;
    display: block;
}
#bheed-talent-reg-wrap .bheed-form-row,
#bheed-agency-reg-wrap .bheed-form-row {
    display: flex !important;
    gap: 14px;
    flex-wrap: wrap;
}
#bheed-talent-reg-wrap .bheed-form-row .bheed-form-group,
#bheed-agency-reg-wrap .bheed-form-row .bheed-form-group {
    flex: 1;
    min-width: 140px;
}
#bheed-talent-reg-wrap .bheed-form-group label,
#bheed-agency-reg-wrap .bheed-form-group label,
#bheed-crowd-wrap .bheed-form-group label,
#bheed-talent-reg-wrap label,
#bheed-agency-reg-wrap label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #374151;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.4;
}

/* ════════════════════════════════════════════════════════════
   INPUTS — high specificity to beat theme
   ════════════════════════════════════════════════════════════ */
#bheed-talent-reg-wrap input[type="text"],
#bheed-talent-reg-wrap input[type="email"],
#bheed-talent-reg-wrap input[type="tel"],
#bheed-talent-reg-wrap input[type="number"],
#bheed-talent-reg-wrap input[type="date"],
#bheed-talent-reg-wrap input[type="url"],
#bheed-talent-reg-wrap input[type="password"],
#bheed-talent-reg-wrap select,
#bheed-talent-reg-wrap textarea,
#bheed-agency-reg-wrap input[type="text"],
#bheed-agency-reg-wrap input[type="email"],
#bheed-agency-reg-wrap input[type="tel"],
#bheed-agency-reg-wrap input[type="number"],
#bheed-agency-reg-wrap input[type="date"],
#bheed-agency-reg-wrap input[type="url"],
#bheed-agency-reg-wrap select,
#bheed-agency-reg-wrap textarea,
#bheed-crowd-wrap input[type="text"],
#bheed-crowd-wrap input[type="email"],
#bheed-crowd-wrap input[type="tel"],
#bheed-crowd-wrap input[type="number"],
#bheed-crowd-wrap input[type="date"],
#bheed-crowd-wrap select,
#bheed-crowd-wrap textarea,
.bheed-input {
    display: block !important;
    width: 100% !important;
    padding: 11px 14px !important;
    border: 1.5px solid #d1d5db !important;
    border-radius: 8px !important;
    font-size: 15px !important;
    color: #1e293b !important;
    background: #fff !important;
    outline: none;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    -webkit-appearance: none;
    appearance: none;
    line-height: 1.4 !important;
    box-shadow: none;
    transition: border-color .15s, box-shadow .15s;
    margin: 0;
}
#bheed-talent-reg-wrap input:focus,
#bheed-talent-reg-wrap select:focus,
#bheed-talent-reg-wrap textarea:focus,
#bheed-agency-reg-wrap input:focus,
#bheed-agency-reg-wrap select:focus,
#bheed-agency-reg-wrap textarea:focus,
#bheed-crowd-wrap input:focus,
#bheed-crowd-wrap select:focus,
.bheed-input:focus {
    border-color: #1e3a5f !important;
    box-shadow: 0 0 0 3px rgba(30,58,95,.12) !important;
    outline: none !important;
}
#bheed-talent-reg-wrap select,
#bheed-agency-reg-wrap select,
#bheed-crowd-wrap select {
    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='%2394a3b8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    padding-right: 38px !important;
    cursor: pointer;
}
#bheed-talent-reg-wrap textarea,
#bheed-agency-reg-wrap textarea,
#bheed-crowd-wrap textarea {
    resize: vertical !important;
    min-height: 100px !important;
}
#bheed-talent-reg-wrap input::placeholder,
#bheed-agency-reg-wrap input::placeholder,
#bheed-crowd-wrap input::placeholder,
#bheed-talent-reg-wrap textarea::placeholder {
    color: #9ca3af;
    opacity: 1;
}
.bheed-verified {
    border-color: #16a34a !important;
    background: #f0fdf4 !important;
}

/* ════════════════════════════════════════════════════════════
   BUTTONS
   ════════════════════════════════════════════════════════════ */
.bheed-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all .15s;
    text-decoration: none !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    line-height: 1;
}
.bheed-btn:disabled { opacity: 0.55; cursor: not-allowed; }

.bheed-btn-primary { background: #1e3a5f !important; color: #fff !important; border-color: #1e3a5f !important; }
.bheed-btn-primary:hover:not(:disabled) { background: #16304f !important; }

.bheed-btn-outline { background: transparent !important; color: #1e3a5f !important; border-color: #1e3a5f !important; }
.bheed-btn-outline:hover:not(:disabled) { background: #f0f4ff !important; }

.bheed-btn-sm { padding: 7px 14px !important; font-size: 13px !important; }
.bheed-btn-danger { background: #dc2626 !important; border-color: #dc2626 !important; color: #fff !important; }
.bheed-btn-danger:hover:not(:disabled) { background: #b91c1c !important; }

/* Step nav row */
#bheed-talent-reg-wrap .bheed-step-nav,
#bheed-agency-reg-wrap .bheed-step-nav {
    display: flex !important;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
    flex-wrap: wrap;
}
#bheed-talent-reg-wrap .bheed-step-nav .bheed-btn-outline,
#bheed-agency-reg-wrap .bheed-step-nav .bheed-btn-outline {
    margin-right: auto;
}

/* OTP button row */
#bheed-talent-reg-wrap .bheed-phone-row,
#bheed-agency-reg-wrap .bheed-phone-row {
    display: flex !important;
    gap: 8px;
    align-items: flex-start;
    flex-wrap: nowrap;
}
#bheed-talent-reg-wrap .bheed-phone-prefix,
#bheed-agency-reg-wrap .bheed-phone-prefix {
    display: inline-flex !important;
    align-items: center;
    background: #f1f5f9 !important;
    border: 1.5px solid #d1d5db !important;
    border-radius: 8px !important;
    padding: 11px 12px !important;
    font-weight: 700;
    font-size: 15px;
    color: #374151;
    white-space: nowrap;
    flex-shrink: 0;
    line-height: 1.4;
}
#bheed-talent-reg-wrap .bheed-phone-row input,
#bheed-agency-reg-wrap .bheed-phone-row input {
    flex: 1 !important;
}

/* OTP status */
.bheed-otp-status { display: block; font-size: 13px; margin-top: 8px; min-height: 20px; }
.bheed-otp-success { color: #16a34a; font-weight: 600; }
.bheed-otp-error   { color: #dc2626; }
.bheed-otp-info    { color: #2563eb; }

/* ════════════════════════════════════════════════════════════
   SECTION HEADINGS
   ════════════════════════════════════════════════════════════ */
#bheed-talent-reg-wrap .bheed-section-title,
#bheed-agency-reg-wrap .bheed-section-title {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #94a3b8;
    margin: 24px 0 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid #f1f5f9;
}

/* ════════════════════════════════════════════════════════════
   MESSAGES
   ════════════════════════════════════════════════════════════ */
.bheed-error, .bheed-message.error {
    background: #fef2f2 !important;
    border: 1px solid #fca5a5 !important;
    color: #991b1b !important;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    margin-top: 12px;
    display: block;
}
.bheed-success, .bheed-message.success {
    background: #f0fdf4 !important;
    border: 1px solid #86efac !important;
    color: #166534 !important;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    margin-top: 12px;
    display: block;
}
.bheed-notice {
    padding: 14px 18px;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 8px;
    color: #0369a1;
    margin: 16px 0;
    font-size: 14px;
    display: block;
}
.bheed-field-error { font-size: 12px; color: #dc2626; margin-top: 4px; display: block; }

/* ════════════════════════════════════════════════════════════
   CITY TYPEAHEAD
   ════════════════════════════════════════════════════════════ */
.bheed-city-search-wrap { position: relative; }
.bheed-city-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    z-index: 99999;
    background: #fff;
    border: 1.5px solid #d1d5db;
    border-radius: 10px;
    max-height: 240px;
    overflow-y: auto;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
}
.bheed-city-item {
    padding: 13px 16px;
    cursor: pointer;
    font-size: 14px;
    color: #1e293b;
    border-bottom: 1px solid #f1f5f9;
    transition: background .1s;
}
.bheed-city-item:last-child { border-bottom: none; }
.bheed-city-item:hover, .bheed-city-item:active { background: #f0f4ff; }

/* ════════════════════════════════════════════════════════════
   PILL MULTI-SELECT
   ════════════════════════════════════════════════════════════ */
.bheed-pill-selector {
    display: flex !important;
    flex-wrap: wrap;
    gap: 8px;
    padding: 14px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    max-height: 240px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.bheed-pill-option {
    display: inline-flex !important;
    align-items: center;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-family: inherit;
    cursor: pointer;
    border: 1.5px solid #cbd5e1;
    background: #fff;
    color: #475569;
    transition: all .15s;
    white-space: nowrap;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    min-height: 38px;
    line-height: 1;
}
.bheed-pill-option.active { background: #1e3a5f !important; border-color: #1e3a5f !important; color: #fff !important; }
.bheed-pill-option:hover:not(.active) { border-color: #1e3a5f; color: #1e3a5f; background: #f0f4ff; }

/* ════════════════════════════════════════════════════════════
   AGENCY TYPE CARDS
   ════════════════════════════════════════════════════════════ */
#bheed-agency-type-wrap,
.bheed-agency-type-select {
    max-width: 680px;
    margin: 0 auto;
    padding-bottom: 40px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.bheed-type-cards { display: grid !important; grid-template-columns: 1fr 1fr; gap: 16px; }
.bheed-type-card {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 28px 20px;
    border: 2px solid #e2e8f0 !important;
    border-radius: 14px;
    background: #fff !important;
    cursor: pointer;
    text-align: center;
    transition: all .2s;
    font-family: inherit;
}
.bheed-type-card:hover { border-color: #1e3a5f !important; transform: translateY(-3px); box-shadow: 0 6px 24px rgba(30,58,95,.13); }
.bheed-type-icon  { font-size: 40px; line-height: 1; display: block; }
.bheed-type-card strong { font-size: 16px; color: #0f172a; display: block; }
.bheed-type-card span   { color: #94a3b8; font-size: 13px; line-height: 1.4; display: block; }

/* ════════════════════════════════════════════════════════════
   DPDP CONSENT BOX
   ════════════════════════════════════════════════════════════ */
.bheed-dpdp-box {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    background: #fafafa;
    display: block;
}
.bheed-dpdp-header { display: flex !important; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; margin-bottom: 10px; }
.bheed-dpdp-icon  { font-size: 20px; }
.bheed-dpdp-body p  { font-size: 13px; margin-top: 0; line-height: 1.5; }
.bheed-dpdp-body ul { font-size: 12px; margin: 6px 0 12px; padding-left: 18px; }
.bheed-dpdp-body li { margin-bottom: 4px; line-height: 1.5; }
.bheed-dpdp-consents { display: flex !important; flex-direction: column; gap: 8px; margin-top: 10px; }
.bheed-check {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 7px;
    cursor: pointer;
    font-size: 13px;
    line-height: 1.4;
    background: #fff;
}
.bheed-check input[type="checkbox"] {
    flex-shrink: 0;
    width: 16px !important;
    height: 16px !important;
    margin-top: 2px;
    accent-color: #1e3a5f;
    cursor: pointer;
}
.bheed-dpdp-rights-note { font-size: 11px; color: #94a3b8; margin-top: 10px; line-height: 1.5; display: block; }

/* ════════════════════════════════════════════════════════════
   PHOTO UPLOAD
   ════════════════════════════════════════════════════════════ */
.bheed-photo-upload { margin-bottom: 20px; }
.bheed-photo-upload-wrap {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.bheed-photo-upload-controls {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.bheed-photo-preview {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 2px dashed #cbd5e1;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-align: center;
    gap: 6px;
    font-size: 11px;
    overflow: hidden;
    color: #94a3b8;
}
.bheed-photo-preview img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

/* ════════════════════════════════════════════════════════════
   PROFILE PAGE
   ════════════════════════════════════════════════════════════ */
#bheed-talent-profile-wrap,
.bheed-profile-page {
    max-width: 820px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.bheed-profile-header {
    display: flex !important;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.bheed-profile-avatar { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 3px solid #e2e8f0; flex-shrink: 0; }
.bheed-profile-avatar-placeholder {
    width: 72px; height: 72px; border-radius: 50%; background: #1e3a5f;
    color: #fff; font-size: 28px; font-weight: 700;
    display: flex !important; align-items: center; justify-content: center; flex-shrink: 0;
}
.bheed-profile-header-info { flex: 1; }
.bheed-profile-header-info h2 { margin: 0 0 4px; font-size: 22px; }
.bheed-profile-grid { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(160px,1fr)); gap: 12px; margin-bottom: 20px; }
.bheed-profile-item { background: #f8fafc; border-radius: 8px; padding: 12px; display: block; }
.bheed-profile-item label { display: block; font-size: 11px; color: #94a3b8; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 3px; }
.bheed-profile-item span  { display: block; font-size: 14px; color: #1e293b; font-weight: 500; }
.bheed-profile-bio     { margin-bottom: 20px; }
.bheed-profile-bio h4  { margin: 0 0 8px; font-size: 11px; color: #94a3b8; text-transform: uppercase; letter-spacing: .06em; }
.bheed-profile-pills   { margin-bottom: 20px; }
.bheed-profile-pills h4{ margin: 0 0 10px; font-size: 11px; color: #94a3b8; text-transform: uppercase; letter-spacing: .06em; }
.bheed-pill { display: inline-block; padding: 5px 12px; border-radius: 20px; font-size: 13px; background: #e0f2fe; color: #0369a1; margin: 3px; }
.bheed-profile-links { display: flex !important; gap: 16px; flex-wrap: wrap; }
.bheed-profile-links a { color: #1e3a5f; font-size: 14px; text-decoration: none; }
.bheed-profile-links a:hover { text-decoration: underline; }

/* ════════════════════════════════════════════════════════════
   TABS
   ════════════════════════════════════════════════════════════ */
.bheed-tabs {
    display: flex !important;
    gap: 4px;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.bheed-tabs::-webkit-scrollbar { display: none; }
.bheed-tab {
    padding: 10px 20px;
    border: none !important;
    background: none !important;
    cursor: pointer;
    font-size: 14px;
    font-family: inherit;
    color: #64748b;
    border-bottom: 2px solid transparent !important;
    margin-bottom: -2px;
    transition: all .15s;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: none !important;
}
.bheed-tab.active { color: #1e3a5f !important; border-bottom-color: #1e3a5f !important; }

/* ════════════════════════════════════════════════════════════
   AGENCY MEMBERS
   ════════════════════════════════════════════════════════════ */
.bheed-member-row {
    display: flex !important;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #f8fafc;
    border-radius: 8px;
    margin-bottom: 8px;
    flex-wrap: wrap;
    border: 1px solid #e2e8f0;
}
.bheed-member-info          { flex: 1; display: flex !important; flex-direction: column; gap: 2px; }
.bheed-member-info strong   { font-size: 14px; color: #1e293b; display: block; }
.bheed-member-info span     { font-size: 13px; color: #64748b; display: block; }
.bheed-member-info em       { font-size: 12px; color: #94a3b8; display: block; }
.bheed-invite-form          { background: #f8fafc; border-radius: 10px; padding: 16px; border: 1px solid #e2e8f0; }

/* ════════════════════════════════════════════════════════════
   GATE NOTICE
   ════════════════════════════════════════════════════════════ */
.bheed-gate-notice {
    text-align: center;
    padding: 48px 28px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    max-width: 500px;
    margin: 48px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    display: block;
}
.bheed-gate-icon { font-size: 44px; display: block; margin-bottom: 16px; }
.bheed-gate-notice h3 { margin: 0 0 10px; font-size: 20px; color: #0f172a; }
.bheed-gate-notice p  { color: #64748b; margin-bottom: 24px; font-size: 15px; }

/* ════════════════════════════════════════════════════════════
   BADGES
   ════════════════════════════════════════════════════════════ */
.bheed-badge { display: inline-block; padding: 3px 10px; border-radius: 12px; font-size: 12px; font-weight: 600; }
.bheed-badge-success   { background: #dcfce7 !important; color: #16a34a !important; }
.bheed-badge-warning   { background: #fef9c3 !important; color: #ca8a04 !important; }
.bheed-badge-danger    { background: #fee2e2 !important; color: #dc2626 !important; }
.bheed-badge-secondary { background: #f1f5f9 !important; color: #64748b !important; }

/* ════════════════════════════════════════════════════════════
   TALENT DIRECTORY
   ════════════════════════════════════════════════════════════ */
.bheed-wrap { max-width: 960px; margin: 0 auto; padding: 1rem 0; }
.bheed-search-filters { padding: 18px; border: 1px solid #e2e8f0; border-radius: 10px; margin-bottom: 24px; background: #f8fafc; }
.bheed-filter-grid    { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(150px,1fr)); gap: 10px; align-items: end; }
.bheed-talent-grid    { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(210px,1fr)); gap: 16px; margin-top: 20px; }
.bheed-talent-card    { border: 1px solid #e2e8f0; border-radius: 10px; overflow: hidden; transition: box-shadow .2s; background: #fff; display: block; }
.bheed-talent-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,.1); }
.bheed-talent-silhouette { width: 100%; padding: 1.5rem 0 .5rem; display: flex !important; align-items: center; justify-content: center; background: #f8fafc; min-height: 100px; }
.bheed-talent-info    { padding: 14px; }
.bheed-talent-name    { font-weight: 700; font-size: 14px; margin-bottom: 3px; color: #0f172a; display: block; }
.bheed-talent-city    { font-size: 12px; color: #94a3b8; margin-bottom: 8px; display: block; }
.bheed-talent-cats    { display: flex !important; flex-wrap: wrap; gap: 4px; margin-bottom: 8px; }
.bheed-cat-pill       { border: 1px solid #cbd5e1; border-radius: 20px; font-size: 10px; padding: 2px 8px; font-weight: 600; color: #475569; }
.bheed-talent-rate    { font-size: 12px; font-weight: 600; color: #1e3a5f; display: block; }
.bheed-inquire-btn    { width: 100%; margin-top: 10px; cursor: pointer; }
.bheed-results-placeholder { text-align: center; padding: 48px 16px; color: #94a3b8; display: block; }

/* ════════════════════════════════════════════════════════════
   MODAL
   ════════════════════════════════════════════════════════════ */
.bheed-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); display: flex !important; align-items: center; justify-content: center; z-index: 99999; padding: 16px; }
.bheed-modal { background: #fff; border-radius: 12px; padding: 28px; width: 100%; max-width: 480px; max-height: 90vh; overflow-y: auto; box-shadow: 0 24px 64px rgba(0,0,0,.2); }
.bheed-modal h3 { margin-top: 0; }
.bheed-modal-close { float: right; background: none !important; border: none !important; font-size: 22px; cursor: pointer; margin-top: -4px; color: #94a3b8; line-height: 1; padding: 0; box-shadow: none !important; }
.bheed-modal-close:hover { color: #1e293b; }
.bheed-privacy-note { font-size: 11px; color: #94a3b8; padding: 8px 12px; border: 1px solid #e2e8f0; border-radius: 6px; margin-bottom: 14px; display: block; }

/* ════════════════════════════════════════════════════════════
   RIGHTS / MY DATA
   ════════════════════════════════════════════════════════════ */
.bheed-rights-grid { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(240px,1fr)); gap: 14px; margin: 20px 0; }
.bheed-right-card  { background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 18px; display: block; }
.bheed-right-icon  { font-size: 28px; display: block; margin-bottom: 8px; }
.bheed-right-card strong { display: block; font-size: 14px; margin-bottom: 5px; color: #0f172a; }
.bheed-right-card p { font-size: 12px; color: #94a3b8; margin: 0; line-height: 1.5; }
.bheed-detail-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 18px; margin-bottom: 14px; display: block; }
.bheed-detail-card h3 { margin: 0 0 12px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: #94a3b8; }
.bheed-detail-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.bheed-detail-table th { width: 160px; text-align: left; font-weight: 600; padding: 6px 12px 6px 0; color: #374151; vertical-align: top; white-space: nowrap; text-transform: capitalize; }
.bheed-detail-table td { padding: 6px 0; color: #1e293b; }
.bheed-detail-table tr + tr th, .bheed-detail-table tr + tr td { border-top: 1px solid #f3f4f6; }

/* ════════════════════════════════════════════════════════════
   DRAFT BANNER
   ════════════════════════════════════════════════════════════ */
.bheed-draft-banner { display: flex !important; align-items: center; gap: 10px; background: #fffbeb; border: 1px solid #fde68a; border-radius: 8px; padding: 10px 16px; margin-bottom: 16px; font-size: 13px; color: #92400e; flex-wrap: wrap; }
.bheed-draft-banner span { flex: 1; min-width: 120px; }
.bheed-draft-resume { background: #f59e0b; color: #fff; border: none; border-radius: 6px; padding: 6px 14px; font-size: 12px; font-weight: 600; cursor: pointer; }
.bheed-draft-clear  { background: transparent; color: #92400e; border: 1px solid #fcd34d; border-radius: 6px; padding: 6px 12px; font-size: 12px; cursor: pointer; }
.bheed-draft-toast  { position: fixed; bottom: 24px; right: 24px; background: #1f2937; color: #fff; font-size: 12px; padding: 8px 18px; border-radius: 20px; opacity: 0; transform: translateY(8px); transition: opacity .25s, transform .25s; pointer-events: none; z-index: 9999; }
.bheed-draft-toast.visible { opacity: 1; transform: translateY(0); }

/* ════════════════════════════════════════════════════════════
   MISC
   ════════════════════════════════════════════════════════════ */
.bheed-message { border-radius: 8px; padding: 12px 16px; font-size: 14px; margin-top: 12px; border: 1px solid transparent; display: block; }
.bheed-pincode-loading { font-size: 11px; color: #2563eb; margin-top: 3px; display: none; }
.bheed-checkbox-grid { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(190px,1fr)); gap: 7px; margin-top: 6px; margin-bottom: 14px; }
#bheed-crowd-wrap h4 { margin: 24px 0 12px; font-size: 12px; font-weight: 700; color: #374151; text-transform: uppercase; letter-spacing: .05em; border-bottom: 1px solid #f1f5f9; padding-bottom: 8px; }

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */
@media (max-width: 600px) {
    #bheed-talent-reg-wrap, #bheed-agency-reg-wrap { padding: 0 4px 40px; }
    .bheed-type-cards { grid-template-columns: 1fr !important; }
    .bheed-profile-grid { grid-template-columns: 1fr 1fr !important; }
    .bheed-member-row { flex-direction: column; align-items: flex-start; }
    #bheed-talent-reg-wrap .bheed-form-row,
    #bheed-agency-reg-wrap .bheed-form-row { flex-direction: column !important; }
    #bheed-talent-reg-wrap .bheed-form-row .bheed-form-group,
    #bheed-agency-reg-wrap .bheed-form-row .bheed-form-group { min-width: 100%; }
    .bheed-pill-option { font-size: 13px; padding: 8px 13px; }
    #bheed-talent-reg-wrap .bheed-step,
    #bheed-agency-reg-wrap .bheed-step { min-width: 54px; padding: 8px 8px 10px; }
    #bheed-talent-reg-wrap .bheed-step-label,
    #bheed-agency-reg-wrap .bheed-step-label { font-size: 10px; }
    #bheed-talent-reg-wrap .bheed-step-nav,
    #bheed-agency-reg-wrap .bheed-step-nav { flex-direction: column-reverse; gap: 10px; }
    #bheed-talent-reg-wrap .bheed-step-nav .bheed-btn,
    #bheed-agency-reg-wrap .bheed-step-nav .bheed-btn { width: 100%; justify-content: center; }
    .bheed-talent-grid { grid-template-columns: 1fr 1fr !important; }
    .bheed-modal { padding: 20px; }
}
@media (max-width: 380px) {
    .bheed-talent-grid { grid-template-columns: 1fr !important; }
}

/* ── Role Guard notices ───────────────────────────────────────── */
.bheed-gate-notice {
  background: #fff;
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  padding: 36px 28px;
  text-align: center;
  max-width: 520px;
  margin: 40px auto;
}
.bheed-gate-icon { font-size: 40px; display: block; margin-bottom: 12px; }
.bheed-gate-notice h3 { margin: 0 0 10px; font-size: 20px; color: #1e293b; }
.bheed-gate-notice p  { color: #64748b; margin: 0 0 20px; font-size: 15px; }

/* ── Badges ──────────────────────────────────────────────────── */
.bheed-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  background: #f1f5f9;
  color: #475569;
}
.bheed-badge-success { background: #dcfce7; color: #16a34a; }
.bheed-badge-warn    { background: #fef9c3; color: #ca8a04; }
.bheed-badge-danger  { background: #fee2e2; color: #dc2626; }

/* ── Event card / pool row ───────────────────────────────────── */
.bheed-event-card .bheed-badge { position: absolute; top: 14px; right: 14px; }

/* ── Responsive event dashboard ─────────────────────────────── */
@media (max-width: 768px) {
  .bheed-ed-layout { grid-template-columns: 1fr !important; }
  .bheed-events-grid { grid-template-columns: 1fr !important; }
  .bheed-pool-row { flex-direction: column; align-items: flex-start !important; }
}

/* ── Hint text ───────────────────────────────────────────────── */
.bheed-hint { color: #94a3b8; font-size: 12px; font-style: italic; margin-left: 6px; }

/* ── Inbox ───────────────────────────────────────────────────────── */
.bheed-inbox-wrap { max-width: 720px; margin: 0 auto; }
.bheed-msg-row { transition: box-shadow .15s; }
.bheed-msg-row:hover { box-shadow: 0 4px 14px rgba(0,0,0,.07); }

/* ── Bell widget (defined inline in render_bell, styles here for admin CSS) */

/* ════════════════════════════════════════════════════════════
   v3.4.3 — VALIDATION, CHAR COUNTER, ACCESSIBLE STEPS
   ════════════════════════════════════════════════════════════ */

/* ── Inline field error ───────────────────────────────────── */
.bheed-inline-error {
    display: block;
    font-size: 12px;
    color: #dc2626;
    margin-top: 4px;
    font-weight: 500;
    animation: bheedErrorSlide .15s ease;
}
@keyframes bheedErrorSlide {
    from { opacity:0; transform:translateY(-4px); }
    to   { opacity:1; transform:translateY(0);    }
}

/* ── Input error state ────────────────────────────────────── */
.bheed-input-error,
input.bheed-input-error,
select.bheed-input-error,
textarea.bheed-input-error {
    border-color: #dc2626 !important;
    background: #fff5f5 !important;
    box-shadow: 0 0 0 3px rgba(220,38,38,.10) !important;
}
.bheed-input-error:focus {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 3px rgba(220,38,38,.18) !important;
}

/* ── Character counter ────────────────────────────────────── */
.bheed-char-counter {
    display: block;
    font-size: 11px;
    color: #94a3b8;
    text-align: right;
    margin-top: 4px;
    font-variant-numeric: tabular-nums;
    transition: color .15s;
}
.bheed-char-counter-warn { color: #dc2626 !important; font-weight: 600; }

/* ── Completed progress step is clickable ─────────────────── */
#bheed-talent-reg-wrap .bheed-step.complete,
#bheed-agency-reg-wrap .bheed-step.complete,
.bheed-registration-wrap .bheed-step.complete {
    cursor: pointer;
}
#bheed-talent-reg-wrap .bheed-step.complete:hover .bheed-step-num,
#bheed-agency-reg-wrap .bheed-step.complete:hover .bheed-step-num,
.bheed-registration-wrap .bheed-step.complete:hover .bheed-step-num {
    background: #bbf7d0;
    outline: 2px solid #16a34a;
}
#bheed-talent-reg-wrap .bheed-step[role=button]:focus-visible,
#bheed-agency-reg-wrap .bheed-step[role=button]:focus-visible,
.bheed-registration-wrap .bheed-step[role=button]:focus-visible {
    outline: 2px solid #1e3a5f;
    outline-offset: 2px;
    border-radius: 6px;
}

/* ── OTP input normalised size (U7) ───────────────────────── */
.bheed-mobile-otp-input,
.bheed-email-otp-input {
    font-size: 18px !important;
    letter-spacing: 6px !important;
    font-weight: 700 !important;
    text-align: center !important;
    width: 150px !important;
    padding: 10px 12px !important;
}

/* ── Crowd step-nav alignment (U8) ───────────────────────── */
#bheed-crowd-wrap .bheed-step-nav {
    display: flex !important;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

/* ── Required marker colour ───────────────────────────────── */
.bheed-required {
    color: #dc2626;
    font-weight: 700;
    margin-left: 2px;
}

/* ── Verified input state ─────────────────────────────────── */
.bheed-verified,
input.bheed-verified {
    border-color: #16a34a !important;
    background: #f0fdf4 !important;
    box-shadow: 0 0 0 3px rgba(22,163,74,.10) !important;
}

/* ── Pill active state — stronger contrast ────────────────── */
.bheed-pill-option.active {
    background: #1e3a5f !important;
    border-color: #1e3a5f !important;
    color: #fff !important;
    font-weight: 600;
}
.bheed-pill-option:focus-visible {
    outline: 2px solid #1e3a5f;
    outline-offset: 2px;
}

/* ── Step progress checkmark on complete ─────────────────── */
#bheed-talent-reg-wrap .bheed-step.complete .bheed-step-num::after,
#bheed-agency-reg-wrap .bheed-step.complete .bheed-step-num::after,
.bheed-registration-wrap .bheed-step.complete .bheed-step-num::after {
    content: "✓";
    font-size: 12px;
    line-height: 1;
}
#bheed-talent-reg-wrap .bheed-step.complete .bheed-step-num,
#bheed-agency-reg-wrap .bheed-step.complete .bheed-step-num,
.bheed-registration-wrap .bheed-step.complete .bheed-step-num {
    font-size: 0;  /* hide number, show checkmark via ::after */
}

/* ═══════════════════════════════════════════════════════════════════════
   PRICING & SUBSCRIPTION — v3.5.0
   ═══════════════════════════════════════════════════════════════════════ */

/* Pricing grid */
.bheed-pricing-wrap { max-width: 1100px; margin: 0 auto; padding: 24px 0; }
.bheed-pricing-header { text-align: center; margin-bottom: 32px; }
.bheed-pricing-header h2 { font-size: 2rem; color: #1e3a5f; margin-bottom: 8px; }
.bheed-pricing-header p  { color: #64748b; font-size: 1.05rem; }

.bheed-currency-toggle { display: inline-flex; gap: 24px; margin-top: 16px; background: #f1f5f9;
  border-radius: 50px; padding: 6px 20px; }
.bheed-currency-toggle label { cursor: pointer; font-size: .9rem; color: #334155; }
.bheed-currency-toggle input { margin-right: 4px; }

.bheed-pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px; margin-bottom: 40px; }

.bheed-plan-card { background: #fff; border: 2px solid #e2e8f0; border-radius: 16px;
  padding: 28px 24px; display: flex; flex-direction: column; position: relative;
  transition: box-shadow .2s, border-color .2s; }
.bheed-plan-card:hover { box-shadow: 0 8px 30px rgba(30,58,95,.12); border-color: #1e3a5f; }
.bheed-plan-featured { border-color: #1e3a5f; box-shadow: 0 4px 20px rgba(30,58,95,.18); }
.bheed-plan-current  { border-color: #10b981; }

.bheed-plan-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: #1e3a5f; color: #fff; padding: 4px 18px; border-radius: 50px; font-size: .8rem;
  white-space: nowrap; font-weight: 600; }
.bheed-plan-badge-current { background: #10b981; }

.bheed-plan-name  { font-size: 1.3rem; font-weight: 700; color: #1e3a5f; margin-bottom: 8px; }
.bheed-plan-desc  { font-size: .85rem; color: #64748b; margin-bottom: 20px; min-height: 36px; }

.bheed-plan-price { margin-bottom: 20px; }
.bheed-price-sym  { font-size: 1.1rem; color: #334155; vertical-align: super; }
.bheed-price-amount { font-size: 2.4rem; font-weight: 800; color: #0f172a; }
.bheed-price-cycle  { font-size: .85rem; color: #64748b; }

.bheed-plan-features { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.bheed-plan-features li { padding: 6px 0; border-bottom: 1px solid #f1f5f9; font-size: .88rem; color: #334155; }
.bheed-plan-features li:last-child { border-bottom: none; }

/* Top-up packs */
.bheed-topup-section { background: #f8fafc; border-radius: 16px; padding: 28px 24px; margin-top: 8px; }
.bheed-topup-section h3 { color: #1e3a5f; margin-top: 0; }
.bheed-topup-grid { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 16px; }
.bheed-topup-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px;
  padding: 20px; min-width: 160px; text-align: center; display: flex; flex-direction: column;
  gap: 8px; align-items: center; }
.bheed-topup-name    { font-weight: 600; color: #1e3a5f; }
.bheed-topup-credits { font-size: .85rem; color: #64748b; }
.bheed-topup-price   { font-size: 1.3rem; font-weight: 700; color: #0f172a; }

/* Subscription dashboard widget */
.bheed-sub-dashboard { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 24px; }
.bheed-sub-dashboard h3 { margin-top: 0; color: #1e3a5f; }
.bheed-sub-overview { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.bheed-sub-plan-name { font-size: 1.2rem; font-weight: 700; color: #0f172a; }

.bheed-sub-usage { background: #f8fafc; border-radius: 8px; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.bheed-usage-row { display: flex; justify-content: space-between; align-items: center; font-size: .9rem; }
.bheed-usage-row span { color: #64748b; }
.bheed-usage-row strong { color: #0f172a; }

.bheed-invoice-table { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: .85rem; }
.bheed-invoice-table th { background: #1e3a5f; color: #fff; padding: 8px 12px; text-align: left; }
.bheed-invoice-table td { padding: 8px 12px; border-bottom: 1px solid #f1f5f9; }
.bheed-invoice-table a  { color: #1e3a5f; text-decoration: none; }

/* Upgrade / limit gate notice */
.bheed-upgrade-notice { background: #fff7ed; border: 1px solid #fed7aa; border-radius: 10px;
  padding: 14px 18px; display: flex; align-items: center; gap: 12px; margin: 12px 0; }
.bheed-upgrade-notice .bheed-upgrade-icon { font-size: 1.4rem; }
.bheed-upgrade-notice p { margin: 0 0 8px; color: #9a3412; font-size: .9rem; }
.bheed-upgrade-notice a { color: #1e3a5f; font-weight: 600; }

/* ═══════════════════════════════════════════════════════════════════════
   UX FIXES v3.5.1 — Ad suppression, view counters, blog bleed
   ═══════════════════════════════════════════════════════════════════════

   These rules suppress WordPress theme/plugin injections that break UX
   on all Bheed functional pages. Scoped to .bheed-* containers so they
   don't affect regular post/page content elsewhere on the site.
   ═══════════════════════════════════════════════════════════════════════ */

/* ── 1. Suppress ads injected inside plugin containers ───────────── */
.bheed-wrap ins.adsbygoogle,
.bheed-form ins.adsbygoogle,
.bheed-portal-wrap ins.adsbygoogle,
.bheed-portal-login-wrap ins.adsbygoogle,
.bheed-gate-notice ins.adsbygoogle,
.bheed-pricing-wrap ins.adsbygoogle,
.bheed-sub-dashboard ins.adsbygoogle,
.bheed-profile-page ins.adsbygoogle,
.bheed-search-wrap ins.adsbygoogle,
.bheed-wrap .adsbygoogle,
.bheed-form .adsbygoogle,
.bheed-portal-wrap .adsbygoogle,
.bheed-gate-notice .adsbygoogle,
/* Generic ad wrappers from popular ad plugins */
.bheed-wrap .wp-block-ad,
.bheed-wrap .ad-container,
.bheed-wrap .ad-wrap,
.bheed-wrap .advertisement,
.bheed-wrap [class*="advert"],
.bheed-wrap [id*="google_ads"],
.bheed-wrap [class*="adsense"],
.bheed-form [class*="advert"],
.bheed-portal-wrap [class*="advert"],
.bheed-gate-notice [class*="advert"],
/* Advanced Ads plugin wrappers */
.bheed-wrap .advads-ad-container,
.bheed-wrap .advanced-ads,
.bheed-portal-wrap .advads-ad-container,
.bheed-gate-notice .advanced-ads { display: none !important; }

/* ── 2. Hide post view counter ("Views: N") on plugin pages ─────── */
/* Target common view-count plugins: WP-PostViews, Post Views Counter, etc. */
.bheed-page-wrap .post-views-count,
.bheed-page-wrap #jp-post-flair,
.entry-content .post-views-count,
.entry .post-views-count,
/* Direct text node wrapper often used */
p.post-views,
span.post-views,
.views-count,
.entry-views,
#post-views,
.post-views,
[class*="post-view"],
[class*="view-count"],
[id*="view-count"] { display: none !important; }

/* ── 3. Hide "Bheed Blog" widget sidebar bleeding into form pages ── */
/* The blog widget area renders below shortcode content in some themes */
.bheed-wrap ~ .widget_recent_entries,
.bheed-wrap ~ .widgetized-area,
.entry-content ~ .post-related,
/* When sidebar appears as a sibling of the plugin wrap */
.site-main .widget-area,
/* Theme-specific: common in SimpleMag, Newspaper, GeneratePress */
.entry-content .blog-section,
.entry-content .recent-posts-widget,
/* Target the specific "Bheed Blog" heading that was seen live */
.entry-content h2 + ul.posts-list { display: none !important; }

/* ── 4. Fix duplicate logo in portal login page ─────────────────── */
/* Portal login shortcode should NOT render an extra logo since the
   theme already shows the site logo in the header */
.bheed-portal-login-wrap .bheed-portal-logo,
.bheed-portal-login-wrap > img:first-child,
.bheed-portal-login-wrap .bheed-logo-wrap { display: none !important; }

/* ── 5. Hero banner height mitigation on functional pages ─────────
   Functional pages (register, portal, search) don't need a 400px
   hero. Tighten it to a thin brand strip using a body class hook.
   Add class "bheed-functional-page" via PHP to body on these pages. ── */
body.bheed-functional-page .site-header-cover,
body.bheed-functional-page .hero-image-wrap,
body.bheed-functional-page .header-image,
body.bheed-functional-page .wp-post-image.hero,
/* Target the specific large banner seen on the live site */
body.bheed-functional-page img.wp-post-image,
body.bheed-functional-page .entry-header .wp-block-cover,
body.bheed-functional-page .post-thumbnail { max-height: 120px !important; overflow: hidden !important; }
body.bheed-functional-page .post-thumbnail img { object-fit: cover !important; object-position: center top !important; }

/* ── 6. Ensure plugin content has adequate top spacing ──────────── */
.bheed-wrap,
.bheed-form,
.bheed-portal-wrap { margin-top: 0; padding-top: 16px; }

/* ── 7. Views counter override — text-based via :has / content ──── */
/* For themes that wrap view count in a <p> with no class */
.entry-content > p:only-child:not(:has(input)):not(:has(button)) {
  /* Hide bare <p>Views: N</p> paragraphs — risky, use sparingly */
}

/* ── v3.5.4 — Registration notice states ─────────────────────────── */
.bheed-notice {
    background: #e8f5e9;
    border: 1px solid #a5d6a7;
    border-left: 4px solid #2e7d32;
    border-radius: 6px;
    padding: 14px 18px;
    margin: 16px 0;
    font-size: .95rem;
    color: #1b5e20;
}
.bheed-notice a { color: #1b5e20; font-weight: 700; }

.bheed-notice-pending {
    background: #fff8e1;
    border: 1px solid #ffe082;
    border-left: 4px solid #f59e0b;
    border-radius: 6px;
    padding: 14px 18px;
    margin: 16px 0;
    font-size: .95rem;
    color: #78350f;
}

/* ── v3.5.4: Portal status gate ─────────────────────────────── */
.bheed-status-gate {
    max-width: 520px;
    margin: 60px auto;
    text-align: center;
    padding: 40px 32px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0,0,0,.08);
}
.bheed-status-gate-icon { font-size: 3rem; margin-bottom: 16px; }
.bheed-status-gate h2   { color: #1e3a5f; margin: 0 0 12px; font-size: 1.4rem; }
.bheed-status-gate p    { color: #555; line-height: 1.7; margin: 0; font-size: .95rem; }
