/* KVKK onay linki + popup (iletisim, kariyer) */

.kvkk-metni-link {
  display: inline;
  padding: 0;
  margin: 0;
  border: none;
  background: none;
  font: inherit;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.kvkk-metni-link:hover,
.kvkk-metni-link:focus {
  color: #008e44;
  outline: none;
}

.kvkk-metni-link:focus-visible {
  outline: 2px solid #008e44;
  outline-offset: 2px;
}

.kvkk-modal[hidden] {
  display: none !important;
}

.kvkk-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  overflow: hidden;
}

.kvkk-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.12);
}

.kvkk-modal__panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 640px;
  max-height: min(85vh, 720px);
  overflow: hidden;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(0, 0, 0, 0.06);
  color: #012102;
}

.kvkk-modal__header {
  position: relative;
  flex-shrink: 0;
  padding: 24px 56px 16px 32px;
  border-bottom: 1px solid rgba(1, 33, 2, 0.08);
  background: #fff;
  border-radius: 12px 12px 0 0;
}

.kvkk-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: #f4f7f4;
  color: #012102;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.kvkk-modal__close:hover,
.kvkk-modal__close:focus {
  background: #e8efe8;
}

.kvkk-modal__title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 600;
  color: #008e44;
  display: block;
}

.kvkk-modal__body {
  flex: 1;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 20px 32px 32px;
}

.kvkk-modal__body h3,
.kvkk-modal__body .kvkk-h3 {
  margin: 1.25em 0 0.5em;
  font-size: 1rem;
  font-weight: 600;
  color: #012102;
}

.kvkk-modal__body p {
  margin: 0 0 0.75em;
  font-size: 0.95rem;
  line-height: 1.6;
}

.kvkk-modal__body a {
  color: #008e44;
  text-decoration: underline;
}

html.kvkk-modal-open {
  overflow: hidden;
}

body.kvkk-modal-open #page-container {
  overflow: hidden;
}

/* KVKK onay kutusu — mobilde ETmodules "N" yerine SVG tik */
#et_pb_contact_form_kariyer .et_pb_contact_field_checkbox input[type="checkbox"] + label i:before,
#et_pb_contact_form_0 .et_pb_contact_field_checkbox input[type="checkbox"] + label i:before,
.et_pb_contact_field_checkbox input[type="checkbox"] + label i:before {
  content: "" !important;
  font-family: Arial, Helvetica, sans-serif !important;
}

#et_pb_contact_form_kariyer .et_pb_contact_field_checkbox input[type="checkbox"]:checked + label i:before,
#et_pb_contact_form_0 .et_pb_contact_field_checkbox input[type="checkbox"]:checked + label i:before,
.et_pb_contact_field_checkbox input[type="checkbox"]:checked + label i:before {
  content: "" !important;
  font-family: Arial, Helvetica, sans-serif !important;
  color: transparent !important;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.2L4.8 9 10 3' fill='none' stroke='%23008E44' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 12px 12px !important;
}
