/* ============================================================
   JOBS BREKETE — styles.css
   Complete stylesheet: Public Site + Admin Dashboard
   ============================================================ */

/* ── RESET & ROOT ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --dark:       #102A43;
  --darker:     #091d2e;
  --accent:     #F97316;
  --accent-dk:  #d9620f;
  --white:      #FFFFFF;
  --light:      #F7F7F7;
  --mid:        #E2E8F0;
  --text:       #243B53;
  --muted:      #627D98;
  --success:    #22c55e;
  --danger:     #ef4444;
  --warning:    #f59e0b;
  --info:       #3b82f6;
  --sidebar-w:  260px;
  --topbar-h:   68px;
  --radius:     12px;
  --shadow:     0 4px 24px rgba(16,42,67,0.10);
  --shadow-lg:  0 12px 40px rgba(16,42,67,0.16);
  --t:          all 0.24s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Poppins', sans-serif; font-weight: 700; line-height: 1.25; color: var(--dark); }
a { text-decoration: none; color: inherit; transition: var(--t); }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; }

.accent { color: var(--accent); }
.required { color: var(--accent); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px; border-radius: 8px;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 0.95rem;
  border: 2px solid transparent; transition: var(--t); white-space: nowrap;
  cursor: pointer; text-decoration: none;
}
.btn-accent { background: var(--accent); color: var(--white); border-color: var(--accent); }
.btn-accent:hover:not(:disabled) { background: var(--accent-dk); border-color: var(--accent-dk); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(249,115,22,.35); }
.btn-accent:disabled { opacity: 0.65; cursor: not-allowed; }
.btn-outline { background: transparent; color: var(--dark); border-color: var(--dark); }
.btn-outline:hover { background: var(--dark); color: var(--white); transform: translateY(-2px); }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

/* ── NAVBAR ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--dark); padding: 0;
  box-shadow: 0 2px 16px rgba(16,42,67,.18);
  transition: var(--t);
}
.navbar.scrolled { box-shadow: 0 4px 30px rgba(16,42,67,.30); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon {
  width: 40px; height: 40px; background: var(--accent); color: white;
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 1rem;
  flex-shrink: 0;
}
.logo-text { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.25rem; color: var(--white); }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-link {
  color: rgba(255,255,255,.80); font-family: 'Poppins', sans-serif;
  font-size: .875rem; font-weight: 500; padding: 8px 12px; border-radius: 6px;
  transition: var(--t); cursor: pointer; background: none; border: none;
}
.nav-link:hover { color: var(--accent); background: rgba(249,115,22,.10); }
.nav-cta { margin-left: 8px; padding: 10px 20px; font-size: .875rem; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 8px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--t); }

/* ── HERO ── */
.hero {
  position: relative; background: var(--dark);
  padding: 140px 0 100px; overflow: hidden;
  min-height: 100vh; display: flex; align-items: center;
}
.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; }
.shape { position: absolute; border-radius: 50%; opacity: .12; }
.shape-1 { width: 600px; height: 600px; background: radial-gradient(circle, var(--accent), transparent); top: -200px; right: -150px; animation: float 8s ease-in-out infinite; }
.shape-2 { width: 400px; height: 400px; background: radial-gradient(circle, #3b82f6, transparent); bottom: -150px; left: -100px; animation: float 10s ease-in-out infinite reverse; }
.shape-3 { width: 200px; height: 200px; background: var(--accent); top: 40%; right: 15%; opacity: .06; border-radius: 30% 70% 70% 30%/30% 30% 70% 70%; animation: morph 12s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-30px); } }
@keyframes morph { 0%,100% { border-radius: 30% 70% 70% 30%/30% 30% 70% 70%; } 50% { border-radius: 70% 30% 30% 70%/70% 70% 30% 30%; } }
.hero-content { position: relative; z-index: 1; max-width: 750px; animation: fadeUp .8s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.hero-badge {
  display: inline-block; background: rgba(249,115,22,.15); border: 1px solid rgba(249,115,22,.4);
  color: var(--accent); padding: 6px 16px; border-radius: 100px;
  font-size: .875rem; font-weight: 600; font-family: 'Poppins', sans-serif; margin-bottom: 24px;
}
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.75rem); color: var(--white); margin-bottom: 20px; line-height: 1.15; }
.hero-sub { color: rgba(255,255,255,.70); font-size: 1.15rem; margin-bottom: 40px; line-height: 1.7; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-stats { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat-num { font-family: 'Poppins', sans-serif; font-size: 1.75rem; font-weight: 800; color: var(--accent); }
.stat-label { font-size: .875rem; color: rgba(255,255,255,.60); }
.stat-divider { width: 1px; height: 48px; background: rgba(255,255,255,.15); }

/* ── INTRO STRIP ── */
.intro-strip { background: var(--accent); padding: 32px 0; }
.intro-inner p { color: var(--white); font-size: 1.05rem; text-align: center; line-height: 1.7; max-width: 760px; margin: 0 auto; }
.intro-inner strong { font-weight: 700; }

/* ── SECTION HEADER ── */
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 12px; }
.section-header p { color: var(--muted); font-size: 1.05rem; }
.section-header.light h2, .section-header.light p { color: var(--white); }

/* ── JOBS SECTION ── */
.jobs-section { padding: 80px 0; background: var(--light); }

.filter-bar {
  display: flex; gap: 12px; flex-wrap: wrap;
  background: var(--white); padding: 20px; border-radius: var(--radius);
  box-shadow: var(--shadow); margin-bottom: 40px;
}
.filter-input, .filter-select {
  flex: 1; min-width: 170px; padding: 12px 16px;
  border: 2px solid var(--mid); border-radius: 8px;
  font-size: .9rem; color: var(--text); background: var(--light);
  transition: var(--t); outline: none;
}
.filter-input:focus, .filter-select:focus { border-color: var(--accent); background: var(--white); }

.jobs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px; }

