/* TL Cookie Bar — barra inferior minimalista (no modal a pantalla completa) */
.tl-cookie-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99999;
  background: #111;
  color: #f5f5f5;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 14px;
  line-height: 1.45;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.25);
  border-top: 3px solid #E31C25;
  padding: 12px 16px;
  box-sizing: border-box;
}

.tl-cookie-bar[hidden] {
  display: none !important;
}

.tl-cookie-bar__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
}

.tl-cookie-bar__logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 8px;
}

.tl-cookie-bar__text {
  flex: 1 1 220px;
  min-width: 0;
}

.tl-cookie-bar__text p {
  margin: 0;
  color: #f0f0f0;
}

.tl-cookie-bar__text a {
  color: #ff8a8a;
  text-decoration: underline;
  font-weight: 600;
}

.tl-cookie-bar__text a:hover,
.tl-cookie-bar__text a:focus {
  color: #fff;
}

.tl-cookie-bar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex-shrink: 0;
}

.tl-cookie-bar__btn {
  appearance: none;
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  line-height: 1.2;
}

.tl-cookie-bar__btn--accept {
  background: #E31C25;
  color: #fff;
  border-color: #E31C25;
}

.tl-cookie-bar__btn--accept:hover,
.tl-cookie-bar__btn--accept:focus {
  background: #c41820;
  border-color: #c41820;
}

.tl-cookie-bar__btn--deny {
  background: transparent;
  color: #fff;
  border-color: #666;
}

.tl-cookie-bar__btn--deny:hover,
.tl-cookie-bar__btn--deny:focus {
  border-color: #aaa;
  background: rgba(255, 255, 255, 0.06);
}

@media (max-width: 600px) {
  .tl-cookie-bar {
    padding: 10px 12px;
    font-size: 13px;
  }
  .tl-cookie-bar__logo {
    width: 32px;
    height: 32px;
  }
  .tl-cookie-bar__actions {
    width: 100%;
  }
  .tl-cookie-bar__btn {
    flex: 1 1 auto;
    text-align: center;
  }
}
