/* ===================================
   KBOO-STYLE FREELANCE JOBS PAGE
   Pink accent, two-column layout, job cards
   FIGMA design spec
   =================================== */

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

:root {
  --kboo-pink: #FF2F63;
  --kboo-pink-dark: #e02857;
  --kboo-pink-border: #FFA7BD;
  --kboo-pink-bg: #FFE7ED;
  --kboo-dark: #2D3540;
  --kboo-grey: #999999;
  --kboo-blue: #549FFB;
  --kboo-success: #28A745;
  --kboo-white: #FDFDFD;
}

/* Hero with background image */
.find-jobs-advanced-section.kboo-jobs-page {
  position: relative;
}

.search-header-section.kboo-hero-section {
  background: none;
  position: relative;
  padding: 60px 0 80px;
}

.search-header-section.kboo-hero-section::before {
  display: none;
}

.kboo-hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  min-height: 420px;
  height: 500px;
  background: linear-gradient(0deg, rgba(45, 53, 64, 0.6), rgba(45, 53, 64, 0.6)), url('../images/bacad3128e4fc05d2b80abe02aad57b0.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.kboo-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(45, 53, 64, 0.5);
}

.kboo-hero-section .container {
  position: relative;
  z-index: 2;
}

/* ===================================
   FIGMA SEARCH BOX - Group 1795
   White card, 1088px, 126px inner, rounded 15px
   =================================== */
.kboo-hero-section .advanced-search-container {
  max-width: 1088px;
  margin: 0 auto;
}

.kboo-hero-section .advanced-search-form {
  background: var(--kboo-white);
  border: 1px solid #E6E6E6;
  box-shadow: 2px 2px 25px rgba(30, 30, 30, 0.2);
  border-radius: 15px;
  padding: 19px;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  max-width: 1088px;
  margin: 0 auto;
}

/* Frame 1599 - Search row: input + Search + Filters */
.kboo-hero-section .search-main-row {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 10px;
  margin-bottom: 13px;
  width: 100%;
}

.kboo-hero-section .search-actions {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 10px;
  flex-shrink: 0;
}

/* Group 1794 - Search input */
.kboo-hero-section .search-input-wrapper {
  flex: 1;
  min-width: 0;
}

.kboo-hero-section .search-input {
  width: 100%;
  height: 46px;
  padding: 0 18px;
  background: var(--kboo-white);
  border: 1px solid #EDEDED;
  box-shadow: inset 0px 0px 10px rgba(153, 153, 153, 0.15);
  border-radius: 10px;
  font-family: 'Montserrat', inherit;
  font-weight: 400;
  font-size: 14px;
  line-height: 17px;
  color: var(--kboo-dark);
}

.kboo-hero-section .search-input::placeholder {
  color: #999999;
}

.kboo-hero-section .search-input:focus {
  outline: none;
  border-color: var(--kboo-pink-border);
}

/* Group 1762 - Search button */
.kboo-hero-section .btn-search {
  width: 135px;
  height: 48px;
  min-width: 135px;
  padding: 0;
  background: #FF2F63;
  border: none;
  border-radius: 10px;
  font-family: 'Montserrat', inherit;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  color: #FDFDFD;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.kboo-hero-section .btn-search:hover {
  background: var(--kboo-pink-dark);
}

