* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #ffffff;
  color: #333333;
  line-height: 1.6;
  font-size: 14px;
}

.careers-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 20px;
  min-height: 100vh;
}

/* Header Styles */
.career-header {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  padding: 30px;
  border-bottom: 1px solid #e9ecef;
  margin-bottom: 30px;
  position: relative;
}

.career-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #ffd700, #000000);
}

.header-content {
  display: flex;
  align-items: flex-start;
  gap: 25px;
  max-width: 1000px;
  margin: 0 auto;
}

.company-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 120px;
}

.company-logo {
  width: 60px;
  height: 60px;
  background: #000000;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffd700;
  font-weight: bold;
  font-size: 14px;
  border: 2px solid #ffd700;
}

.company-name {
  font-size: 1rem;
  color: #000000;
  font-weight: 600;
  text-align: center;
  line-height: 1.2;
}

.header-text {
  flex: 1;
}

.header-text h1 {
  font-size: 2rem;
  color: #000000;
  margin-bottom: 10px;
  font-weight: 600;
}

.company-description {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 8px;
}

.header-tagline {
  color: #888;
  font-size: 0.9rem;
  font-style: italic;
}

/* Filters Section */
.filters-section {
  background-color: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 25px;
  border: 1px solid #e9ecef;
}

.filters-section h2 {
  color: #000000;
  margin-bottom: 15px;
  font-size: 1.1rem;
  font-weight: 600;
}

.filters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
  align-items: end;
}

.filter-group label {
  display: block;
  color: #000000;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 0.9rem;
}

.filter-select,
.search-input {
  width: 100%;
  padding: 10px 12px;
  background-color: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 6px;
  color: #333333;
  font-size: 14px;
  transition: all 0.2s ease;
}

.filter-select:focus,
.search-input:focus {
  outline: none;
  border-color: #ffd700;
  box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.1);
}

.search-button {
  background-color: #000000;
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease;
  height: 40px;
  font-size: 0.85rem;
}

.search-button:hover {
  background-color: #ffd700;
  color: #000000;
  transform: translateY(-1px);
}

/* Jobs Grid */
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.job-card {
  background: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 20px;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.job-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ffd700, #000000);
}

.job-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-color: #ffd700;
}

.job-title {
  color: #000000;
  font-size: 1.3rem;
  margin-bottom: 12px;
  font-weight: 600;
  line-height: 1.3;
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 15px;
}

.meta-tag {
  background-color: #f8f9fa;
  color: #333333;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.8rem;
  border: 1px solid #e9ecef;
  font-weight: 500;
}

.meta-tag.highlight {
  background-color: #ffd700;
  color: #000000;
  font-weight: 600;
}

.job-details {
  margin-bottom: 20px;
}

.detail-section {
  margin-bottom: 15px;
}

.detail-section h4 {
  color: #000000;
  margin-bottom: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.detail-section h4::before {
  content: "";
  width: 3px;
  height: 14px;
  background: #ffd700;
  border-radius: 2px;
}

.detail-section p,
.detail-section ul {
  color: #555;
  font-size: 0.9rem;
  line-height: 1.5;
}

.detail-section ul {
  padding-left: 18px;
}

.detail-section li {
  margin-bottom: 4px;
  position: relative;
}

.detail-section li::marker {
  color: #ffd700;
}

.salary-info {
  background: linear-gradient(135deg, #fff9e6, #fff3cc);
  padding: 12px;
  border-radius: 6px;
  border-left: 3px solid #ffd700;
  margin: 15px 0;
  font-size: 0.9rem;
}

.salary-info strong {
  color: #000000;
  font-weight: 600;
}

.apply-button {
  background-color: #000000;
  color: #ffffff;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 6px;
  font-weight: 600;
  display: inline-block;
  transition: all 0.2s ease;
  border: 1px solid #000000;
  cursor: pointer;
  text-align: center;
  width: 100%;
  font-size: 0.9rem;
}

.apply-button:hover {
  background-color: #ffd700;
  color: #000000;
  transform: translateY(-1px);
}

/* Loading and Error States */
.loading {
  text-align: center;
  padding: 40px 20px;
  color: #666;
  font-size: 1rem;
  grid-column: 1 / -1;
}

.error-message {
  background-color: #ffe6e6;
  color: #d63031;
  padding: 15px;
  border-radius: 6px;
  margin-bottom: 15px;
  text-align: center;
  border-left: 3px solid #d63031;
  grid-column: 1 / -1;
}

.no-jobs {
  text-align: center;
  padding: 40px 20px;
  color: #666;
  grid-column: 1 / -1;
  background: #f8f9fa;
  border-radius: 8px;
}

.no-jobs h3 {
  color: #000000;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .careers-container {
    padding: 15px;
  }

  .career-header {
    padding: 20px;
  }

  .header-content {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .company-brand {
    flex-direction: row;
    justify-content: center;
    gap: 15px;
  }

  .header-text h1 {
    font-size: 1.6rem;
  }

  .filters-grid {
    grid-template-columns: 1fr;
  }

  .jobs-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .job-card {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .header-text h1 {
    font-size: 1.4rem;
  }

  .company-description {
    font-size: 0.9rem;
  }

  .filters-section {
    padding: 15px;
  }
}
