/* assets/css/cookie-consent.css */

/* Banner fixed bottom */
.cc-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99999;
  background: rgba(20, 20, 20, 0.96);
  color: #fff;
  padding: 14px 0;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.35);
  font-size: 14px;
}

/* FIX: HTML ma .cc-wrap, więc nadajemy mu style kontenera */
.cc-wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between; /* zmień na center jeśli chcesz wszystko na środku */
  flex-wrap: wrap;
}

.cc-text {
  flex: 1 1 520px;
  line-height: 1.35;
}

.cc-link {
  color: #9ad7ff;
  text-decoration: underline;
  margin-left: 8px;
}

.cc-actions {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}

.cc-btn {
  border: 0;
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}

.cc-primary {
  background: #1f8fff;
  color: #fff;
}

.cc-secondary {
  background: #2e2e2e;
  color: #fff;
}

.cc-btn:hover {
  filter: brightness(1.05);
}

/* Modal */
.cc-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100000;
  padding: 18px;
}

.cc-modal__inner {
  width: 100%;
  max-width: 520px;
  background: #111;
  color: #fff;
  border-radius: 14px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.cc-modal__head,
.cc-modal__foot {
  padding: 14px 16px;
  background: #0c0c0c;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cc-modal__body {
  padding: 14px 16px;
  display: grid;
  gap: 12px;
}

.cc-x {
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
}

.cc-switch {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cc-switch input {
  width: 18px;
  height: 18px;
}
