/* img-wrapper */

.job-card {
    height: max-content;
    position: relative;
    display: flex;
    justify-content: flex-end;
    color: inherit;
    text-decoration: none;
}

.job-card:hover {
    color: inherit;
    text-decoration: none;
}

.job-card .img-shadow {
    height: 10rem;
    width: 8rem;
    position: absolute;
    right: -0.75rem;
    bottom: -0.75rem;
    background: var(--wb-theme-primary);
    border-bottom-left-radius: 0.75rem;
}

.job-card img {
    height: calc(100% + 0.5rem);
    width: 10rem;
    position: absolute;
    top: -0.5rem;
    right: 0;
    bottom: 0;
    object-fit: cover;
    border-radius: 0.75rem;
    border-bottom-right-radius: 0;
}

.job-card .content-wrapper {
    max-width: calc(100% - 5rem);
    background: var(--white-1);
    box-shadow: 0px 3px 8px 0px #191E220A;
    border: 1px solid #E1EFFD;
    border-radius: 0.75rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    row-gap: 1rem;
    padding: 0 .75rem 1rem 0;
}

.job-card .content-wrapper .title {
    width: 100%;
    padding: 1rem 0 1rem 0.5rem;
    background: var(--wb-theme-secondary);
    border-top-left-radius: 0.75rem;
}

