/* Stijlen voor vacature detail pagina */
.vacature-detail-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

/* Content styling */
#vacature_detail_content {
    flex: 1;
    min-width: 300px;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

#vacature_detail_content h1 {
    color: var(--secondary-color); /* Use branding color */
    margin-top: 0;
    margin-bottom: 20px; /* Increased bottom margin */
    font-size: 2.4em; /* Slightly larger */
    line-height: 1.3;
}

#vacature_detail_content .vacancy-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    font-size: 0.95em;
    color: #555;
}

#vacature_detail_content .vacancy-meta div {
    display: flex;
    align-items: center;
    gap: 8px;
}

#vacature_detail_content .meta-icon {
    color: var(--primary-color); /* Use branding primary color for icons */
    font-size: 1.1em;
}

#vacature_detail_content h2 {
    font-size: 1.6em; /* Increased size */
    color: var(--secondary-color); /* Use branding color */
    margin: 30px 0 15px; /* Adjusted margin */
    position: relative;
    padding-bottom: 8px; /* Space for border */
    border-bottom: 2px solid var(--primary-color); /* Use branding color for border */
    display: inline-block; /* Border only under text */
}

#vacature_detail_content h2:before {
    content: none; /* Removed the side bar, using bottom border now */
}

#vacature_detail_content p {
    margin-bottom: 20px;
    line-height: 1.6;
}

#vacature_detail_content ul, #vacature_detail_content .styled-list {
    margin: 0 0 20px 0; /* Removed left margin for custom styling */
    padding-left: 0; /* Remove default padding */
    list-style: none; /* Remove default bullets */
}

#vacature_detail_content ul li, #vacature_detail_content .styled-list li {
    margin-bottom: 12px; /* Increased spacing */
    position: relative;
    padding-left: 25px; /* Space for custom bullet */
    font-size: 1rem; /* Consistent font size */
    line-height: 1.5;
}

#vacature_detail_content ul li:before, #vacature_detail_content .styled-list li:before {
    content: "\f00c"; /* FontAwesome check icon */
    font-family: "Font Awesome 6 Free"; /* Ensure FontAwesome is used */
    font-weight: 900; /* Required for solid icons */
    position: absolute;
    left: 0;
    top: 2px; /* Adjusted for vertical alignment */
    color: var(--primary-color); /* Use branding primary color */
    font-size: 1em;
}

/* Featured Image Styling */
.featured-image-container {
    margin-bottom: 25px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.featured-image {
    width: 100%;
    height: auto;
    display: block;
    max-height: 400px; /* Optional: constrain max height */
    object-fit: cover; /* Ensures image covers the area well */
}

/* Styling for legacy text block if requirements/offer are not JSON */
.legacy-text-block {
    padding-left: 15px;
    border-left: 3px solid #eee;
    margin-top: 10px;
}

/* Sollicitatie formulier styling */
#sollicitatie_formulier {
    flex-basis: 350px;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    align-self: flex-start;
    position: sticky;
    top: 90px; /* Adjusted top: 70px (header) + 20px (gap) */
}

#sollicitatie_formulier h2 {
    font-size: 1.6em; /* Increased size */
    color: var(--secondary-color); /* Use branding color */
    margin-bottom: 20px;
    text-align: center;
}

#sollicitatie_formulier form {
    display: flex;
    flex-direction: column;
}

#sollicitatie_formulier .form-group {
    margin-bottom: 15px;
}

#sollicitatie_formulier label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

#sollicitatie_formulier input[type="text"],
#sollicitatie_formulier input[type="email"],
#sollicitatie_formulier input[type="tel"] {
    width: 100%;
    padding: 12px; /* Increased padding */
    border: 1px solid #ccc; /* Slightly darker border */
    border-radius: 4px;
    font-size: 1rem;
    box-sizing: border-box; /* Add box-sizing */
}

#sollicitatie_formulier input[type="file"] {
    border: 1px dashed #ccc; /* Slightly darker border */
    padding: 12px; /* Increased padding */
    border-radius: 4px;
    width: 100%;
    background: #f9f9f9;
    box-sizing: border-box; /* Add box-sizing */
    cursor: pointer;
}

#sollicitatie_formulier button {
    margin-top: 15px; /* Adjusted margin */
    background-color: var(--primary-color); /* Use branding primary color */
    color: white;
    padding: 14px 25px; /* Increased padding */
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem; /* Consistent font size */
    text-transform: uppercase; /* Uppercase text */
    transition: background-color 0.3s, transform 0.2s;
}

