/* Grid Layout */

/* Fix voor paginering */
.recruitnow-vacancies-container {
    display: flex;
    flex-direction: column;
}

.vacancy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    padding: 30px 0;
    order: 1; /* Zorgt ervoor dat het grid eerst komt */
}

/* Voeg deze media query toe voor mobiele apparaten */
@media (max-width: 767px) {
    .vacancy-grid {
        grid-template-columns: 1fr; /* Zorgt voor één kolom op mobiel */
        gap: 20px;
    }
    
    /* Zorg dat vacature items niet in elkaar gedrukt worden */
    .vacancy-item {
        width: 100%;
        min-height: auto;
        margin-bottom: 20px;
    }
}

.recruitnow-favorites-container .vacancy-grid {
    display: grid;
    gap: 30px;
    padding: 30px 0;
    order: 1;
}


.home .vacancy-body {
  flex-grow: 1; /* vult de ruimte tot onderaan */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 0px solid #431c49; /* kies je kleur */
  border-top: none; /* geen rand bovenaan */
  border-radius: 0 0 8px 8px;
  padding: 16px;
  background: #387787; /* zelfde kleur als de parent, anders zie je een scheiding */
}

.vacancy-body {
  flex-grow: 1; /* vult de ruimte tot onderaan */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 0px solid #431c49; /* kies je kleur */
  border-top: none; /* geen rand bovenaan */
  border-radius: 0 0 8px 8px;
  padding: 16px;
  background: #fff; /* zelfde kleur als de parent, anders zie je een scheiding */
}

/* Filter Styling */
.vacancy-filters {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.vacancy-filter-form {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}

.vacancy-filter-form input,
.vacancy-filter-form select {
    padding: 12px !important;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    min-width: 200px;
    font-size: 15px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #fff;
}

.vacancy-filter-form select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px !important;
}

