html.has-hr-application { overflow: hidden; }
html.has-hr-application .site-quickbar { visibility: hidden; pointer-events: none; }
.hr-modal { position: fixed; inset: 0; width: min(630px, calc(100% - 60px)); max-width: none; max-height: calc(100dvh - 60px); margin: auto; padding: 0; border: 0; border-radius: var(--radius-lg); color: #fff; background: var(--kak-dark); overflow: hidden; color-scheme: dark; }
.hr-modal::backdrop { background: rgb(0 0 0 / 10%); backdrop-filter: blur(20px); opacity: var(--hr-backdrop, 1); }
.hr-modal__surface { display: flex; flex-direction: column; max-height: calc(100dvh - 60px); }
.hr-modal__header { display: flex; flex: 0 0 54px; align-items: center; justify-content: space-between; padding-left: 30px; border-bottom: 1px solid rgb(255 255 255 / 5%); }
.hr-modal__header .hr-subline { margin: 0; font-size: 12px; font-weight: 600; }
.hr-modal__close { display: grid; width: 68px; align-self: stretch; place-items: center; border: 0; border-left: 1px solid rgb(255 255 255 / 5%); padding: 0; color: #fff; background: transparent; cursor: pointer; }
.hr-modal__close:hover { color: var(--kak-red); }
.hr-modal__content { min-height: 0; padding: 30px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--kak-red) #202020; }
.hr-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px 30px; }
.hr-form .form-field { --field-label-rest: 42px; --field-label-color: rgb(255 255 255 / 55%); --field-label-active: rgb(255 255 255 / 85%); }
.hr-form__field { display: flex; flex-direction: column; gap: 8px; min-width: 0; color: rgb(255 255 255 / 85%); font-size: 13px; font-weight: 400; line-height: 1.4; }
.hr-form__field--wide { grid-column: 1 / -1; }
.hr-form :is(input,textarea) { width: 100%; min-width: 0; border: 1px solid rgb(255 255 255 / 18%); border-radius: var(--radius-xs); padding: 10px 12px; background: #202020; color: #fff; font: 400 16px/1.4 Outfit, sans-serif; transition: border-color .2s; }
.hr-form :is(input,textarea):is(:hover,:focus) { border-color: rgb(255 255 255 / 50%); outline: none; box-shadow: none; }
.hr-form textarea { resize: vertical; min-height: 90px; max-height: 240px; }
.hr-form input[type="file"] { font-size: 13px; cursor: pointer; }
.hr-form input::file-selector-button { border: 0; border-radius: var(--radius-xs); padding: 8px 12px; margin-right: 12px; background: var(--kak-dark); color: #fff; font: inherit; cursor: pointer; transition: background-color .2s; }
.hr-form input::file-selector-button:hover { background: var(--kak-red); }
.hr-form__hint { color: rgb(255 255 255 / 55%); font-size: 12px; font-weight: 300; }
.hr-form :is(input, textarea, select):user-invalid, .hr-form .wpcf7-not-valid { border-color: var(--kak-red); }
/* Old-site fields (26 Ekim 2026): CF7 selects with the prompt as their first option, dark like the inputs. */
.hr-form .wpcf7-form-control-wrap select.wpcf7-select { width: 100%; min-width: 0; appearance: none; border: 1px solid rgb(255 255 255 / 18%); border-radius: var(--radius-xs); padding: 10px 40px 10px 12px; background: #202020 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.8'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 16px; color: #fff; font: 400 16px/1.4 Outfit, sans-serif; cursor: pointer; transition: border-color .2s; }
.hr-form .wpcf7-form-control-wrap select.wpcf7-select:is(:hover, :focus) { border-color: rgb(255 255 255 / 50%); outline: none; }
.hr-form .wpcf7-form-control-wrap select.wpcf7-select:has(option[value=""]:checked) { color: rgb(255 255 255 / 55%); }
.hr-form select option { color: #fff; background: #202020; }
/* KVKK consents (CF7 acceptance): div.hr-form__consent > wrap > .wpcf7-acceptance > .wpcf7-list-item > label > input + text. */
.hr-form__consent { grid-column: 1 / -1; min-width: 0; color: rgb(255 255 255 / 70%); font-size: 12px; font-weight: 400; line-height: 1.5; }
.hr-form__consent + .hr-form__consent { margin-top: -5px; }
.hr-form__consent label { display: flex; align-items: flex-start; gap: 10px; cursor: default; }
.hr-form__consent a { color: #fff; font-weight: 500; transition: color .2s; }
.hr-form__consent a:is(:hover, :focus-visible) { color: var(--kak-red); }
.hr-form__consent input { position: relative; appearance: none; flex: 0 0 18px; width: 18px; height: 18px; margin: 1px 0 0; padding: 0; border: 1px solid rgb(255 255 255 / 35%); border-radius: var(--radius-xs); background: #202020; cursor: pointer; }
.hr-form__consent input:is(:hover, :focus-visible) { border-color: rgb(255 255 255 / 60%); }
.hr-form__consent input:focus-visible { outline: 2px solid rgb(237 28 36 / 50%); outline-offset: 3px; }
.hr-form__consent input:checked { border-color: var(--kak-red); background: var(--kak-red); }
.hr-form__consent input:checked::after { content: ''; position: absolute; left: 5px; top: 2px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.hr-form__actions, .hr-form .wpcf7-response-output { grid-column: 1 / -1; }
.hr-form__actions { display: flex; justify-content: flex-end; margin-top: 10px; }
.hr-modal .wpcf7-response-output { margin: 0; font-size: 14px; line-height: 1.5; color: rgb(255 255 255 / 80%); }
.hr-modal button:focus-visible { outline: 1px solid #fff; outline-offset: 3px; }
@media (max-width: 820px) {
  .hr-modal { width: min(630px, calc(100% - 30px)); max-height: calc(100dvh - 30px); }
  .hr-modal__surface { max-height: calc(100dvh - 30px); }
}
@media (max-width: 480px) {
  .hr-form { grid-template-columns: minmax(0, 1fr); gap: 15px; }
  .hr-form__actions { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .hr-modal::backdrop { backdrop-filter: none; }
  .hr-form :is(input,textarea), .hr-form input::file-selector-button { transition: none; }
}
