/* Canebiri anket modulu: sitenin GERCEK tema anahtari data-klinik-tema.
   Yalniz anket kapsaminda calisir; ziyaretci acik modunu etkilemez.
   Mevcut klinik-tema katmanindaki !important kurallarla uyumlu. */
@layer klinik-tema {
  html[data-klinik-tema="koyu"] .ce-survey {
    color-scheme:dark;
    --survey-ink:#edf6ff;
    --survey-muted:#c5d8ec;
    --survey-line:#47637c;
    background:linear-gradient(125deg,#182b3d,#1b3046 55%,#2a2948)!important;
    color:#edf6ff!important;
    border-color:#496783!important;
    box-shadow:0 12px 30px rgba(0,0,0,.35)!important;
  }
  html[data-klinik-tema="koyu"] .ce-survey .ce-survey-heading {
    background:linear-gradient(110deg,#15515c,#353d72 65%,#603a60)!important;
    border-color:#60718a!important;
  }
  html[data-klinik-tema="koyu"] .ce-survey .ce-survey-heading h2,
  html[data-klinik-tema="koyu"] .ce-survey .ce-survey-heading p {
    color:#f3faff!important;
  }
  html[data-klinik-tema="koyu"] .ce-survey .ce-survey-heading p {color:#d5e6f4!important}
  html[data-klinik-tema="koyu"] .ce-survey .ce-survey-icon {
    background:#34465d!important;color:#e7d2ff!important;
  }
  html[data-klinik-tema="koyu"] .ce-survey .ce-survey-form {
    background:linear-gradient(120deg,#203449,#29364e)!important;
    color:#edf6ff!important;border-color:#435e78!important;
  }
  html[data-klinik-tema="koyu"] .ce-survey .ce-survey-form :is(legend,.ce-survey-field>span,.ce-survey-comment>span),
  html[data-klinik-tema="koyu"] .ce-survey .ce-survey-highlights legend small {
    color:#eef7ff!important;
  }
  html[data-klinik-tema="koyu"] .ce-survey .ce-survey-middle,
  html[data-klinik-tema="koyu"] .ce-survey .ce-survey-comment {
    border-color:#506784!important;
  }
  html[data-klinik-tema="koyu"] .ce-survey .ce-survey-choice {
    color:#f8faff!important;background:#492f43!important;border-color:#9c647f!important;
  }
  html[data-klinik-tema="koyu"] .ce-survey .ce-survey-choice:nth-child(2) {background:#4b382f!important;border-color:#9a7656!important}
  html[data-klinik-tema="koyu"] .ce-survey .ce-survey-choice:nth-child(3) {background:#494330!important;border-color:#99834c!important}
  html[data-klinik-tema="koyu"] .ce-survey .ce-survey-choice:nth-child(4) {background:#29473c!important;border-color:#638e6c!important}
  html[data-klinik-tema="koyu"] .ce-survey .ce-survey-choice:nth-child(5) {background:#204d48!important;border-color:#54a28e!important}
  html[data-klinik-tema="koyu"] .ce-survey .ce-survey-choice:has(input:checked) {
    background:#115b6c!important;border-color:#61e1f6!important;
    box-shadow:0 0 0 2px #39bed2 inset,0 4px 14px #0005!important;
  }
  html[data-klinik-tema="koyu"] .ce-survey .ce-survey-highlights label {
    color:#eff9ff!important;background:#244c56!important;border-color:#4b8694!important;
  }
  html[data-klinik-tema="koyu"] .ce-survey .ce-survey-highlights label:nth-child(2) {background:#4a344a!important;border-color:#826585!important}
  html[data-klinik-tema="koyu"] .ce-survey .ce-survey-highlights label:nth-child(3) {background:#28483c!important;border-color:#628a79!important}
  html[data-klinik-tema="koyu"] .ce-survey .ce-survey-highlights label:nth-child(4) {background:#393655!important;border-color:#746b9c!important}
  html[data-klinik-tema="koyu"] .ce-survey .ce-survey-highlights label:has(input:checked) {
    outline:2px solid #6edcf1!important;outline-offset:1px;
  }
  html[data-klinik-tema="koyu"] .ce-survey .ce-survey-field select,
  html[data-klinik-tema="koyu"] .ce-survey .ce-survey-comment textarea {
    background:#172b3c!important;color:#f3faff!important;
    border-color:#63819c!important;color-scheme:dark;
  }
  html[data-klinik-tema="koyu"] .ce-survey .ce-survey-comment textarea::placeholder {color:#c0d2e1!important;opacity:1}
  html[data-klinik-tema="koyu"] .ce-survey .ce-survey-footer p {
    background:#263953!important;color:#d8e9f7!important;
  }
  html[data-klinik-tema="koyu"] .ce-survey .ce-survey-footer a {color:#91e0ff!important}
  html[data-klinik-tema="koyu"] .ce-survey .ce-survey-message.ce-survey-good {background:#184d3d!important;color:#c9ffe7!important}
  html[data-klinik-tema="koyu"] .ce-survey .ce-survey-message.ce-survey-bad {background:#582b3b!important;color:#ffe4ef!important}
  html[data-klinik-tema="koyu"] .ce-survey .ce-survey-footer button {
    background:linear-gradient(105deg,#8440c5,#5255cf 52%,#008d9a)!important;
    color:#fff!important;
  }
}