.vacancy-filter-form button {
    padding: 12px 24px;
    background: #431c49; /* Will be overridden by dynamic styles */
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.vacancy-filter-form button:hover {
    background: #431c49; /* Will be overridden by dynamic styles */
    transform: translateY(-1px);
}

.recruitnow-location-autocomplete {
    position: relative;
    min-width: 200px;
    flex: 1 1 200px;
    max-width: 300px;
}

@media (max-width: 768px) {
    .vacancy-filter-form {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .vacancy-filter-form input,
    .vacancy-filter-form select {
        min-width: 100% !important;
        width: 100% !important;
        font-size: 16px !important;
        padding: 12px !important;
        border: 1px solid #dee2e6 !important;
        border-radius: 6px !important;
        box-sizing: border-box !important;
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        background-color: #fff;
    }

    .vacancy-filter-form select {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 12px center;
        padding-right: 40px !important;
    }

    .vacancy-filter-form button {
        width: 100%;
        padding: 12px;
        font-size: 16px;
    }

    .recruitnow-location-autocomplete {
        min-width: 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        flex: 0 0 auto !important;
        margin: 0;
    }

    .recruitnow-location-autocomplete .location-autocomplete-input {
        width: 100% !important;
        box-sizing: border-box;
    }
}

.recruitnow-location-autocomplete .location-autocomplete-input {
    width: 100%;
}

.location-suggestions {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #431c49;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    max-height: 260px;
    overflow-y: auto;
    z-index: 15;
    display: none;
}

.location-suggestions.is-visible {
    display: block;
}

.location-suggestion-item {
    width: 100%;
    text-align: left;
    padding: 10px 14px;
    border: none;
    background: #431c49 !important;
    color: #fff !important;
    cursor: pointer;
    font-size: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.location-suggestion-item:hover:not(.is-empty) {
    background: #387787 !important;
    color: #fff !important;
}

.location-suggestion-item.is-active {
    background: #387787 !important;
    color: #fff !important;
}

.location-suggestion-item.is-empty {
    cursor: default;
    color: rgba(255, 255, 255, 0.6) !important;
}

.location-suggestion-item.is-empty:hover {
    background: #431c49 !important;
    color: rgba(255, 255, 255, 0.6) !important;
}

.location-suggestion-item:last-child {
    border-bottom: none;
}

@media (max-width: 768px) {
    .recruitnow-location-autocomplete {
        min-width: 100%;
    }
}

/* Vacancy Items */
.vacancy-item {
    border: 3px solid #dee2e6;
    padding: 25px;
    border-radius: 8px;
    background: #431c49;
    /*box-shadow: 0 2px 8px rgba(0,0,0,0.05);*/
    transition: transform 0.3s ease;
}

.vacancy-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.vacancy-meta {
    margin: 15px 0;
}

.vacancy-meta-item {
    margin-bottom: 8px;
    color: #495057;
}

.vacancy-excerpt {
    margin: 15px 0;
    color: #6c757d;
    line-height: 1.6;
}

/* Pagination */
.vacancy-pagination {
    order: 2;
    margin-top: 40px;
    text-align: center;
    width: 100%;
    padding: 20px 0;
}

.vacancy-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    margin: 0 5px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    text-decoration: none;
    color: #495057;
    transition: all 0.3s ease;
    font-weight: 500;
}

.vacancy-pagination .current {
    background: #431c49; /* Will be overridden by dynamic styles */
    color: white;
    border-color: #431c49;
}

.vacancy-pagination .page-numbers:hover:not(.current) {
    background: #f8f9fa;
    border-color: #431c49;
    color: #431c49;
}

@media (max-width: 768px) {
    .vacancy-pagination .page-numbers {
        min-width: 35px;
        height: 35px;
        padding: 0 10px;
        margin: 0 3px;
        font-size: 14px;
    }
}

/* Single Vacancy Page */
body.single-vacancy h1.entry-title {
    display: none !important;
}

.et_pb_post.vacancy,
.vacancy-single,
.vacancy-single .entry-content,
.vacancy-content,
.vacancy-section,
.vacancy-meta,
.vacancy-footer {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Header */
.vacancy-header {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    margin: 0;
    padding: 0;
    line-height: 0;
}

.vacancy-header-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    object-position: 0px -100px;
}

.recruitnow-application-page .vacancy-header-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    object-position: 0px 0px;
}

@media (max-width: 768px) {
    .vacancy-header-image {
      object-position: center center;
    }
}

/* Footer (Orange Bar) */
.vacancy-footer {
    background: #431c49; /* Will be overridden by dynamic styles */
    padding: 30px 20px !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.vacancy-title-meta {
    color: white;
    flex: 1;
}

.vacancy-title {
    color: white;
    margin: 0 0 15px 0;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 700;
}

.vacancy-key-details {
    display: flex;
    gap: 15px;
}

/* Specifieke styling voor key details in de oranje balk op de vacaturepagina */
.vacancy-footer .vacancy-key-details {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px 30px;
}

@media (max-width: 768px) {
    .vacancy-footer .vacancy-key-details {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 15px;
}

/* Actions */
.vacancy-actions {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-left: 40px;
}

.vacancy-apply-button {
    background-color: transparent !important; /* Will be overridden if needed */
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all .3s;
    white-space: nowrap;
	border: 2px solid #fff;
	color: #fff;
}

.vacancy-apply-button:hover {
    background-color: #387787 !important;
    color: #ffffff !important; /* Will be overridden by dynamic styles */
    text-decoration: none !important;
	border: 2px solid #387787;
}

.vacancy-favorite-button {
    background: #f8f9fa;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.vacancy-favorite-button:hover {
    background: #f0f2f5;
}

.vacancy-actions .vacancy-favorite-button {
    background: white;
}

/* Content Area */
.vacancy-content {
    margin: 40px auto;
    padding: 0;
    width: 100%;
}

.vacancy-intro {
    margin: 40px 0;
}

.vacancy-intro h2 {
    font-weight: 700;
    font-size: 24px;
    color: #000000;
    margin-bottom: 20px;
}

.vacancy-main-description {
    margin: 40px 0;
}

.vacancy-main-description h2 {
    font-weight: 700;
    font-size: 24px;
    color: #000000;
    margin-bottom: 20px;
}

/* Box styling voor specifieke secties */
.vacancy-section {
    margin: 25px 0 !important;
    background: #e9e4ea; /* Will be overridden by dynamic styles */
    padding: 25px !important;
    border-radius: 8px;
    width: 100%;
}

.vacancy-section.box {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
}

.vacancy-section h2 {
    color: #000000; /* Will be overridden by dynamic styles */
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 600;
}

.vacancy-section ul {
    list-style: disc;
    padding-left: 20px;
    margin: 0;
}

.vacancy-section li {
    margin-bottom: 15px;
    line-height: 1.6;
    padding-left: 0;
}

.vacancy-item img {
    width: 100%;
    height: 200px; /* Vaste hoogte voor alle afbeeldingen */
    object-fit: cover; /* Zorgt dat de afbeelding de container vult zonder vervorming */
    object-position: center; /* Centreert de afbeelding binnen de container */
}

/* Vacancy Grid Item Styling */

.home .vacancy-item {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 0px solid #431c49;
    padding: 0;
    border-radius: 8px;
    background: #387787;
    /*box-shadow: 0 2px 8px rgba(0,0,0,0.05);*/
    transition: transform 0.3s ease;
    overflow: hidden;
    width: 100%; /* Zorg dat items volledige breedte gebruiken */
}

.vacancy-item {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 3px solid #431c49;
    padding: 0;
    border-radius: 8px;
    background: #431c49;
    /*box-shadow: 0 2px 8px rgba(0,0,0,0.05);*/
    transition: transform 0.3s ease;
    overflow: hidden;
    width: 100%; /* Zorg dat items volledige breedte gebruiken */
}

@media (max-width: 767px) {
    .vacancy-item-title {
        font-size: 18px; /* Kleinere titel op mobiel */
        margin: 15px 20px 10px;
    }
    
    .vacancy-item-excerpt {
        padding: 0 20px;
        margin-bottom: 15px;
    }
    
    .vacancy-item-meta {
        padding: 0 20px;
        margin-bottom: 15px;
    }
    
    .vacancy-item .vacancy-item-actions {
        padding: 0 20px 20px;
    }
}

.vacancy-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.vacancy-item-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    background: #f8f9fa;
}

.vacancy-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.vacancy-item:hover .vacancy-thumbnail {
    transform: scale(1.05);
}

.vacancy-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-template-default .et_pb_text_2 h3, .et_pb_text_1 h3 {
    font-weight: 700;
    font-size: 25px;
    color: #431c49 !important;
    line-height: 1.3em;
}

.vacancy-item-title {
    font-size: 25px;
    font-weight: 700;
    color: #431c49;
    margin: 35px 35px 25px;
    line-height: 1.3;
}

.home .vacancy-item-title {
    font-size: 25px;
    font-weight: 700;
    color: #fff;
    margin: 35px 35px 25px;
    line-height: 1.3;
}

.home .vacancy-item-title:hover {
    font-size: 25px;
    font-weight: 700;
    color: #fff;
    margin: 35px 35px 25px;
    line-height: 1.3;
}

.vacancy-item-title:hover {
    color: #431c49; /* Will be overridden by dynamic styles */
}



.vacancy-item-excerpt {
    padding: 0 35px;
    color: #431c49;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.home .vacancy-item-excerpt {
    padding: 0 35px;
    color: #ffffff;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
	display: none;
}

/* Op de home pagina geen meta items weergeven */
.home .vacancy-item-meta {
    padding: 0 25px;
    margin-bottom: 20px;
}

.vacancy-item-meta {
    padding: 0 25px;
    margin-bottom: 20px;
}

.vacancy-item-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #431c49;
}

.home .vacancy-item-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #ffffff;
}