/* Group 1793 - Filters button */
.kboo-hero-section .btn-filter-toggle {
  width: 135px;
  height: 48px;
  min-width: 135px;
  padding: 0 16px;
  background: #2D3540;
  border: none;
  border-radius: 10px;
  font-family: 'Montserrat', inherit;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  color: #FDFDFD;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.kboo-hero-section .btn-filter-toggle:hover,
.kboo-hero-section .btn-filter-toggle.active {
  background: #3d4754;
  color: #FDFDFD;
}

.kboo-hero-section .btn-filter-toggle i {
  color: #FDFDFD;
}

/* Frame 1600 - Quick Filters row */
.kboo-hero-section .quick-filters {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.kboo-hero-section .quick-filter-label {
  font-family: 'Montserrat', inherit;
  font-weight: 700;
  font-size: 14px;
  line-height: 28px;
  color: #FF2F63;
  flex-shrink: 0;
}

.kboo-hero-section .filter-pills {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Pill buttons - Frame 1585 (active) / 1586, 1587 (inactive) */
.kboo-hero-section .pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 10px;
  min-height: 26px;
  background: var(--kboo-white);
  border: 1px solid #FFA7BD;
  border-radius: 9999px;
  font-family: 'Montserrat', inherit;
  font-weight: 500;
  font-size: 14px;
  line-height: 17px;
  color: #FF2F63;
  cursor: pointer;
  transition: all 0.2s ease;
}

.kboo-hero-section .pill-btn:hover {
  background: var(--kboo-pink-bg);
}

.kboo-hero-section .pill-btn.active {
  background: #FF2F63;
  border-color: #FF2F63;
  color: #FFFFFF;
}

/* Clear filters - text style, not pill */
.kboo-hero-section .pill-btn.pill-clear {
  background: transparent;
  border: none;
  color: #999999;
  font-weight: 400;
}

.kboo-hero-section .pill-btn.pill-clear:hover {
  background: transparent;
  color: var(--kboo-dark);
  text-decoration: underline;
}

/* Hero background responsive - mobile */
@media (max-width: 991px) {
  .kboo-hero-background {
    min-height: 380px;
    height: auto;
  }
  .search-header-section.kboo-hero-section {
    padding: 32px 0 48px;
  }
}

@media (max-width: 576px) {
  .kboo-hero-background {
    min-height: 380px;
  }
  .search-header-section.kboo-hero-section {
    padding: 24px 0 40px;
  }
}

/* Search box responsive */
@media (max-width: 991px) {
  .kboo-hero-section .advanced-search-form {
    padding: 16px;
  }
  .kboo-hero-section .search-main-row {
    flex-wrap: wrap;
  }
  .kboo-hero-section .btn-search,
  .kboo-hero-section .btn-filter-toggle {
    flex: 1;
    min-width: 120px;
  }
}

@media (max-width: 576px) {
  .kboo-hero-section .search-main-row {
    flex-direction: column;
    gap: 10px;
  }
  .kboo-hero-section .search-actions {
    display: flex;
    width: 100%;
    gap: 10px;
  }
  .kboo-hero-section .btn-search,
  .kboo-hero-section .btn-filter-toggle {
    flex: 1;
    min-width: 0;
  }
  .kboo-hero-section .quick-filters {
    display: none;
  }
}

/* Main two-column grid */
.kboo-main-section {
  padding: 40px 0 60px;
}

.kboo-main-grid {
  display: grid;
  grid-template-columns: 278px 1fr;
  gap: 32px;
  align-items: start;
}

@media (max-width: 991px) {
  .kboo-main-grid {
    grid-template-columns: 1fr;
  }
  .kboo-sidebar {
    order: 2;
    position: relative;
    top: 0;
  }
  .advanced-filters-panel.kboo-filters-panel {
    display: none;
  }
  .advanced-filters-panel.kboo-filters-panel.kboo-mobile-show {
    display: block !important;
  }
}

/* Desktop: sidebar filters always visible */
@media (min-width: 992px) {
  .advanced-filters-panel.kboo-filters-panel {
    display: block !important;
  }
}

/* Sidebar filters */
.kboo-sidebar {
  position: sticky;
  top: 100px;
  width: 278px;
}

/* FIGMA Filter Panel - 278px card style */
.kboo-filters-figma {
  width: 278px;
  background: var(--kboo-white) !important;
  border: 1px solid #E6E6E6 !important;
  box-shadow: 2px 2px 25px rgba(178, 178, 178, 0.1) !important;
  border-radius: 15px !important;
  padding: 0 !important;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
}

.kboo-filters-figma .kboo-filters-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 25px 16px;
  margin: 0;
  border: none;
}

.kboo-filters-figma .kboo-filters-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
  color: var(--kboo-dark);
  margin: 0;
}

.kboo-filters-figma .kboo-clear-all {
  font-size: 12px;
  font-weight: 600;
  line-height: 18px;
  color: var(--kboo-pink);
  text-decoration: none;
}

.kboo-filters-figma .kboo-clear-all:hover {
  color: var(--kboo-pink-dark);
  text-decoration: underline;
}

.kboo-filters-separator {
  border: 0.5px solid #EDEDED;
  margin: 0 25px;
}

.kboo-filters-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px 25px 25px;
  gap: 20px;
}

.kboo-filter-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  max-width: 228px;
}

.kboo-filter-label {
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  color: var(--kboo-dark);
}

