#tc-cookie-banner, #tc-cookie-modal-backdrop {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 9999;
  font-family: Montserrat, Arial, sans-serif;
}

#tc-cookie-banner {
  bottom: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #1c1c1c;
  color: #fff;
  padding: 20px 28px;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.25);
}

#tc-cookie-banner p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  max-width: 720px;
}

#tc-cookie-banner a {
  color: #fff;
  text-decoration: underline;
}

.tc-cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tc-btn {
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  border-radius: 999px;
  padding: 10px 20px;
  cursor: pointer;
  border: 2px solid #fff;
  background: transparent;
  color: #fff;
  transition: opacity 0.15s ease;
}

.tc-btn:hover {
  opacity: 0.8;
}

.tc-btn-primary {
  background: #fff;
  color: #1c1c1c;
}

#tc-cookie-modal-backdrop {
  top: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

#tc-cookie-modal {
  background: #fff;
  color: #1c1c1c;
  max-width: 560px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  border-radius: 12px;
  padding: 32px;
}

#tc-cookie-modal h2 {
  margin-top: 0;
  font-size: 22px;
}

.tc-cat {
  border-top: 1px solid #e5e5e5;
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.tc-cat:last-of-type {
  border-bottom: 1px solid #e5e5e5;
}

.tc-cat-title {
  font-weight: 700;
  font-size: 15px;
  margin: 0 0 4px;
}

.tc-cat-desc {
  font-size: 13px;
  color: #555;
  margin: 0;
}

.tc-switch {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 24px;
  flex-shrink: 0;
}

.tc-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.tc-slider {
  position: absolute;
  inset: 0;
  background: #ccc;
  border-radius: 999px;
  transition: 0.15s;
  cursor: pointer;
}

.tc-slider::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: 0.15s;
}

.tc-switch input:checked + .tc-slider {
  background: #1c1c1c;
}

.tc-switch input:checked + .tc-slider::before {
  transform: translateX(18px);
}

.tc-switch input:disabled + .tc-slider {
  background: #999;
  cursor: not-allowed;
}

.tc-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.tc-modal-actions .tc-btn {
  border-color: #1c1c1c;
  color: #1c1c1c;
}

.tc-modal-actions .tc-btn-primary {
  background: #1c1c1c;
  color: #fff;
}

.tc-hidden {
  display: none !important;
}
