/*
Theme Name: Job Portal Theme
Theme URI: https://example.com
Author: Custom Build
Author URI: https://example.com
Description: A custom WordPress theme for a Job Portal with Job Seeker, Employer and Admin roles, job posting/search/apply flow, application tracking and WhatsApp job-match notifications.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: job-portal
*/

body { font-family: Arial, Helvetica, sans-serif; background:#f5f6fa; margin:0; }
.jp-container { max-width:1100px; margin:0 auto; padding:20px; }
.jp-header { background:#0b5ed7; padding:15px 0; }
.jp-header a { color:#fff; text-decoration:none; margin-right:15px; font-weight:bold; }
.jp-search-form { background:#fff; padding:20px; border-radius:8px; box-shadow:0 1px 4px rgba(0,0,0,.1); display:flex; gap:10px; flex-wrap:wrap; }
.jp-search-form input, .jp-search-form select { padding:8px; border:1px solid #ccc; border-radius:4px; flex:1; min-width:150px; }
.jp-search-form button { padding:8px 20px; background:#0b5ed7; color:#fff; border:none; border-radius:4px; cursor:pointer; }
.jp-job-card { background:#fff; padding:15px 20px; margin-bottom:12px; border-radius:6px; box-shadow:0 1px 3px rgba(0,0,0,.08); }
.jp-job-card h3 { margin:0 0 6px; }
.jp-job-meta span { display:inline-block; margin-right:12px; font-size:13px; color:#555; }
.jp-badge { display:inline-block; padding:2px 8px; border-radius:10px; font-size:12px; color:#fff; }
.jp-badge.applied { background:#6c757d; }
.jp-badge.shortlisted { background:#198754; }
.jp-badge.rejected { background:#dc3545; }
.jp-badge.pending { background:#ffc107; color:#000; }
.jp-form label { display:block; margin-top:10px; font-weight:bold; }
.jp-form input, .jp-form textarea, .jp-form select { width:100%; padding:8px; border:1px solid #ccc; border-radius:4px; box-sizing:border-box; }
.jp-form button { margin-top:15px; padding:10px 25px; background:#0b5ed7; color:#fff; border:none; border-radius:4px; cursor:pointer; }
.jp-dashboard-tabs a { margin-right:15px; font-weight:bold; }
.jp-table { width:100%; border-collapse:collapse; background:#fff; }
.jp-table th, .jp-table td { border:1px solid #eee; padding:8px 10px; text-align:left; font-size:14px; }
.jp-alert { padding:10px 15px; border-radius:4px; margin-bottom:15px; }
.jp-alert.success { background:#d1e7dd; color:#0f5132; }
.jp-alert.error { background:#f8d7da; color:#842029; }

/* ============================================
   STUNNING THEME UPGRADE — DEET-style layout
   ============================================ */
:root {
  --jp-primary: #0b3d91;
  --jp-primary-dark: #072a66;
  --jp-accent: #ff7a1a;
  --jp-accent2: #00b894;
  --jp-text: #1e2430;
  --jp-muted: #6b7280;
  --jp-bg-soft: #f4f7fb;
  --jp-radius: 14px;
  --jp-shadow: 0 8px 24px rgba(11,61,145,0.08);
}
body { color: var(--jp-text); }

/* ---------- Sticky glass header ---------- */
.jp-header-v2 {
  position: sticky; top:0; z-index:999;
  background: rgba(255,255,255,0.9); backdrop-filter: blur(8px);
  border-bottom: 1px solid #eaeef5;
}
.jp-header-v2 .jp-container { display:flex; align-items:center; justify-content:space-between; padding:12px 20px; }
.jp-brand { display:flex; align-items:center; gap:10px; font-weight:800; font-size:20px; color:var(--jp-primary); text-decoration:none; }
.jp-brand span.dot { width:10px; height:10px; border-radius:50%; background:var(--jp-accent); display:inline-block; }
.jp-nav-v2 { display:flex; gap:22px; align-items:center; flex-wrap:wrap; }
.jp-nav-v2 a { color:var(--jp-text); text-decoration:none; font-weight:600; font-size:14.5px; opacity:.85; transition:.2s; }
.jp-nav-v2 a:hover { opacity:1; color:var(--jp-primary); }
.jp-btn-primary { background:linear-gradient(135deg,var(--jp-primary),var(--jp-primary-dark)); color:#fff!important; padding:10px 22px; border-radius:30px; font-weight:700!important; box-shadow:var(--jp-shadow); }
.jp-btn-outline { border:2px solid var(--jp-primary); color:var(--jp-primary)!important; padding:8px 20px; border-radius:30px; font-weight:700!important; }

/* ---------- Hero carousel ---------- */
.jp-hero { position:relative; height:480px; overflow:hidden; border-radius:0 0 30px 30px; }
.jp-hero-slide { position:absolute; inset:0; opacity:0; transition:opacity 1s ease; background-size:cover; background-position:center; }
.jp-hero-slide.active { opacity:1; }
.jp-hero-overlay { position:absolute; inset:0; background:linear-gradient(120deg, rgba(7,42,102,.88) 0%, rgba(11,61,145,.55) 55%, rgba(11,61,145,.15) 100%); display:flex; align-items:center; }
.jp-hero-content { max-width:640px; margin-left:6%; color:#fff; }
.jp-hero-content h1 { font-size:44px; line-height:1.15; margin:0 0 16px; font-weight:800; }
.jp-hero-content p { font-size:17px; opacity:.92; margin-bottom:26px; }
.jp-hero-dots { position:absolute; bottom:22px; left:50%; transform:translateX(-50%); display:flex; gap:8px; z-index:2; }
.jp-hero-dots span { width:9px; height:9px; border-radius:50%; background:rgba(255,255,255,.5); cursor:pointer; }
.jp-hero-dots span.active { background:#fff; width:26px; border-radius:6px; }

/* ---------- Floating filter/search card (overlaps hero) ---------- */
.jp-filter-card { background:#fff; border-radius:var(--jp-radius); box-shadow:0 15px 40px rgba(11,61,145,.15); padding:22px 26px; margin:-60px 20px 40px; position:relative; z-index:3; }
.jp-filter-card .jp-search-form { box-shadow:none; padding:0; }

/* ---------- Section headers ---------- */
.jp-section { padding:50px 0; }
.jp-section-head { text-align:center; max-width:640px; margin:0 auto 34px; }
.jp-eyebrow { color:var(--jp-accent); font-weight:700; letter-spacing:1.5px; text-transform:uppercase; font-size:12.5px; }
.jp-section-head h2 { font-size:30px; margin:8px 0 6px; font-weight:800; color:var(--jp-primary-dark); }
.jp-section-head p { color:var(--jp-muted); font-size:15px; }
.jp-section.alt { background:var(--jp-bg-soft); }

/* ---------- Stats counters ---------- */
.jp-stats-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(160px,1fr)); gap:18px; }
.jp-stat-card { background:#fff; border-radius:var(--jp-radius); padding:24px 16px; text-align:center; box-shadow:var(--jp-shadow); }
.jp-stat-num { font-size:30px; font-weight:800; color:var(--jp-primary); }
.jp-stat-label { color:var(--jp-muted); font-size:13px; margin-top:4px; }

/* ---------- Category tiles ---------- */
.jp-cat-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:20px; }
.jp-cat-tile { border-radius:var(--jp-radius); padding:30px; color:#fff; position:relative; overflow:hidden; min-height:150px; cursor:pointer; transition:.25s; }
.jp-cat-tile:hover { transform:translateY(-4px); }
.jp-cat-tile.it { background:linear-gradient(135deg,#0b3d91,#1e6fd9); }
.jp-cat-tile.nonit { background:linear-gradient(135deg,#ff7a1a,#ff9d4d); }
.jp-cat-tile h3 { margin:0 0 8px; font-size:22px; }
.jp-cat-tile a { color:#fff; font-weight:700; text-decoration:underline; }

/* ---------- Job cards grid (homepage "live jobs") ---------- */
.jp-job-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:18px; }
.jp-job-card-v2 { background:#fff; border-radius:var(--jp-radius); padding:20px; box-shadow:var(--jp-shadow); border:1px solid #eef1f7; transition:.2s; }
.jp-job-card-v2:hover { box-shadow:0 14px 30px rgba(11,61,145,.15); transform:translateY(-3px); }
.jp-job-card-v2 h3 { margin:0 0 8px; font-size:17px; }
.jp-job-card-v2 h3 a { color:var(--jp-text); text-decoration:none; }
.jp-job-card-v2 .jp-company { color:var(--jp-primary); font-weight:600; font-size:13.5px; }
.jp-tag { display:inline-block; background:var(--jp-bg-soft); color:var(--jp-primary); font-size:12px; padding:3px 10px; border-radius:20px; margin:8px 6px 0 0; }

/* ---------- Companies / partners logo strip ---------- */
.jp-logo-strip { display:flex; flex-wrap:wrap; justify-content:center; gap:34px; align-items:center; opacity:.8; }
.jp-logo-strip div { background:#fff; border-radius:10px; padding:14px 24px; box-shadow:var(--jp-shadow); font-weight:700; color:var(--jp-primary); }

/* ---------- Testimonials carousel ---------- */
.jp-testimonial-track { display:flex; overflow-x:auto; gap:20px; scroll-snap-type:x mandatory; padding-bottom:10px; }
.jp-testimonial-card { min-width:320px; scroll-snap-align:start; background:#fff; border-radius:var(--jp-radius); padding:26px; box-shadow:var(--jp-shadow); }
.jp-testimonial-card .quote { font-style:italic; color:var(--jp-text); margin-bottom:16px; }
.jp-avatar { width:40px; height:40px; border-radius:50%; background:var(--jp-primary); color:#fff; display:inline-flex; align-items:center; justify-content:center; font-weight:700; margin-right:10px; }

/* ---------- FAQ accordion ---------- */
.jp-faq-item { background:#fff; border-radius:10px; margin-bottom:10px; box-shadow:var(--jp-shadow); overflow:hidden; }
.jp-faq-q { padding:16px 20px; font-weight:700; cursor:pointer; display:flex; justify-content:space-between; align-items:center; }
.jp-faq-a { max-height:0; overflow:hidden; transition:max-height .3s ease; padding:0 20px; color:var(--jp-muted); font-size:14.5px; }
.jp-faq-item.open .jp-faq-a { max-height:300px; padding:0 20px 18px; }
.jp-faq-item.open .jp-faq-q span.icon { transform:rotate(45deg); }
.jp-faq-q span.icon { transition:.2s; font-size:20px; color:var(--jp-primary); }

/* ---------- App download CTA ---------- */
.jp-app-cta { background:linear-gradient(135deg,var(--jp-primary),var(--jp-primary-dark)); border-radius:var(--jp-radius); color:#fff; padding:40px; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:24px; }
.jp-app-cta h3 { font-size:24px; margin:0 0 8px; }
.jp-store-badges a { display:inline-block; background:#fff; color:var(--jp-primary); padding:10px 18px; border-radius:8px; font-weight:700; margin-right:10px; text-decoration:none; }

/* ---------- Rich footer ---------- */
.jp-footer-v2 { background:#0b1a33; color:#c9d3e0; padding:50px 0 20px; }
.jp-footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:30px; }
.jp-footer-grid h4 { color:#fff; margin-bottom:14px; font-size:15px; }
.jp-footer-grid a { display:block; color:#c9d3e0; text-decoration:none; margin-bottom:8px; font-size:14px; }
.jp-footer-grid a:hover { color:#fff; }
.jp-footer-bottom { border-top:1px solid rgba(255,255,255,.1); margin-top:30px; padding-top:18px; text-align:center; font-size:13px; color:#8b97ab; }

@media (max-width: 768px) {
  .jp-hero { height:380px; }
  .jp-hero-content h1 { font-size:30px; }
  .jp-footer-grid { grid-template-columns:1fr 1fr; }
}

/* ============================================
   AUTH PAGES — split screen, DEET style
   ============================================ */
.jp-auth-wrap { min-height:calc(100vh - 70px); display:flex; }
.jp-auth-brand { flex:1; background:linear-gradient(150deg,var(--jp-primary) 0%, var(--jp-primary-dark) 60%, #051a3d 100%); color:#fff; display:flex; flex-direction:column; justify-content:center; padding:60px; position:relative; overflow:hidden; }
.jp-auth-brand::before { content:''; position:absolute; width:340px; height:340px; border-radius:50%; background:rgba(255,255,255,.06); top:-100px; right:-100px; }
.jp-auth-brand::after { content:''; position:absolute; width:220px; height:220px; border-radius:50%; background:rgba(255,122,26,.15); bottom:-60px; left:-60px; }
.jp-auth-brand h2 { font-size:32px; font-weight:800; max-width:380px; line-height:1.25; position:relative; z-index:1; }
.jp-auth-brand p { opacity:.85; max-width:360px; margin-top:14px; position:relative; z-index:1; }
.jp-auth-brand ul { margin-top:30px; position:relative; z-index:1; list-style:none; padding:0; }
.jp-auth-brand ul li { padding:8px 0 8px 30px; position:relative; opacity:.92; }
.jp-auth-brand ul li::before { content:'✓'; position:absolute; left:0; top:8px; background:rgba(255,255,255,.15); width:20px; height:20px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:12px; }

.jp-auth-panel { flex:1; display:flex; align-items:center; justify-content:center; padding:40px 20px; background:#fff; }
.jp-auth-card { width:100%; max-width:400px; }
.jp-auth-card h1 { font-size:26px; font-weight:800; margin-bottom:6px; color:var(--jp-text); }
.jp-auth-card .jp-auth-sub { color:var(--jp-muted); margin-bottom:24px; font-size:14px; }

.jp-role-tabs { display:flex; background:var(--jp-bg-soft); border-radius:30px; padding:4px; margin-bottom:26px; }
.jp-role-tabs a { flex:1; text-align:center; padding:9px 0; border-radius:26px; font-weight:700; font-size:13.5px; text-decoration:none; color:var(--jp-muted); }
.jp-role-tabs a.active { background:var(--jp-primary); color:#fff; box-shadow:var(--jp-shadow); }

.jp-auth-card .jp-form label { font-size:13px; color:var(--jp-text); margin-top:14px; }
.jp-auth-card .jp-form input, .jp-auth-card .jp-form select { border:1.5px solid #e3e8f0; border-radius:10px; padding:11px 14px; font-size:14.5px; }
.jp-auth-card .jp-form input:focus { border-color:var(--jp-primary); outline:none; }
.jp-auth-card .jp-form button { width:100%; border-radius:10px; padding:13px; font-size:15px; margin-top:22px; background:linear-gradient(135deg,var(--jp-primary),var(--jp-primary-dark)); box-shadow:var(--jp-shadow); }
.jp-auth-switch { text-align:center; margin-top:20px; font-size:14px; color:var(--jp-muted); }
.jp-auth-switch a { color:var(--jp-primary); font-weight:700; text-decoration:none; }

.jp-otp-boxes { display:flex; gap:10px; justify-content:center; margin:18px 0 6px; }
.jp-otp-boxes input { width:46px; height:52px; text-align:center; font-size:22px; font-weight:700; border:1.5px solid #e3e8f0; border-radius:10px; }
.jp-otp-boxes input:focus { border-color:var(--jp-primary); outline:none; }
.jp-otp-timer { text-align:center; font-size:13px; color:var(--jp-muted); margin-top:10px; }
.jp-otp-timer a { color:var(--jp-primary); font-weight:700; text-decoration:none; }

@media (max-width: 860px) {
  .jp-auth-wrap { flex-direction:column; }
  .jp-auth-brand { padding:40px 24px; min-height:220px; }
  .jp-auth-brand h2 { font-size:24px; }
}

/* ---------- Gallery page ---------- */
.jp-gallery-tabs { display:flex; gap:10px; justify-content:center; margin-bottom:30px; }
.jp-gallery-tabs button { padding:10px 24px; border-radius:30px; border:1.5px solid #e3e8f0; background:#fff; font-weight:700; cursor:pointer; color:var(--jp-muted); }
.jp-gallery-tabs button.active { background:var(--jp-primary); color:#fff; border-color:var(--jp-primary); }
.jp-gallery-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:18px; }
.jp-gallery-item { border-radius:var(--jp-radius); overflow:hidden; box-shadow:var(--jp-shadow); background:#fff; }
.jp-gallery-item img, .jp-gallery-item iframe { width:100%; height:190px; object-fit:cover; border:none; display:block; }
.jp-gallery-item .cap { padding:12px 14px; font-size:14px; font-weight:600; }
.jp-gallery-pane { display:none; }
.jp-gallery-pane.active { display:block; }