/* ── JOB CARD ── */
.job-card {
  background: var(--white); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow); border: 1px solid var(--mid);
  transition: var(--t); display: flex; flex-direction: column; gap: 16px;
  animation: fadeUp .5s ease both;
}
.job-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.job-card-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.job-tag {
  display: inline-block; padding: 4px 12px; border-radius: 100px;
  font-size: .75rem; font-weight: 600; font-family: 'Poppins', sans-serif;
  background: rgba(249,115,22,.10); color: var(--accent); border: 1px solid rgba(249,115,22,.3);
  white-space: nowrap;
}
.job-tag.full-time { background: rgba(34,197,94,.10); color: #16a34a; border-color: rgba(34,197,94,.3); }
.job-tag.live-in   { background: rgba(99,102,241,.10); color: #4f46e5; border-color: rgba(99,102,241,.3); }
.job-tag.contract  { background: rgba(59,130,246,.10); color: #2563eb; border-color: rgba(59,130,246,.3); }
.job-date { font-size: .75rem; color: var(--muted); white-space: nowrap; }
.job-title-text { font-family: 'Poppins', sans-serif; font-size: 1.15rem; font-weight: 700; color: var(--dark); }
.job-company { font-size: .9rem; color: var(--muted); font-weight: 600; }
.job-meta { display: flex; flex-wrap: wrap; gap: 12px; }
.job-meta-item { display: flex; align-items: center; gap: 6px; font-size: .85rem; color: var(--muted); }
.job-salary { background: var(--light); border-radius: 8px; padding: 10px 16px; font-size: .9rem; font-weight: 600; color: var(--dark); border: 1px solid var(--mid); }
.job-card-actions { margin-top: auto; display: flex; gap: 10px; }
.job-card-actions .btn { flex: 1; padding: 10px 16px; font-size: .875rem; }
.no-results { text-align: center; padding: 64px 24px; color: var(--muted); font-size: 1.1rem; }
.load-more-wrap { text-align: center; margin-top: 48px; }

/* ── JOB ALERT BAR ── */
.job-alert-bar {
  background: linear-gradient(135deg, #102A43, #1a3a56);
  border-radius: 14px; padding: 28px 32px;
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 48px;
}
.job-alert-bar p { color: rgba(255,255,255,.85); font-size: .95rem; flex: 1; min-width: 220px; }
.job-alert-bar strong { color: white; }
.alert-form { display: flex; gap: 10px; flex: 2; min-width: 280px; }
.alert-form input {
  flex: 1; padding: 12px 16px; border-radius: 8px;
  border: 2px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08);
  color: white; font-size: .9rem; outline: none; transition: var(--t);
}
.alert-form input::placeholder { color: rgba(255,255,255,.4); }
.alert-form input:focus { border-color: var(--accent); background: rgba(255,255,255,.12); }
.alert-success { color: #86efac !important; font-weight: 600; margin-top: 8px; width: 100%; }

/* ── POST JOB ── */
.post-job-section { padding: 80px 0; background: var(--dark); }
.post-form {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius); padding: 40px; max-width: 860px; margin: 0 auto;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.form-group label { font-family: 'Poppins', sans-serif; font-size: .875rem; font-weight: 600; color: rgba(255,255,255,.85); }
.form-group input, .form-group select, .form-group textarea {
  padding: 12px 16px; border: 2px solid rgba(255,255,255,.15); border-radius: 8px;
  background: rgba(255,255,255,.06); color: var(--white); font-size: .9rem;
  outline: none; transition: var(--t); resize: vertical;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255,255,255,.35); }
.form-group select option { background: var(--dark); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--accent); background: rgba(255,255,255,.10); }
.field-error { font-size: .8rem; color: #f87171; }
.form-submit-row { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.form-note { color: rgba(255,255,255,.5); font-size: .85rem; }
.form-success { margin-top: 20px; background: rgba(34,197,94,.15); border: 1px solid rgba(34,197,94,.4); color: #86efac; padding: 16px; border-radius: 8px; font-weight: 600; text-align: center; }

/* ── HOW IT WORKS ── */
.how-it-works { padding: 80px 0; background: var(--white); }
.hiw-grid { display: flex; gap: 40px; align-items: stretch; justify-content: center; }
.hiw-card {
  flex: 1; max-width: 460px; background: var(--light); border-radius: var(--radius);
  padding: 40px; border: 1px solid var(--mid); display: flex; flex-direction: column; gap: 24px; transition: var(--t);
}
.hiw-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.hiw-icon { font-size: 3rem; }
.hiw-card h3 { font-size: 1.4rem; }
.hiw-steps { display: flex; flex-direction: column; gap: 16px; }
.hiw-steps li { display: flex; align-items: center; gap: 14px; font-size: .95rem; }
.step-num { width: 32px; height: 32px; min-width: 32px; background: var(--accent); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: .875rem; }
.hiw-divider { width: 1px; background: var(--mid); align-self: stretch; }

/* ── ABOUT ── */
.about-section { padding: 80px 0; background: var(--light); }
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-text { display: flex; flex-direction: column; gap: 20px; }
.about-text p { color: var(--muted); line-height: 1.8; }
.about-text p strong { color: var(--dark); }
.about-text h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.about-features { display: flex; flex-direction: column; gap: 10px; }
.about-features li { font-size: .95rem; }
.about-visual { display: flex; flex-direction: column; align-items: center; gap: 32px; }
.about-card-stack { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.about-card { background: var(--white); border: 2px solid var(--mid); border-radius: 12px; padding: 20px 28px; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.1rem; color: var(--dark); box-shadow: var(--shadow); transition: var(--t); }
.about-card:hover { border-color: var(--accent); transform: translateX(8px); }
.about-big-stat { background: var(--dark); border-radius: var(--radius); padding: 32px 40px; text-align: center; width: 100%; }
.about-big-stat span { display: block; font-family: 'Poppins', sans-serif; font-size: 2.5rem; font-weight: 800; color: var(--accent); margin-bottom: 6px; }
.about-big-stat p { color: rgba(255,255,255,.7); font-size: .95rem; }

/* ── TESTIMONIALS ── */
.testimonials { padding: 80px 0; background: var(--white); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.testimonial-card { background: var(--light); border-radius: var(--radius); padding: 32px; border: 1px solid var(--mid); border-left: 4px solid var(--accent); transition: var(--t); }
.testimonial-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.testimonial-card p { font-style: italic; color: var(--text); line-height: 1.7; margin-bottom: 20px; position: relative; }
.testimonial-card p::before { content: '"'; font-size: 4rem; color: var(--accent); opacity: .2; position: absolute; top: -20px; left: -10px; font-family: 'Poppins', sans-serif; line-height: 1; }
.testimonial-card footer { font-size: .875rem; font-weight: 600; color: var(--muted); }

/* ── CONTACT ── */
.contact-section { padding: 80px 0; background: var(--dark); }
.contact-inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start; }
.contact-info { color: var(--white); }
.contact-info h2 { font-size: 2.2rem; margin-bottom: 16px; }
.contact-info p { color: rgba(255,255,255,.65); margin-bottom: 32px; line-height: 1.7; }
.contact-details { display: flex; flex-direction: column; gap: 16px; }
.contact-item { display: flex; align-items: center; gap: 14px; }
.contact-icon { font-size: 1.4rem; }
.contact-item a { color: rgba(255,255,255,.8); font-size: .95rem; }
.contact-item a:hover { color: var(--accent); }
.contact-form { display: flex; flex-direction: column; }
.contact-form .form-group { margin-bottom: 20px; }

/* ── FOOTER ── */
.footer { background: #091d2e; padding: 64px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1.5fr 2fr; gap: 60px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-brand p { color: rgba(255,255,255,.5); font-size: .9rem; line-height: 1.7; max-width: 300px; }
.social-links { display: flex; gap: 12px; }
.social-links a { font-size: 1.4rem; transition: var(--t); filter: grayscale(1); opacity: .6; }
.social-links a:hover { filter: grayscale(0); opacity: 1; transform: scale(1.2); }
.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-col h4 { font-family: 'Poppins', sans-serif; color: var(--white); font-size: .95rem; margin-bottom: 16px; font-weight: 600; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col a { color: rgba(255,255,255,.5); font-size: .875rem; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { padding: 20px 24px; text-align: center; }
.footer-bottom p { color: rgba(255,255,255,.35); font-size: .8rem; }
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: var(--accent); }

/* ── MODAL ── */
.modal-wrap { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal-overlay { position: absolute; inset: 0; background: rgba(10,20,35,.85); backdrop-filter: blur(4px); }
.modal-box {
  position: relative; z-index: 1; background: white; border-radius: 16px; padding: 40px;
  max-width: 560px; width: 100%; max-height: 90vh; overflow-y: auto;
  display: flex; flex-direction: column; gap: 16px; animation: slideUp .3s ease;
}
@keyframes slideUp { from { opacity:0; transform:translateY(40px); } to { opacity:1; transform:translateY(0); } }
.modal-close-btn {
  position: absolute; top: 16px; right: 16px; width: 36px; height: 36px;
  background: var(--light); border: none; border-radius: 50%; font-size: 1rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--t);
}
.modal-close-btn:hover { background: var(--danger); color: white; }
.modal-title { font-family: 'Poppins', sans-serif; font-size: 1.5rem; color: var(--dark); margin: 4px 0; }
.modal-company { color: var(--muted); font-weight: 600; }
.modal-meta { display: flex; flex-wrap: wrap; gap: 12px; padding: 16px; background: var(--light); border-radius: 10px; }
.modal-meta span { font-size: .875rem; color: var(--text); }
.modal-desc h4 { font-family: 'Poppins', sans-serif; color: var(--dark); margin-bottom: 8px; }
.modal-desc p { color: var(--muted); line-height: 1.7; }
.modal-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── TOAST ── */
.toast {
  position: fixed; bottom: 28px; right: 28px; z-index: 99999;
  color: white; padding: 14px 24px; border-radius: 10px;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: .875rem;
  box-shadow: 0 8px 24px rgba(0,0,0,.2); animation: toastIn .3s ease both;
}
@keyframes toastIn { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }

/* ============================================================
   ADMIN DASHBOARD STYLES
   ============================================================ */

/* ── LOGIN ── */
.login-screen {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--darker) 0%, #1a3a56 60%, #0d2235 100%);
  padding: 24px; position: relative; overflow: hidden;
}
.login-screen::before {
  content: ''; position: absolute; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(249,115,22,.15), transparent);
  top: -150px; right: -100px; border-radius: 50%; pointer-events: none;
}
.login-box {
  background: var(--white); border-radius: 20px; padding: 48px 40px; width: 100%; max-width: 420px;
  box-shadow: var(--shadow-lg); position: relative; z-index: 1; animation: slideUp .5s ease both;
}
.login-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.3rem; color: var(--dark); }
.login-box h1 { font-size: 1.5rem; color: var(--dark); margin-bottom: 6px; }
.login-sub { color: var(--muted); font-size: .875rem; margin-bottom: 28px; line-height: 1.5; }
.login-box .form-group { margin-bottom: 18px; }
.login-box .form-group label { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: .8rem; color: var(--text); text-transform: uppercase; letter-spacing: .5px; }
.login-box .form-group input { padding: 11px 14px; border: 2px solid var(--mid); border-radius: 8px; font-size: .9rem; color: var(--text); background: var(--light); outline: none; transition: var(--t); width: 100%; }
.login-box .form-group input:focus { border-color: var(--accent); background: var(--white); }
.pass-wrap { position: relative; }
.pass-wrap input { padding-right: 44px; }
.toggle-pass { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: none; font-size: 1rem; color: var(--muted); padding: 4px; }
.login-error { background: rgba(239,68,68,.10); border: 1px solid rgba(239,68,68,.3); color: var(--danger); border-radius: 8px; padding: 10px 14px; font-size: .875rem; margin-bottom: 16px; }
.btn-login { width: 100%; padding: 13px; background: var(--accent); color: white; border: none; border-radius: 8px; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: .95rem; transition: var(--t); margin-top: 4px; }
.btn-login:hover:not(:disabled) { background: var(--accent-dk); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(249,115,22,.35); }
.btn-login:disabled { opacity: .65; cursor: not-allowed; }
.login-footer { font-size: .8rem; color: var(--muted); text-align: center; margin-top: 20px; }
.login-footer a { color: var(--accent); }

/* ── DASHBOARD LAYOUT ── */
#admin-dashboard { display: grid; grid-template-columns: var(--sidebar-w) 1fr; min-height: 100vh; }

/* ── SIDEBAR ── */
.sidebar {
  background: var(--dark); display: flex; flex-direction: column;
  position: fixed; top: 0; left: 0; bottom: 0; width: var(--sidebar-w);
  z-index: 200; overflow-y: auto; transition: var(--t);
}
.sidebar-header { display: flex; align-items: center; gap: 12px; padding: 24px 20px; border-bottom: 1px solid rgba(255,255,255,.08); margin-bottom: 8px; }
.sidebar-title { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.1rem; color: var(--white); }
.sidebar-subtitle { font-size: .72rem; color: rgba(255,255,255,.45); margin-top: 2px; text-transform: uppercase; letter-spacing: .5px; }
.sidebar-nav { display: flex; flex-direction: column; gap: 4px; padding: 0 12px; flex: 1; }
.sidebar-link {
  display: flex; align-items: center; gap: 12px; padding: 11px 14px;
  border-radius: 8px; background: none; border: none;
  color: rgba(255,255,255,.65); font-family: 'Poppins', sans-serif; font-size: .875rem; font-weight: 500;
  width: 100%; text-align: left; transition: var(--t); position: relative;
}
.sidebar-link:hover { background: rgba(255,255,255,.07); color: var(--white); }
.sidebar-link.active { background: rgba(249,115,22,.18); color: var(--accent); }
.nav-icon { font-size: 1.1rem; min-width: 22px; }
.badge { margin-left: auto; background: rgba(249,115,22,.2); color: var(--accent); border-radius: 100px; padding: 2px 8px; font-size: .72rem; font-weight: 700; min-width: 22px; text-align: center; }
.badge.green { background: rgba(34,197,94,.2); color: var(--success); }
.btn-logout { margin: 16px 12px 24px; padding: 11px; background: rgba(239,68,68,.10); border: 1px solid rgba(239,68,68,.25); color: #f87171; border-radius: 8px; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: .875rem; transition: var(--t); }
.btn-logout:hover { background: rgba(239,68,68,.2); }

/* ── MAIN CONTENT ── */
.main-content { margin-left: var(--sidebar-w); display: flex; flex-direction: column; min-height: 100vh; background: var(--light); }

/* ── TOPBAR ── */
.topbar { height: var(--topbar-h); background: var(--white); border-bottom: 1px solid var(--mid); display: flex; align-items: center; padding: 0 28px; gap: 16px; position: sticky; top: 0; z-index: 100; box-shadow: 0 1px 8px rgba(16,42,67,.06); }
.topbar-left { flex: 1; }
.topbar-left h2 { font-size: 1.2rem; color: var(--dark); }
.topbar-right { display: flex; align-items: center; gap: 20px; }
.admin-info { display: flex; align-items: center; gap: 10px; }
.admin-avatar { width: 36px; height: 36px; background: var(--accent); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .95rem; font-family: 'Poppins', sans-serif; }
.admin-name { font-weight: 600; font-size: .875rem; color: var(--dark); }
.topbar-time { font-size: .8rem; color: var(--muted); }
.hamburger-admin { display: none; background: none; border: none; font-size: 1.4rem; color: var(--dark); padding: 4px; }

/* ── PANELS ── */
.panel { padding: 28px; flex: 1; }

/* ── STATS GRID ── */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 28px; }
.stat-card { background: var(--white); border-radius: var(--radius); padding: 24px; display: flex; align-items: center; gap: 18px; box-shadow: var(--shadow); border: 1px solid var(--mid); transition: var(--t); }
.stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.stat-card-icon { width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.stat-card-icon.orange { background: rgba(249,115,22,.12); }
.stat-card-icon.green  { background: rgba(34,197,94,.12); }
.stat-card-icon.blue   { background: rgba(59,130,246,.12); }
.stat-card-icon.purple { background: rgba(139,92,246,.12); }
.stat-card-num { display: block; font-family: 'Poppins', sans-serif; font-size: 1.9rem; font-weight: 800; color: var(--dark); line-height: 1; }
.stat-card-label { font-size: .8rem; color: var(--muted); margin-top: 4px; }

/* ── OVERVIEW GRID ── */
.overview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.panel-card { background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); border: 1px solid var(--mid); }
.panel-card h3 { font-size: 1rem; color: var(--dark); margin-bottom: 16px; }
.panel-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.panel-card-header h3 { margin-bottom: 0; }
.btn-small { padding: 6px 14px; background: rgba(249,115,22,.10); color: var(--accent); border: 1px solid rgba(249,115,22,.3); border-radius: 6px; font-family: 'Poppins', sans-serif; font-size: .8rem; font-weight: 600; transition: var(--t); }
.btn-small:hover { background: var(--accent); color: white; }
.mini-list { display: flex; flex-direction: column; gap: 10px; }
.mini-item { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; background: var(--light); border-radius: 8px; border: 1px solid var(--mid); font-size: .85rem; gap: 12px; }
.mini-item-title { font-weight: 600; color: var(--dark); flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-item-sub { color: var(--muted); font-size: .78rem; white-space: nowrap; }
.mini-empty { color: var(--muted); font-size: .875rem; text-align: center; padding: 20px; }

/* ── MANAGE JOBS ── */
.btn-add-job { padding: 10px 20px; background: var(--accent); color: white; border: none; border-radius: 8px; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: .875rem; transition: var(--t); white-space: nowrap; }
.btn-add-job:hover { background: var(--accent-dk); transform: translateY(-1px); }
.job-tag-sm { display: inline-block; padding: 3px 10px; border-radius: 100px; font-size: .72rem; font-weight: 700; font-family: 'Poppins', sans-serif; background: rgba(249,115,22,.10); color: var(--accent); border: 1px solid rgba(249,115,22,.3); }
.job-tag-sm.full-time { background: rgba(34,197,94,.10); color: #16a34a; border-color: rgba(34,197,94,.3); }
.job-tag-sm.live-in { background: rgba(99,102,241,.10); color: #4f46e5; border-color: rgba(99,102,241,.3); }
.feat-btn { background: none; border: none; font-size: 1.2rem; cursor: pointer; opacity: .4; transition: var(--t); }
.feat-btn.active, .feat-btn:hover { opacity: 1; }

/* ── JOB EDIT FORM (inside modal) ── */
.job-edit-form .form-group { margin-bottom: 16px; }
.job-edit-form .form-group label { font-family: 'Poppins', sans-serif; font-size: .8rem; font-weight: 600; color: var(--text); text-transform: uppercase; letter-spacing: .4px; }
.job-edit-form .form-group input,
.job-edit-form .form-group select,
.job-edit-form .form-group textarea { padding: 11px 14px; border: 2px solid var(--mid); border-radius: 8px; font-size: .9rem; color: var(--text); background: var(--light); outline: none; transition: var(--t); width: 100%; resize: vertical; }
.job-edit-form .form-group input:focus,
.job-edit-form .form-group select:focus,
.job-edit-form .form-group textarea:focus { border-color: var(--accent); background: var(--white); }
.featured-toggle { justify-content: center; }
.checkbox-label { display: flex; align-items: center; gap: 10px; cursor: pointer; font-family: 'Poppins', sans-serif; font-size: .9rem; font-weight: 600; color: var(--text); }
.checkbox-label input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--accent); cursor: pointer; }

/* ── TABLE ── */
.panel-toolbar { display: flex; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; align-items: center; }
.search-bar { flex: 1; min-width: 200px; padding: 10px 14px; border: 2px solid var(--mid); border-radius: 8px; font-size: .875rem; outline: none; transition: var(--t); background: var(--white); }
.search-bar:focus { border-color: var(--accent); }
.filter-select-admin { padding: 10px 14px; border: 2px solid var(--mid); border-radius: 8px; font-size: .875rem; outline: none; background: var(--white); transition: var(--t); }
.filter-select-admin:focus { border-color: var(--accent); }
.btn-export { padding: 10px 18px; background: var(--dark); color: white; border: none; border-radius: 8px; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: .8rem; transition: var(--t); white-space: nowrap; }
.btn-export:hover { background: var(--accent); }
.table-wrap { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--mid); overflow: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: .85rem; }
.admin-table thead { background: var(--dark); color: white; font-family: 'Poppins', sans-serif; }
.admin-table th { padding: 13px 16px; text-align: left; font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .5px; white-space: nowrap; }
.admin-table td { padding: 13px 16px; border-bottom: 1px solid var(--mid); color: var(--text); vertical-align: middle; }
.admin-table tbody tr:last-child td { border-bottom: none; }
.admin-table tbody tr:hover { background: #fafbfc; }
.cell-bold { font-weight: 600; color: var(--dark); }
.cell-muted { color: var(--muted); font-size: .82rem; }
.cell-email { color: var(--info); font-size: .82rem; }
.cell-email a { color: var(--info); }
.cell-email a:hover { text-decoration: underline; }
.empty-state { padding: 60px 24px; text-align: center; color: var(--muted); font-size: .95rem; line-height: 1.7; }

/* ── STATUS BADGES ── */
.status-badge { display: inline-block; padding: 3px 10px; border-radius: 100px; font-size: .75rem; font-weight: 700; font-family: 'Poppins', sans-serif; }
.status-pending  { background: rgba(245,158,11,.10); color: #b45309; border: 1px solid rgba(245,158,11,.3); }
.status-approved { background: rgba(34,197,94,.10); color: #15803d; border: 1px solid rgba(34,197,94,.3); }
.status-rejected { background: rgba(239,68,68,.10); color: #b91c1c; border: 1px solid rgba(239,68,68,.3); }

/* ── ACTION BUTTONS ── */
.actions-cell { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.action-btn { padding: 5px 10px; border-radius: 6px; border: none; font-family: 'Poppins', sans-serif; font-size: .75rem; font-weight: 600; transition: var(--t); white-space: nowrap; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; }
.action-btn.approve { background: rgba(34,197,94,.12); color: #15803d; }
.action-btn.approve:hover { background: var(--success); color: white; }
.action-btn.reject  { background: rgba(239,68,68,.12); color: #b91c1c; }
.action-btn.reject:hover  { background: var(--danger); color: white; }
.action-btn.view    { background: rgba(59,130,246,.12); color: #1d4ed8; }
.action-btn.view:hover    { background: var(--info); color: white; }
.action-btn.delete  { background: rgba(239,68,68,.08); color: #ef4444; }
.action-btn.delete:hover  { background: var(--danger); color: white; }
.action-btn.email   { background: rgba(249,115,22,.12); color: var(--accent); }
.action-btn.email:hover   { background: var(--accent); color: white; }

/* ── SETTINGS ── */
.settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.btn-save { padding: 10px 24px; background: var(--accent); color: white; border: none; border-radius: 8px; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: .875rem; transition: var(--t); margin-top: 8px; }
.btn-save:hover { background: var(--accent-dk); }
.btn-danger { padding: 10px 24px; background: rgba(239,68,68,.10); color: var(--danger); border: 1px solid rgba(239,68,68,.3); border-radius: 8px; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: .875rem; transition: var(--t); }
.btn-danger:hover { background: var(--danger); color: white; }
.settings-note { font-size: .85rem; margin-top: 12px; padding: 10px 14px; border-radius: 8px; }
.settings-note.success { background: rgba(34,197,94,.10); color: #15803d; }
.settings-note.danger  { background: rgba(239,68,68,.10); color: var(--danger); }
.cred-info { display: flex; flex-direction: column; gap: 10px; }
.cred-info p { font-size: .875rem; color: var(--muted); }
.cred-info code { background: var(--light); padding: 2px 8px; border-radius: 4px; font-family: monospace; color: var(--dark); border: 1px solid var(--mid); }
.cred-info strong { color: var(--dark); }
.warn { color: #b45309 !important; background: rgba(245,158,11,.08) !important; padding: 8px 12px !important; border-radius: 6px; border: 1px solid rgba(245,158,11,.25); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .overview-grid { grid-template-columns: 1fr; }
  .settings-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  /* Admin sidebar collapse */
  #admin-dashboard { grid-template-columns: 1fr; }
  .sidebar { transform: translateX(-100%); box-shadow: none; }
  .sidebar.open { transform: translateX(0); box-shadow: 4px 0 24px rgba(16,42,67,.3); }
  .main-content { margin-left: 0; }
  .hamburger-admin { display: block; }

  /* Public site */
  .about-inner { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); }
  .hiw-grid { flex-direction: column; align-items: stretch; }
  .hiw-divider { display: none; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed; top: 70px; left: 0; right: 0; background: var(--dark);
    flex-direction: column; align-items: stretch; padding: 20px 24px 32px; gap: 4px;
    transform: translateY(-110%); opacity: 0; pointer-events: none; transition: var(--t);
    border-top: 1px solid rgba(255,255,255,.1);
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: all; }
  .nav-link { padding: 12px 16px; font-size: 1rem; }
  .nav-cta { text-align: center; margin-left: 0; }
  .hero { padding: 120px 0 70px; }
  .hero-ctas { flex-direction: column; }
  .form-row { grid-template-columns: 1fr; }
  .post-form { padding: 24px; }
  .footer-nav { grid-template-columns: 1fr; }
  .jobs-grid { grid-template-columns: 1fr; }
  .modal-box { padding: 28px 20px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .hero-stats { gap: 20px; }
  .stat-divider { display: none; }
  .stats-grid { grid-template-columns: 1fr; }
  .panel { padding: 16px; }
  .login-box { padding: 32px 20px; }
  .topbar { padding: 0 16px; }
  .topbar-time { display: none; }
}