/* ============================================================
   Kariyer sayfası — sol kariyer politikası + sağ başvuru paneli.
   Site fontu: Akkaya Nexa XBold · Site rengi: --rs-theme-orange
   Tüm sınıflar akk-cr- ile prefix'li (genel .field/.row/.drop/.submit
   /.done/.consent/.eyebrow ile çakışmasın diye).
   ============================================================ */
.akk-cr {
    --akk-cr-ink: var(--rs-title-primary, #1f1f1f);
    --akk-cr-paper: #fff;
    --akk-cr-steel: var(--rs-text-primary, #616161);
    --akk-cr-line: rgba(16, 21, 26, 0.13);
    --akk-cr-brand: var(--rs-theme-orange, #e22a2a);
    --akk-cr-brand-dark: #c81f1f;

    --akk-cr-panel: #141a20;
    --akk-cr-on-panel: #e9eae8;
    --akk-cr-panel-line: rgba(233, 234, 232, 0.16);
    --akk-cr-panel-field: rgba(233, 234, 232, 0.045);

    --akk-cr-ease: cubic-bezier(0.16, 1, 0.3, 1);
    --akk-cr-ff: var(--rs-ff-body, "Akkaya Nexa XBold", sans-serif);

    padding: clamp(64px, 9vw, 128px) clamp(20px, 5vw, 64px);
    background: var(--akk-cr-paper);
    color: var(--akk-cr-ink);
}
.akk-cr__inner {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(36px, 5vw, 88px);
    align-items: start;
}

/* ---------- Sol: politika ---------- */
.akk-cr__eyebrow {
    display: flex;
    align-items: center;
    gap: 16px;
    font-family: var(--akk-cr-ff);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--akk-cr-brand);
    margin: 0;
}
.akk-cr__eyebrow::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--akk-cr-line);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1s var(--akk-cr-ease);
}
.akk-cr.is-in .akk-cr__eyebrow::after {
    transform: scaleX(1);
}

.akk-cr-policy__title {
    font-family: var(--akk-cr-ff);
    font-size: clamp(28px, 3.8vw, 46px);
    font-weight: 600;
    letter-spacing: -0.022em;
    line-height: 1.1;
    margin: 22px 0 0;
    padding-bottom: clamp(24px, 3vw, 36px);
    border-bottom: 1px solid var(--akk-cr-line);
    color: var(--akk-cr-ink);
}
.akk-cr-policy__list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.akk-cr-policy__item {
    position: relative;
    padding: clamp(22px, 3vw, 32px) 0 clamp(22px, 3vw, 32px) 44px;
    border-bottom: 1px solid var(--akk-cr-line);
    font-size: 15.5px;
    line-height: 1.75;
    color: #3a444c;
    opacity: 0;
    transform: translateY(14px);
    transition:
        opacity 0.7s ease,
        transform 0.7s var(--akk-cr-ease);
    transition-delay: var(--d, 0ms);
}
.akk-cr.is-in .akk-cr-policy__item {
    opacity: 1;
    transform: none;
}
.akk-cr-policy__item::before {
    content: "";
    position: absolute;
    left: 0;
    top: calc(clamp(22px, 3vw, 32px) + 0.62em);
    width: 20px;
    height: 2px;
    background: var(--akk-cr-brand);
}

/* ---------- Sağ: başvuru paneli ---------- */
.akk-cr-apply {
    position: sticky;
    top: 32px;
    background: #494848;
    color: var(--akk-cr-on-panel);
    padding: clamp(28px, 3.2vw, 44px);
    opacity: 0;
    transform: translateY(22px);
    transition:
        opacity 0.9s ease 0.15s,
        transform 0.9s var(--akk-cr-ease) 0.15s;
}
.akk-cr.is-in .akk-cr-apply {
    opacity: 1;
    transform: none;
}

.akk-cr-apply__eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: var(--akk-cr-ff);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(233, 234, 232, 0.5);
    margin: 0;
}
.akk-cr-apply__eyebrow::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--akk-cr-panel-line);
}
.akk-cr-apply__title {
    font-family: var(--akk-cr-ff);
    font-size: clamp(26px, 2.6vw, 34px);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #ffffff;
    line-height: 1;
    margin: 16px 0 30px;
}

