:root {
    --bs-primary: #0284c7;
    --bs-primary-rgb: 2, 132, 199;
    --bs-link-color: #0369a1;
    --bs-link-hover-color: #075985;
}

[x-cloak] {
    display: none !important;
}

.candidate-interview-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 9999px;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    background-color: #fef9c3;
    color: #854d0e;
}

.candidate-hired-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 9999px;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    background-color: #d1fae5;
    color: #065f46;
}

.candidate-interview-card {
    margin-top: 1rem;
    border-radius: 0.5rem;
    border: 1px solid #fde68a;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    color: #1e293b;
    background-color: #fefce8;
}

.candidate-interview-card-title {
    font-weight: 600;
    color: #0f172a;
}

.candidate-interview-card-icon {
    color: #a16207;
}

.candidate-interview-link {
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 2px;
    overflow-wrap: anywhere;
    color: #a16207;
    text-decoration-color: #fde047;
}

.candidate-interview-link:hover {
    color: #854d0e;
}

.pipeline-application-card {
    position: relative;
}

.pipeline-card-status-badge {
    position: absolute;
    z-index: 0;
    top: 0;
    right: 0;
    left: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    border: none;
    border-top-right-radius: 0.75rem;
    border-bottom-left-radius: 0.375rem;
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    line-height: 1;
    font-weight: 600;
    color: #ffffff;
    background-color: #475569;
}

.hr-video-preview-open .pipeline-card-status-badge {
    z-index: -1 !important;
}

.pipeline-card-status-badge--hired {
    background-color: #059669;
    color: #ffffff;
}

.pipeline-card-status-badge--rejected {
    background-color: #dc2626 !important;
    color: #ffffff !important;
}

.pipeline-card-status-badge--withdrawn {
    background-color: #64748b;
    color: #ffffff;
}

.pipeline-card-status-badge--shortlisted {
    background-color: #4f46e5;
    color: #ffffff;
}

.pipeline-card-status-badge--video-cv-submitted {
    background-color: #059669;
    color: #ffffff;
}

.pipeline-card-status-badge--interview_scheduled,
.pipeline-card-status-badge--post_interview,
.pipeline-card-status-badge--awaiting_interview_scheduling {
    background-color: #d97706;
    color: #ffffff;
}

.pipeline-card-status-badge--applied,
.pipeline-card-status-badge--video_cv_requested,
.pipeline-card-status-badge--assigned_to_hiring_manager,
.pipeline-card-status-badge--hiring_manager_review {
    background-color: #475569;
    color: #ffffff;
}

.hr-job-card {
    position: relative;
}

.hr-job-card-status {
    position: absolute;
    z-index: 10;
    top: 0;
    right: 0;
    left: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    border: none;
    border-top-right-radius: 0.75rem;
    border-bottom-left-radius: 0.375rem;
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    line-height: 1;
    font-weight: 600;
    color: #ffffff;
    background-color: #475569;
}

.hr-job-card-status--draft {
    background-color: #64748b;
    color: #ffffff;
}

.hr-job-card-status--published {
    background-color: #059669;
    color: #ffffff;
}

.hr-job-card-status--closed {
    background-color: #92400e;
    color: #ffffff;
}

.hr-job-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.875rem 1rem 1rem;
}

@media (min-width: 640px) {
    .hr-job-card-body {
        padding: 1rem 1.125rem 1rem;
    }
}

.hr-job-card-title {
    margin: 0;
    padding-right: 5.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.35;
    color: #0f172a;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (min-width: 640px) {
    .hr-job-card-title {
        font-size: 1rem;
        padding-right: 6rem;
    }
}

.hr-job-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 0.5rem;
    font-size: 0.75rem;
    line-height: 1.3;
    color: #64748b;
}

.hr-job-card-meta-count {
    font-weight: 700;
    color: #0f172a;
    font-variant-numeric: tabular-nums;
}

.hr-job-card-meta-visibility {
    font-weight: 600;
    color: #475569;
}

.hr-job-card-meta-sep {
    color: #cbd5e1;
    user-select: none;
}

.hr-job-card-meta-date {
    color: #64748b;
}

.hr-job-card-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid #f1f5f9;
}

.hr-job-card-actions a,
.hr-job-card-actions button {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-width: 0;
    min-height: 2.25rem;
    box-sizing: border-box;
    padding: 0.5rem 0.625rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 0.5rem;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.hr-job-card-actions button {
    appearance: none;
    -webkit-appearance: none;
    font: inherit;
    line-height: inherit;
}

.hr-job-card-actions-secondary.hr-job-copy-link {
    border: 0;
}

.hr-job-card-actions-primary {
    background-color: #fff3cd;
    color: #9a3412;
    border: 1px solid #fed7aa;
}

.hr-job-card-actions-primary:hover {
    background-color: #ffedd5;
}

.hr-job-card-actions-secondary {
    background-color: #ffffff;
    color: #334155;
    border: 1px solid #e2e8f0;
}

.hr-job-card-actions-secondary:hover {
    background-color: #f8fafc;
}
