/* Base Reset */
:root {
  --primary: #0070f3;
  --text-dark: #1f2937;
  --text-light: #ffffff;
  --bg-light: #f9fbfe;
  --shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  --radius: 12px;
  --transition: 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
}



/* Filter Section */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin: 30px auto;
  max-width: 1200px;
  background: #ffffff;
  padding: 20px 25px;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.filters input,
.filters select,
.filters button {
  padding: 10px 15px;
  font-size: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.filters button {
  background: #007bff;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease;
}

.filters button:hover {
  background: #0056b3;
}

/* Job Grid */
.job-list {
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
}

/* Job Card */
.job-card {
  background: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

.job-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
}

.job-card h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
  color: #004085;
}

.job-card .meta {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 10px;
}

.job-card .match {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #28a745;
  color: white;
  padding: 4px 10px;
  font-size: 0.75rem;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.job-card .apply-btn {
  margin-top: 10px;
  padding: 10px 14px;
  background: #007bff;
  border: none;
  color: white;
  font-size: 0.9rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}

.job-card .apply-btn:hover {
  background: #0056b3;
}

/* No jobs message */
.no-jobs {
  grid-column: 1 / -1;
  text-align: center;
  color: #666;
  font-size: 1rem;
  padding: 60px 0;
}

.apply-btn {
  padding: 8px 14px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 10px;
}

.apply-btn:hover {
  background-color: #0056b3;
}

@media (max-width: 480px ) {
  .filters input,
  .filters select,
  .filters button {
      padding: 10px 15px;
      font-size: 0.6rem;
      border: 1px solid #ccc;
      border-radius: 6px;
      max-width: 35%;
}
}