/* ═══════════════════════════════════════════════════════════
   Hustle Center — Public / Marketing Page Styles
   ═══════════════════════════════════════════════════════════ */

/* ── Theme Reset for HC Pages (scoped to prevent theme conflicts) ── */
body.hc-fullwidth, body.hc-fullwidth *, body.hc-fullwidth *::before, body.hc-fullwidth *::after { margin: 0; padding: 0; box-sizing: border-box; }
body.hc-fullwidth { font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; background: #f8fafc; min-height: 100vh; display: flex; flex-direction: column; }
body.hc-fullwidth #wpadminbar { display: none !important; }
html { margin-top: 0 !important; }

/* Kill ALL theme elements */
body.hc-fullwidth header, body.hc-fullwidth .site-header, body.hc-fullwidth .masthead,
body.hc-fullwidth .main-navigation, body.hc-fullwidth .site-footer, body.hc-fullwidth .footer-widgets,
body.hc-fullwidth footer:not(.hc-footer), body.hc-fullwidth .widget-area, body.hc-fullwidth .sidebar,
body.hc-fullwidth .site-branding, body.hc-fullwidth .menu-toggle,
body.hc-fullwidth nav:not(.hc-nav):not(.hcd-nav), body.hc-fullwidth .primary-menu,
body.hc-fullwidth .yith-wonder, body.hc-fullwidth .wp-block-navigation { display: none !important; }

/* YITH Wonder theme specific overrides */
body.hc-fullwidth .yith-pos-header, body.hc-fullwidth .yith-pos-footer,
body.hc-fullwidth #masthead, body.hc-fullwidth #colophon,
body.hc-fullwidth .site-header-container, body.hc-fullwidth .site-footer-container,
body.hc-fullwidth .footer-container, body.hc-fullwidth .header-container,
body.hc-fullwidth [class*="header-"],
body.hc-fullwidth [class*="footer-"]:not(.hc-footer):not(.hc-footer *),
body.hc-fullwidth .wp-block-template-part { display: none !important; }

/* Force content to be full width */
body.hc-fullwidth .entry-content, body.hc-fullwidth .page-content,
body.hc-fullwidth .site-content, body.hc-fullwidth .content-area,
body.hc-fullwidth main, body.hc-fullwidth article { max-width: 100% !important; padding: 0 !important; margin: 0 !important; }
body.hc-fullwidth .wp-block-post-content { max-width: 100% !important; padding: 0 !important; }

/* ── HC Nav Bar ── */
.hc-nav { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.97); backdrop-filter: blur(12px); border-bottom: 1px solid #e5e7eb; padding: 0 5%; height: 70px; display: flex; align-items: center; justify-content: space-between; }
.hc-nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.hc-nav-brand-logo { height: 46px; width: auto; display: block; }
.hc-nav-brand-icon { width: 36px; height: 36px; background: linear-gradient(135deg,#10b981,#059669); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 18px; }
.hc-nav-brand-name { font-size: 18px; font-weight: 700; color: #0f172a; }
.hc-nav-links { display: flex; align-items: center; gap: 24px; }
.hc-nav-link { font-size: 14px; font-weight: 500; color: #64748b; text-decoration: none; transition: color .2s; }
.hc-nav-link:hover { color: #0f172a; }
.hc-nav-btn { display: inline-block; background: #10b981; color: #fff; padding: 9px 20px; border-radius: 7px; font-size: 14px; font-weight: 600; text-decoration: none; transition: opacity .2s; }
.hc-nav-btn:hover { opacity: .9; color: #fff; }
.hc-nav-btn-ghost { background: none; color: #374151; padding: 9px 16px; }
.hc-nav-hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.hc-nav-hamburger span { display: block; width: 22px; height: 2px; background: #374151; margin: 5px 0; transition: .3s; }

/* ── HC Footer ── */
.hc-footer { background: #0f172a; color: rgba(255,255,255,.7); padding: 40px 5% 30px; margin-top: auto; font-family: system-ui,-apple-system,sans-serif; }
.hc-footer-inner { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 30px; }
.hc-footer-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-bottom: 10px; }
.hc-footer-brand-logo { height: 42px; width: auto; display: block; }
.hc-footer-brand-icon { width: 32px; height: 32px; background: linear-gradient(135deg,#10b981,#059669); border-radius: 7px; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 16px; }
.hc-footer-brand-name { font-size: 16px; font-weight: 700; color: #fff; }
.hc-footer-desc { font-size: 13px; color: rgba(255,255,255,.5); max-width: 300px; line-height: 1.6; }
.hc-footer-cols { display: flex; gap: 40px; flex-wrap: wrap; }
.hc-footer-col-title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,.4); margin-bottom: 10px; }
.hc-footer-col-links { display: flex; flex-direction: column; gap: 8px; }
.hc-footer-col-links a { font-size: 14px; color: rgba(255,255,255,.6); text-decoration: none; }
.hc-footer-col-links a:hover { color: rgba(255,255,255,.9); }
.hc-footer-bottom { max-width: 1200px; margin: 24px auto 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); text-align: center; font-size: 12px; color: rgba(255,255,255,.35); }

/* ── KPI Grid (overview) ── */
.hc-kpi-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-bottom: 24px; }
.hc-kpi-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 22px; }
.hc-kpi-card--accent { background: linear-gradient(135deg,#10b981,#059669); border: none; color: #fff; border-radius: 12px; padding: 22px; }
.hc-kpi-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.hc-kpi-card .hc-kpi-label { color: #6b7280; }
.hc-kpi-card--accent .hc-kpi-label { opacity: .85; }
.hc-kpi-value { font-size: 28px; font-weight: 800; margin: 6px 0; }
.hc-kpi-card .hc-kpi-value { color: #0f172a; }
.hc-kpi-card--accent .hc-kpi-value { color: #fff; }
.hc-kpi-value--amber { color: #f59e0b; }
.hc-kpi-value--blue { color: #3b82f6; }
.hc-kpi-sub { font-size: 12px; }
.hc-kpi-card .hc-kpi-sub { color: #6b7280; }
.hc-kpi-card--accent .hc-kpi-sub { opacity: .85; }
.hc-kpi-badge { background: rgba(255,255,255,.2); padding: 2px 8px; border-radius: 10px; }

/* ── Overview recent item rows ── */
.hc-recent-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--hc-border, #e2e8f0); text-decoration: none; color: inherit; transition: background .15s; }
.hc-recent-row:hover { background: #f8fafc; }
.hc-recent-row:last-child { border-bottom: none; }
.hc-recent-title { font-weight: 600; font-size: 13px; }
.hc-recent-sub { font-size: 11px; color: var(--hc-muted, #64748b); }
.hc-recent-right { display: flex; align-items: center; gap: 10px; }
.hc-recent-amount { font-size: 13px; font-weight: 700; }
.hc-recent-pay { text-align: right; }

/* ── Overview grid ── */
.hc-overview-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 24px; }

/* ── Login / Register Forms ── */
.hc-auth-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg,#0f172a 0%,#1e293b 100%); padding: 40px 20px; font-family: system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif; }
.hc-auth-inner { width: 100%; max-width: 420px; }
.hc-auth-brand { text-align: center; margin-bottom: 32px; }
.hc-auth-logo { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 8px; text-decoration: none; }
.hc-auth-logo-img { height: 64px; width: auto; display: block; filter: drop-shadow(0 4px 12px rgba(16,185,129,.3)); }
.hc-auth-logo-icon { width: 40px; height: 40px; background: linear-gradient(135deg,#10b981,#059669); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 20px; }
.hc-auth-logo-name { color: #fff; font-size: 24px; font-weight: 700; letter-spacing: -0.5px; }
.hc-auth-tagline { color: #94a3b8; font-size: 14px; margin: 8px 0 0; }
.hc-auth-card { background: #fff; border-radius: 16px; padding: 36px 32px; box-shadow: 0 25px 50px rgba(0,0,0,.3); }
.hc-auth-title { margin: 0 0 24px; font-size: 22px; font-weight: 700; color: #0f172a; text-align: center; }
.hc-auth-msg { padding: 12px 16px; border-radius: 8px; margin-bottom: 20px; font-size: 14px; text-align: center; }
.hc-auth-msg--success { background: #d1fae5; border: 1px solid #10b981; color: #065f46; }
.hc-auth-msg--info { background: #dbeafe; border: 1px solid #3b82f6; color: #1e40af; }
.hc-auth-msg--error { background: #fee2e2; border: 1px solid #ef4444; color: #991b1b; }
.hc-auth-msg--error a { color: #991b1b; font-weight: 600; }

/* WP login form overrides */
#hc-login-form { margin: 0; }
#hc-login-form p { margin: 0 0 16px; }
#hc-login-form label { display: block; font-size: 13px; font-weight: 600; color: #374151; margin-bottom: 6px; }
#hc-login-form input[type="text"],
#hc-login-form input[type="password"] { width: 100%; padding: 12px 14px; border: 1.5px solid #e2e8f0; border-radius: 8px; font-size: 15px; color: #0f172a; background: #f8fafc; transition: border-color .2s, box-shadow .2s; box-sizing: border-box; outline: none; }
#hc-login-form input[type="text"]:focus,
#hc-login-form input[type="password"]:focus { border-color: #10b981; box-shadow: 0 0 0 3px rgba(16,185,129,.15); background: #fff; }
#hc-login-form .login-remember { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; }
#hc-login-form .login-remember label { font-weight: 500; color: #64748b; font-size: 14px; margin: 0; }
#hc-login-form input[type="checkbox"] { width: 16px; height: 16px; accent-color: #10b981; }
#hc-login-form input[type="submit"] { width: 100%; padding: 13px 24px; background: linear-gradient(135deg,#10b981,#059669); color: #fff; border: none; border-radius: 8px; font-size: 16px; font-weight: 700; cursor: pointer; transition: transform .2s, box-shadow .2s; box-shadow: 0 4px 14px rgba(16,185,129,.4); }
#hc-login-form input[type="submit"]:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(16,185,129,.5); }

/* Register form fields */
.hc-auth-field { margin-bottom: 16px; }
.hc-auth-field label { display: block; font-size: 13px; font-weight: 600; color: #374151; margin-bottom: 6px; }
.hc-auth-field input[type="text"],
.hc-auth-field input[type="email"],
.hc-auth-field input[type="password"] { width: 100%; padding: 12px 14px; border: 1.5px solid #e2e8f0; border-radius: 8px; font-size: 15px; color: #0f172a; background: #f8fafc; box-sizing: border-box; outline: none; transition: border-color .2s, box-shadow .2s; }
.hc-auth-field input:focus { border-color: #10b981; box-shadow: 0 0 0 3px rgba(16,185,129,.15); background: #fff; }
.hc-auth-row { display: flex; gap: 12px; margin-bottom: 16px; }
.hc-auth-row .hc-auth-field { flex: 1; margin-bottom: 0; }
.hc-auth-hint { color: #94a3b8; font-size: 12px; margin: 0 0 20px; }
.hc-auth-agree { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 24px; }
.hc-auth-agree input { width: 18px; height: 18px; accent-color: #10b981; margin-top: 2px; flex-shrink: 0; }
.hc-auth-agree label { font-size: 13px; color: #64748b; line-height: 1.5; cursor: pointer; }
.hc-auth-agree a { color: #10b981; text-decoration: none; font-weight: 600; }
.hc-auth-submit { width: 100%; padding: 13px 24px; background: linear-gradient(135deg,#10b981,#059669); color: #fff; border: none; border-radius: 8px; font-size: 16px; font-weight: 700; cursor: pointer; box-shadow: 0 4px 14px rgba(16,185,129,.4); transition: transform .2s, box-shadow .2s; font-family: inherit; }
.hc-auth-submit:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(16,185,129,.5); }
.hc-auth-forgot { text-align: center; margin-top: 16px; }
.hc-auth-forgot a { color: #10b981; font-size: 14px; text-decoration: none; font-weight: 500; }
.hc-auth-forgot a:hover { text-decoration: underline; }
.hc-auth-footer { text-align: center; margin-top: 24px; }
.hc-auth-footer p { color: #94a3b8; font-size: 14px; margin: 0; }
.hc-auth-footer a { color: #10b981; font-weight: 600; text-decoration: none; }
.hc-auth-footer a:hover { text-decoration: underline; }

/* ── Mobile responsive ── */
@media (max-width: 768px) {
  .hc-nav { padding: 0 4%; height: 60px; }
  .hc-nav-brand-name { font-size: 16px; }
  .hc-nav-links { position: fixed; top: 60px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 20px; gap: 16px; border-bottom: 1px solid #e5e7eb; box-shadow: 0 8px 24px rgba(0,0,0,.08); display: none; z-index: 999; }
  .hc-nav-links.open { display: flex; }
  .hc-nav-link { font-size: 16px; padding: 12px 0; min-height: 44px; display: flex; align-items: center; }
  .hc-nav-btn { width: 100%; text-align: center; padding: 14px; font-size: 16px; min-height: 48px; }
  .hc-nav-hamburger { display: block; }
  .hc-kpi-grid { grid-template-columns: repeat(2,1fr) !important; }
  .hc-overview-2col { grid-template-columns: 1fr; }
  .hc-auth-card { padding: 28px 20px; }
}
@media (max-width: 480px) {
  .hc-kpi-grid { grid-template-columns: 1fr !important; }
  .hc-nav-brand-name { font-size: 14px; }
  .hc-footer-inner { flex-direction: column; }
}

/* (WooCommerce styles removed — using direct PayPal checkout) */
