: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;
}

/* Search Container */
.search-container {
  max-width: 95%;
  margin: 2rem auto;
  padding: 1rem;
  background: linear-gradient(to right, #e0f7fa, #ffffff);
}

.search-container h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #0a2a6f;
  align-items: center;
  text-align: center;
}

/* Filters */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  background: #fff;
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.05);
  margin-bottom: 2rem;
}

/* Beautiful Search Bar */
.search-bar {
  display: flex;
  flex: 1 1 100%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.search-bar input {
  flex: 1;
  padding: 14px;
  font-style: italic;
  border: 1px solid #ccc;
  border-right: none;
  font-size: 1rem;
  border-radius: 6px 0 0 6px;
}

.search-bar button {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 0 20px;
  font-size: 1.2rem;
  border-radius: 0 6px 6px 0;
  cursor: pointer;
  transition: background 0.3s ease;
}

.search-bar button:hover {
  background-color: #0056b3;
}

/* Other Inputs */
.filters input,
.filters select {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  width: 15.2%;
}

/* Results */
.results {
  display: grid;
  gap: 1.5rem;
}

.job-card {
  background: white;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 3px 8px rgba(0,0,0,0.07);
  transition: transform 0.2s ease;
}

.job-card:hover {
  transform: translateY(-4px);
}

.job-card h3 {
  margin: 0;
  font-size: 1.3rem;
  color: #333;
}

.job-card .meta {
  color: #666;
  font-size: 0.9rem;
  margin: 5px 0 10px;
}

.job-card .desc {
  font-size: 1rem;
  color: #444;
  margin-bottom: 1rem;
}

.job-card .bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.match-percent {
  font-weight: bold;
  color: #28a745;
}

.save-btn {
  background-color:#154674;
  color: white;
  padding: 8px 14px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.save-btn:hover {
  background-color: #0d6678;
}


.message-btn {
  background-color: #154674;
  color: white;
  padding: 8px 14px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.message-btn:hover {
  background-color: #0f4f12;
}


/* 🎯 Style for Attached Files inside Job Cards */
.attached-files {
  margin-top: 10px;
  padding: 8px;
  background-color: #f9f9f9;
  border-left: 4px solid #0077ff;
  border-radius: 5px;
  font-size: 14px;
}

.attached-files strong {
  display: block;
  margin-bottom: 5px;
  color: #333;
}

.attached-files ul {
  padding-left: 16px;
  list-style-type: disc;
  margin: 0;
}

.attached-files ul li {
  margin-bottom: 5px;
}

.attached-files a {
  color: #0077cc;
  text-decoration: none;
}

.attached-files a:hover {
  text-decoration: underline;
  color: #0055aa;
}

@media (max-width: 600px) {
  .filters input,
  .filters select {
    font-size: 0.5rem;
    width: 100%;
}
.search-container h1 {
  font-size: 2rem;
}

}
