/* styles.css */
:root {
  --primary: #2563EB; /* Modern blue */
  --secondary: #4B5563; /* Neutral gray */
  --accent: #059669; /* Vibrant green for CTAs */
  --background: #F3F4F6; /* Light gray background */
  --text: #111827; /* Darker text for readability */
  --border: #D1D5DB; /* Light border */
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
}

body {
  background-color: var(--background);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  font-size: 16px;
}

/* Button styles */
.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  font-weight: 500;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.2s ease-in-out;
}
.btn-primary {
  background-color: var(--primary);
  color: white;
}
.btn-primary:hover {
  background-color: #1D4ED8;
  transform: translateY(-2px);
}
.btn-secondary {
  background-color: var(--secondary);
  color: white;
}
.btn-secondary:hover {
  background-color: #374151;
  transform: translateY(-2px);
}
.btn-danger {
  background-color: #DC2626;
  color: white;
}
.btn-danger:hover {
  background-color: #B91C1C;
  transform: translateY(-2px);
}

/* Form styles */
input, textarea, select {
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  padding: 0.75rem;
  width: 100%;
  font-size: 0.875rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
label {
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
  display: block;
  font-size: 0.875rem;
}

/* Job card styles */
.job-card {
  background: white;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.job-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

/* Chatbot styles */
.chatbot {
  background-color: white;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  box-shadow: var(--shadow);
}
.chatbot-toggle {
  background-color: var(--accent);
  color: white;
  font-size: 1.25rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}
.chatbot-toggle:hover {
  background-color: #047857;
}

/* Loading spinner */
.spinner {
  border: 4px solid var(--border);
  border-top: 4px solid var(--primary);
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  animation: spin 1s linear infinite;
  margin: 2rem auto;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .btn {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
  }
  .job-card {
    padding: 1rem;
  }
}