
/* SENSOY24 Update 38 */

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

.application-status-layout main,
.application-status-layout aside {
    display: grid;
    gap: 18px;
}

.application-status-card,
.application-followup-card {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
}

.candidate-status-large {
    margin-top: 10px;
    padding: 16px;
    border-radius: 12px;
    font-size: 22px;
    font-weight: 900;
}

.candidate-status-large.status-neutral { background: #f2f4f6; }
.candidate-status-large.status-active { background: #eef4fb; color: #204f88; }
.candidate-status-large.status-success { background: #edf7ef; color: #286236; }
.candidate-status-large.status-danger { background: #fff0f0; color: #842029; }

.candidate-status-progress {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 7px;
}

.candidate-status-progress > div {
    position: relative;
    padding-top: 24px;
    text-align: center;
    color: #8a939c;
    font-size: 11px;
}

.candidate-status-progress > div::before {
    content: "";
    position: absolute;
    top: 7px;
    left: 0;
    right: 0;
    height: 2px;
    background: #dfe3e7;
}

.candidate-status-progress > div span {
    position: absolute;
    top: 1px;
    left: 50%;
    width: 14px;
    height: 14px;
    transform: translateX(-50%);
    border: 2px solid #d4d9de;
    border-radius: 50%;
    background: #fff;
    z-index: 1;
}

.candidate-status-progress > div.is-reached {
    color: #111;
}

.candidate-status-progress > div.is-reached::before {
    background: #111;
}

.candidate-status-progress > div.is-reached span {
    border-color: #111;
    background: #111;
}

.application-timeline {
    margin-top: 16px;
    display: grid;
}

.application-timeline article {
    position: relative;
    padding: 0 0 22px 28px;
}

.application-timeline article::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 13px;
    bottom: -2px;
    width: 2px;
    background: #e0e4e8;
}

.application-timeline article:last-child::before {
    display: none;
}

.timeline-dot {
    position: absolute;
    left: 0;
    top: 5px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #111;
}

.application-timeline article > div:last-child {
    display: grid;
    gap: 4px;
}

.application-timeline time {
    color: #74808a;
    font-size: 11px;
}

.application-timeline p {
    margin: 0;
    color: #67727d;
}

.application-status-actions a {
    margin-top: 8px;
}

.application-followup-card {
    margin-top: 22px;
}

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

.followup-summary {
    margin-bottom: 22px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.followup-summary > div {
    padding: 18px;
    display: grid;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
}

.followup-summary strong {
    font-size: 28px;
}

.followup-summary span {
    color: #69747f;
    font-size: 12px;
}

.followup-section {
    margin-top: 22px;
}

.followup-list {
    display: grid;
    gap: 11px;
}

.followup-card {
    padding: 17px;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: #fff;
}

.followup-card.is-overdue {
    border-color: #dfb3b3;
    background: #fff7f7;
}

.followup-card h3 {
    margin: 5px 0;
}

.followup-card p {
    margin: 0;
    color: #65707b;
}

.followup-date {
    font-size: 12px;
    font-weight: 900;
}

.followup-note {
    margin-top: 10px;
    color: #46515c;
    line-height: 1.5;
}

.followup-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.followup-actions form {
    margin: 0;
}

.followup-list.is-done {
    opacity: .75;
}

@media (max-width: 900px) {
    .application-status-layout {
        grid-template-columns: 1fr;
    }

    .candidate-status-progress {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 700px) {
    .followup-summary {
        grid-template-columns: 1fr;
    }

    .application-followup-head,
    .followup-card {
        flex-direction: column;
    }
}