.akk-cr-field {
    margin-bottom: 20px;
}
.akk-cr-field > label,
.akk-cr-field__legend {
    display: block;
    font-family: var(--akk-cr-ff);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(233, 234, 232, 0.5);
    margin-bottom: 9px;
}
.akk-cr-field input,
.akk-cr-field select,
.akk-cr-field textarea {
    width: 100%;
    font-family: var(--akk-cr-ff);
    font-size: 15px;
    color: var(--akk-cr-on-panel);
    background: var(--akk-cr-panel-field);
    border: 1px solid var(--akk-cr-panel-line);
    padding: 14px 15px;
    border-radius: 0;
    transition:
        border-color 0.25s ease,
        background 0.25s ease;
    -webkit-appearance: none;
    appearance: none;
}
.akk-cr-field textarea {
    min-height: 104px;
    resize: vertical;
    line-height: 1.6;
}
.akk-cr-field input::placeholder,
.akk-cr-field textarea::placeholder {
    color: rgba(233, 234, 232, 0.32);
}
.akk-cr-field input:focus,
.akk-cr-field select:focus,
.akk-cr-field textarea:focus {
    outline: none;
    border-color: var(--akk-cr-brand);
    background: rgba(233, 234, 232, 0.07);
}
.akk-cr-field select {
    color: var(--akk-cr-on-panel);
    cursor: pointer;
    background-image:
        linear-gradient(45deg, transparent 50%, rgba(233, 234, 232, 0.55) 50%),
        linear-gradient(135deg, rgba(233, 234, 232, 0.55) 50%, transparent 50%);
    background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}
.akk-cr-field select option {
    background: var(--akk-cr-panel);
    color: var(--akk-cr-on-panel);
}
.akk-cr-field.has-error input,
.akk-cr-field.has-error select,
.akk-cr-field.has-error textarea,
.akk-cr-field.has-error .akk-cr-drop {
    border-color: var(--akk-cr-brand);
}
.akk-cr-field__error {
    display: none;
    font-size: 12px;
    color: var(--akk-cr-brand);
    margin-top: 7px;
    letter-spacing: 0.01em;
}
.akk-cr-field.has-error .akk-cr-field__error {
    display: block;
}

.akk-cr-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* CV yükleme */
.akk-cr-drop {
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px dashed var(--akk-cr-panel-line);
    background: var(--akk-cr-panel-field);
    padding: 18px;
    cursor: pointer;
    transition:
        border-color 0.25s ease,
        background 0.25s ease;
}
.akk-cr-drop:hover,
.akk-cr-drop.is-over {
    border-color: var(--akk-cr-brand);
    background: rgba(233, 234, 232, 0.07);
}
.akk-cr-drop__icon {
    flex: 0 0 42px;
    height: 42px;
    display: grid;
    place-items: center;
    background: rgba(233, 234, 232, 0.07);
}
.akk-cr-drop__icon svg {
    width: 17px;
    height: 17px;
    stroke: var(--akk-cr-on-panel);
    stroke-width: 1.5;
    fill: none;
}
.akk-cr-drop__name {
    font-family: var(--akk-cr-ff);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 0 0 5px;
}
.akk-cr-drop__hint {
    font-size: 11.5px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(233, 234, 232, 0.45);
    margin: 0;
}
.akk-cr-drop.has-file .akk-cr-drop__icon {
    background: var(--akk-cr-brand);
}
.akk-cr-drop__clear {
    margin-left: auto;
    background: none;
    border: 0;
    color: rgba(233, 234, 232, 0.45);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    padding: 4px 6px;
    display: none;
}
.akk-cr-drop.has-file .akk-cr-drop__clear {
    display: block;
}
.akk-cr-drop__clear:hover {
    color: var(--akk-cr-brand);
}
.akk-cr input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

/* onay */
.akk-cr-consent {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 26px 0 22px;
    cursor: pointer;
}
.akk-cr-consent input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}
.akk-cr-consent__box {
    flex: 0 0 18px;
    height: 18px;
    margin-top: 1px;
    border: 1px solid var(--akk-cr-panel-line);
    display: grid;
    place-items: center;
    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}
.akk-cr-consent__box svg {
    width: 11px;
    height: 11px;
    stroke: #fff;
    stroke-width: 2.4;
    fill: none;
    opacity: 0;
    transition: opacity 0.2s ease;
}
.akk-cr-consent input:checked + .akk-cr-consent__box {
    background: var(--akk-cr-brand);
    border-color: var(--akk-cr-brand);
}
.akk-cr-consent input:checked + .akk-cr-consent__box svg {
    opacity: 1;
}
.akk-cr-consent input:focus-visible + .akk-cr-consent__box {
    outline: 2px solid var(--akk-cr-brand);
    outline-offset: 2px;
}
.akk-cr-consent__text {
    font-size: 13px;
    line-height: 1.6;
    color: rgba(233, 234, 232, 0.7);
}
.akk-cr-consent__text a {
    color: var(--akk-cr-on-panel);
    text-underline-offset: 3px;
}
.akk-cr-consent.has-error .akk-cr-consent__box {
    border-color: var(--akk-cr-brand);
}