.job-card .content-wrapper .title span {
    padding-right: 5rem;
    color: white;
    font-weight: bold;
    line-height: 1.7 !important;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.job-card .content-wrapper .content span {
    padding: 0rem 5rem 0 0.5rem;
    color: var(--wb-theme-text);
    font-weight: 600;
    line-height: 1.7 !important;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.job-card .content-wrapper .date {
    padding-right: 5rem;
    color: var(--wb-theme-text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 12px !important;
    font-weight: 600;
}

.job-card .content-wrapper .date svg path {
    stroke: var(--wb-theme-text);
}

.job-empty-state {
    padding: 2rem;
    background: var(--white-1);
    border: 1px solid #EAEAEA;
    border-radius: 1rem;
    color: var(--wb-theme-text);
    text-align: center;
    font-size: 16px;
    font-weight: 600;
}

.job-details-page {
    color: var(--wb-theme-text);
}

.job-request-page {
    color: var(--wb-theme-text);
}

.job-success-alert {
    margin-bottom: 1.5rem;
    padding: 1rem 1.25rem;
    border: 1px solid color-mix(in srgb, #1A9F58 35%, white 65%);
    border-radius: 1rem;
    background: color-mix(in srgb, #1A9F58 12%, white 88%);
    color: #0f6840;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.8;
}

.job-details-layout {
    row-gap: 2rem;
}

.job-details-content,
.job-details-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.job-details-cover {
    width: 100%;
    aspect-ratio: 780 / 354;
    min-height: 16rem;
    object-fit: cover;
    border-radius: 1rem;
}

.job-details-intro,
.job-details-intro p {
    margin: 0;
    color: var(--wb-theme-text);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.9;
}

.job-details-intro p + p {
    margin-top: 0.75rem;
}

.job-details-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.job-details-section h2,
.related-jobs-card h2 {
    margin: 0;
    color: #043A30;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.8;
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.job-details-section h2 i,
.job-details-section h2 svg {
    width: 24px;
    height: 24px;
    color: var(--wb-theme-primary);
    text-align: center;
    flex: 0 0 auto;
}

.job-details-section h2 svg path,
.job-info-card dt svg path {
    fill: var(--wb-theme-primary);
}

.job-details-section ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.job-details-section li {
    min-height: 3rem;
    padding: 0.5rem;
    color: var(--wb-theme-text);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 14px;
    line-height: 2;
}

.job-details-section li i {
    color: var(--wb-theme-primary);
    font-size: 16px;
}

.job-info-card,
.related-jobs-card {
    padding: 1rem;
    background: var(--white-1);
    border: 1px solid #EAEAEA;
    border-radius: 1.5rem;
}

.job-info-card.is-embedded {
    padding: 0;
    border: 0;
    border-radius: 0;
}

.job-info-card dl {
    margin: 0 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.job-info-card dl > div {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.job-info-card dt {
    margin: 0;
    color: #043A30;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.9;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.job-info-card dt i,
.job-info-card dt svg {
    width: 18px;
    height: 18px;
    color: var(--wb-theme-primary);
    font-size: 16px;
    text-align: center;
    flex: 0 0 auto;
}

.job-info-card dd {
    margin: 0;
    color: var(--wb-theme-text);
    font-size: 14px;
    line-height: 1.9;
}

.job-info-card .btn-primary {
    min-height: 3rem;
    border-color: var(--wb-theme-primary);
    background: var(--wb-theme-primary);
    color: var(--white-1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.related-jobs-card {
    padding-bottom: 1rem;
}

.related-jobs-card h2 {
    margin-bottom: 2rem;
    color: #191C1D;
    justify-content: flex-start;
}

.job-request-summary-card,
.job-apply-form {
    padding: 1.5rem;
    background: var(--white-1);
    border: 1px solid #EAEAEA;
    border-radius: 1rem;
}

.job-request-summary-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.job-request-summary-card > img {
    width: 100%;
    aspect-ratio: 414 / 272;
    border-radius: 1rem;
    object-fit: cover;
}

.job-request-summary-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.job-request-summary-content h2 {
    margin: 0;
    color: #043A30;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.8;
}

.job-request-summary-content p {
    margin: 0;
    color: var(--wb-theme-text);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.8;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
}

.job-apply-form {
    padding: 1.5rem;
}

.job-apply-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.job-apply-field label:not(.job-upload-box) {
    color: #043A30;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 14px;
    font-weight: 700;
}

.job-apply-field label i,
.job-apply-field label svg {
    /* width: 20px; */
    /* height: 20px; */
    color: var(--wb-theme-primary);
    flex: 0 0 auto;
}

.job-apply-field label strong {
    color: #DD0417;
    font-style: normal;
    font-weight: 700;
}

.job-apply-field label em {
    color: #8E8E8E;
    font-style: normal;
    font-weight: 400;
}

.job-apply-field input,
.job-apply-field select,
.job-apply-field textarea {
    width: 100%;
    min-height: 3rem;
    padding: 0.625rem 1rem;
    border: 1px solid #EAEAEA;
    border-radius: 1rem;
    background: var(--white-1);
    color: #043A30;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s ease;
}

.job-apply-field textarea {
    min-height: 5rem;
    resize: vertical;
}

.job-apply-field input::placeholder,
.job-apply-field textarea::placeholder,
.job-apply-field select {
    color: #8E8E8E;
}

.job-apply-field input:focus,
.job-apply-field select:focus,
.job-apply-field textarea:focus {
    border-color: var(--wb-theme-primary);
}

.job-phone-input {
    position: relative;
    direction: ltr;
}

.job-phone-input input {
    padding-inline-start: 5.5rem;
}

.job-phone-prefix {
    position: absolute;
    inset-inline-start: 2.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
}

.job-phone-input > i {
    position: absolute;
    inset-inline-start: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #8E8E8E;
    font-size: 12px;
}

.job-upload-box {
    min-height: 11.625rem;
    padding: 2rem;
    border: 1px dashed var(--wb-theme-primary);
    border-radius: 1rem;
    background: color-mix(in srgb, var(--wb-theme-primary) 8%, white 92%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-align: center;
    cursor: pointer;
}

.job-upload-box input {
    display: none;
}

.job-upload-icon {
    width: 56px;
    height: 56px;
    border-radius: 1rem;
    background: var(--white-1);
    color: var(--wb-theme-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.job-upload-box span:not(.job-upload-icon),
.job-upload-box small {
    color: #777777;
    font-size: 14px;
    line-height: 1.5;
}

.job-upload-box b {
    color: var(--wb-theme-primary);
}

.job-upload-box.has-file {
    border-style: solid;
    background: color-mix(in srgb, var(--wb-theme-primary) 12%, white 88%);
}

.job-upload-file-name {
    max-width: 100%;
    color: var(--wb-theme-primary);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.job-apply-actions {
    display: flex;
    justify-content: flex-end;
}

.job-apply-actions .btn {
    min-width: 100px;
    min-height: 40px;
    border-color: var(--wb-theme-primary);
    background: var(--wb-theme-primary);
    color: var(--white-1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

.related-jobs-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.related-job-item {
    min-height: 8.5rem;
    border: 1px solid #EAEAEA;
    border-radius: 0.75rem;
    overflow: hidden;
    display: grid;
    grid-template-columns: 9.25rem minmax(0, 1fr);
    background: var(--white-1);
}

.related-job-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-job-content {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.related-job-content h3 {
    margin: 0;
    min-height: 2.5rem;
    padding: 0.25rem 1rem;
    background: var(--wb-theme-secondary);
    color: white;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.7;
}

.related-job-content span {
    margin: 0.5rem 1rem 0;
    color: #727272;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 12px;
    line-height: 1.7;
}

.related-job-content span svg {
    width: 16px;
    height: 16px;
}

.related-job-content span svg path {
    stroke: #727272;
}

.related-job-content .btn {
    margin: auto 1rem 0.75rem;
    width: calc(100% - 2rem);
    /* min-height: 2.5rem; */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    /* font-size: 14px; */
    font-weight: 600;
}

.related-job-content .btn-primary-outline {
    border-color: var(--wb-theme-primary);
    color: var(--wb-theme-primary);
}

.related-job-content .btn-primary-outline:hover {
    border-color: var(--wb-theme-primary);
    background: var(--wb-theme-primary);
    color: var(--white-1);
}

@media (max-width: 991.98px) {
    .job-details-cover {
        min-height: 13rem;
    }
}

@media (max-width: 575.98px) {
    .job-apply-form {
        padding: 1rem;
    }

    .related-job-item {
        grid-template-columns: 1fr;
    }

    .related-job-item img {
        height: 12rem;
        order: -1;
    }
}
