/* ============================================================
   MEMBERSHIP — Pricing + Registration
   ============================================================ */

/* Pricing Grid */
.bd-pricing-wrap { max-width: 1000px; margin: 40px auto; padding: 0 16px; }
.bd-pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }

/* Card */
.bd-pricing-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; overflow: hidden; transition: transform .2s, box-shadow .2s; position: relative; }
.bd-pricing-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.1); }
.bd-pricing-featured { border: 2px solid #2563eb; }
.bd-pricing-badge { position: absolute; top: -1px; left: 50%; transform: translateX(-50%); background: #2563eb; color: #fff; padding: 4px 20px; border-radius: 0 0 12px 12px; font-size: 13px; font-weight: 600; }

/* Header */
.bd-pricing-header { padding: 28px 24px 20px; text-align: center; }
.bd-pricing-header h3 { font-size: 20px; font-weight: 700; margin: 0 0 8px; color: #1e293b; }
.bd-pricing-header p { font-size: 14px; color: #64748b; margin: 8px 0 0; }
.bd-pricing-price { margin: 8px 0; }
.bd-price-amount { font-size: 36px; font-weight: 800; color: #1e293b; }
.bd-price-period { font-size: 14px; color: #64748b; margin-right: 4px; }

.bd-pricing-free .bd-price-amount { color: #94a3b8; }
.bd-pricing-basic .bd-price-amount { color: #2563eb; }
.bd-pricing-premium .bd-price-amount { color: #16a34a; }

/* Features list */
.bd-pricing-features { list-style: none; margin: 0; padding: 16px 24px; border-top: 1px solid #f1f5f9; }
.bd-pricing-features li { padding: 6px 0; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.bd-pf-yes::before { content: '✓'; color: #16a34a; font-weight: 700; font-size: 15px; flex-shrink: 0; }
.bd-pf-no::before { content: '✗'; color: #cbd5e1; font-weight: 700; font-size: 15px; flex-shrink: 0; }
.bd-pf-no { color: #94a3b8; }

/* Footer */
.bd-pricing-footer { padding: 16px 24px 24px; }
.bd-pricing-btn { display: block; width: 100%; padding: 12px; text-align: center; border-radius: 10px; font-size: 15px; font-weight: 600; text-decoration: none !important; transition: all .2s; border: none; cursor: pointer; box-sizing: border-box; }
.bd-pricing-btn-outline { background: transparent; border: 2px solid #e2e8f0; color: #475569 !important; }
.bd-pricing-btn-outline:hover { border-color: #2563eb; color: #2563eb !important; }
.bd-pricing-btn-primary { background: #2563eb; color: #fff !important; }
.bd-pricing-btn-primary:hover { background: #1d4ed8; color: #fff !important; }
.bd-pricing-btn-premium { background: #16a34a; color: #fff !important; }
.bd-pricing-btn-premium:hover { background: #15803d; color: #fff !important; }

/* ============================================================
   Registration Form
   ============================================================ */
.bd-register-wrap { max-width: 700px; margin: 40px auto; padding: 32px; background: #fff; border-radius: 16px; box-shadow: 0 4px 16px rgba(0,0,0,.06); border: 1px solid #e2e8f0; }
.bd-register-title { font-size: 24px; font-weight: 700; text-align: center; margin: 0 0 8px; color: #1e293b; }
.bd-register-subtitle { text-align: center; color: #64748b; font-size: 15px; margin: 0 0 24px; }

.bd-reg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bd-reg-full { grid-column: 1 / -1; }
.bd-reg-field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 4px; color: #1e293b; }
.bd-req { color: #dc2626; }
.bd-reg-field input, .bd-reg-field select, .bd-reg-field textarea {
    width: 100%; padding: 10px 12px; border: 1px solid #d1d5db; border-radius: 8px;
    font-size: 14px; font-family: inherit; transition: border-color .2s;
    box-sizing: border-box;
}
.bd-reg-field input:focus, .bd-reg-field select:focus, .bd-reg-field textarea:focus {
    border-color: #2563eb; outline: none; box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}
.bd-reg-submit { text-align: center; margin-top: 20px; }
.bd-reg-submit .bd-pricing-btn { max-width: 300px; margin: 0 auto; }

.bd-reg-msg { margin-top: 16px; padding: 12px 16px; border-radius: 8px; font-size: 14px; text-align: center; }
.bd-msg-ok { background: #dcfce7; color: #166534; }
.bd-msg-err { background: #fef2f2; color: #991b1b; }

/* Plan badge for business page */
.bd-plan-upgrade { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; margin-top: 12px; background: linear-gradient(135deg, #eff6ff, #dbeafe); border: 1px dashed #93c5fd; border-radius: 10px; font-size: 13px; color: #1e40af; }
.bd-plan-upgrade a { color: #1e40af; font-weight: 600; text-decoration: underline !important; }

/* Recommended badge */
.bd-badge-premium { background: #f59e0b; color: #fff; display: inline-flex; align-items: center; gap: 3px; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 10px; white-space: nowrap; }
.bd-badge-premium::before { content: '★'; font-size: 10px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 768px) {
    .bd-pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .bd-pricing-featured { order: -1; }
    .bd-reg-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   MY BUSINESS DASHBOARD
   ============================================================ */
.bd-dash-wrap { max-width: 900px; margin: 30px auto; padding: 0 16px; }
.bd-dash-title { font-size: 26px; font-weight: 700; margin: 0 0 20px; color: #1e293b; }

.bd-dash-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 0; margin-bottom: 20px; overflow: hidden; }

/* Header */
.bd-dash-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid #f1f5f9; gap: 16px; flex-wrap: wrap; }
.bd-dash-biz-info { display: flex; align-items: center; gap: 14px; }
.bd-dash-logo { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; border: 1px solid #e2e8f0; }
.bd-dash-biz-name { font-size: 18px; font-weight: 700; margin: 0 0 4px; color: #1e293b; }
.bd-dash-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.bd-dash-plan-badge { display: inline-block; padding: 2px 10px; border-radius: 10px; font-size: 12px; font-weight: 600; color: #fff; }
.bd-dash-status-badge { display: inline-block; padding: 2px 10px; border-radius: 10px; font-size: 12px; font-weight: 500; }
.bd-dash-live { background: #dcfce7; color: #166534; }
.bd-dash-draft { background: #fef3c7; color: #92400e; }
.bd-dash-expires { font-size: 12px; color: #64748b; }
.bd-dash-urgent { color: #dc2626 !important; font-weight: 600; }
.bd-dash-view-btn { display: inline-flex; align-items: center; gap: 4px; padding: 8px 16px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; font-size: 13px; color: #1e293b !important; text-decoration: none !important; transition: all .2s; }
.bd-dash-view-btn:hover { background: #eff6ff; border-color: #2563eb; color: #2563eb !important; }

/* Stats */
.bd-dash-stats { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid #f1f5f9; }
.bd-dash-stat { padding: 16px 20px; text-align: center; border-left: 1px solid #f1f5f9; }
.bd-dash-stat:last-child { border-left: none; }
.bd-dash-stat-num { display: block; font-size: 24px; font-weight: 700; color: #1e293b; }
.bd-dash-stat-label { font-size: 12px; color: #64748b; }

/* Upgrade CTA */
.bd-dash-upgrade { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; background: linear-gradient(135deg, #eff6ff, #dbeafe); border-bottom: 1px solid #bfdbfe; gap: 16px; flex-wrap: wrap; }
.bd-dash-upgrade-sm { padding: 14px 24px; font-size: 14px; }
.bd-dash-upgrade-text p { margin: 4px 0 0; font-size: 14px; color: #3b82f6; }
.bd-dash-upgrade-btns { display: flex; gap: 8px; }
.bd-dash-upgrade-btns .bd-pricing-btn { padding: 8px 20px; font-size: 14px; width: auto; }

/* Locked content */
.bd-dash-locked { display: flex; align-items: center; gap: 14px; padding: 16px 24px; background: #f8fafc; border-bottom: 1px solid #f1f5f9; }
.bd-dash-locked span:first-child { font-size: 24px; }
.bd-dash-locked p { margin: 2px 0 0; font-size: 13px; color: #64748b; }

/* Sections */
.bd-dash-section { padding: 20px 24px; border-bottom: 1px solid #f1f5f9; }
.bd-dash-section:last-child { border-bottom: none; }
.bd-dash-section h4 { font-size: 15px; font-weight: 600; margin: 0 0 12px; color: #1e293b; }

/* Leads table */
.bd-dash-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.bd-dash-table th { text-align: right; padding: 8px 10px; background: #f8fafc; border-bottom: 1px solid #e2e8f0; font-weight: 600; color: #475569; font-size: 12px; }
.bd-dash-table td { padding: 8px 10px; border-bottom: 1px solid #f1f5f9; color: #1e293b; }
.bd-dash-table tr:last-child td { border-bottom: none; }

/* Feature checklist */
.bd-dash-features { display: flex; flex-wrap: wrap; gap: 6px; }
.bd-dash-feat { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 6px; font-size: 13px; }
.bd-feat-on { background: #dcfce7; color: #166534; }
.bd-feat-off { background: #f1f5f9; color: #94a3b8; text-decoration: line-through; }

/* Login */
.bd-dash-login { max-width: 500px; margin: 60px auto; text-align: center; }
.bd-dash-login-inner { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 40px; }
.bd-dash-login h2 { font-size: 22px; margin: 0 0 8px; }
.bd-dash-login p { color: #64748b; margin: 0 0 20px; }

/* Mobile */
@media (max-width: 600px) {
    .bd-dash-header { flex-direction: column; align-items: flex-start; }
    .bd-dash-stats { grid-template-columns: 1fr 1fr; }
    .bd-dash-stat { border-bottom: 1px solid #f1f5f9; }
    .bd-dash-upgrade { flex-direction: column; }
    .bd-dash-table { font-size: 12px; }
    .bd-dash-table th, .bd-dash-table td { padding: 6px; }
}
