.wjp-candidate-profile {
    padding: 40px 0 64px;
    background: var(--wjp-color-background);
}

.wjp-candidate-profile__heading {
    margin-bottom: 24px;
}

.wjp-candidate-profile__eyebrow {
    margin: 0 0 6px;
    color: var(--wjp-color-primary);
    font-size: var(--wjp-text-sm);
    font-weight: 700;
}

.wjp-candidate-profile__heading h1,
.wjp-candidate-profile__heading > p:last-child {
    margin: 0;
}

.wjp-candidate-profile__heading > p:last-child {
    margin-top: 8px;
    color: var(--wjp-color-text-muted);
}

.wjp-candidate-personal {
    margin-bottom: 24px;
    padding: 24px;
    border: 1px solid var(--wjp-color-border);
    border-radius: var(--wjp-radius-lg);
    background: var(--wjp-color-surface);
    box-shadow: var(--wjp-shadow-sm);
}

.wjp-candidate-personal__heading {
    display: flex;
    margin-bottom: 20px;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.wjp-candidate-personal__heading h2,
.wjp-candidate-personal__heading p,
.wjp-candidate-personal__error p {
    margin: 0;
}

.wjp-candidate-personal__heading > div > p {
    margin-top: 6px;
    color: var(--wjp-color-text-muted);
    font-size: var(--wjp-text-sm);
}

.wjp-candidate-personal__completion {
    min-width: max-content;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--wjp-color-primary-soft);
    color: var(--wjp-color-primary-dark);
    font-size: var(--wjp-text-sm);
    font-weight: 600;
}