.kboo-filter-label-bold {
  font-weight: 700;
  font-size: 14px;
  line-height: 21px;
}

.kboo-filter-select {
  width: 100%;
  height: 46px;
  padding: 0 40px 0 16px;
  background: var(--kboo-white);
  border: 1px solid #EDEDED;
  box-shadow: inset 0px 0px 10px rgba(153, 153, 153, 0.1);
  border-radius: 10px;
  font-family: inherit;
  font-weight: 400;
  font-size: 14px;
  line-height: 17px;
  color: var(--kboo-dark);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='8' height='4' viewBox='0 0 8 4' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 0.5L4 3.5L7 0.5' stroke='%23999999' stroke-width='1'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}

.kboo-filter-select:focus {
  outline: none;
  border-color: var(--kboo-pink-border);
}

.kboo-price-inputs {
  display: flex;
  align-items: center;
  gap: 12px;
}

.kboo-price-input {
  width: 80px;
  height: 36px;
  padding: 0 12px;
  background: var(--kboo-white);
  border: 1px solid #EDEDED;
  box-shadow: inset 0px 0px 10px rgba(153, 153, 153, 0.1);
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  color: var(--kboo-dark);
}

.kboo-price-input:focus {
  outline: none;
  border-color: var(--kboo-pink-border);
}

.kboo-price-to {
  font-size: 12px;
  font-weight: 400;
  line-height: 18px;
  color: var(--kboo-grey);
}

.kboo-price-radios,
.kboo-deadline-radios {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.kboo-radio-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 400;
  line-height: 18px;
  color: var(--kboo-dark);
  cursor: pointer;
}

.kboo-radio-label input[type="radio"] {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--kboo-pink);
  cursor: pointer;
  flex-shrink: 0;
}

.kboo-verification-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.kboo-check-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 400;
  line-height: 18px;
  color: var(--kboo-dark);
  cursor: pointer;
}

.kboo-check-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--kboo-pink);
  cursor: pointer;
  flex-shrink: 0;
}

.kboo-opt-icon {
  font-size: 14px;
}

.kboo-opt-icon-verified {
  color: #2CAD27;
}

.kboo-opt-icon-featured {
  color: var(--kboo-pink);
}

.kboo-filters-actions-sep {
  width: 100%;
  border: 0.5px solid #DFDFDF;
}

.kboo-filters-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.kboo-btn-apply-filters {
  width: 133px;
  height: 47px;
  background: var(--kboo-pink);
  border: none;
  border-radius: 10px;
  font-family: inherit;
  font-weight: 700;
  font-size: 14px;
  line-height: 21px;
  text-align: center;
  color: var(--kboo-white);
  cursor: pointer;
  transition: background 0.2s ease;
}

.kboo-btn-apply-filters:hover {
  background: var(--kboo-pink-dark);
}

.kboo-btn-clear {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 85px;
  height: 47px;
  background: var(--kboo-white);
  border: 1px solid #E6E6E6;
  border-radius: 10px;
  font-family: inherit;
  font-weight: 600;
  font-size: 14px;
  line-height: 21px;
  text-align: center;
  color: var(--kboo-dark);
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.kboo-btn-clear:hover {
  background: #f8f8f8;
  color: var(--kboo-dark);
}

/* Legacy support */
.kboo-filters-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e2e8f0;
}

.kboo-filters-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--kboo-dark);
  margin: 0;
}

.kboo-clear-all {
  font-size: 0.875rem;
  color: var(--kboo-pink);
  text-decoration: none;
}

.kboo-clear-all:hover {
  color: var(--kboo-pink-dark);
  text-decoration: underline;
}

.advanced-filters-panel.kboo-filters-panel:not(.kboo-filters-figma) {
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  margin-bottom: 24px;
}

/* Join as Freelancer CTA */
.kboo-join-freelancer {
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  margin-top: 20px;
}

.join-freelancer-img {
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 16px;
}

.join-freelancer-img img {
  width: 100%;
  height: auto;
  display: block;
}

.join-freelancer-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--kboo-dark);
  margin-bottom: 12px;
}

.join-freelancer-text {
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 16px;
  line-height: 1.5;
}

.join-freelancer-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.join-freelancer-benefits li {
  padding: 6px 0;
  font-size: 0.9rem;
  color: #334155;
}

.join-freelancer-benefits li i {
  color: var(--kboo-pink);
  margin-right: 8px;
}