.vacancy-item-meta .meta-item i {
    width: 20px;
    height: 20px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Icon styles */
.location-icon,
.hours-icon,
.contract-icon,
.education-icon,
.heart-icon,
.salary-icon {
    width: 20px;
    height: 20px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.location-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z'/%3E%3C/svg%3E");
}

.hours-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67z'/%3E%3C/svg%3E");
}

.contract-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z'/%3E%3C/svg%3E");
}

.education-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M5 13.18v4L12 21l7-3.82v-4L12 17l-7-3.82zM12 3L1 9l11 6 9-4.91V17h2V9L12 3z'/%3E%3C/svg%3E");
}

.heart-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000000' viewBox='0 0 24 24'%3E%3Cpath d='M16.5 3c-1.74 0-3.41.81-4.5 2.09C10.91 3.81 9.24 3 7.5 3 4.42 3 2 5.42 2 8.5c0 3.78 3.4 6.86 8.55 11.54L12 21.35l1.45-1.32C18.6 15.36 22 12.28 22 8.5 22 5.42 19.58 3 16.5 3zm-4.4 15.55l-.1.1-.1-.1C7.14 14.24 4 11.39 4 8.5 4 6.5 5.5 5 7.5 5c1.54 0 3.04.99 3.57 2.36h1.87C13.46 5.99 14.96 5 16.5 5c2 0 3.5 1.5 3.5 3.5 0 2.89-3.14 5.74-7.9 10.05z'/%3E%3C/svg%3E");
}