.wjp-candidate-personal__state {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.wjp-candidate-personal__skeleton {
    display: block;
    min-height: 70px;
    border-radius: var(--wjp-radius-sm);
    background: linear-gradient(100deg, #f3f4f6 20%, #ffffff 40%, #f3f4f6 60%);
    background-size: 200% 100%;
    animation: wjp-candidate-documents-shimmer 1.2s ease-in-out infinite;
}

.wjp-candidate-personal__error {
    padding: 18px;
    border: 1px solid rgba(185, 28, 28, 0.28);
    border-radius: var(--wjp-radius-md);
    background: rgba(185, 28, 28, 0.04);
    color: var(--wjp-color-danger);
}

.wjp-candidate-personal__error .wjp-candidate-documents__button {
    margin-top: 12px;
}

.wjp-candidate-personal__grid {
    display: grid;
    gap: 16px;
}

.wjp-candidate-personal__field {
    min-width: 0;
}

.wjp-candidate-personal__field label {
    display: block;
    margin-bottom: 6px;
    color: var(--wjp-color-text);
    font-size: var(--wjp-text-sm);
    font-weight: 600;
}

.wjp-candidate-personal__field label b {
    color: var(--wjp-color-danger);
}

.wjp-candidate-personal__field input,
.wjp-candidate-personal__field select,
.wjp-candidate-personal__field textarea {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: var(--wjp-radius-sm);
    background-color: var(--wjp-color-white);
    color: var(--wjp-color-text);
    font: inherit;
    box-sizing: border-box;
}

.wjp-candidate-personal__field input,
.wjp-candidate-personal__field select {
    min-height: 44px;
    padding: 9px 12px;
}

.wjp-candidate-personal__field select {
    padding-right: 42px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-position: right 16px center;
    background-repeat: no-repeat;
    background-size: 16px;
}

.wjp-candidate-personal__field select option {
    background: var(--wjp-color-white);
    color: var(--wjp-color-text);
}

.wjp-candidate-personal__field select option:checked {
    background: var(--wjp-color-primary-soft);
    color: var(--wjp-color-primary-dark);
}

.wjp-candidate-personal__select {
    position: relative;
}

body .wjp-candidate-profile .wjp-candidate-personal__select-trigger {
    display: flex;
    width: 100%;
    min-height: 44px;
    padding: 9px 12px;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #d1d5db;
    border-radius: var(--wjp-radius-sm);
    background: var(--wjp-color-white);
    color: var(--wjp-color-text);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

body .wjp-candidate-profile .wjp-candidate-personal__select-trigger span,
body .wjp-candidate-profile .wjp-candidate-personal__select-trigger svg {
    color: var(--wjp-color-text);
}

body .wjp-candidate-profile .wjp-candidate-personal__select-trigger svg {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
    transition: transform 160ms ease;
}

body
    .wjp-candidate-profile
    .wjp-candidate-personal__select.is-open
    .wjp-candidate-personal__select-trigger,
body .wjp-candidate-profile .wjp-candidate-personal__select-trigger:hover {
    border-color: var(--wjp-color-primary);
    background: var(--wjp-color-primary-soft);
    color: var(--wjp-color-text);
}

.wjp-candidate-personal__select.is-open .wjp-candidate-personal__select-trigger svg {
    transform: rotate(180deg);
}

.wjp-candidate-personal__select-trigger:focus-visible {
    border-color: var(--wjp-color-primary);
    outline: 3px solid rgba(240, 90, 0, 0.16);
    outline-offset: 2px;
}

.wjp-candidate-personal__select-menu {
    position: absolute;
    z-index: 2;
    width: 100%;
    max-height: 240px;
    margin-top: 6px;
    overflow-y: auto;
    border: 1px solid var(--wjp-color-border);
    border-radius: var(--wjp-radius-sm);
    background: var(--wjp-color-white);
    box-shadow: var(--wjp-shadow-md);
}

.wjp-candidate-personal__select-menu button {
    display: block;
    width: 100%;
    padding: 9px 12px;
    border: 0;
    border-radius: 0;
    background: var(--wjp-color-white);
    color: var(--wjp-color-text);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.wjp-candidate-personal__select-menu button:hover,
.wjp-candidate-personal__select-menu button:focus-visible,
.wjp-candidate-personal__select-menu button[aria-selected='true'] {
    background: var(--wjp-color-primary-soft);
    color: var(--wjp-color-primary-dark);
    outline: none;
}

.wjp-candidate-personal__select-menu button:active {
    background: #ffe1cc;
    color: var(--wjp-color-primary-dark);
}

.wjp-candidate-personal__field textarea {
    min-height: 132px;
    padding: 11px 12px;
    resize: vertical;
}

.wjp-candidate-personal__field input:focus,
.wjp-candidate-personal__field select:focus,
.wjp-candidate-personal__field textarea:focus {
    border-color: var(--wjp-color-primary);
    outline: 3px solid rgba(240, 90, 0, 0.16);
    outline-offset: 1px;
}

.wjp-candidate-personal__field input:focus-visible,
.wjp-candidate-personal__field select:focus-visible,
.wjp-candidate-personal__field textarea:focus-visible,
.wjp-candidate-documents__button:focus-visible {
    border-color: var(--wjp-color-primary);
    outline: 3px solid rgba(240, 90, 0, 0.16);
    outline-offset: 2px;
}

.wjp-candidate-documents__button--primary:active {
    border-color: var(--wjp-color-primary-dark);
    background: var(--wjp-color-primary-dark);
    color: var(--wjp-color-white);
}

.wjp-candidate-documents__button--secondary:active {
    border-color: var(--wjp-color-primary-dark);
    background: var(--wjp-color-primary-soft);
    color: var(--wjp-color-primary-dark);
}

.wjp-candidate-personal__field small,
.wjp-candidate-personal__field-meta {
    display: block;
    margin-top: 5px;
    color: var(--wjp-color-text-muted);
    font-size: var(--wjp-text-xs);
    line-height: 1.4;
}

.wjp-candidate-personal__field-meta {
    text-align: right;
}

.wjp-candidate-personal__field-error {
    min-height: 1em;
    margin: 5px 0 0;
    color: var(--wjp-color-danger);
    font-size: var(--wjp-text-xs);
    line-height: 1.4;
}

.wjp-candidate-personal__field.is-error input,
.wjp-candidate-personal__field.is-error select,
.wjp-candidate-personal__field.is-error textarea {
    border-color: var(--wjp-color-danger);
}

.wjp-candidate-personal__field.is-error .wjp-candidate-personal__select-trigger {
    border-color: var(--wjp-color-danger);
}

.wjp-candidate-personal__actions {
    display: flex;
    margin-top: 20px;
    justify-content: flex-end;
    gap: 12px;
}

.wjp-candidate-documents {
    padding: 24px;
    border: 1px solid var(--wjp-color-border);
    border-radius: var(--wjp-radius-lg);
    background: var(--wjp-color-surface);
    box-shadow: var(--wjp-shadow-sm);
}

.wjp-candidate-documents__heading {
    display: flex;
    margin-bottom: 20px;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.wjp-candidate-documents__heading h2,
.wjp-candidate-documents__heading p,
.wjp-candidate-documents__upload h3,
.wjp-candidate-documents__upload p,
.wjp-candidate-documents__sign-in p {
    margin: 0;
}

.wjp-candidate-documents__heading p,
.wjp-candidate-documents__upload-content p,
.wjp-candidate-documents__sign-in p {
    margin-top: 6px;
    color: var(--wjp-color-text-muted);
    font-size: var(--wjp-text-sm);
}

.wjp-candidate-documents__count {
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--wjp-color-primary-soft);
    color: var(--wjp-color-primary-dark);
    font-size: var(--wjp-text-sm);
    font-weight: 600;
    white-space: nowrap;
}

.wjp-candidate-documents__upload,
.wjp-candidate-documents__sign-in {
    display: grid;
    padding: 18px;
    align-items: center;
    border: 1px dashed rgba(240, 90, 0, 0.45);
    border-radius: var(--wjp-radius-md);
    background: var(--wjp-color-primary-soft);
    gap: 16px;
}

.wjp-candidate-documents__upload {
    grid-template-columns: auto minmax(0, 1fr);
}

.wjp-candidate-documents__upload-icon {
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--wjp-color-white);
    color: var(--wjp-color-primary);
}

.wjp-candidate-documents__upload-icon svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentcolor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.wjp-candidate-documents__upload-content h3 {
    font-size: var(--wjp-text-md);
}

.wjp-candidate-documents__upload-action {
    display: flex;
    grid-column: 1 / -1;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.wjp-candidate-documents__file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.wjp-candidate-documents__button {
    display: inline-flex;
    min-height: 42px;
    padding: 9px 16px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--wjp-color-primary);
    border-radius: var(--wjp-radius-sm);
    font-size: var(--wjp-text-sm);
    font-weight: 600;
    line-height: 1.35;
    cursor: pointer;
    transition:
        background-color 160ms ease,
        border-color 160ms ease,
        color 160ms ease;
}

.wjp-candidate-documents__button--primary {
    background: var(--wjp-color-primary);
    color: var(--wjp-color-white);
}

body .wjp-candidate-profile .wjp-candidate-documents__button--primary:hover {
    border-color: var(--wjp-color-primary-dark);
    background: var(--wjp-color-primary-dark);
    color: var(--wjp-color-white);
}

.wjp-candidate-documents__button--secondary {
    background: var(--wjp-color-white);
    color: var(--wjp-color-primary);
}

body .wjp-candidate-profile .wjp-candidate-documents__button--secondary:hover {
    border-color: var(--wjp-color-primary-dark);
    background: var(--wjp-color-primary-soft);
    color: var(--wjp-color-primary-dark);
}

.wjp-candidate-documents__button--danger {
    border-color: var(--wjp-color-danger);
    background: var(--wjp-color-white);
    color: var(--wjp-color-danger);
}

body .wjp-candidate-profile .wjp-candidate-documents__button--danger:hover {
    border-color: var(--wjp-color-danger);
    background: rgba(185, 28, 28, 0.08);
    color: var(--wjp-color-danger);
}

body .wjp-candidate-profile .wjp-candidate-documents__button--danger:focus-visible {
    border-color: var(--wjp-color-danger);
    outline: 3px solid rgba(185, 28, 28, 0.16);
    outline-offset: 2px;
}

body .wjp-candidate-profile .wjp-candidate-documents__button--danger:active {
    border-color: var(--wjp-color-danger);
    background: rgba(185, 28, 28, 0.14);
    color: var(--wjp-color-danger);
}

.wjp-candidate-documents__button:disabled {
    border-color: var(--wjp-color-border);
    background: #f3f4f6;
    color: var(--wjp-color-text-muted);
    cursor: not-allowed;
}

.wjp-candidate-documents__upload-status {
    min-height: 1.35em;
    margin: 0;
    color: var(--wjp-color-text-muted);
    font-size: var(--wjp-text-sm);
}

.wjp-candidate-documents__list {
    display: grid;
    margin-top: 20px;
    gap: 12px;
}

.wjp-candidate-documents__card {
    display: grid;
    padding: 16px;
    align-items: center;
    border: 1px solid var(--wjp-color-border);
    border-radius: var(--wjp-radius-md);
    background: var(--wjp-color-white);
    gap: 12px;
}

.wjp-candidate-documents__file {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 12px;
}

.wjp-candidate-documents__pdf-icon {
    display: inline-flex;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border-radius: var(--wjp-radius-sm);
    background: var(--wjp-color-primary-soft);
    color: var(--wjp-color-primary-dark);
    font-size: var(--wjp-text-xs);
    font-weight: 700;
}

.wjp-candidate-documents__pdf-icon svg {
    width: 21px;
    height: 21px;
    stroke-width: 1.9;
}

.wjp-candidate-documents__file-info {
    min-width: 0;
}

.wjp-candidate-documents__file-name {
    display: block;
    overflow: hidden;
    color: var(--wjp-color-text);
    font-size: var(--wjp-text-sm);
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wjp-candidate-documents__meta {
    display: flex;
    margin-top: 4px;
    flex-wrap: wrap;
    gap: 4px 10px;
    color: var(--wjp-color-text-muted);
    font-size: var(--wjp-text-xs);
}

.wjp-candidate-documents__badge {
    display: inline-flex;
    width: fit-content;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(21, 128, 61, 0.1);
    color: var(--wjp-color-success);
    font-size: var(--wjp-text-xs);
    font-weight: 600;
}

.wjp-candidate-documents__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.wjp-candidate-documents__actions .wjp-candidate-documents__button {
    min-height: 38px;
    padding: 7px 12px;
}

.wjp-candidate-documents__actions .wjp-candidate-documents__button--icon {
    width: 32px;
    min-width: 32px;
    min-height: 32px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
}

.wjp-candidate-documents__button--icon svg {
    width: 16px;
    height: 16px;
    pointer-events: none;
    stroke-width: 1.9;
}

body
    .wjp-candidate-profile
    .wjp-candidate-documents__actions
    .wjp-candidate-documents__button--icon:hover,
body
    .wjp-candidate-profile
    .wjp-candidate-documents__actions
    .wjp-candidate-documents__button--icon:active {
    border: 0;
    background: var(--wjp-color-primary-soft);
}

body
    .wjp-candidate-profile
    .wjp-candidate-documents__actions
    .wjp-candidate-documents__button--danger.wjp-candidate-documents__button--icon:hover,
body
    .wjp-candidate-profile
    .wjp-candidate-documents__actions
    .wjp-candidate-documents__button--danger.wjp-candidate-documents__button--icon:active {
    border: 0;
    background: rgba(185, 28, 28, 0.1);
}

.wjp-candidate-documents__empty,
.wjp-candidate-documents__error,
.wjp-candidate-documents__skeleton {
    padding: 24px 16px;
    border: 1px dashed var(--wjp-color-border);
    border-radius: var(--wjp-radius-md);
    color: var(--wjp-color-text-muted);
    text-align: center;
}

.wjp-candidate-documents__empty h3,
.wjp-candidate-documents__empty p,
.wjp-candidate-documents__error p {
    margin: 0;
}

.wjp-candidate-documents__empty p,
.wjp-candidate-documents__error p {
    margin-top: 8px;
    font-size: var(--wjp-text-sm);
}

.wjp-candidate-documents__empty .wjp-candidate-documents__button {
    margin-top: 16px;
}

.wjp-candidate-documents__error {
    border-color: rgba(185, 28, 28, 0.28);
    background: rgba(185, 28, 28, 0.04);
    color: var(--wjp-color-danger);
}

.wjp-candidate-documents__skeleton {
    min-height: 76px;
    border-style: solid;
    background: linear-gradient(100deg, #f3f4f6 20%, #ffffff 40%, #f3f4f6 60%);
    background-size: 200% 100%;
    animation: wjp-candidate-documents-shimmer 1.2s ease-in-out infinite;
}

@keyframes wjp-candidate-documents-shimmer {
    to {
        background-position: -200% 0;
    }
}

@media (min-width: 768px) {
    .wjp-candidate-profile {
        padding: 56px 0 72px;
    }

    .wjp-candidate-documents__upload {
        grid-template-columns: auto minmax(0, 1fr) auto;
    }

    .wjp-candidate-documents__upload-action {
        grid-column: auto;
        justify-content: flex-end;
        flex-direction: column;
        align-items: flex-end;
    }

    .wjp-candidate-documents__card {
        grid-template-columns: minmax(0, 1fr) auto auto;
    }

    .wjp-candidate-personal__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wjp-candidate-personal__field--wide {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767px) {
    .wjp-candidate-profile {
        padding: 32px 0 40px;
    }

    .wjp-candidate-documents {
        padding: 18px;
    }

    .wjp-candidate-documents__heading,
    .wjp-candidate-documents__upload-action,
    .wjp-candidate-personal__heading,
    .wjp-candidate-personal__actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .wjp-candidate-documents__upload-action .wjp-candidate-documents__button,
    .wjp-candidate-documents__sign-in .wjp-candidate-documents__button,
    .wjp-candidate-personal__actions .wjp-candidate-documents__button {
        width: 100%;
    }

    .wjp-candidate-personal__state {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wjp-candidate-documents__button,
    .wjp-candidate-documents__skeleton,
    .wjp-candidate-personal__skeleton {
        animation: none;
        transition: none;
    }
}

/* Candidate account layout. */
.wjp-candidate-profile {
    padding: 48px 0 72px;
    background: linear-gradient(180deg, #fff7f2 0, var(--wjp-color-background) 280px);
}

.wjp-candidate-profile__heading {
    position: relative;
    margin-bottom: 28px;
    padding: 28px 32px;
    overflow: hidden;
    border: 1px solid rgba(240, 90, 0, 0.16);
    border-radius: var(--wjp-radius-lg);
    background: var(--wjp-color-white);
    box-shadow: var(--wjp-shadow-sm);
}

.wjp-candidate-profile__heading::after {
    position: absolute;
    top: -84px;
    right: -64px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(240, 90, 0, 0.07);
    content: '';
}

.wjp-candidate-profile__heading > * {
    position: relative;
    z-index: 1;
}

.wjp-candidate-profile__eyebrow {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--wjp-color-primary-soft);
    font-size: var(--wjp-text-xs);
    letter-spacing: 0.01em;
}

.wjp-candidate-profile__heading h1 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    letter-spacing: -0.02em;
}

.wjp-candidate-profile__heading > p:last-child {
    max-width: 620px;
    font-size: var(--wjp-text-md);
    line-height: 1.6;
}

.wjp-candidate-personal,
.wjp-candidate-documents,
.wjp-candidate-professional,
.wjp-candidate-suggested-jobs {
    position: relative;
    padding: 28px;
    border-color: rgba(31, 41, 55, 0.1);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.wjp-candidate-profile__layout {
    display: grid;
    gap: 24px;
    align-items: start;
}

.wjp-candidate-profile__main {
    display: grid;
    min-width: 0;
    gap: 24px;
}

.wjp-candidate-personal::before,
.wjp-candidate-documents::before,
.wjp-candidate-professional::before {
    position: absolute;
    top: 0;
    left: 28px;
    width: 56px;
    height: 3px;
    border-radius: 0 0 999px 999px;
    background: var(--wjp-color-primary);
    content: '';
}

.wjp-candidate-personal__heading,
.wjp-candidate-documents__heading {
    margin-bottom: 24px;
    align-items: center;
}

.wjp-candidate-personal__heading h2,
.wjp-candidate-documents__heading h2 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    letter-spacing: -0.01em;
}

.wjp-candidate-personal__completion,
.wjp-candidate-documents__count {
    padding: 6px 11px;
    border: 1px solid rgba(240, 90, 0, 0.16);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.wjp-candidate-personal__grid {
    gap: 20px;
}

.wjp-candidate-personal__preview {
    display: grid;
    gap: 18px;
    margin-bottom: 24px;
    padding: 18px;
    border: 1px solid rgba(240, 90, 0, 0.16);
    border-radius: var(--wjp-radius-md);
    background: var(--wjp-color-primary-soft);
}

.wjp-candidate-personal__preview-list dt {
    color: var(--wjp-color-text-muted);
    font-size: var(--wjp-text-xs);
}

.wjp-candidate-personal__preview-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
}

.wjp-candidate-personal__preview-list div,
.wjp-candidate-personal__preview-list dt,
.wjp-candidate-personal__preview-list dd {
    min-width: 0;
    margin: 0;
}

.wjp-candidate-personal__preview-list dd {
    margin-top: 4px;
    overflow: hidden;
    color: var(--wjp-color-text);
    font-size: var(--wjp-text-sm);
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wjp-candidate-personal__field label {
    margin-bottom: 8px;
    font-weight: 600;
}

.wjp-candidate-personal__field input:not([type='hidden']),
.wjp-candidate-personal__field textarea,
body .wjp-candidate-profile .wjp-candidate-personal__select-trigger {
    border-color: #dfe3e8;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.02);
    transition:
        border-color 160ms ease,
        box-shadow 160ms ease,
        background-color 160ms ease;
}

.wjp-candidate-personal__field input:not([type='hidden']):hover,
.wjp-candidate-personal__field textarea:hover,
body .wjp-candidate-profile .wjp-candidate-personal__select-trigger:hover {
    border-color: rgba(240, 90, 0, 0.6);
}

.wjp-candidate-personal__field input:not([type='hidden']):focus,
.wjp-candidate-personal__field textarea:focus,
body
    .wjp-candidate-profile
    .wjp-candidate-personal__select.is-open
    .wjp-candidate-personal__select-trigger {
    border-color: var(--wjp-color-primary);
    background: var(--wjp-color-white);
    box-shadow: 0 0 0 3px rgba(240, 90, 0, 0.12);
    outline: none;
}

.wjp-candidate-personal__select-menu {
    z-index: 4;
    margin-top: 8px;
    padding: 6px;
    border-color: rgba(240, 90, 0, 0.18);
    border-radius: var(--wjp-radius-md);
}

.wjp-candidate-personal__select-menu button {
    margin: 1px 0;
    border-radius: var(--wjp-radius-sm);
    transition:
        background-color 140ms ease,
        color 140ms ease;
}

.wjp-candidate-personal__actions {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--wjp-color-border);
}

.wjp-candidate-professional__heading,
.wjp-candidate-suggested-jobs__heading {
    margin-bottom: 20px;
}

.wjp-candidate-professional__heading h2,
.wjp-candidate-suggested-jobs__heading h2 {
    margin-bottom: 6px;
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    letter-spacing: -0.01em;
}

.wjp-candidate-professional__heading p,
.wjp-candidate-suggested-jobs__heading p {
    margin-bottom: 0;
    color: var(--wjp-color-text-muted);
}

.wjp-candidate-professional__grid {
    display: grid;
    gap: 12px;
}

.wjp-candidate-professional {
    border: 1px solid rgba(31, 41, 55, 0.1);
    border-radius: var(--wjp-radius-lg);
    background: var(--wjp-color-white);
}

.wjp-candidate-professional__item {
    padding: 16px;
    border: 1px solid var(--wjp-color-border);
    border-radius: var(--wjp-radius-md);
    background: var(--wjp-color-white);
}

.wjp-candidate-professional__item h3 {
    margin-bottom: 6px;
    font-size: 0.9375rem;
}

.wjp-candidate-professional__item p {
    margin-bottom: 0;
    color: var(--wjp-color-text-muted);
    font-size: var(--wjp-text-sm);
}

.wjp-candidate-suggested-jobs {
    min-width: 0;
    border: 1px solid rgba(31, 41, 55, 0.1);
    border-radius: var(--wjp-radius-lg);
    background: var(--wjp-color-white);
}

.wjp-candidate-suggested-jobs__list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    min-width: 0;
}

.wjp-candidate-suggested-jobs .wjp-home-job-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 14px;
}

.wjp-candidate-suggested-jobs .wjp-home-job-card__top {
    margin-bottom: 10px;
    min-width: 0;
    gap: 10px;
}

.wjp-candidate-suggested-jobs .wjp-home-company-mark,
.wjp-candidate-suggested-jobs .wjp-home-job-card__top .wjp-home-company-mark {
    width: 38px;
    min-height: 38px;
    height: 38px;
    flex-basis: 38px;
}

.wjp-candidate-suggested-jobs .wjp-home-job-card__top h3 {
    font-size: 0.9375rem;
}

.wjp-candidate-suggested-jobs .wjp-home-job-card__meta {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 9px 0;
}

.wjp-candidate-suggested-jobs .wjp-home-job-card__meta div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.wjp-candidate-suggested-jobs .wjp-home-job-card__meta dt {
    margin-bottom: 0;
}

.wjp-candidate-suggested-jobs .wjp-home-job-card__meta dd {
    text-align: right;
}

.wjp-candidate-suggested-jobs .wjp-home-job-card__footer {
    padding-top: 9px;
}

.wjp-candidate-suggested-jobs .wjp-home-job-card__save {
    display: inline-grid;
    position: absolute;
    z-index: 2;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: var(--wjp-color-white);
    color: var(--wjp-color-primary);
    cursor: pointer;
}

.wjp-candidate-suggested-jobs .wjp-home-job-card__save:hover,
.wjp-candidate-suggested-jobs .wjp-home-job-card__save:focus-visible,
.wjp-candidate-suggested-jobs .wjp-home-job-card__save.is-saved {
    background: var(--wjp-color-primary-soft);
    color: var(--wjp-color-primary);
}

.wjp-candidate-documents__upload {
    margin: 0 auto;
    padding: 28px;
    border-color: rgba(240, 90, 0, 0.32);
    background: #fff8f4;
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
}

.wjp-candidate-documents__upload-icon {
    width: 52px;
    height: 52px;
    border: 1px solid rgba(240, 90, 0, 0.18);
    box-shadow: 0 4px 12px rgba(240, 90, 0, 0.08);
}

.wjp-candidate-documents__upload-content {
    max-width: 420px;
}

.wjp-candidate-documents__upload-content h3 {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
}

.wjp-candidate-documents__upload-action {
    grid-column: auto;
    justify-content: center;
    flex-direction: column;
}

.wjp-candidate-documents__upload-status {
    min-height: 0;
    text-align: center;
}

.wjp-candidate-documents__card {
    padding: 18px;
    border-color: #e7eaee;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    transition:
        border-color 160ms ease,
        box-shadow 160ms ease;
}

.wjp-candidate-documents__card:hover {
    border-color: rgba(240, 90, 0, 0.28);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.07);
}

.wjp-candidate-documents__pdf-icon {
    width: 46px;
    height: 46px;
    border: 1px solid rgba(240, 90, 0, 0.14);
    border-radius: var(--wjp-radius-md);
}

@media (max-width: 767px) {
    .wjp-candidate-profile {
        padding: 32px 0 48px;
    }

    .wjp-candidate-profile__heading,
    .wjp-candidate-personal,
    .wjp-candidate-documents,
    .wjp-candidate-professional,
    .wjp-candidate-suggested-jobs {
        padding: 22px 18px;
    }

    .wjp-candidate-profile__heading {
        margin-bottom: 20px;
    }

    .wjp-candidate-personal::before,
    .wjp-candidate-documents::before,
    .wjp-candidate-professional::before {
        left: 18px;
    }

    .wjp-candidate-personal__heading,
    .wjp-candidate-documents__heading {
        align-items: flex-start;
    }

    .wjp-candidate-personal__actions {
        margin-top: 24px;
    }

    .wjp-candidate-personal__preview-list {
        grid-template-columns: 1fr;
    }

    .wjp-candidate-documents__upload {
        max-width: none;
        padding: 22px 18px;
    }
}

@media (min-width: 768px) {
    .wjp-candidate-professional__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .wjp-candidate-profile__layout {
        grid-template-columns: minmax(0, 1fr) minmax(340px, 390px);
    }
}
