/* KAYNAK-TASARIM: docs/html_web/assets/css/preferences.css
   Bu dosya docs/html_web/ tasariminden OLDUGU GIBI alindi. Elle duzenlenmez;
   tasarim guncellendiginde `npm run design:site-import` yeniden kopyalar. */

/* Footer language disclosure and persistent cookie preferences. */
.footer.footer-revised {
  overflow: visible;
}
.footer-revised .footer-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 18px 32px;
}
.footer-revised .footer-bottom > span {
  justify-self: center;
  text-align: center;
}
.footer-preferences {
  display: flex;
  justify-self: start;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 24px;
}
.footer-backlinks {
  display: flex;
  justify-self: end;
  align-items: center;
  gap: 20px;
  margin-left: 0;
}
.footer-backlinks .footer-cookie-settings {
  display: inline-flex;
  align-items: center;
  gap: 20px;
}
.footer-backlinks .footer-cookie-settings::after {
  width: 1px;
  height: 16px;
  background: #555;
  content: "";
}
.footer-backlinks > a {
  min-height: 44px;
  font-size: 14px;
}
.footer-language {
  position: relative;
}
.footer-language summary {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 9px;
  color: #fff;
  cursor: pointer;
  list-style: none;
  font-size: 15px;
}
.footer-language summary::-webkit-details-marker {
  display: none;
}
.footer-language summary img {
  display: block;
  width: 18px;
  height: 18px;
}
.language-chevron {
  width: 7px;
  height: 7px;
  margin-left: 3px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(-45deg);
}
.footer-language[open] .language-chevron {
  transform: rotate(135deg);
}
.footer-language-menu {
  position: absolute;
  z-index: 110;
  bottom: calc(100% + 10px);
  left: 0;
  width: 254px;
  max-width: calc(100vw - 40px);
  max-height: min(420px, 60svh);
  overflow-y: auto;
  margin: 0;
  padding: 10px;
  list-style: none;
  border: 1px solid #dedede;
  border-radius: var(--radius-surface);
  background: #fff;
  box-shadow: 0 12px 32px #0003;
}
.footer-language-menu button {
  display: flex;
  width: 100%;
  min-height: 44px;
  align-items: flex-start;
  gap: 9px;
  padding: 10px 12px;
  border: 0;
  border-radius: var(--radius-control);
  background: transparent;
  color: #222;
  font: inherit;
  font-size: 16px;
  line-height: 1.5;
  text-align: left;
  cursor: pointer;
}
.footer-language-menu button:not(:disabled):hover {
  background: #f2f2f2;
}
.footer-language-menu button:disabled {
  color: #6e6e6e;
  cursor: default;
  opacity: 1;
}
.footer-language-menu small {
  display: block;
  margin-top: 2px;
  font-size: 14px;
}
.language-check {
  flex: 0 0 16px;
}
.footer-cookie-settings {
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #bcbcbc;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}
.footer-cookie-settings:hover {
  color: #fff;
}
.footer-language summary:focus-visible,
.footer-cookie-settings:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}
.footer-language-menu button:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: -2px;
}
.cookie-banner {
  position: fixed;
  z-index: 120;
  left: 22px;
  bottom: 22px;
  width: 430px;
  max-width: calc(100% - 44px);
  max-height: calc(100svh - 44px);
  overflow-y: auto;
  padding: 24px;
  border: 1px solid #dedede;
  border-radius: var(--radius-surface);
  background: #fff;
  color: #222;
  box-shadow: 0 12px 40px #0002;
}
.cookie-banner[hidden],
.cookie-feedback[hidden] {
  display: none;
}
.cookie-banner h2,
.cookie-dialog h2 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
}
.cookie-banner p,
.cookie-dialog p {
  margin: 0;
  color: #5f5f5f;
  font-size: 14px;
  line-height: 1.65;
}
.cookie-policy-link {
  color: #222;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cookie-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}
.cookie-button {
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: var(--radius-control);
  background: #fff;
  color: #222;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  cursor: pointer;
}
.cookie-button:hover {
  background: #f3f3f3;
  border-color: #aaa;
}
.cookie-manage {
  min-height: 44px;
  margin-top: 8px;
  padding: 8px 0 0;
  border: 0;
  background: transparent;
  color: #555;
  font: inherit;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
.cookie-manage:hover {
  color: #111;
}
.cookie-dialog {
  width: 540px;
  max-width: calc(100% - 32px);
  max-height: calc(100svh - 32px);
  margin: auto;
  padding: 28px;
  border: 1px solid #ddd;
  border-radius: var(--radius-surface);
  background: #fff;
  color: #222;
  overflow-y: auto;
}
.cookie-dialog::backdrop {
  background: #0006;
}
.cookie-dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}
.cookie-close {
  display: grid;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  place-items: center;
  margin: -10px -10px 0 0;
  border: 0;
  background: transparent;
  color: #555;
  font-size: 26px;
  cursor: pointer;
}
.cookie-categories {
  display: grid;
  margin: 22px 0 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid #e4e4e4;
}
.cookie-category strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
  font-weight: 600;
}
.cookie-category small {
  display: block;
  color: #5f5f5f;
  font-size: 14px;
  line-height: 1.55;
}
.cookie-required {
  flex-shrink: 0;
  color: #5f5f5f;
  font-size: 14px;
}
.cookie-category input {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  accent-color: var(--red);
  cursor: pointer;
}
.cookie-save {
  width: 100%;
  margin-top: 12px;
  border-color: #222;
  background: #222;
  color: #fff;
}
.cookie-save:hover {
  border-color: #444;
  background: #444;
}
.cookie-banner button:focus-visible,
.cookie-dialog button:focus-visible,
.cookie-category input:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}
.cookie-feedback {
  position: fixed;
  z-index: 130;
  right: 20px;
  bottom: 20px;
  max-width: min(420px, calc(100% - 40px));
  padding: 16px 20px;
  border: 1px solid #ddd;
  border-radius: var(--radius-surface);
  background: #fff;
  color: #333;
  font-size: 14px;
  line-height: 1.5;
}
@media (max-width: 1000px) {
  .footer-revised .footer-bottom {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .footer-revised .footer-bottom > span {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}
@media (max-width: 600px) {
  .footer-revised .footer-bottom {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 12px;
  }
  .footer-revised .footer-bottom > span {
    grid-row: 3;
  }
  .footer-preferences {
    justify-self: start;
  }
  .cookie-banner {
    left: 12px;
    bottom: 12px;
    max-width: calc(100% - 24px);
    max-height: calc(100svh - 24px);
    padding: 20px;
  }
  .cookie-dialog {
    padding: 22px;
  }
  .cookie-category {
    gap: 12px;
  }
  .cookie-required {
    max-width: 80px;
    text-align: right;
  }
}
