/* Section 4: Hiring Flow - Tab Layout */

#section-hiring-flow {
    background-color: #F5F8FB;
    padding-bottom: 0;
}

#section-hiring-flow .rss-flow {
    display: flex;
    gap: 9px;
    align-items: flex-start;
}

#section-hiring-flow .flow-steps-list {
    flex: 1;
    position: relative;
    padding-left: 30px;
    padding-bottom: 560px;
}

#section-hiring-flow .flow-steps-list::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 339px;
    height: 510px;
    background-image: url('../../images/recruitment-support-system/process-hiring.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom left;
    z-index: 1;
    pointer-events: none;
}

#section-hiring-flow .flow-steps-list::before {
    content: '';
    position: absolute;
    left: 29px;
    top: 45px;
    height: 370px;
    width: 2px;
    background-color: #1A7BA5;
    z-index: 0;
    transition: background 0.3s;
}

#section-hiring-flow .step-item {
    position: relative;
    padding: 15px 0;
    padding-left: 30px;
    margin-bottom: 0;
    background-color: transparent;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 1;
}

#section-hiring-flow .step-item::before,
#section-hiring-flow .step-item::after {
    content: none;
}

#section-hiring-flow .step-item.active::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #E0E0E0;
    border: 2px solid #fff;
    z-index: 2;
    transition: all 0.3s;
}

#section-hiring-flow .step-item.active::after {
    content: '';
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: rgba(26, 123, 165, 0.2);
    z-index: 1;
    transition: all 0.3s;
    opacity: 0;
}

#section-hiring-flow .step-item.active::after {
    opacity: 1;
    width: 24px;
    height: 24px;
    left: -12px;
    background-color: rgba(26, 123, 165, 0.15);
}

#section-hiring-flow .step-item:hover {
    opacity: 0.8;
}

#section-hiring-flow .step-item.active {
    background-color: transparent;
}

#section-hiring-flow .step-item.active::before {
    background-color: #1A7BA5;
    width: 14px;
    height: 14px;
    left: -7px;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px rgba(26, 123, 165, 0.3);
}

/* Update timeline line color up to active step */
#section-hiring-flow .step-item.active ~ .step-item::before {
    background-color: #E0E0E0;
}

#section-hiring-flow .step-item.active ~ .step-item .step-number,
#section-hiring-flow .step-item.active ~ .step-item .step-title {
    color: #999;
}

#section-hiring-flow .step-number {
    display: inline;
    font-family: "futura-pt", sans-serif;
    font-style: italic;
    font-size: 30px;
    color: #8E8E8E;
    margin-right: 5px;
    transition: color 0.3s;
}

#section-hiring-flow .step-item.active .step-number {
    color: #1A7BA5;
    font-weight: 700;
}

#section-hiring-flow .step-title {
    display: inline;
    font-size: 24px;
    font-weight: 500;
    color: #8E8E8E;
    line-height: 1.6;
    transition: color 0.3s;
}

#section-hiring-flow .step-item.active .step-title {
    color: #515450;
    font-weight: 500;
}

#section-hiring-flow .flow-tabs-content {
    flex: 1;
    min-height: 500px;
}

#section-hiring-flow .tab-content {
    display: none;
}

#section-hiring-flow .tab-content.active {
    display: block;
}

#section-hiring-flow .tab-content-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

#section-hiring-flow .tab-image {
    display: none;
}

#section-hiring-flow .tab-text {
    flex: 1;
    position: relative;
    z-index: 1;
}

#section-hiring-flow .tab-text h5 {
    display: flex;
    flex-direction: column;
    font-size: 24px;
    font-weight: 700;
    color: #1A7BA5;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 3px solid #515450;
    line-height: 1.4;
}

#section-hiring-flow .tab-text h5 .step-label {
    font-size: 45px;
    font-style: italic;
    color: #1A7BA5;
    margin-bottom: 5px;
}

#section-hiring-flow .tab-text h5 .step-title-text {
    font-size: 36px;
    font-weight: 500;
    color: #515450;
}

#section-hiring-flow .tab-text > p {
    font-size: 16px;
    line-height: 26px;
    font-weight: 700;
    color: #414141;
    margin-bottom: 30px;
}

#section-hiring-flow .tab-features {
    margin-bottom: 30px;
}

#section-hiring-flow .feature-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
}

#section-hiring-flow .feature-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background-image: url('../../images/recruitment-support-system/process-hiring-list.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-top: 2px;
}

#section-hiring-flow .feature-content h6 {
    font-size: 20px;
    font-weight: 700;
    color: #414141;
    margin-bottom: 8px;
}

#section-hiring-flow .feature-content p {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.8;
    color: #414141;
    margin: 0;
}

#section-hiring-flow .tab-summary {
    background-color: #fff;
    border: 1px solid #1A7BA5;
    border-radius: 5px;
    padding: 20px;
    margin-top: 30px;
}

#section-hiring-flow .tab-summary p {
    font-size: 18px;
    line-height: 26px;
    color: #0C5778;
    margin: 0;
    font-weight: 700;
    letter-spacing: 1.8pt;
}

/* Mobile Step Navigation */
#section-hiring-flow .mobile-step-navigation {
    display: none;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    margin-top: 0;
}

#section-hiring-flow .mobile-step-counter {
    display: flex;
    align-items: baseline;
    gap: 4px;
    font-family: "futura-pt", sans-serif;
}

#section-hiring-flow .mobile-step-counter .step-label {
    font-size: 20px;
    font-weight: 700;
    color: #1A7BA5;
    letter-spacing: 0.5pt;
}

#section-hiring-flow .mobile-step-counter .step-current {
    font-size: 20px;
    font-weight: 700;
    color: #8E8E8E;
    letter-spacing: 0.5pt;
}

#section-hiring-flow .mobile-step-counter .step-separator {
    font-size: 20px;
    font-weight: 500;
    color: #8E8E8E;
    letter-spacing: 0.5pt;
}

#section-hiring-flow .mobile-step-counter .step-total {
    font-size: 20px;
    font-weight: 500;
    color: #8E8E8E;
    letter-spacing: 0.5pt;
}

#section-hiring-flow .mobile-nav-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
}

#section-hiring-flow .nav-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background-color: #fff;
    padding: 0;
}

#section-hiring-flow .nav-btn.prev-btn {
    border: 2px solid #1A7BA5;
    color: #1A7BA5;
    background-color: #fff;
}

#section-hiring-flow .nav-btn.prev-btn:disabled {
    border-color: #E0E0E0;
    color: #E0E0E0;
    cursor: not-allowed;
    opacity: 0.5;
}

#section-hiring-flow .nav-btn.next-btn {
    background-color: #1A7BA5;
    color: #fff;
    border: 2px solid #1A7BA5;
}

#section-hiring-flow .nav-btn.next-btn:disabled {
    background-color: #E0E0E0;
    border-color: #E0E0E0;
    color: #E0E0E0;
    cursor: not-allowed;
    opacity: 0.5;
}

#section-hiring-flow .nav-btn:not(:disabled):hover {
    transform: scale(1.1);
    opacity: 0.9;
}

#section-hiring-flow .nav-btn svg {
    width: 20px;
    height: 20px;
}
