.employer-page {
    background: #f5f7fb;
    padding: 0 0 60px;
}

.employer-content {
    position: relative;
    overflow: visible;
}

.employer-page-banner {
    max-width: 95%;
    margin: auto;
}

.employer-page-banner img {
    width: 100%;
    border-radius: 0 0 35px 35px;
    box-shadow: 0 22px 55px rgba(16, 32, 51, .12);
}

.employer-header {
    padding-bottom: 1.5rem;
}

.employer-box-info {
    margin-left: 140px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.employer-logo {
    width: 130px;
    height: 130px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    top: -65px;
    background-color: #fff;
    position: absolute;
    box-shadow: 0px 3px 13px rgb(99 34 228 / 64%);
}

.employer-logo img {
    width: 100%;
    padding: 10px;
    height: 100%;
    object-fit: contain;
}

.employer-logo i {
    font-size: 42px;
    color: #6e40f4;
}

.employer-head-info h1 {
    margin: 10px 0 5px;
    font-size: 22px;
    color: #102033;
}

.employer-location,
.employer-website {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-right: 18px;
    color: #667085;
    font-size: 13px;
    text-decoration: none;
}

.employer-website {
    color: #6e40f4;
    font-weight: 600;
}

.employer-website:hover {
    text-decoration: none;
    color: #6e40f4;
}

.employer-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 24px;
    align-items: flex-start;
}

.employer-sidebar {
    position: sticky;
    top: 20px;
}

.employer-box {
    background: #fff;
    border-radius: 18px;
    padding: 24px;
    border: 1px solid #e8edf5;
    margin-bottom: 20px;
}

.employer-box-head {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    align-items: center;
    margin-bottom: 18px;
}

.employer-box h2,
.employer-box-head h2 {
    margin: 0;
    font-size: 19px;
    color: #3c3c3c;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-weight: 600;
}

.employer-box-head span {
    color: #6e40f4;
    font-weight: 800;
    font-size: 14px;
}

.job-list-company {
    display: grid;
    gap: 14px;
}

.job-card-company {
    position: relative;
    display: grid;
    grid-template-columns: 70px 1fr auto;
    gap: 16px;
    padding: 16px;
    border: 1px solid #edf1f7;
    border-radius: 16px;
    text-decoration: none;
    background: #fff;
    transition: .2s;
}

.job-card-company:hover {
    border-color: #6e40f4;
    box-shadow: 0 12px 30px rgba(16, 32, 51, .08);
}

.job-card-link {
    color: #000;
}

.job-card-link:hover {
    text-decoration: none;
    color: #000;
}

.job-card-logo,
.job-card-info,
.job-card-action {
    position: relative;
    z-index: 2;
}

.job-card-logo {
    width: 70px;
    height: 70px;
    border-radius: 14px;
    background: #f1f5ff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.job-card-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.job-card-logo i {
    color: #6e40f4;
    font-size: 26px;
}

.job-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

.job-card-info h3 {
    margin: 0;
    font-size: 17px;
    color: #102033;
    line-height: 1.4;
}

.job-expired-badge {
    background: #ffe5e5;
    color: #d92d20;
    font-size: 12px;
    font-weight: 800;
    padding: 5px 10px;
    border-radius: 999px;
}

.job-expired {
    background: #fafafa;
    opacity: .78;
}

.job-company-name {
    color: #667085;
    font-size: 14px;
    margin-bottom: 5px;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.job-meta span {
    background: #f5f7fb;
    color: #475467;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 12px;
    margin-bottom: 0px;
}

.job-meta i {
    color: #6e40f4;
    margin-right: 5px;
}

.job-card-action {
    display: flex;
    align-items: center;
}

.btn-apply {
    background: #6e40f4;
    color: #fff;
    padding: 10px 15px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.btn-expired {
    background: #e4e7ec;
    color: #667085;
    padding: 10px 15px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 800;
    cursor: not-allowed;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.employer-desc {
    color: #475467;
    line-height: 1.75;
    font-size: 15px;
}

.contact-row {
    padding: 14px 0;
    border-bottom: 1px solid #edf1f7;
}

.contact-row:last-child {
    border-bottom: 0;
}

.contact-row strong {
    display: block;
    color: #102033;
    margin-bottom: 6px;
}

.contact-row span {
    color: #667085;
    line-height: 1.5;
}

.empty-jobs {
    padding: 30px;
    text-align: center;
    color: #667085;
    background: #f8fbff;
    border-radius: 14px;
}

.company-pagination {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 24px;
    flex-wrap: wrap;
}

.company-pagination a {
    min-width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid #e8edf5;
    background: #fff;
    color: #102033;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 700;
}

.company-pagination a.active,
.company-pagination a:hover {
    background: #6e40f4;
    color: #fff;
    border-color: #6e40f4;
}

.share-dropdown-wrap {
    position: relative;
    flex-shrink: 0;
}

.share-trigger {
    height: 42px;
    padding: 0 18px;
    border: 0;
    background: #ece8f5;
    color: #5b2be0;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: .2s;
}

.share-trigger:hover {
    background: #e3dcf3;
}

.share-popup {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 230px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e8edf5;
    box-shadow: 0 18px 50px rgba(16, 32, 51, .12);
    padding: 10px;
    z-index: 999;
    display: none;
}

.share-popup.active {
    display: block;
}

.share-popup a {
    text-decoration: none;
}

.share-item {
    width: 100%;
    border: 0;
    background: transparent;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    text-decoration: none;
    color: #102033;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: .2s;
}

.share-item:hover {
    background: #f5f7fb;
}

.share-item i {
    width: 18px;
    text-align: center;
}

.share-item.facebook i {
    color: #1877f2;
}

.share-item.zalo i {
    color: #0068ff;
}

.share-item.linkedin i {
    color: #0a66c2;
}

.share-item.twitter i {
    color: #111827;
}

.share-item.copy-link i {
    color: #6e40f4;
}



@media (max-width: 991px) {
    .employer-header {
        padding-top: 15px;
    }

    .employer-logo {
        top: unset;
        position: unset;
    }

    .employer-header .container::before {
        display: none;
    }

    .employer-header .container::after {
        display: none;
    }

    .employer-head-info h1 {
        font-size: 18px;
    }

    .employer-box {
        margin-bottom: 0px;
    }

    .contact-row {
        padding: 5px 0;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }

    .contact-row strong {
        margin-bottom: 0px;
    }

    .share-trigger {
        height: 35px;
        font-size: 13px;
    }

    .employer-layout,
    .employer-header {
        grid-template-columns: 1fr;
    }

    .employer-sidebar {
        position: unset;
        display: grid;
        gap: 20px;
    }

    .job-card-company {
        grid-template-columns: 60px 1fr;
    }

    .job-card-action {
        grid-column: 1 / -1;
    }

    .employer-box-info {
        margin-left: 0;
        display: block;
    }

    .employer-header .relative {
        display: grid;
        gap: 20px;
        grid-template-columns: 130px 1fr;
    }

    .share-dropdown-wrap {
        margin-top: 15px;
    }

    .share-popup {
        left: 0;
        right: auto;
    }
}