.vacancy-footer .salary-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M15 18.5c-2.51 0-4.68-1.42-5.76-3.5H15v-2H8.58c-.05-.33-.08-.66-.08-1s.03-.67.08-1H15V9H9.24C10.32 6.92 12.5 5.5 15 5.5c1.61 0 3.09.59 4.23 1.57L21 5.3C19.41 3.87 17.3 3 15 3c-3.92 0-7.24 2.51-8.48 6H3v2h3.06c-.04.33-.06.66-.06 1s.02.67.06 1H3v2h3.52c1.24 3.49 4.56 6 8.48 6 2.31 0 4.41-.87 6-2.3l-1.78-1.77c-1.13.98-2.6 1.57-4.22 1.57z'/%3E%3C/svg%3E");
}

/* Update icon colors voor grid items */
.vacancy-item-meta .salary-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23387787' viewBox='0 0 24 24'%3E%3Cpath d='M15 18.5c-2.51 0-4.68-1.42-5.76-3.5H15v-2H8.58c-.05-.33-.08-.66-.08-1s.03-.67.08-1H15V9H9.24C10.32 6.92 12.5 5.5 15 5.5c1.61 0 3.09.59 4.23 1.57L21 5.3C19.41 3.87 17.3 3 15 3c-3.92 0-7.24 2.51-8.48 6H3v2h3.06c-.04.33-.06.66-.06 1s.02.67.06 1H3v2h3.52c1.24 3.49 4.56 6 8.48 6 2.31 0 4.41-.87 6-2.3l-1.78-1.77c-1.13.98-2.6 1.57-4.22 1.57z'/%3E%3C/svg%3E");
}

.home .vacancy-item-meta .salary-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 24 24'%3E%3Cpath d='M15 18.5c-2.51 0-4.68-1.42-5.76-3.5H15v-2H8.58c-.05-.33-.08-.66-.08-1s.03-.67.08-1H15V9H9.24C10.32 6.92 12.5 5.5 15 5.5c1.61 0 3.09.59 4.23 1.57L21 5.3C19.41 3.87 17.3 3 15 3c-3.92 0-7.24 2.51-8.48 6H3v2h3.06c-.04.33-.06.66-.06 1s.02.67.06 1H3v2h3.52c1.24 3.49 4.56 6 8.48 6 2.31 0 4.41-.87 6-2.3l-1.78-1.77c-1.13.98-2.6 1.57-4.22 1.57z'/%3E%3C/svg%3E");
}

.vacancy-item-meta .hours-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23387787' viewBox='0 0 24 24'%3E%3Cpath d='M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67z'/%3E%3C/svg%3E");
}

.home .vacancy-item-meta .hours-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 24 24'%3E%3Cpath d='M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67z'/%3E%3C/svg%3E");
}


.vacancy-item-meta .location-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23387787' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z'/%3E%3C/svg%3E");
}

.home .vacancy-item-meta .location-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z'/%3E%3C/svg%3E");
}

.vacancy-item-meta .contract-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23387787' viewBox='0 0 24 24'%3E%3Cpath d='M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z'/%3E%3C/svg%3E");
}

.home .vacancy-item-meta .contract-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 24 24'%3E%3Cpath d='M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z'/%3E%3C/svg%3E");
}

