/**
 * Premium CRO Frontend Vacatures Board Styling
 * Suffix: 3a6afaeb
 */

.vacatures-premium-listing-board {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #0f172a;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

/* Top bar style selector */
.job-board-lang-bar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.active-lang-lbl {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
}

.lang-selector {
    display: flex;
    background: #f1f5f9;
    padding: 4px;
    border-radius: 99px;
}

.lang-btn {
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    color: #64748b;
    border-radius: 99px;
    transition: all 0.2s ease;
}

.lang-btn:hover {
    color: #0f172a;
}

.lang-btn.active {
    background: #ffffff;
    color: #3b82f6;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05);
}

/* CRO Search Section */
.job-board-search-section {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(148, 163, 184, 0.06);
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 20px;
    font-size: 18px;
    color: #94a3b8;
}

#vac-search-input {
    width: 100%;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 20px 16px 54px;
    font-size: 15px;
    color: #0f172a;
    transition: all 0.25s ease;
}

#vac-search-input:focus {
    outline: none;
    background: #ffffff;
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.08);
}

.filters-grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.premium-select {
    width: 100%;
    appearance: none;
    background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E") no-repeat right 16px center;
    background-size: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 40px 14px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
}

.premium-select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.08);
}

/* Heading section */
.listing-heading-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.showing-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.active-badge-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #ecfdf5;
    color: #047857;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 99px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 1.6s infinite alternate;
}

@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.6; }
    100% { transform: scale(1.2); opacity: 1; }
}

/* Vacancy Card Premium styling */
.vacatures-premium-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
    min-height: 250px;
}

.vacature-card-premium {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
    box-shadow: 0 4px 15px rgba(148, 163, 184, 0.03);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.vacature-card-premium:hover {
    transform: translateY(-4px);
    border-color: #cbd5e1;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.card-meta-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.pill-type {
    background: #f1f5f9;
    color: #475569;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 99px;
}

.pill-loc {
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 99px;
}

.vacancy-card-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    color: #0f172a;
    margin: 0 0 10px 0;
}

.vacancy-card-desc {
    font-size: 13px;
    line-height: 1.6;
    color: #64748b;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vacancy-specs {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
    border-top: 1px solid #f1f5f9;
    padding-top: 16px;
}

.spec-item {
    font-size: 13px;
    font-weight: 500;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-premium-apply {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #0f172a;
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    padding: 12px 20px;
    border-radius: 10px;
    transition: all 0.2s ease;
    width: 100%;
}

.btn-premium-apply:hover {
    background: #3b82f6;
    color: #ffffff;
}

.btn-premium-apply svg {
    transition: transform 0.2s ease;
}

.btn-premium-apply:hover svg {
    transform: translateX(4px);
}

/* Skeleton Loading Animation */
.skeleton-loader-container {
    display: contents;
}

.skeleton-card {
    height: 280px;
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    border-radius: 16px;
    animation: skeletonPulse 1.5s infinite;
}

@keyframes skeletonPulse {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.no-vacancies-found {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: #f8fafc;
    border-radius: 16px;
    border: 1px dashed #cbd5e1;
}

.no-vacancies-found .emoji {
    font-size: 40px;
    margin-bottom: 12px;
    display: block;
}

.no-vacancies-found h4 {
    font-size: 16px;
    color: #1e293b;
    margin: 0 0 6px 0;
}

.no-vacancies-found p {
    font-size: 13px;
    color: #64748b;
    margin: 0;
}

.animate-fade-in {
    animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