/* buton */
.akk-cr-submit {
    width: 100%;
    border: 0;
    background: var(--akk-cr-brand);
    color: #fff;
    cursor: pointer;
    font-family: var(--akk-cr-ff);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.06em;
    padding: 19px 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: background 0.25s ease;
}
.akk-cr-submit:hover {
    background: var(--akk-cr-brand-dark);
}
.akk-cr-submit:focus-visible {
    outline: 2px solid #fff;
    outline-offset: -5px;
}
.akk-cr-submit svg {
    width: 17px;
    height: 17px;
    stroke: #fff;
    stroke-width: 1.6;
    fill: none;
    transition: transform 0.3s var(--akk-cr-ease);
}
.akk-cr-submit:hover svg {
    transform: translateX(5px);
}
.akk-cr-submit[disabled] {
    opacity: 0.6;
    cursor: default;
}

/* teşekkür ekranı */
.akk-cr-done {
    display: none;
    text-align: center;
    padding: 36px 0 20px;
}
.akk-cr-apply.is-done .akk-cr-apply__form {
    display: none;
}
.akk-cr-apply.is-done .akk-cr-done {
    display: block;
}
.akk-cr-done__mark {
    width: 56px;
    height: 56px;
    margin: 0 auto 24px;
    background: var(--akk-cr-brand);
    display: grid;
    place-items: center;
}
.akk-cr-done__mark svg {
    width: 24px;
    height: 24px;
    stroke: #fff;
    stroke-width: 2;
    fill: none;
}
.akk-cr-done__title {
    font-family: var(--akk-cr-ff);
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 12px;
}
.akk-cr-done__text {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(233, 234, 232, 0.65);
    margin: 0 auto 28px;
    max-width: 34ch;
}
.akk-cr-done__again {
    background: none;
    border: 1px solid var(--akk-cr-panel-line);
    color: var(--akk-cr-on-panel);
    cursor: pointer;
    font-family: var(--akk-cr-ff);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 14px 26px;
    transition:
        border-color 0.25s ease,
        background 0.25s ease;
}
.akk-cr-done__again:hover {
    border-color: var(--akk-cr-on-panel);
    background: rgba(233, 234, 232, 0.06);
}

/* nice-select eklentisi (site genelinde $('select').niceSelect()) bu selecti
   bir widget'a sarıyor; koyu panele uyacak şekilde override ediyoruz. */
.akk-cr .nice-select {
    float: none;
    width: 100%;
    height: auto;
    min-height: 49px;
    line-height: 1.4;
    display: flex;
    align-items: center;
    color: var(--akk-cr-on-panel);
    background: var(--akk-cr-panel-field);
    border: 1px solid var(--akk-cr-panel-line);
    border-radius: 0;
    padding: 14px 44px 14px 15px;
    font-family: var(--akk-cr-ff);
    font-size: 15px;
    transition:
        border-color 0.25s ease,
        background 0.25s ease;
}
.akk-cr .nice-select:hover,
.akk-cr .nice-select.open,
.akk-cr .nice-select:focus {
    border-color: var(--akk-cr-brand);
    background: rgba(233, 234, 232, 0.07);
}
.akk-cr .nice-select .current {
    color: var(--akk-cr-on-panel);
    font-family: var(--akk-cr-ff);
}
.akk-cr .nice-select::after {
    color: rgba(233, 234, 232, 0.55);
    inset-inline-end: 16px;
    font-size: 14px;
}
.akk-cr .nice-select .list {
    left: 0;
    right: 0;
    width: 100%;
    background: var(--akk-cr-panel);
    border: 1px solid var(--akk-cr-panel-line);
    border-radius: 0;
    box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.6);
    margin-top: 4px;
    max-height: 260px;
    overflow-y: auto;
}
.akk-cr .nice-select .option {
    color: var(--akk-cr-on-panel);
    background: transparent;
    line-height: 1.4;
    min-height: 0;
    padding: 11px 15px;
}
.akk-cr .nice-select .option:hover,
.akk-cr .nice-select .option.focus,
.akk-cr .nice-select .option.selected.focus {
    background: rgba(233, 234, 232, 0.08);
    color: #fff;
}
.akk-cr .nice-select .option.selected {
    color: #fff;
    font-weight: inherit;
}
.akk-cr .nice-select .option.disabled {
    color: rgba(233, 234, 232, 0.35);
    background: transparent;
}
.akk-cr-field.has-error .nice-select {
    border-color: var(--akk-cr-brand);
}

@media (max-width: 980px) {
    .akk-cr__inner {
        grid-template-columns: 1fr;
    }
    .akk-cr-apply {
        position: static;
    }
}
@media (max-width: 520px) {
    .akk-cr-row {
        grid-template-columns: 1fr;
    }
}
@media (prefers-reduced-motion: reduce) {
    .akk-cr-policy__item,
    .akk-cr-apply,
    .akk-cr__eyebrow::after,
    .akk-cr-submit svg {
        transition: none;
    }
}