.vacancy-item-meta .education-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23387787' viewBox='0 0 24 24'%3E%3Cpath d='M5 13.18v4L12 21l7-3.82v-4L12 17l-7-3.82zM12 3L1 9l11 6 9-4.91V17h2V9L12 3z'/%3E%3C/svg%3E");
}

.vacancy-item .vacancy-item-actions .vacancy-item-link {
    background: #387787; /* Will be overridden by dynamic styles */
    color: white !important;
    padding: 14px 28px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    border-radius: 8px;
    flex: 1;
    display: inline-block;
    transition: all 0.3s ease;
    font-size: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    line-height: 1.2;
    border: 2px solid #387787;
}

.home .vacancy-item .vacancy-item-actions .vacancy-item-link {
    background: #431C49; /* Will be overridden by dynamic styles */
    color: white !important;
    padding: 14px 28px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    border-radius: 8px;
    flex: 1;
    display: inline-block;
    transition: all 0s ease;
    font-size: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    line-height: 1.2;
    border: 0px solid #fff;
}

.vacancy-item-actions {
    display: flex;
    gap: 10px;
    margin: 0 25px 25px;
    align-items: center;
}

.vacancy-item .vacancy-item-actions .vacancy-item-link:hover {
    background: #387787; /* Will be overridden by dynamic styles */
    color: white !important;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
	border: 2px solid #387787;
}

.home .vacancy-item .vacancy-item-actions .vacancy-item-link:hover {
    background: #431C49; /* Will be overridden by dynamic styles */
    color: white !important;
    text-decoration: none;
    transform: translateY(0px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
	border: 2px solid #ffffff;
}

.vacancy-item .vacancy-item-actions .vacancy-item-link:active {
    background: #c88a00; /* Will be overridden by dynamic styles */
    color: white !important;
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.vacancy-item .vacancy-item-actions {
    padding: 0 25px 25px;
    margin: 0;
    gap: 12px;
}

.vacancy-item .vacancy-favorite-button {
    background: #f8f9fa;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.vacancy-item .vacancy-favorite-button:hover {
    background: #f0f2f5;
}

.vacancy-item .vacancy-favorite-button .heart-icon {
    width: 20px;
    height: 20px;
}

.vacancy-item .vacancy-favorite-button.is-favorite .heart-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23387787' viewBox='0 0 24 24'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E");
}

/* Actieve Filters Styling */
.active-filters {
    margin-top: 20px;
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.active-filters-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex: 1;
}

.active-filter {
    display: inline-flex;
    align-items: center;
    background: #e9e4ea;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    gap: 8px;
}

.filter-label {
    color: #000;
    font-weight: 500;
}

.filter-value {
    color: #000;
}

.remove-filter {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    color: #000;
    text-decoration: none;
    font-weight: bold;
    line-height: 1;
    transition: all 0.2s ease;
}

.remove-filter:hover {
    background: #431c49;
    color: white;
}

.clear-all-filters {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #000;
    text-decoration: none;
    font-size: 14px;
    padding: 6px 12px;
    border-radius: 20px;
    background: #f0f2f5;
    transition: all 0.2s ease;
}

.clear-all-filters:hover {
    background: #387787;
    color: white;
}

.trash-icon {
    width: 16px;
    height: 16px;
    display: inline-block;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000000' viewBox='0 0 24 24'%3E%3Cpath d='M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    transition: all 0.2s ease;
}

.clear-all-filters:hover .trash-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23FFFFFF' viewBox='0 0 24 24'%3E%3Cpath d='M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z'/%3E%3C/svg%3E");
}

/* Responsive Design */
@media (max-width: 768px) {
    .vacancy-footer {
        flex-direction: column;
        padding: 20px;
        text-align: left;
    }

    .vacancy-actions {
        margin-left: 0;
        margin-top: 20px;
        justify-content: center;
    }

    .vacancy-key-details {
        justify-content: center;
    }

    .vacancy-section {
        padding: 20px;
    }

    .active-filters {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .clear-all-filters {
        align-self: flex-end;
    }
}

.recruitnow-search-hero {
    width: 100%;
    padding: 40px 40px;
    background: #431c49;
    margin: 0 auto;
	border-radius: 8px;
}

.search-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 30px;
}

.search-label {
    flex: 1;
}