/* Hide Join as Freelancer CTA on mobile */
@media (max-width: 991px) {
  .kboo-join-freelancer {
    display: none !important;
  }
}

.kboo-btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.kboo-btn-primary {
  background: var(--kboo-pink);
  color: #fff;
}

.kboo-btn-primary:hover {
  background: var(--kboo-pink-dark);
  color: #fff;
}

.kboo-btn-block {
  display: block;
  width: 100%;
}

.kboo-trusted-platform {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #28A745;
  margin: 14px 0 12px 0;
}

.kboo-trusted-icon {
  display: inline-flex;
  flex-shrink: 0;
}

.kboo-sign-in-prompt {
  font-size: 0.875rem;
  color: #64748b;
  margin: 0;
  text-align: center;
}

.kboo-sign-in-prompt a {
  color: var(--kboo-pink);
  font-weight: 600;
  text-decoration: none;
}

.kboo-sign-in-prompt a:hover {
  color: var(--kboo-pink-dark);
  text-decoration: underline;
}

/* Results header */
.kboo-results-header {
  margin-bottom: 24px;
}

.kboo-results-count {
  font-size: 1rem;
  color: #64748b;
  margin: 0;
}

.kboo-results-count .count-number {
  font-weight: 700;
  color: var(--kboo-dark);
}

/* Job cards - FIGMA design match */
.kboo-jobs-main .jobs-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.kboo-job-card {
  background: var(--kboo-white);
  border: 1px solid #E6E6E6;
  border-radius: 15px;
  box-shadow: 2px 2px 25px rgba(178, 178, 178, 0.1);
  overflow: hidden;
  min-height: 320px;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
}

.kboo-job-card:hover {
  box-shadow: 2px 4px 30px rgba(178, 178, 178, 0.15);
}

.kboo-job-card-inner {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 25px 31px;
  gap: 30px;
  min-height: 270px;
}

/* Left section - Job details */
.kboo-job-left {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 15px;
  flex: 1;
  min-width: 0;
}

/* Top skill tags - outline style */
/* Frame 1591 - Top skill tags container */
.kboo-skill-tags-top {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0;
  gap: 10px;
  height: 18px;
  flex: none;
}

/* Frame 1585/1586/1587 - Individual outline tags */
.kboo-skill-tag-outline {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 5px 10px;
  gap: 10px;
  min-height: 18px;
  border: 1px solid #FFA7BD;
  border-radius: 9999px;
  flex: none;
  flex-grow: 0;
  font-family: 'Montserrat', inherit;
  font-style: normal;
  font-weight: 500;
  font-size: 10px;
  line-height: 12px;
  color: #FF2F63;
  white-space: nowrap;
}

/* Bottom skill tags - filled style */
.kboo-skill-tags-bottom {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.kboo-skill-tag-filled {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 10px;
  background: var(--kboo-pink-bg);
  border: 1px solid var(--kboo-pink-border);
  border-radius: 9999px;
  font-family: inherit;
  font-weight: 500;
  font-size: 12px;
  line-height: 15px;
  color: var(--kboo-dark);
}

/* Company */
.kboo-company {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 22px;
  flex: none;
  align-self: stretch;
  flex-grow: 0;
}

.kboo-company-icon {
  font-size: 14px;
  color: var(--kboo-dark);
  flex-shrink: 0;
}

.kboo-company-name {
  font-family: 'Montserrat', inherit;
  font-style: normal;
  font-weight: 700;
  font-size: 16px;
  line-height: 22px;
  color: #2D3540;
}

/* Category */
.kboo-category {
  height: 15px;
  flex: none;
  align-self: stretch;
  flex-grow: 0;
}

.kboo-category a {
  font-family: 'Montserrat', inherit;
  font-style: normal;
  font-size: 12px;
  line-height: 15px;
  color: #549FFB;
  text-decoration: none;
}

.kboo-category a:hover {
  text-decoration: underline;
}

.kboo-category-label {
  font-weight: 400;
}

.kboo-category-name {
  font-weight: 700;
}

/* Job title */
.kboo-job-title {
  margin: 0;
}

.kboo-job-title a {
  font-family: inherit;
  font-weight: 700;
  font-size: 20px;
  line-height: 24px;
  color: var(--kboo-dark);
  text-decoration: none;
}

.kboo-job-title a:hover {
  color: var(--kboo-pink);
}

/* Dates row */
.kboo-dates {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.kboo-posted,
.kboo-ends {
  font-family: inherit;
  font-weight: 400;
  font-size: 12px;
  line-height: 15px;
  color: var(--kboo-grey);
}

.kboo-date-sep {
  width: 10px;
  height: 0;
  border: 0.5px solid var(--kboo-grey);
  transform: rotate(90deg);
}

/* Description */
.kboo-job-desc {
  font-family: inherit;
  font-weight: 400;
  font-size: 12px;
  line-height: 15px;
  color: var(--kboo-dark);
  margin: 0;
}

/* Required languages */
.kboo-languages-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}

.kboo-languages-label {
  font-family: inherit;
  font-weight: 700;
  font-size: 12px;
  line-height: 15px;
  color: var(--kboo-dark);
}

.kboo-languages-list {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}

.kboo-lang-item {
  font-family: inherit;
  font-weight: 700;
  font-size: 12px;
  line-height: 15px;
  color: var(--kboo-pink);
}

.kboo-lang-sep {
  width: 10px;
  height: 0;
  border: 0.5px solid var(--kboo-pink);
  transform: rotate(90deg);
}

/* Right section - Summary & Action */
/* Frame 1590 - Right section */
.kboo-job-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  padding: 0;
  gap: 15px;
  flex-shrink: 0;
  width: 215px;
}

