/**
* Theme Name: Flex Pons Child
* Description: This is a child theme of Creote, Created for Flex Pons
* Author: Hakan Uzun
* Template: creote
* Version: 1.0.0
*/

/* === FLEX PONS CHILD THEME CUSTOM CSS === */

/* General font settings */
.wpc-filters-main-wrap {
  font-family: "Inter", sans-serif;
  font-size: 15px;
  color: #173557;
}

/* --- FILTER TITLES --- */
.widget-title.wpc-filter-title,
.wpc-filter-title {
  font-size: 18px;
  font-weight: 600;
  color: #009AB2;
  margin-bottom: 12px;
  padding: 0;
  border: none;
  display: block;
  text-align: left;
}

/* Consistent spacing between filters */
.wpc-filters-section {
  margin-bottom: 30px;
}

/* --- CHECKBOX ITEMS --- */
.wpc-term-item-content-wrapper {
  display: flex;
  align-items: center;
  margin-bottom: 6px;
}

.wpc-term-item-content-wrapper input[type="checkbox"] {
  margin-right: 8px;
  accent-color: #009AB2;
  transform: scale(1.1);
}

/* Checkbox label links */
.wpc-filter-link {
  color: #173557;
  font-weight: 500;
  text-decoration: none;
}

.wpc-filter-link:hover {
  text-decoration: underline;
}

/* Count styling */
.wpc-term-count {
  color: #7a7a7a;
  font-size: 14px;
}

/* Tag-like labels (e.g. full time) */
.wpc-filters-labels .wpc-label-item label {
  background-color: #f2f7f8;
  border-radius: 4px;
  padding: 6px 12px;
  display: inline-block;
  color: #173557;
  font-weight: 600;
  margin-bottom: 6px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.wpc-filters-labels .wpc-label-item label:hover {
  background-color: #dff3f6;
}

/* Apply / Close buttons */
.wpc-filters-widget-controls-wrapper a {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  margin-top: 12px;
  transition: background 0.3s ease;
}

.wpc-filters-apply-button {
  background-color: #009AB2;
  color: white;
}

.wpc-filters-apply-button:hover {
  background-color: #007e94;
}

.wpc-filters-close-button {
  background-color: #e5e5e5;
  color: #173557;
}

.wpc-filters-close-button:hover {
  background-color: #cccccc;
}

/* --- POSTS FOUND --- */
.wpc-posts-found {
  margin: 24px 0 15px;
  padding: 10px;
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  font-size: 16px;
  color: #333;
  display: none;
}

.wpc-posts-found:not(:empty) {
  display: block;
}

.wpc-posts-found p {
  margin: 0;
}

.wpc-posts-found .wpc-posts-found-number {
  font-weight: bold;
  color: #2c3e50;
}

/* --- JOB DETAIL BLOCKS --- */
.job-detail-item {
  background-color: #173557;
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 6px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  gap: 6px;
  line-height: 1.2;
}

.job-detail-item i {
  color: #009AB2;
  font-size: 14px;
}

/* --- SOLLICITEER BUTTON --- */
.solliciteer-button {
  display: inline-block;
  background-color: #009AB2;
  color: #FFFFFF;
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  margin-top: 10px;
}

.solliciteer-button:hover {
  background-color: #173557;
  color: #FFFFFF;
}

/* --- ERROR MESSAGE --- */
.jobs_error-message {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background-color: #ffeded;
  color: #d9534f;
  font-size: 16px;
  font-weight: 600;
  padding: 12px 15px;
  border-left: 5px solid #d9534f;
  border-radius: 5px;
  margin-bottom: 15px;
}

.jobs_error-message i {
  color: #d9534f;
  font-size: 18px;
}

/* --- BACK TO OVERVIEW --- */
.jobs_back-to-overview {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #173251;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.jobs_back-to-overview i {
  color: #ffffff;
  font-size: 16px;
  transition: transform 0.3s ease;
}

.jobs_back-to-overview:hover {
  color: #173251;
  background-color: #009ab2;
}

.jobs_back-to-overview:hover i {
  transform: translateX(-3px);
}

/* --- FILTER BAR FLEX LAYOUT --- */
#flex-recruit-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

#flex-recruit-filter div {
  flex: 1;
  min-width: 150px;
}

