/* Main stylesheet */
@import url('base/reset.css');
@import url('base/layout.css');
@import url('components/header.css');
@import url('components/search.css');
@import url('components/filters.css');
@import url('components/vacancy-card.css');
@import url('components/pagination.css');
@import url('components/loading.css');

/* Global styles */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fafafa;
}

/* Button styles - единые для всего сайта */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  gap: 8px;
  text-align: center;
  font-family: inherit;
}

.btn-primary {
  background-color: #000;
  color: #fff;
}

.btn-primary:hover {
  background-color: #333;
}

.btn-outline {
  background-color: transparent;
  color: #000;
  border: 1px solid #000;
}

.btn-outline:hover {
  background-color: #000;
  color: #fff;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

/* Стили для кнопок в секции действий вакансии */
.vacancy-actions {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.vacancy-actions .btn {
  min-width: auto;
}

/* Card styles */
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 24px;
  transition: box-shadow 0.2s ease;
}

.card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* Form control styles */
.form-control {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-control label {
  font-weight: 500;
  font-size: 14px;
  color: #333;
}

.form-control select,
.form-control input {
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.2s ease;
  font-family: inherit;
}

.form-control select:focus,
.form-control input:focus {
  outline: none;
  border-color: #000;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

/* Error and success messages */
.error {
  color: #dc2626;
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  padding: 16px;
  margin: 16px 0;
}

.success {
  color: #059669;
  background-color: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  padding: 16px;
  margin: 16px 0;
}

