﻿.emp-wrapper {
    max-width: 1400px;
    margin: auto;
}

.emp-section {
    background: #fff;
    margin-bottom: 25px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.emp-title {
    background: #3daec4;
    color: #fff;
    padding: 14px 20px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.emp-table {
    width: 100%;
    border-collapse: collapse;
}

    .emp-table th {
        width: 20%;
        background: #f8fafb;
        padding: 15px;
        text-align: left;
        font-weight: 700;
        color: #222;
        border: 1px solid #e5e5e5;
    }

    .emp-table td {
        width: 30%;
        padding: 15px;
        color: #444;
        border: 1px solid #e5e5e5;
    }

.emp-badge {
    background: #6c757d;
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

    .emp-badge.yes {
        background: #3daec4;
    }

.emp-table tr:hover {
    background: #fafafa;
}

@media (max-width: 768px) {
    .emp-table,
    .emp-table tbody,
    .emp-table tr,
    .emp-table th,
    .emp-table td {
        display: block;
        width: 100%;
    }

        .emp-table tr {
            border-bottom: 2px solid #eee;
            padding: 10px 0;
        }

        .emp-table th {
            background: #f5f5f5;
            border: none;
            padding-bottom: 5px;
        }

        .emp-table td {
            border: none;
            padding-top: 0;
            padding-bottom: 15px;
        }
}

/* BUDGET DETAILS */

.bd-relocation-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 20px 5px;
}

.bd-relocation-label {
    font-size: 15px;
    color: #222;
    font-weight: 600;
}

.bd-header-row {
    padding: 20px 20px 10px;
}

.bd-heading {
    font-size: 20px;
    font-weight: 700;
    color: #222;
}

.bd-table {
    width: calc(100% - 40px);
    margin: 0 20px 20px;
    border-collapse: collapse;
    overflow: hidden;
}

    .bd-table thead tr {
        background: #3daec4;
        color: #fff;
    }

    .bd-table th {
        padding: 12px 15px;
        text-align: left;
        font-size: 13px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .bd-table td {
        padding: 12px 15px;
        font-size: 14px;
        color: #333;
        border-bottom: 1px solid #e5e5e5;
    }

    .bd-table tbody tr:hover {
        background: #fafafa;
    }

/* SOURCING CHANNEL */

.sc-cost-title {
    background: #3daec4;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    padding: 12px 16px;
    margin: 15px 20px 0;
}

.sc-finance-title {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    padding: 25px 20px 10px;
}

/* JOB DESCRIPTION VIEW */

.jd-view-block {
    padding: 5px 20px 20px;
}

.jd-view-title {
    font-size: 14px;
    font-weight: 700;
    color: #222;
    margin-bottom: 8px;
}

.jd-view-text {
    font-size: 14px;
    color: #444;
    line-height: 1.6;
}

.jd-rp-title {
    background: #3daec4;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    padding: 12px 16px;
    margin: 15px 20px 0;
    border-radius: 4px 4px 0 0;
}

.jd-rp-list {
    list-style: none;
    border: 1px solid #e5e5e5;
    border-top: none;
    margin: 0 20px 20px;
}

    .jd-rp-list li {
        position: relative;
        padding: 12px 16px 12px 34px;
        font-size: 13.5px;
        color: #333;
        border-bottom: 1px dashed #dfe3e6;
    }

        .jd-rp-list li:last-child {
            border-bottom: none;
        }

        .jd-rp-list li::before {
            content: "\25C8";
            position: absolute;
            left: 14px;
            color: #444;
            font-size: 11px;
        }

/* WORKFLOW */

.wf-stepper {
    list-style: none;
    display: flex;
    justify-content: space-between;
    padding: 40px 40px 30px;
    margin: 0;
    position: relative;
    background: #f8fafb;
}

    .wf-stepper::before {
        content: "";
        position: absolute;
        top: 75px;
        left: 10%;
        right: 10%;
        height: 3px;
        background: #d7d7d7;
        z-index: 1;
    }

.wf-step {
    width: 25%;
    text-align: center;
    position: relative;
    z-index: 2;
}

.wf-number {
    color: #999;
    font-size: 14px;
    margin-bottom: 8px;
    font-weight: 600;
}

.wf-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #fff;
    border: 4px solid #cfd6dc;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 26px;
    font-weight: 700;
    color: #999;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.wf-step.completed .wf-circle {
    border-color: #3daec4;
    color: #3daec4;
}

.wf-step.active .wf-circle {
    border-color: #ff8a00;
    color: #ff8a00;
    box-shadow: 0 0 0 6px rgba(255, 138, 0, 0.15);
}

.wf-step h4 {
    margin-top: 15px;
    margin-bottom: 5px;
    font-size: 15px;
    color: #333;
}

.wf-step p {
    font-size: 13px;
    color: #777;
}

.wf-history-title {
    padding: 20px;
    font-size: 22px;
    font-weight: 700;
    color: #222;
}

/* STATUS BADGES */

.wf-status {
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

    .wf-status.submitted {
        background: #ffc107;
        color: #000;
    }

    .wf-status.pending {
        background: #0d6efd;
        color: #fff;
    }

    .wf-status.waiting {
        background: #f2f2f2;
        border: 1px solid #ccc;
        color: #555;
    }

/* RESPONSIVE */

@media (max-width: 992px) {
    .wf-stepper {
        flex-direction: column;
        gap: 30px;
    }

        .wf-stepper::before {
            display: none;
        }

    .wf-step {
        width: 100%;
        display: flex;
        align-items: center;
        gap: 20px;
        text-align: left;
    }

    .wf-circle {
        margin: 0;
        flex-shrink: 0;
    }

    .wf-number {
        display: none;
    }
}