/* Group 1770 - Verified */
.kboo-verified {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 16px;
  flex: none;
  flex-grow: 0;
}

.kboo-verified-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.kboo-verified-icon svg {
  display: block;
  width: 12px;
  height: 12px;
}

.kboo-verified-text {
  font-family: 'Montserrat', inherit;
  font-style: normal;
  font-weight: 700;
  font-size: 12px;
  line-height: 16px;
  color: #28A745;
}

/* Rate - $25-50/hour - FIGMA spec */
.kboo-rate {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  font-family: 'Montserrat', inherit;
  font-style: normal;
  font-weight: 700;
  font-size: 20px;
  line-height: 28px;
  text-align: right;
  color: #FF2F63;
}

/* Entry Level */
.kboo-experience {
  width: 100%;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  font-family: 'Montserrat', inherit;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  text-align: right;
  text-transform: capitalize;
  color: #999999;
  flex: none;
  align-self: stretch;
  flex-grow: 0;
}

/* Deadline */
.kboo-deadline {
  width: 100%;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  font-family: 'Montserrat', inherit;
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
  line-height: 20px;
  text-align: right;
  text-transform: capitalize;
  color: #2D3540;
  flex: none;
  align-self: stretch;
  flex-grow: 0;
}

/* Group 1762 - Apply Now button */
.kboo-btn-apply {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 135px;
  height: 48px;
  background: #FF2F63;
  border-radius: 10px;
  font-family: 'Montserrat', inherit;
  font-style: normal;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  color: #FDFDFD !important;
  text-decoration: none;
  transition: background 0.2s ease;
}

.kboo-btn-apply:hover {
  background: var(--kboo-pink-dark);
  color: #FDFDFD !important;
}

.kboo-bids-apply-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 15px;
  width: 100%;
}

.kboo-bids {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  order: 1;
}

.kboo-bids-count {
  font-family: inherit;
  font-weight: 400;
  font-size: 12px;
  line-height: 15px;
  text-align: right;
  color: #FF2F63;
}

.kboo-bids-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 19px;
  height: 19px;
}

.kboo-bids-icon svg {
  display: block;
  width: 19px;
  height: 19px;
}

.kboo-bids-apply-row .kboo-btn-apply {
  order: 2;
}

