/* Candidates page – tab filters */
.vacancy-tab {
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 900;
    color: #999;
    cursor: pointer;
    margin-bottom: -2px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.2s ease;
}
.vacancy-tab:hover { color: var(--matchking-blue); }
.vacancy-tab.active {
    color: var(--matchking-blue);
    border-bottom-color: var(--gold);
}

.tab-badge {
    font-size: 10px;
    font-weight: 900;
    background: #eee;
    border-radius: 10px;
    padding: 2px 8px;
    margin-left: 4px;
}
.vacancy-tab.active .tab-badge {
    background: var(--matchking-blue);
    color: #fff;
}

/* Type badges */
.type-badge {
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    padding: 3px 12px;
    border-radius: 9999px;
    letter-spacing: 0.1em;
}
.type-permanent { background: rgba(0, 114, 152, 0.1); color: var(--matchking-blue); }
.type-contract { background: rgba(205, 219, 0, 0.15); color: #6b6d00; }

/* Firefish HTML content styling — used on job detail page */
.role-description h1 {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--matchking-blue);
    margin: 1.5rem 0 0.75rem;
    line-height: 1.3;
}
.role-description h2 {
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--navy, #002B5B);
    margin: 1.5rem 0 0.75rem;
    line-height: 1.3;
}
.role-description h3 {
    font-size: 1.05rem;
    font-weight: 900;
    color: var(--navy, #002B5B);
    margin: 1.25rem 0 0.5rem;
}
.role-description p {
    margin: 0.75rem 0;
    line-height: 1.7;
    color: #4a5568;
    font-size: 0.95rem;
}
.role-description ul, .role-description ol {
    margin: 0.75rem 0;
    padding-left: 1.5rem;
    color: #4a5568;
    font-size: 0.95rem;
}
.role-description ul { list-style: disc; }
.role-description ol { list-style: decimal; }
.role-description li {
    margin: 0.4rem 0;
    line-height: 1.6;
}
.role-description hr {
    border: none;
    border-top: 1px solid #e2e8f0;
    margin: 1.5rem 0;
}
.role-description strong, .role-description b {
    font-weight: 900;
    color: var(--navy, #002B5B);
}
.role-description a {
    color: var(--matchking-blue);
    text-decoration: underline;
    transition: color 0.2s;
}
.role-description a:hover {
    color: var(--gold);
}

/* Mobile adjustments */
@media (max-width: 640px) {
    .vacancy-tab {
        padding: 8px 12px;
        font-size: 11px;
        flex: 1;
        text-align: center;
    }
}