.search-label h2 {
    margin: 0;
    font-size: 24px;
    color: #fff;
    font-weight: 600;
}

.search-input-group {
    flex: 2;
}

.search-input-wrapper {
    display: flex;
    gap: 10px;
    width: 100%;
}

#vacancy-search-input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}

#vacancy-search-input:focus {
    outline: none;
    border-color: #387787;
    box-shadow: 0 0 0 3px rgba(224, 153, 0, 0.1);
}

#vacancy-search-input::placeholder {
    color: #adb5bd;
    font-style: italic;
}

.search-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 30px;
    background: transparent; /* Will be overridden by dynamic styles */
    color: white;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
	border: 2px solid #fff
}

.search-button:hover {
    background: #387787; /* Will be overridden by dynamic styles */
	border: 2px solid #387787;
}

.search-icon {
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

@media (max-width: 768px) {
    .search-container {
        flex-direction: column;
        text-align: center;
    }

    .search-input-wrapper {
        flex-direction: column;
    }

    .search-button {
        width: 100%;
        justify-content: center;
    }
}

/* Google Maps styling */
.recruitnow-map-container {
    width: 600px;
    max-width: 100%;
    margin: 20px 0;
    overflow: hidden;
    position: relative;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.recruitnow-map-image {
    width: 100%;
    height: auto;
    display: block;
    max-width: 100%;
    position: relative;
    z-index: 0;
    transition: transform 0.3s ease;
}

.recruitnow-map-container:hover .recruitnow-map-image {
    transform: scale(1.02);
}

/* Settings page styling */
.color-setting-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.color-setting-group input[type="color"] {
    padding: 0;
    width: 100px;
    height: 30px;
}

.recruitnow-settings-tabs .tab-content:not(.active) {
    display: none;
}

/* Vacancy Single Template Styling */
.salary-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M15 18.5c-2.51 0-4.68-1.42-5.76-3.5H15v-2H8.58c-.05-.33-.08-.66-.08-1s.03-.67.08-1H15V9H9.24C10.32 6.92 12.5 5.5 15 5.5c1.61 0 3.09.59 4.23 1.57L21 5.3C19.41 3.87 17.3 3 15 3c-3.92 0-7.24 2.51-8.48 6H3v2h3.06c-.04.33-.06.66-.06 1s.02.67.06 1H3v2h3.52c1.24 3.49 4.56 6 8.48 6 2.31 0 4.41-.87 6-2.3l-1.78-1.77c-1.13.98-2.6 1.57-4.22 1.57z'/%3E%3C/svg%3E");
}

.vacancy-publication-date {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin-top: 10px;
}

.location-details {
    display: flex;
    gap: 30px;
    margin-top: 20px;
}

.address-info {
    flex: 1;
}

.location-map {
    flex: 2;
    min-height: 300px;
    background: #ffffff;
    border-radius: 8px;
}

/* Sollicitatie pagina styling */
.back-to-vacancy-link {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    color: #387787; /* Will be overridden by dynamic styles */
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.back-to-vacancy-link:hover {
    color: #c88a00; /* Will be overridden by dynamic styles */
}

.arrow-left-icon {
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23E09900' viewBox='0 0 24 24'%3E%3Cpath d='M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
}

.back-to-vacancy-link:hover .arrow-left-icon {
    transform: translateX(-4px);
}

.recruitnow-application-page {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
    margin: 30px 0;
}

.vacancy-info-column {
    position: sticky;
    top: 30px;
    align-self: start;
}

.recruitnow-application-page .vacancy-header {
    width: 100%;
    height: auto !important;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.recruitnow-application-page .vacancy-header-image {
    width: 100%;
    height: auto;
    display: block;
}

.recruitnow-application-page .vacancy-details-bar {
    background: #431c49; /* Will be overridden by dynamic styles */
    padding: 20px;
    border-radius: 0 0 8px 8px;
    color: white;
}

select#phoneSelector_mobilePhoneNumber {
    padding: 12px;
    border: 1px solid #dee2e6 !important;
    border-radius: 6px !important;
    width: 100% !important;
}

.vacancy-title {
    font-size: 24px;
    margin: 0 0 20px 0;
    color: white;
}

.vacancy-key-details {
    flex-direction: column;
    gap: 15px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail-item i {
    width: 24px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
}

.application-form-column {
    background-color: #e9e4ea; /* Will be overridden by dynamic styles */
    padding: 30px;
    border-radius: 8px;
}

.application-form-container {
    max-width: 800px;
    margin: 0 auto;
}

.application-form-container input,
.application-form-container select,
.application-form-container textarea {
    font-size: 16px;
}

@media (max-width: 768px) {
    .application-form-container input,
    .application-form-container select,
    .application-form-container textarea {
        font-size: 16px;
        padding: 15px;
    }
}

@media (max-width: 1024px) {
    .recruitnow-application-page {
        grid-template-columns: 1fr;
    }

    .vacancy-info-column {
        position: static;
    }
}

/* Favorieten link en icon styling */
.favorites-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    padding: 1px 10px 10px 10px;
    cursor: pointer;
}

.favorites-link:hover .favorites-icon {
    transform: scale(1.1);
}

.favorites-icon {
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23387787' viewBox='0 0 24 24'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
    z-index: 1000000;
}

/* Favorieten teller styling */
.favorites-counter {
    position: absolute;
    top: 0;
    right: 0;
    background: #431c49; /* Will be overridden by dynamic styles */
    color: white;
    border-radius: 50%;
    min-width: 18px;
    height: 18px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    transform: translate(25%, -25%);
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .favorites-counter {
        min-width: 16px;
        height: 16px;
        font-size: 11px;
        padding: 1px;
    }
}

/* Geen favorieten bericht */
.no-favorites-message {
    text-align: center;
    padding: 40px;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 20px 0;
}

/* Favoriete knop status */
.vacancy-favorite-button.is-favorite .heart-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23387787' viewBox='0 0 24 24'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E");
}

/* Reset favorieten container */
.reset-favorites-container {
    text-align: right;
    margin-bottom: 20px;
}

.reset-favorites-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f8f9fa;
    color: #666;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.reset-favorites-button:hover {
    background: #dc3545;
    color: white;
}