/* Responsive - desktop unchanged; mobile-only overrides for card-view */
@media (max-width: 768px) {
  .kboo-job-card-inner {
    flex-direction: column;
  }
  .kboo-job-right {
    width: 100%;
    align-items: flex-start;
  }
  .kboo-rate,
  .kboo-experience,
  .kboo-deadline {
    text-align: left;
  }
  .kboo-bids-apply-row {
    justify-content: flex-start;
  }

  /* Mobile-optimized card layout: same elements, smaller scale, better skills UX */
  .job-card.kboo-job-card.card-view .kboo-job-card-inner {
    padding: 16px 18px;
    gap: 14px;
    min-height: 0;
  }

  .job-card.kboo-job-card.card-view {
    min-height: 0;
  }

  /* Left section - tighter spacing and mobile-friendly type */
  .job-card.kboo-job-card.card-view .kboo-job-left {
    gap: 10px;
  }

  .job-card.kboo-job-card.card-view .kboo-company-name {
    font-size: 14px;
    line-height: 20px;
  }

  .job-card.kboo-job-card.card-view .kboo-company-icon {
    font-size: 12px;
  }

  .job-card.kboo-job-card.card-view .kboo-category a {
    font-size: 11px;
    line-height: 14px;
  }

  .job-card.kboo-job-card.card-view .kboo-job-title a {
    font-size: 16px;
    line-height: 20px;
  }

  .job-card.kboo-job-card.card-view .kboo-dates,
  .job-card.kboo-job-card.card-view .kboo-posted,
  .job-card.kboo-job-card.card-view .kboo-ends {
    font-size: 11px;
    line-height: 14px;
  }

  .job-card.kboo-job-card.card-view .kboo-job-desc {
    font-size: 11px;
    line-height: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* Skills: single compact row on mobile, smaller tags, wrap */
  .job-card.kboo-job-card.card-view .kboo-skill-tags-top {
    height: auto;
    min-height: 0;
    flex-wrap: wrap;
    gap: 6px;
    row-gap: 6px;
  }

  .job-card.kboo-job-card.card-view .kboo-skill-tag-outline {
    padding: 4px 8px;
    min-height: 0;
    font-size: 9px;
    line-height: 11px;
  }

  /* Single skills row on mobile: show only top outline tags to avoid duplication */
  .job-card.kboo-job-card.card-view .kboo-skill-tags-bottom {
    display: none;
  }

  /* Languages row - smaller, wrap */
  .job-card.kboo-job-card.card-view .kboo-languages-row {
    gap: 6px;
  }

  .job-card.kboo-job-card.card-view .kboo-languages-label,
  .job-card.kboo-job-card.card-view .kboo-lang-item {
    font-size: 11px;
    line-height: 14px;
  }

  /* Right section - compact block, smaller type */
  .job-card.kboo-job-card.card-view .kboo-job-right {
    gap: 10px;
    padding-top: 4px;
    border-top: 1px solid #E6E6E6;
  }

  .job-card.kboo-job-card.card-view .kboo-verified-text {
    font-size: 11px;
    line-height: 14px;
  }

  .job-card.kboo-job-card.card-view .kboo-rate {
    font-size: 16px;
    line-height: 22px;
  }

  .job-card.kboo-job-card.card-view .kboo-experience,
  .job-card.kboo-job-card.card-view .kboo-deadline {
    font-size: 12px;
    line-height: 16px;
  }

  .job-card.kboo-job-card.card-view .kboo-bids-apply-row {
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
  }

  .job-card.kboo-job-card.card-view .kboo-bids-count {
    font-size: 11px;
  }

  .job-card.kboo-job-card.card-view .kboo-btn-apply {
    width: 100%;
    max-width: 100%;
    height: 44px;
    font-size: 14px;
    line-height: 20px;
  }
}

/* CTA Section */
.kboo-cta-section {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
}

.kboo-cta-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  filter: blur(2px) brightness(0.4);
}

.kboo-cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 47, 99, 0.9) 0%, rgba(30, 41, 59, 0.95) 100%);
}

.kboo-cta-container {
  position: relative;
  z-index: 2;
  text-align: center;
}

.kboo-cta-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 24px;
  line-height: 1.2;
}

.kboo-btn-cta {
  display: inline-block;
  padding: 16px 40px;
  background: var(--kboo-pink);
  color: #fff !important;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 9999px;
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: all 0.2s ease;
  margin-bottom: 48px;
}

.kboo-btn-cta:hover {
  background: #fff;
  color: var(--kboo-pink) !important;
}

.kboo-cta-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: left;
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .kboo-cta-features {
    grid-template-columns: 1fr;
  }
  .kboo-cta-title {
    font-size: 1.75rem;
  }
}

.cta-feature h5 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.cta-feature p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.9);
  margin: 0;
  line-height: 1.5;
}

/* Apply filters button in sidebar */
.kboo-btn-apply {
  background: var(--kboo-pink) !important;
  border-color: var(--kboo-pink) !important;
}

/* Empty state */
.kboo-empty-state {
  padding: 60px 20px;
  text-align: center;
}
