
/* SENSOY24 Update 40 */

.employment-offer-card,
.offer-public-card {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
}

.employment-offer-card {
    margin-top: 22px;
}

.employment-offer-head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
}

.employment-offer-head h2 {
    margin: 5px 0;
}

.employment-offer-history {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.employment-offer-history > article {
    padding: 12px 0;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid var(--line);
}

.employment-offer-history > article:last-child {
    border-bottom: 0;
}

.employment-offer-history > article > div:first-child {
    display: grid;
    gap: 4px;
}

.employment-offer-history span {
    color: #68747f;
    font-size: 12px;
}

.employment-offer-actions {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
}

.employment-offer-actions form {
    margin: 0;
}

.offer-public-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 22px;
    align-items: start;
}

.offer-status-row {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    align-items: center;
}

.offer-status {
    display: inline-flex;
    padding: 6px 9px;
    border-radius: 999px;
    background: #eef1f4;
    color: #59656f;
    font-size: 12px;
    font-weight: 900;
}

.offer-status.status-accepted {
    background: #edf7ef;
    color: #286236;
}

.offer-status.status-declined,
.offer-status.status-withdrawn,
.offer-status.status-expired {
    background: #fff0f0;
    color: #842029;
}

.offer-status.status-sent {
    background: #eef4fb;
    color: #204f88;
}

.offer-facts-grid {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.offer-facts-grid > div {
    padding: 13px;
    display: grid;
    gap: 4px;
    border-radius: 10px;
    background: #f7f8fa;
}

.offer-facts-grid span {
    color: #75808a;
    font-size: 11px;
}

.offer-note {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.offer-note h2 {
    margin-top: 0;
}

.offer-response-form {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.offer-response-form label {
    display: grid;
    gap: 7px;
    font-weight: 800;
}

.offer-response-actions {
    margin-top: 12px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.offer-public-side {
    display: grid;
    gap: 14px;
}

.offer-public-side .offer-public-card {
    position: sticky;
    top: 95px;
}

.offer-public-side a {
    margin-top: 8px;
}

.offer-list {
    display: grid;
    gap: 12px;
}

.offer-list-card {
    padding: 18px;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
}

.offer-list-card h2 {
    margin: 7px 0 4px;
}

.offer-list-card p {
    margin: 0;
    color: #68747f;
}

.offer-list-meta {
    display: grid;
    gap: 5px;
    text-align: right;
}

.offer-list-meta span {
    color: #68747f;
    font-size: 12px;
}

@media (max-width: 850px) {
    .offer-public-layout {
        grid-template-columns: 1fr;
    }

    .offer-public-side .offer-public-card {
        position: static;
    }
}

@media (max-width: 700px) {
    .employment-offer-head,
    .employment-offer-history > article,
    .offer-list-card {
        flex-direction: column;
        align-items: stretch;
    }

    .offer-facts-grid {
        grid-template-columns: 1fr;
    }

    .offer-list-meta {
        text-align: left;
    }
}