button#filter-button {
  background: #0073aa;
  color: white;
  padding: 10px 15px;
  border: none;
  cursor: pointer;
}

button#filter-button:hover {
  background: #005f7f;
}

/* --- RESULT CARDS --- */
#filtered-results .vacature {
  border-bottom: 1px solid #ddd;
  padding: 10px 0;
}

/* --- WIDGET STYLING CLEANUP --- */
.widgets_grid_box .widget .widget-title,
.widgets_grid_box .widget .wp-block-search__label,
.widgets_grid_box .widget .wp-block-group__inner-container h2,
.widgets_grid_box .widget .widget_block.widget_text p {
  margin-bottom: 10px;
}

/* --- BACK LINK --- */
.job-back-link {
  margin-bottom: 30px;
}

.jobs-back-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background-color: #009AB2;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.jobs-back-button:hover {
  background-color: #173557;
  color: #FFFFFF;
}

/* --- HEADER BANNER FIX --- */
.page_header_default.flex-recruit-header {
  max-height: 40px;
  margin-bottom: 0;
}

@media screen and (max-width: 768px) {
  .page_header_default.flex-recruit-header {
    height: 120px !important;
    min-height: 120px !important;
    padding: 0 !important;
    overflow: hidden;
  }

  .page_header_default.flex-recruit-header .parallax_cover {
    height: 100% !important;
    overflow: hidden;
  }

  .page_header_default.flex-recruit-header .parallax_cover img {
    height: 100% !important;
    width: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    max-height: 140px !important;
    display: block;
  }
}

/* --- PADDING FIX FOR JOB DETAILS --- */
.single-flex_recruit .content-area.service {
  padding-top: 40px;
}

/* --- FLEXBOX BOX HEIGHT FIX --- */
.icon_box_all.style_five .icon_content {
  position: relative;
  padding: 40px 30px 30px;
  min-height: 300px !important;
  max-height: 300px !important;
  background: #fff;
  box-shadow: var(--box-shadow);
  overflow: hidden;
  border-radius: 10px;
  border: 3px solid #fff;
  transition: all 700ms ease 100ms;
}

@media (min-width: 776px) and (max-width: 1024px) {
  .icon_box_all.style_five .icon_content {
    min-height: 320px !important;
    max-height: 320px !important;
  }
}

/* Final style for WPC filter titles - force override */
.widget-title.wpc-filter-title,
.wpc-filter-title {
  font-size: 24px !important;
  font-weight: 700 !important;
  color: #173557 !important; /* Donkerblauw zoals "In het kort" */
  padding: 0 !important;
  margin: 0 0 12px 0 !important;
  border: none !important;
  display: block !important;
  line-height: 1.4 !important;
}

/* Verwijder iconen en decoratie */
.wpc-filter-title::before,
.wpc-filter-title::after {
  display: none !important;
}


.quform .quform-field {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* Checkbox specifiek */
.quform input[type="checkbox"] {
  width: 16px !important;
  height: 16px!important;
  border: 1px solid #ccc !important;
  appearance: none !important;
  background-color: #fff !important;
}

.quform input[type="checkbox"]:checked::before {
  content: '✔' !important;
  color: #173557 !important;
  font-size: 11px !important;
  font-weight: bold !important;
  display: block !important;
  text-align: center !important;
  line-height: 16px !important;
}

/* Quform verzendknop in Flex Pons-stijl met !important */
.quform-submit {
  background-color: #009AB2 !important;
  color: #ffffff !important;
  border: none !important;
  padding: 12px 24px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  transition: background-color 0.3s ease !important;
  display: inline-block !important;
  text-align: center !important;
}

.quform-submit:hover {
  background-color: #007e94 !important;
  color: #ffffff !important;
}
