:root {
  --primary: #1E65D0; /* Karir.com Blue */
  --primary-hover: #154c9e;
  --secondary: #333333; /* Dark gray for text */
  --bg-color: #ffffff;
  --bg-alt: #f8f9fa;
  --surface: #ffffff;
  --border: #e0e0e0;
  --text-main: #333333;
  --text-muted: #666666;
  --radius: 8px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.05);
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

/* Header */
.jobfair-header {
  background-color: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0.75rem 0;
}
.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-weight: 800;
  font-size: 1.75rem;
  color: var(--primary);
  margin: 0;
  letter-spacing: -0.5px;
}
.logo span {
  color: #333333;
  font-weight: 600;
}
.header-nav {
  display: flex;
  gap: 2rem;
}
.header-nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.header-nav a:hover {
  color: var(--primary);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.nav-link.employer {
  text-decoration: none;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
}
.header-btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
  padding: 0.4rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
}
.header-btn-outline:hover {
  background-color: rgba(30, 101, 208, 0.05);
}
.header-btn {
  background-color: var(--primary);
  color: white;
  border: none;
  padding: 0.45rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color 0.2s;
}
.header-btn:hover {
  background-color: var(--primary-hover);
}

/* Hero Section */
.hero-section {
  position: relative;
  overflow: hidden;
  padding: 4rem 1.5rem 6rem;
  background-color: #ffffff;
}
.hero-bg-shape {
  position: absolute;
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle at 10% 20%, rgba(30, 101, 208, 0.03) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(30, 101, 208, 0.05) 0%, transparent 50%);
  z-index: 1;
}
.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  position: relative;
  z-index: 2;
}
.hero-content {
  flex: 1;
  max-width: 600px;
}
.hero-content h1 {
  font-size: 2.75rem;
  font-weight: 700;
  color: #444444;
  margin-bottom: 1rem;
  line-height: 1.3;
}
.hero-content h1 .highlight {
  color: var(--primary);
}
.hero-content p {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}
.search-box {
  display: flex;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.5rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}
.search-input {
  display: flex;
  align-items: center;
  padding: 0 1rem;
  flex: 1;
}
.search-input i {
  color: #999;
  margin-right: 0.75rem;
  font-size: 1.1rem;
}
.search-input input {
  border: none;
  outline: none;
  width: 100%;
  font-size: 0.95rem;
  color: var(--text-main);
}
.search-input input::placeholder {
  color: #999;
}
.search-divider {
  width: 1px;
  background-color: var(--border);
  margin: 0.5rem 0;
}
.search-btn {
  background-color: var(--primary);
  color: white;
  border: none;
  padding: 0 2rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.2s;
}
.search-btn:hover {
  background-color: var(--primary-hover);
}

.hero-image {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.circle-bg {
  position: absolute;
  width: 400px;
  height: 400px;
  background-color: var(--primary);
  border-radius: 50%;
  z-index: 1;
}
.hero-image img {
  position: relative;
  z-index: 2;
  max-width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  width: 450px;
  height: 300px;
  object-fit: cover;
}

/* Features Section */
.features-section {
  max-width: 1200px;
  margin: 0 auto 5rem;
  padding: 0 1.5rem;
  text-align: center;
}
.features-section h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 3rem;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.06);
}
.feature-card img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 1.5rem;
}
.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 0.75rem;
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Jobs Grid */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}
.job-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: box-shadow 0.2s ease, border-color 0.2s;
  display: flex;
  flex-direction: column;
}
.job-card:hover {
  box-shadow: var(--shadow-md);
  border-color: #c0c0c0;
}
.job-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}
.job-logo {
  width: 64px;
  height: 64px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
}
.job-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.ikuti-btn {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
  padding: 0.35rem 1.2rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.ikuti-btn:hover {
  background: var(--primary);
  color: white;
}
.job-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.verified-badge svg {
  width: 18px;
  height: 18px;
  fill: #1E65D0;
}
.job-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.job-meta svg {
  width: 16px;
  height: 16px;
  fill: #999;
}
.salary-info {
  font-size: 0.85rem;
  color: var(--text-main);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
}
.salary-info svg {
  width: 16px;
  height: 16px;
  fill: var(--text-muted);
}
.view-jobs-btn {
  width: 100%;
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--border);
  padding: 0.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  margin-top: auto;
  transition: all 0.2s ease;
}
.view-jobs-btn:hover {
  background: #f8f9fa;
  border-color: #d0d0d0;
}

/* Footer CTA */
.footer-cta {
  text-align: center;
  padding: 2rem 0;
}
.more-companies-btn {
  background: white;
  border: 1px solid var(--border);
  color: var(--secondary);
  padding: 0.75rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
  text-decoration: none;
}
.more-companies-btn:hover {
  background: var(--bg-alt);
}

/* Footer */
footer {
  background-color: var(--surface);
  border-top: 1px solid var(--border);
  padding: 3rem 1.5rem 1.5rem;
  margin-top: 2rem;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-brand {
  margin-bottom: 2rem;
}
.footer-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1rem;
}
.footer-logo span {
  color: var(--secondary);
}
.footer-brand p {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.6;
  max-width: 600px;
}
.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}
.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--bg-alt);
  color: var(--text-muted);
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.2s ease;
}
.social-links a:hover {
  background: var(--primary);
  color: white;
}
.footer-divider {
  height: 1px;
  background: var(--border);
  margin: 1.5rem 0;
}
.footer-bottom {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Login Form (home.html) */
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2.5rem;
  max-width: 420px;
  margin: 5rem auto;
  box-shadow: var(--shadow-md);
}
.form-header-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 0.25rem;
}
.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #cccccc;
  border-radius: 4px;
  font-size: 0.95rem;
  color: var(--text-main);
  background-color: var(--surface);
  transition: border-color 0.2s ease;
}
.form-control.with-icon {
  padding-left: 2.8rem;
}
.form-control:focus {
  outline: none;
  border-color: var(--primary);
}
.input-group {
  position: relative;
  display: flex;
  align-items: center;
}
.input-icon {
  position: absolute;
  left: 1rem;
  color: #888;
  z-index: 2;
  font-size: 0.95rem;
}
.btn-submit {
  width: 100%;
  background: var(--primary);
  color: white;
  border: none;
  padding: 0.875rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
  margin-top: 0.5rem;
}
.btn-submit:hover {
  background: var(--primary-hover);
}

/* Loader */
#loader {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,0.9);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin { 100% { transform: rotate(360deg); } }

/* OTP Inputs */
.code-input {
  padding: 0.5rem !important;
  text-align: center !important;
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  width: 50px !important;
  height: 55px !important;
  border-radius: 8px !important;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
  }
  .search-box {
    flex-direction: column;
    padding: 1rem;
  }
  .search-divider {
    width: 100%;
    height: 1px;
    margin: 0.5rem 0;
  }
  .search-btn {
    width: 100%;
    padding: 0.75rem;
    margin-top: 0.5rem;
  }
  .hero-image {
    display: none; /* Hide image on mobile for cleaner look */
  }
  .header-nav { display: none; }
}

/* Copy Alert */
.copy-alert {
  position: fixed;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--secondary);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  font-size: 0.875rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: bottom 0.3s ease;
  z-index: 9999;
  box-shadow: var(--shadow-md);
}
.copy-alert.show {
  bottom: 2rem;
}
.copy-alert.hide {
  bottom: -100px;
}
