#korteks-cookie-banner,
#korteks-cookie-preferences,
#korteks-cookie-settings {
  font-family: "Segoe UI", Arial, sans-serif;
}

#korteks-cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 2147483000;
  max-width: 980px;
  margin: 0 auto;
  padding: 22px;
  color: #fff;
  background: rgba(4, 15, 39, .97);
  border: 1px solid rgba(116, 196, 255, .28);
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .38);
  backdrop-filter: blur(14px);
}

.korteks-cookie-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.korteks-cookie-copy { max-width: 610px; }
.korteks-cookie-copy strong { display: block; margin-bottom: 7px; font-size: 1.08rem; }
.korteks-cookie-copy p { margin: 0; color: rgba(255,255,255,.78); font-size: .91rem; line-height: 1.55; }
.korteks-cookie-copy a { color: #72d3ff; text-decoration: underline; }

.korteks-cookie-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(105px, 1fr));
  gap: 9px;
  min-width: 370px;
}

.korteks-cookie-btn {
  appearance: none;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #52bfff;
  border-radius: 10px;
  color: #fff;
  background: transparent;
  font-weight: 700;
  cursor: pointer;
}
.korteks-cookie-btn:hover,
.korteks-cookie-btn:focus-visible { background: rgba(82,191,255,.16); outline: 2px solid #fff; outline-offset: 2px; }
.korteks-pref-actions .korteks-cookie-btn.primary { background: linear-gradient(135deg,#00c6ff,#0072ff); }

#korteks-cookie-settings {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 2147482990;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: #071c43;
  box-shadow: 0 10px 25px rgba(0,0,0,.25);
  cursor: pointer;
  font-size: 20px;
}

#korteks-cookie-preferences {
  position: fixed;
  inset: 0;
  z-index: 2147483100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0,0,0,.68);
}

.korteks-pref-card {
  width: min(540px, 100%);
  padding: 28px;
  border-radius: 18px;
  color: #17243b;
  background: #fff;
  box-shadow: 0 28px 80px rgba(0,0,0,.38);
}
.korteks-pref-card h2 { margin: 0 0 10px; font-size: 1.55rem; text-align: left; }
.korteks-pref-card h2:after { display: none !important; }
.korteks-pref-card > p { margin: 0 0 22px; color: #657084; font-size: .95rem; }
.korteks-pref-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 17px 0; border-top: 1px solid #e7ebf1; }
.korteks-pref-row strong { display: block; margin-bottom: 3px; }
.korteks-pref-row small { color: #707b8c; }
.korteks-pref-row input { width: 22px; height: 22px; accent-color: #0072ff; }
.korteks-pref-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.korteks-pref-actions .korteks-cookie-btn { color: #071c43; }
.korteks-pref-actions .primary { color: #fff; }

.korteks-legal-links { margin-top: 18px; color: rgba(255,255,255,.72); font-size: .88rem; }
.korteks-legal-links a { color: inherit; text-decoration: underline; }

@media (max-width: 760px) {
  #korteks-cookie-banner { left: 10px; right: 10px; bottom: 10px; padding: 18px; }
  .korteks-cookie-layout { align-items: stretch; flex-direction: column; gap: 16px; }
  .korteks-cookie-actions { min-width: 0; width: 100%; grid-template-columns: 1fr; }
  .korteks-cookie-btn { width: 100%; }
}
