@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

/* ── Layout ─────────────────────────────────────────────────────────── */
.kc-board-wrapper {
  font-family: "Inter", sans-serif;
  display: flex;
  gap: 40px;
  max-width: 1200px;
  margin: 40px auto;
  color: #111827;
}

/* ── Sidebar Filters ─────────────────────────────────────────────────── */
.kc-board-sidebar {
  width: 280px;
  flex-shrink: 0;
}

.kc-filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.kc-filter-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0;
}
.kc-filter-clear {
  color: #3b82f6;
  font-size: 0.85rem;
  text-decoration: none;
  cursor: pointer;
}

.kc-filter-group {
  margin-bottom: 24px;
}
.kc-filter-label {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #374151;
}
.kc-filter-select,
.kc-filter-input {
  width: 100%;
  padding: 10px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  outline: none;
}

.kc-checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.kc-checkbox-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
  color: #4b5563;
  cursor: pointer;
}
.kc-checkbox-item input {
  margin-right: 8px;
  accent-color: #111827;
}

/* ── Main Content ────────────────────────────────────────────────────── */
.kc-board-main {
  flex: 1;
  min-width: 0;
}

/* Top Search Area */
.kc-search-bar {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}
.kc-search-input-wrap {
  flex: 1;
  position: relative;
}
.kc-search-input-wrap input {
  width: 100%;
  padding: 14px 14px 14px 40px;
  border: 1px solid #e5e7eb;
  border-radius: 9999px;
  font-size: 1rem;
  font-family: "Inter", sans-serif;
  outline: none;
  background: #f9fafb;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.kc-search-input-wrap input:focus {
  border-color: #d1d5db;
  background: #fff;
}
.kc-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
}
.kc-btn-search {
  background: #0f172a;
  color: white;
  border: none;
  padding: 0 32px;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  font-family: "Inter", sans-serif;
  transition: background 0.2s;
}
.kc-btn-search:hover {
  background: #1e293b;
}

/* Category Pills */
.kc-category-pills {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 12px;
  margin-bottom: 12px;
  scrollbar-width: none;
}
.kc-category-pills::-webkit-scrollbar {
  display: none;
}
.kc-pill {
  background: #f3f4f6;
  color: #4b5563;
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}
.kc-pill:hover,
.kc-pill.active {
  background: #0f172a;
  color: white;
}

/* Results Header */
.kc-results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.kc-results-count {
  font-size: 0.95rem;
  color: #6b7280;
  font-weight: 500;
}
.kc-sort-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #4b5563;
}
.kc-sort-select {
  border: none;
  background: transparent;
  font-weight: 600;
  font-family: "Inter", sans-serif;
  outline: none;
  cursor: pointer;
}

/* ── Job Cards ───────────────────────────────────────────────────────── */
.kc-jobs-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.kc-job-card {
  border: 1px solid #f3f4f6;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition:
    box-shadow 0.2s,
    border-color 0.2s;
  background: #fff;
}
.kc-job-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border-color: #e5e7eb;
}

.kc-jc-left {
  display: flex;
  gap: 20px;
  align-items: center;
  flex: 1;
}
.kc-jc-logo {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
  background: #f9fafb;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.kc-jc-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.kc-jc-info {
  flex: 1;
}
.kc-jc-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 6px;
}
.kc-jc-meta {
  display: flex;
  gap: 16px;
  font-size: 0.85rem;
  color: #6b7280;
  margin: 0;
}
.kc-jc-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.kc-jc-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  flex-shrink: 0;
}
.kc-jc-top-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.85rem;
  color: #6b7280;
}
.kc-jc-salary {
  color: #10b981;
  font-weight: 600;
}
.kc-jc-actions {
  display: flex;
  gap: 12px;
}

.kc-btn-card-apply {
  background: #0f172a;
  color: white;
  padding: 8px 24px;
  border-radius: 9999px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.2s;
}
.kc-btn-card-apply:hover {
  background: #1e293b;
  color: white;
}
.kc-btn-card-view {
  border: 1px solid #d1d5db;
  color: #374151;
  padding: 8px 24px;
  border-radius: 9999px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s;
}
.kc-btn-card-view:hover {
  background: #f3f4f6;
  color: #111827;
}

/* Loader */
.kc-jobs-loader {
  text-align: center;
  padding: 60px 0;
  color: #9ca3af;
  font-size: 1.1rem;
}

/* ── Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 992px) {
  .kc-board-wrapper {
    flex-direction: column;
  }
  .kc-board-sidebar {
    width: 100%;
  }
  .kc-job-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .kc-jc-right {
    align-items: flex-start;
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (max-width: 768px) {
  .kc-search-bar {
    gap: 8px;
  }
  .kc-search-input-wrap input {
    padding: 12px 16px 12px 40px;
    font-size: 0.95rem;
  }
  .kc-btn-search {
    padding: 12px 20px;
    flex-shrink: 0;
  }

  .kc-results-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .kc-job-card {
    padding: 16px;
    gap: 16px;
  }

  .kc-jc-left {
    align-items: flex-start;
    gap: 12px;
  }
  .kc-jc-logo {
    width: 48px;
    height: 48px;
  }
  .kc-jc-title {
    font-size: 1.05rem;
    margin-bottom: 8px;
  }
  .kc-jc-meta {
    flex-direction: column;
    gap: 6px;
  }
  .kc-jc-meta span {
    white-space: normal;
  }

  .kc-jc-right {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
    gap: 16px;
  }
  .kc-jc-top-meta {
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
  }

  .kc-jc-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
  }
  .kc-btn-card-apply,
  .kc-btn-card-view {
    text-align: center;
    padding: 10px 16px;
    width: 100%;
    box-sizing: border-box;
  }
}

/* ── Application Form ───────────────────────────────────────────────── */
.kc-application-form-wrapper {
  font-family: "Inter", sans-serif;
}
.kc-apply-form {
  max-width: 100%;
  font-family:
    "Inter",
    -apple-system,
    sans-serif;
}
.kc-apply-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}
.kc-apply-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.kc-apply-field label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #111827;
}
.kc-apply-field input[type="text"],
.kc-apply-field input[type="email"],
.kc-apply-field input[type="tel"] {
  padding: 14px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font-size: 0.9rem;
  font-family: inherit;
  color: #374151;
  background: #fafafa;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  outline: none;
  box-sizing: border-box;
}
.kc-apply-field input:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
  background: #fff;
}
.kc-apply-field input::placeholder {
  color: #9ca3af;
}

/* CV Upload */
.kc-cv-upload-area {
  border: 2px dashed #d1d5db;
  border-radius: 12px;
  padding: 32px;
  text-align: center;
  cursor: pointer;
  transition:
    border-color 0.2s,
    background 0.2s;
  position: relative;
  background: #fafafa;
}
.kc-cv-upload-area:hover {
  border-color: #6366f1;
  background: #f5f3ff;
}
.kc-cv-upload-area.has-file {
  border-color: #10b981;
  background: #f0fdf4;
}
.kc-cv-upload-icon {
  font-size: 28px;
  margin-bottom: 6px;
  color: #6b7280;
}
.kc-cv-upload-text {
  font-size: 0.85rem;
  color: #9ca3af;
}
.kc-cv-upload-name {
  font-size: 0.85rem;
  color: #10b981;
  font-weight: 600;
  margin-top: 6px;
  display: none;
}
.kc-cv-upload-area input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

/* Apply Now Button */
.kc-apply-submit {
  display: block;
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 9999px;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  margin-top: 32px;
  background: #0f172a;
  color: #fff;
  transition:
    background 0.2s,
    transform 0.2s;
}
.kc-apply-submit:hover {
  background: #1e293b;
  transform: translateY(-1px);
}

.kc-btn {
  background: #030811;
  color: #fff;
  padding: 12px 24px;
  border: none;
  border-radius: 999px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  font-family: "Inter", sans-serif;
  transition: 0.5s;
}
.kc-btn:hover {
  background: #e86155;
  color: #fff;
  transition: 0.5s;
}

@media (max-width: 600px) {
  .kc-apply-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ── Single Job Page ────────────────────────────────────────────────── */
.kc-single-job-wrapper {
  font-family: "Inter", sans-serif;
  max-width: 900px;
  margin: 40px auto;
  color: #111827;
  line-height: 1.6;
}

/* Header Section */
.kc-job-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
}
.kc-job-header-left {
  display: flex;
  gap: 20px;
  align-items: center;
}
.kc-job-header-logo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  background: #f3f4f6;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}
.kc-job-header-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.kc-jh-title {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: #111827;
}
.kc-jh-company {
  font-size: 1rem;
  color: #6b7280;
  margin: 0 0 4px;
}
.kc-jh-address {
  font-size: 0.9rem;
  color: #9ca3af;
  margin: 0;
}
.kc-btn-share {
  background: #10b981;
  color: white;
  border: none;
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Inter", sans-serif;
  transition: background 0.2s;
}
.kc-btn-share:hover {
  background: #059669;
}

/* Employment Details Strip */
.kc-job-section-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 16px;
  color: #111827;
}
.kc-job-details-strip {
  background: #f9fafb;
  border-radius: 8px;
  padding: 20px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
}
.kc-jd-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.kc-jd-label {
  font-weight: 600;
  font-size: 0.95rem;
  color: #111827;
  margin: 0;
}
.kc-jd-value {
  color: #6b7280;
  font-size: 0.95rem;
  margin: 0;
}

/* Content Sections */
.kc-job-content-section {
  margin-bottom: 32px;
}
.kc-job-text {
  color: #4b5563;
  font-size: 0.95rem;
  white-space: pre-wrap;
  margin: 0;
}

/* Two Column Split for Reqs and Benefits */
.kc-job-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 768px) {
  .kc-single-job-wrapper {
    margin: 20px auto;
  }
  .kc-job-split {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .kc-job-details-strip {
    gap: 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 16px 20px;
  }
  .kc-job-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 24px;
  }
  .kc-jh-title {
    font-size: 1.5rem;
  }
  .kc-btn-share {
    width: 100%;
    justify-content: center;
  }
}
@media (max-width: 480px) {
  .kc-job-details-strip {
    grid-template-columns: 1fr;
  }
  .kc-job-header-left {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Apply Button Bottom */
.kc-job-bottom-action {
  margin-top: 60px;
  text-align: center;
}
.kc-btn-apply-main {
  background: #0f172a;
  color: white;
  text-decoration: none;
  padding: 16px 40px;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 1.1rem;
  display: inline-block;
  transition: background 0.2s;
  width: 100%;
  max-width: 400px;
  box-sizing: border-box;
  text-align: center;
}
.kc-btn-apply-main:hover {
  background: #1e293b;
  color: white;
}
