/* Laritas Cookie Consent & Banner Styles */
#laritas-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  background: #0f271f;
  color: #f5f1e7;
  border-top: 1px solid rgba(195, 213, 199, 0.25);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.4);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 13px;
  line-height: 1.5;
  animation: lccFadeInUp 0.3s ease-out;
}

@keyframes lccFadeInUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.lcc-banner-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.lcc-banner-content {
  flex: 1;
}

.lcc-banner-title {
  font-size: 12px;
  font-weight: 700;
  color: #fffdf8;
  margin: 0 0 2px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.lcc-banner-text {
  margin: 0;
  color: #d2ddcb;
  max-width: 760px;
  font-size: 11px;
  line-height: 1.35;
}

.lcc-banner-text a {
  color: #ff8073;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 500;
}

.lcc-banner-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.lcc-btn {
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 600;
  padding: 6px 14px;
  min-height: 34px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1px solid transparent;
  box-sizing: border-box;
}
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1px solid transparent;
}

.lcc-btn:focus-visible {
  outline: 3px solid #ff6f61;
  outline-offset: 3px;
}

.lcc-btn-accept {
  background: #ff6f61;
  color: #10231c;
  border-color: #ff6f61;
}

.lcc-btn-accept:hover {
  background: #ff8579;
  border-color: #ff8579;
}

.lcc-btn-reject {
  background: transparent;
  color: #f5f1e7;
  border-color: rgba(245, 241, 231, 0.4);
}

.lcc-btn-reject:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #f5f1e7;
}

.lcc-btn-customize {
  background: transparent;
  color: #d2ddcb;
  border-color: transparent;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 10px 12px;
}

.lcc-btn-customize:hover {
  color: #fff;
}

/* Modal Preferences */
#laritas-cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(8, 25, 20, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  animation: lccFadeIn 0.2s ease-out;
}

@keyframes lccFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lcc-modal-card {
  background: #142e24;
  border: 1px solid rgba(195, 213, 199, 0.25);
  border-radius: 20px;
  max-width: 620px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  color: #f5f1e7;
  overflow: hidden;
}

.lcc-modal-header {
  padding: 22px 24px 18px;
  border-bottom: 1px solid rgba(195, 213, 199, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.lcc-modal-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #fffdf8;
}

.lcc-modal-close {
  background: transparent;
  border: none;
  color: #d2ddcb;
  font-size: 24px;
  line-height: 1;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s;
}

.lcc-modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.lcc-modal-body {
  padding: 20px 24px;
  overflow-y: auto;
  font-size: 13px;
  line-height: 1.6;
}

.lcc-modal-intro {
  margin: 0 0 20px 0;
  color: #d2ddcb;
  font-size: 13px;
}

.lcc-category-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(195, 213, 199, 0.15);
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 14px;
}

.lcc-category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  gap: 12px;
}

.lcc-category-name {
  font-size: 14px;
  font-weight: 600;
  color: #fffdf8;
  margin: 0;
}

.lcc-badge-required {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(16, 185, 129, 0.2);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

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

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

.lcc-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.2);
  transition: 0.25s;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.lcc-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 2px;
  bottom: 2px;
  background-color: #fff;
  transition: 0.25s;
  border-radius: 50%;
}

.lcc-switch input:checked + .lcc-slider {
  background-color: #ff6f61;
  border-color: #ff6f61;
}

.lcc-switch input:focus-visible + .lcc-slider {
  outline: 3px solid #ff6f61;
  outline-offset: 2px;
}

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

.lcc-category-desc {
  margin: 0;
  color: #c4d3bf;
  font-size: 12px;
}

.lcc-modal-footer {
  padding: 16px 24px;
  border-top: 1px solid rgba(195, 213, 199, 0.15);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  background: rgba(0, 0, 0, 0.15);
  flex-wrap: wrap;
}

/* Footer Trigger Button */
.cookie-pref-btn {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
  display: inline-block;
}

.cookie-pref-btn:hover {
  color: #ff6f61 !important;
}

/* Responsive adjustments */
@media (max-width: 820px) {
  .lcc-banner-container {
    flex-direction: column;
    align-items: stretch;
    padding: 7px 12px 6px;
    gap: 5px;
  }
  .lcc-banner-title {
    font-size: 11px;
    margin: 0;
  }
  .lcc-banner-text {
    font-size: 10px;
    line-height: 1.25;
  }
  .lcc-banner-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    width: 100%;
    margin-top: 1px;
  }
  .lcc-btn {
    width: 100%;
    min-height: 32px;
    padding: 5px 8px;
    font-size: 11px;
    border-radius: 7px;
  }
  .lcc-btn-customize {
    grid-column: 1 / -1;
    padding: 1px 0;
    min-height: auto;
    font-size: 10px;
    text-align: center;
    justify-content: center;
  }
  .lcc-modal-footer {
    flex-direction: column;
    gap: 8px;
  }
  .lcc-modal-footer .lcc-btn {
    width: 100%;
  }
}