#sollicitatie_formulier button:hover {
    background-color: var(--secondary-color); /* Use branding secondary on hover */
    transform: translateY(-2px);
}

.alert {
    padding: 12px 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.alert-danger {
    background-color: #fff5f5;
    color: #d32f2f;
    border-left: 4px solid #d32f2f;
}

.alert-success {
    background-color: #f2fff5;
    color: #388e3c;
    border-left: 4px solid #388e3c;
}

/* Responsive aanpassingen */
@media (max-width: 768px) {
    .vacature-detail-container {
        flex-direction: column;
    }
    
    #sollicitatie_formulier {
        position: static;
        width: 100%;
    }
}

/* Styling voor de vacature-details content */
.vacancy-content-section {
    margin-bottom: 30px;
}

.vacancy-content-section h2 {
    color: var(--secondary-color); /* Use branding color */
    margin-bottom: 15px; /* Adjusted margin */
    font-size: 1.6em;
    border-bottom: 2px solid var(--primary-color); /* Use branding color */
    padding-bottom: 8px;
    display: inline-block;
}

.vacancy-content-section p, .vacancy-content-section div.legacy-text-block {
    line-height: 1.7;
    color: #444;
}

.styled-list {
    list-style: none;
    padding-left: 0;
}

.styled-list li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 8px;
    line-height: 1.6;
    color: #444;
}

.styled-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px; /* Adjusted for vertical alignment */
    color: var(--primary-color); /* Use branding primary color */
    font-size: 1em;
}

/* Social Share Section */
.social-share-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.social-share-section h2 {
    margin-bottom: 15px;
    color: var(--secondary-color); /* Use branding color */
    border-bottom-color: var(--primary-color); /* Use branding color */
}

.social-share-btn {
    display: inline-flex; /* Use flex for alignment */
    align-items: center; /* Vertically align icon and text */
    padding: 10px 15px;
    margin-right: 10px;
    margin-bottom: 10px; /* For wrapping on small screens */
    border-radius: 5px;
    color: #fff;
    text-decoration: none;
    font-size: 0.9em;
    transition: opacity 0.3s ease;
}

.social-share-btn i {
    margin-right: 8px; /* Space between icon and text */
    font-size: 1.2em; /* Slightly larger icon */
}

.social-share-btn:hover {
    opacity: 0.85;
}

.linkedin-btn {
    background-color: #0077b5; /* LinkedIn blue */
}

.whatsapp-btn {
    background-color: #25d366; /* WhatsApp green */
}

.email-btn {
    background-color: #777; /* Neutral grey */
}

/* Print Button Styling */
.print-button-container {
    margin-top: 20px;
    margin-bottom: 20px; /* Added margin below print button */
    padding-top: 20px;
    border-top: 1px solid #eee;
    text-align: right; /* Align button to the right */
}

.btn-print {
    background-color: var(--secondary-color); /* Use branding secondary color */
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.95em;
    transition: background-color 0.3s ease;
}

.btn-print i {
    margin-right: 8px;
}

.btn-print:hover {
    background-color: var(--primary-color); /* Use branding primary on hover */
}

/* Print specific styles */
@media print {
    body {
        font-size: 12pt;
        color: #000;
    }
    .site-header, footer, #sollicitatie_formulier, .social-share-section, .admin-actions-bar, .print-button-container, .apply-fast-message {
        display: none !important;
    }
    .vacature-detail-container {
        margin: 0;
        padding: 0;
        display: block;
        box-shadow: none;
    }
    #vacature_detail_content {
        box-shadow: none;
        padding: 0;
        border: none;
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
    }
    .featured-image-container {
        max-width: 80%; /* Adjust image size for print */
        margin-left: auto;
        margin-right: auto;
        page-break-inside: avoid;
    }
    h1, h2 {
        color: #000 !important;
        border-bottom: 1px solid #ccc !important;
        page-break-after: avoid;
    }
    ul li:before {
        color: #000 !important; /* Black checkmarks for print */
    }
    a {
        text-decoration: none;
        color: #000;
    }
    a[href]:after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
        color: #555;
    }
    /* Avoid breaking elements across pages */
    .vacancy-content-section, .vacancy-meta {
        page-break-inside: avoid;
    }
}

/* Open sollicitatie stijlen */
.open-sollicitatie-hero {
    background-color: #002D62;
    color: white;
    padding: 60px 0;
    text-align: center;
}

.open-sollicitatie-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.open-sollicitatie-hero p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.6;
}

.sollicitatie-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin: 50px 0;
}

.info-column {
    flex: 1;
    min-width: 300px;
}

.form-column {
    flex-basis: 400px;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
