/* Reset and Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #FFFFFF;
  color: #1F2937;
  line-height: 1.6;
  font-size: 16px;
}

a {
  color: #2563EB;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  padding: 20px 0;
  border-bottom: 1px solid #E5E7EB;
  margin-bottom: 40px;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: #1F2937;
}

nav a {
  margin-left: 30px;
  color: #1F2937;
  font-weight: 500;
}

nav a:hover {
  color: #2563EB;
  text-decoration: none;
}

/* Search Bar */
.search-section {
  text-align: center;
  margin-bottom: 60px;
}

.search-section h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #1F2937;
}

.search-bar {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.search-bar input {
  width: 100%;
  padding: 16px 20px;
  font-size: 18px;
  border: 2px solid #E5E7EB;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
}

.search-bar input:focus {
  outline: none;
  border-color: #2563EB;
}

/* Stats */
.stats {
  text-align: center;
  color: #6B7280;
  font-size: 18px;
  margin-bottom: 60px;
}

/* Category Grid */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 60px;
}

.category-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 24px;
  text-align: center;
  transition: all 0.2s;
  cursor: pointer;
}

.category-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: #2563EB;
}

.category-card .icon {
  font-size: 36px;
  margin-bottom: 12px;
}

.category-card .name {
  font-size: 18px;
  font-weight: 600;
  color: #1F2937;
  margin-bottom: 8px;
}

.category-card .count {
  color: #6B7280;
  font-size: 14px;
}

/* Section Title */
.section-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 30px;
  color: #1F2937;
}

/* Vacancy List */
.vacancy-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 60px;
}

.vacancy-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 24px;
  transition: all 0.2s;
}

.vacancy-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.vacancy-card .title {
  font-size: 20px;
  font-weight: 600;
  color: #1F2937;
  margin-bottom: 12px;
}

.vacancy-card .company {
  color: #6B7280;
  margin-bottom: 12px;
}

.vacancy-card .meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.vacancy-card .salary {
  color: #2563EB;
  font-weight: 600;
  font-size: 18px;
}

.vacancy-card .category-badge {
  display: inline-block;
  background: #EFF6FF;
  color: #2563EB;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
}

.vacancy-card .date {
  color: #9CA3AF;
  font-size: 14px;
}

/* Filters */
.filters-sidebar {
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 30px;
}

.filter-group {
  margin-bottom: 24px;
}

.filter-group:last-child {
  margin-bottom: 0;
}

.filter-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: #1F2937;
}

.filter-group select,
.filter-group input {
  width: 100%;
  padding: 10px;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
}

.filter-group select:focus,
.filter-group input:focus {
  outline: none;
  border-color: #2563EB;
}

/* Form */
.form-section {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: #1F2937;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2563EB;
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.btn-primary {
  background: #2563EB;
  color: #FFFFFF;
  padding: 14px 32px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: background 0.2s;
}

.btn-primary:hover {
  background: #1D4ED8;
}

/* Footer */
footer {
  border-top: 1px solid #E5E7EB;
  padding: 40px 0;
  margin-top: 80px;
  color: #6B7280;
  text-align: center;
}

footer a {
  color: #6B7280;
  margin: 0 12px;
}

footer a:hover {
  color: #2563EB;
}

/* Content Section */
.content-section {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

.content-section h2 {
  font-size: 24px;
  margin-bottom: 16px;
  color: #1F2937;
}

.content-section p {
  margin-bottom: 16px;
  color: #4B5563;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    gap: 16px;
  }
  
  nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  nav a {
    margin: 0 12px;
  }
  
  .search-section h1 {
    font-size: 28px;
  }
  
  .category-grid {
    grid-template-columns: 1fr;
  }
  
  .vacancy-card .meta {
    flex-direction: column;
    align-items: flex-start;
  }
}
