* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, sans-serif;
}

body {
  background-color: #f4f6f8;
  color: #333;
}
.header {
  background-color: #2563eb;
  color: white;
  padding: 20px;
  text-align: center;
}

.header h1 {
  margin-bottom: 5px;
}

.header p {
  font-size: 14px;
  opacity: 0.9;
}
.container {
  max-width: 1100px;
  margin: 20px auto;
  padding: 0 15px;
}
.form-section {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.form-section h2 {
  margin-bottom: 15px;
}

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

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 8px 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2563eb;
}
.btn-primary {
  background-color: #2563eb;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
}

.btn-primary:hover {
  background-color: #1e40af;
}
.controls-section {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.controls-section input,
.controls-section select {
  padding: 8px 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
  flex: 1;
}
.jobs-section h2 {
  margin-bottom: 10px;
}

.job-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 15px;
}

.job-card {
  background-color: white;
  padding: 15px;
  border-radius: 8px;
  border-left: 5px solid #2563eb;
}

.job-card h3 {
  margin-bottom: 5px;
}

.job-card p {
  font-size: 14px;
  margin-bottom: 5px;
}
.status {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: bold;
  margin-top: 5px;
}

.status.Applied {
  background-color: #facc15;
}

.status.Interview {
  background-color: #38bdf8;
}

.status.Offer {
  background-color: #4ade80;
}

.status.Rejected {
  background-color: #f87171;
}
.footer {
  text-align: center;
  padding: 15px;
  font-size: 14px;
  color: #666;
}

.job-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 10px;
}

.btn-edit {
  background-color: #facc15;
  border: none;
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
}

.btn-delete {
  background-color: #ef4444;
  color: white;
  border: none;
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
}



@media (max-width: 600px) {
  .controls-section {
    flex-direction: column;
  }

  .btn-primary {
    width: 100%;
  }
}
