/* Thinking Success — privacy/cookie controls */
.ts-cookie-banner,
.ts-cookie-banner * { box-sizing: border-box; }

.ts-cookie-banner {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 99999;
  padding: 18px;
  background: rgba(13, 31, 52, .28);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.ts-cookie-banner[hidden],
.ts-cookie-settings[hidden] { display: none !important; }

.ts-cookie-panel {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 22px 24px;
  border: 1px solid rgba(27, 58, 107, .14);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 55px rgba(19, 38, 61, .22);
  color: #223247;
}

.ts-cookie-copy { max-width: 720px; }
.ts-cookie-kicker {
  margin: 0 0 3px;
  color: #2e8b8b;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.ts-cookie-title {
  margin: 0 0 7px;
  color: #1b3a6b;
  font-size: clamp(1.22rem, 2vw, 1.55rem);
  line-height: 1.2;
}
.ts-cookie-text {
  margin: 0 0 8px;
  color: #526171;
  font-size: .94rem;
  line-height: 1.55;
}
.ts-cookie-details {
  color: #1b3a6b;
  font-size: .9rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ts-cookie-details:hover,
.ts-cookie-details:focus { color: #2e8b8b; }

.ts-cookie-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  min-width: min(330px, 100%);
}
.ts-cookie-btn {
  min-height: 44px;
  border-radius: 999px;
  padding: 10px 18px;
  border: 2px solid #1b3a6b;
  font: inherit;
  font-size: .9rem;
  font-weight: 750;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.ts-cookie-btn:hover { transform: translateY(-1px); }
.ts-cookie-btn--primary { background: #1b3a6b; color: #fff; }
.ts-cookie-btn--primary:hover,
.ts-cookie-btn--primary:focus { background: #102a51; border-color: #102a51; }
.ts-cookie-btn--secondary { background: #fff; color: #1b3a6b; }
.ts-cookie-btn--secondary:hover,
.ts-cookie-btn--secondary:focus { background: #eef5f5; }

.ts-cookie-settings {
  position: fixed;
  left: 14px;
  bottom: 14px;
  z-index: 9998;
  border: 1px solid rgba(27, 58, 107, .28);
  border-radius: 999px;
  background: rgba(255,255,255,.96);
  color: #1b3a6b;
  padding: 7px 12px;
  font: inherit;
  font-size: .78rem;
  font-weight: 700;
  box-shadow: 0 5px 18px rgba(19, 38, 61, .12);
  cursor: pointer;
}
.ts-cookie-settings:hover,
.ts-cookie-settings:focus { background: #eef5f5; }

@media (max-width: 760px) {
  .ts-cookie-banner { padding: 10px; }
  .ts-cookie-panel { align-items: stretch; flex-direction: column; gap: 16px; padding: 18px; border-radius: 15px; }
  .ts-cookie-actions { min-width: 0; justify-content: stretch; }
  .ts-cookie-btn { flex: 1 1 100%; width: 100%; }
  .ts-cookie-settings { left: 10px; bottom: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .ts-cookie-btn { transition: none; }
}
