:root {
  --primary-color: #0d6efd;
  --primary-hover: #0b5ed7;
  --dark-color: #1e293b;
  --light-bg: #f8fafc;
  --border-color: #e2e8f0;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--light-bg);
  color: #334155;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

/* Navbar */
.navbar-brand {
  font-weight: 800;
  letter-spacing: -0.5px;
}
.brand-badge {
  font-size: 0.65rem;
  background-color: #10b981;
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
  vertical-align: middle;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #1e3a8a 0%, #0284c7 100%);
  color: white;
  padding: 50px 0 60px;
  position: relative;
}
.search-card {
  background: white;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

/* Job Cards */
.job-card {
  background: white;
  border-radius: 14px;
  border: 1px solid var(--border-color);
  transition: all 0.25s ease;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.job-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -6px rgba(0, 0, 0, 0.08);
  border-color: #93c5fd;
}
.job-thumbnail {
  height: 170px;
  object-fit: cover;
  width: 100%;
  background-color: #f1f5f9;
}
.job-badge-type {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
}
.badge-ft { background-color: #e0f2fe; color: #0369a1; }
.badge-pt { background-color: #fef3c7; color: #b45309; }
.badge-fr { background-color: #dcfce7; color: #15803d; }
.badge-kt { background-color: #f3e8ff; color: #7e22ce; }

.salary-tag {
  color: #059669;
  font-weight: 700;
  font-size: 0.95rem;
}

/* Detail page */
.locked-box {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 2px dashed #f59e0b;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}
.unlocked-box {
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: 12px;
  padding: 20px;
}
.btn-whatsapp {
  background-color: #25d366;
  color: white;
  font-weight: 600;
}
.btn-whatsapp:hover {
  background-color: #20ba59;
  color: white;
}

/* Footer */
footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 30px 0;
  margin-top: 50px;
}

/* Auto-Sync OLX Control Center Styles */
.auto-sync-card {
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease;
}
.auto-sync-card.is-active {
  border-color: #86efac;
  box-shadow: 0 8px 30px -4px rgba(16, 185, 129, 0.12), 0 4px 10px -2px rgba(16, 185, 129, 0.06);
}
.auto-sync-header {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  padding: 24px 28px;
  position: relative;
}
.auto-sync-header.is-active {
  background: linear-gradient(135deg, #064e3b 0%, #0f172a 100%);
}
.pulse-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  position: relative;
}
.pulse-dot.dot-online {
  background-color: #10b981;
  box-shadow: 0 0 0 rgba(16, 185, 129, 0.5);
  animation: pulse-green 2s infinite;
}
.pulse-dot.dot-offline {
  background-color: #94a3b8;
}
@keyframes pulse-green {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* Custom Large Toggle Switch */
.switch-container {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.12);
  padding: 6px 14px;
  border-radius: 30px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.modern-switch {
  position: relative;
  display: inline-block;
  width: 68px;
  height: 36px;
  margin-bottom: 0;
}
.modern-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.modern-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #475569;
  transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 36px;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}
.modern-slider:before {
  position: absolute;
  content: "";
  height: 28px;
  width: 28px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}
.modern-switch input:checked + .modern-slider {
  background-color: #10b981;
}
.modern-switch input:checked + .modern-slider:before {
  transform: translateX(32px);
}
.spin {
  animation: spin 1s linear infinite;
  display: inline-block;
}
@keyframes spin {
  100% { transform: rotate(360deg); }
}

.metric-pill {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 16px;
  transition: all 0.2s ease;
}
.metric-pill:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}
.city-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #e2e8f0;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  transition: all 0.15s ease;
}
.city-pill:hover {
  background: #e2e8f0;
  color: #0f172a;
}

