.banner-home-bg {
    background-color: #0a47ff;
    background-position: center center;
    background-repeat: no-repeat;
    background-image: url("../imgs/hr/hr_banner.png");
}

.hr-banner-job-title {
    display: inline-block;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
    padding: 10px 22px;
    /* border-radius: 20px; */
    background-color: #333c52;
    color: #eee;
    font-size: 18px;
    line-height: 1.6;
}

.hr-intro h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.hr-intro p,
.hr-job-side p {
    color: #4b5563;
}

.hr-job-card,
.hr-job-detail,
.hr-job-side,
.hr-panel {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.hr-job-card {
    padding: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.hr-job-card h3 {
    font-size: 20px;
    margin-bottom: 14px;
}

.hr-job-card__meta {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
    flex: 1;
}

.hr-job-card__meta li {
    font-size: 14px;
    color: #374151;
    margin-bottom: 6px;
}

.hr-job-card__meta span {
    color: #6b7280;
}

.hr-job-card__actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.hr-link {
    color: #0a47ff;
    font-weight: 700;
}

.hr-empty,
.hr-job-detail,
.hr-job-side,
.hr-panel {
    padding: 24px;
}

.hr-job-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}

.hr-job-meta__item {
    background: #f8fafc;
    border-radius: 12px;
    padding: 12px 14px;
}

.hr-job-meta__item span {
    display: block;
    color: #6b7280;
    font-size: 12px;
}

.hr-job-body h3 {
    margin-bottom: 12px;
}

.hr-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}

.hr-steps li {
    background: #eef2ff;
    color: #4338ca;
    text-align: center;
    padding: 10px 8px;
    border-radius: 999px;
    font-size: 13px;
}

.hr-steps li.is-active {
    background: #0a47ff;
    color: #fff;
}

.hr-steps li.is-done {
    background: #dcfce7;
    color: #166534;
}

.hr-drop {
    border: 2px dashed #93c5fd;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    background: #f8fbff;
    position: relative;
}

.hr-drop.is-dragging {
    background: #dbeafe;
}

.hr-drop input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.hr-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 10px;
}

.hr-plus {
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: #0a47ff;
    color: #fff;
    font-size: 28px;
    line-height: 1;
    margin: 12px 0;
}

.hr-actions {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    margin-top: 20px;
}

.hr-counter {
    display: block;
    margin-top: 6px;
    color: #6b7280;
}

.hr-search-select {
    position: relative;
}

.hr-search-select__list {
    position: absolute;
    z-index: 30;
    left: 0;
    right: 0;
    top: calc(100% + 4px);
    max-height: 240px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.hr-search-select__option {
    display: block;
    width: 100%;
    text-align: right;
    background: none;
    border: 0;
    padding: 8px 12px;
    color: #111827;
}

.hr-search-select__option:hover {
    background: #eef2ff;
}

.hr-search-select__empty {
    padding: 8px 12px;
    color: #6b7280;
    font-size: 13px;
}

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

.hr-job-side .rr-btn,
.hr-actions .rr-btn {
    display: inline-flex;
    justify-content: center;
}

@media (max-width: 767px) {
    .hr-steps,
    .hr-job-meta {
        grid-template-columns: 1fr;
    }
}