.reset-favorites-button:hover .reset-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z'/%3E%3C/svg%3E");
}

.reset-icon {
    width: 16px;
    height: 16px;
    display: inline-block;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23666666' viewBox='0 0 24 24'%3E%3Cpath d='M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    transition: all 0.2s ease;
}

/* Vacancy map */
.vacancy-map-container {
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.vacancy-map-info {
    padding: 10px;
    max-width: 300px;
}

.vacancy-map-info h3 {
    margin: 0 0 10px;
    font-size: 16px;
}

.vacancy-map-link {
    display: inline-block;
    margin-top: 10px;
    padding: 5px 10px;
    background-color: #E09900; /* Will be overridden by dynamic styles */
    color: white;
    text-decoration: none;
    border-radius: 4px;
}

.vacancy-item.highlighted {
    border-color: #E09900; /* Will be overridden by dynamic styles */
    box-shadow: 0 0 0 2px #E09900; /* Will be overridden by dynamic styles */
    transform: translateY(-2px);
    transition: all 0.3s ease;
}


.vacancy-grid{display:grid !important}
.vacancy-grid[data-vacancy-columns="1"] {
    grid-template-columns: repeat(1, 1fr);
}
.vacancy-grid[data-vacancy-columns="2"] {
    grid-template-columns: repeat(2, 1fr);
}
.vacancy-grid[data-vacancy-columns="3"] {
    grid-template-columns: repeat(3, 1fr);
}
.vacancy-grid[data-vacancy-columns="4"] {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 767px) {
    .vacancy-grid[data-vacancy-columns] {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 767px) {
    .recruitnow-application-form {
        margin:25px;
    }
}



.recruitnow-application-form .privacy-label {
    display: flex;
    align-items: center;
    gap: 5px;
}
.recruitnow-application-form .privacy-label input[type="checkbox"] {
    margin: 0;
}
.recruitnow-application-form .select-resume-button {
    margin-top: 5px;
    background: #f0f0f0;
    border: 1px solid #ccc;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
}
.recruitnow-application-form .select-resume-button:hover {
    background: #e0e0e0;
}


