.lau-cookie-banner,
.lau-cookie-banner * {
  box-sizing: border-box;
}

.lau-cookie-banner {
  position: fixed;
  top: 12px;
  left: 16px;
  right: 16px;
  z-index: 99999;
  max-width: 1180px;
  margin: 0 auto;
  font-family: Arial, sans-serif;
  color: #2b2f33;
  background: #ffffff;
  border: 1px solid #d8dde3;
  border-radius: 8px;
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.22);
  max-height: calc(100vh - 24px);
  overflow: auto;
}

.lau-cookie-banner a {
  color: #b5122a;
  text-decoration: none;
}

.lau-cookie-banner a:hover {
  text-decoration: underline;
}

.lau-cookie-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 24px;
  padding: 20px 56px 16px 24px;
}

.lau-cookie-copy h2 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 700;
  color: #AF173D;
}

.lau-cookie-copy p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
}

.lau-cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lau-cookie-actions button,
.lau-cookie-details-actions button,
.lau-consent-embed button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #2d2f31;
  background: #2d2f31;
  color: #ffffff;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.2;
}

.lau-cookie-actions button.lau-secondary,
.lau-cookie-details-actions button.lau-secondary {
  background: #ffffff;
  color: #2d2f31;
}

.lau-cookie-actions button.lau-muted,
.lau-cookie-details-actions button.lau-muted {
  border-color: #8b949e;
  background: #ffffff;
  color: #344054;
}


.lau-cookie-close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 30px;
  height: 30px;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #5b6673;
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
  font-weight: 400;
}

.lau-cookie-close:hover {
  color: #AF173D;
}

.lau-cookie-details-toggle {
  padding: 0 24px 18px;
}

.lau-cookie-details-toggle button {
  border: 0;
  background: transparent;
  color: #2d2f31;
  cursor: pointer;
  padding: 0;
  font-size: 15px;
  line-height: 1.2;
}

.lau-cookie-details-toggle button::after {
  content: "⌄";
  display: inline-block;
  margin-left: 8px;
  transform: translateY(-1px);
}

.lau-cookie-details-toggle button[aria-expanded="true"]::after {
  content: "⌃";
}

.lau-cookie-details {
  display: none;
  border-top: 1px solid #e5e8ec;
  background: #ffffff;
}

.lau-cookie-banner.is-details-open .lau-cookie-details {
  display: block;
}

.lau-cookie-preferences {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 18px 24px;
  border-bottom: 1px solid #e5e8ec;
  background: #fafbfc;
}

.lau-cookie-preference {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px;
  border: 1px solid #d8dde3;
  border-radius: 6px;
  background: #ffffff;
}

.lau-cookie-preference input {
  margin-top: 2px;
}

.lau-cookie-preference strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
}

.lau-cookie-preference small {
  display: block;
  color: #5b6673;
  font-size: 13px;
  line-height: 1.35;
}

.lau-cookie-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0 24px;
  margin-top: 18px;
}

.lau-cookie-tab {
  border: 1px solid #d8dde3;
  border-right: 0;
  background: #f4f5f7;
  color: #39424e;
  min-height: 44px;
  padding: 10px 12px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}

.lau-cookie-tab:first-child {
  border-radius: 6px 0 0 0;
}

.lau-cookie-tab:last-child {
  border-right: 1px solid #d8dde3;
  border-radius: 0 6px 0 0;
}

.lau-cookie-tab.is-active {
  background: #2d2f31;
  border-color: #2d2f31;
  color: #ffffff;
}

.lau-cookie-category-panel {
  margin: 0 24px 18px;
  border: 1px solid #d8dde3;
  border-top: 0;
  border-radius: 0 0 6px 6px;
  overflow: hidden;
}

.lau-cookie-category-description {
  padding: 16px 18px;
  color: #48515c;
  font-size: 14px;
  line-height: 1.5;
  background: #ffffff;
}

.lau-cookie-table-wrap {
  max-height: 260px;
  overflow: auto;
  border-top: 1px solid #e5e8ec;
}

.lau-cookie-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.lau-cookie-table th,
.lau-cookie-table td {
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #e5e8ec;
}

.lau-cookie-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f4f5f7;
  color: #2d2f31;
  font-weight: 700;
}

.lau-cookie-table td {
  background: #ffffff;
  line-height: 1.35;
}

.lau-cookie-details-actions {
  position: sticky;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px 24px 20px;
  border-top: 1px solid #e5e8ec;
  background: #ffffff;
}

.lau-consent-embed {
  border: 1px solid #d7dde3;
  border-radius: 8px;
  background: #f7f9fb;
  padding: 18px;
  margin: 16px 0;
  text-align: center;
}

.lau-consent-embed__box {
  max-width: 680px;
  margin: 0 auto;
}

.lau-consent-embed p {
  margin: 8px 0 12px;
}

@media (max-width: 820px) {
  .lau-cookie-banner {
    top: 8px;
    left: 8px;
    right: 8px;
    max-height: calc(100vh - 16px);
    overflow: auto;
  }

  .lau-cookie-summary {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px;
  }

  .lau-cookie-details-toggle {
    padding: 0 18px 16px;
  }

  .lau-cookie-preferences {
    grid-template-columns: 1fr;
    padding: 16px 18px;
  }

  .lau-cookie-tabs {
    grid-template-columns: 1fr;
    padding: 0 18px;
  }

  .lau-cookie-tab,
  .lau-cookie-tab:first-child,
  .lau-cookie-tab:last-child {
    border: 1px solid #d8dde3;
    border-radius: 0;
  }

  .lau-cookie-tab:first-child {
    border-radius: 6px 6px 0 0;
  }

  .lau-cookie-category-panel {
    margin: 0 18px 16px;
  }

  .lau-cookie-details-actions {
    padding: 0 18px 18px;
  }

  .lau-cookie-actions button,
  .lau-cookie-details-actions button {
    width: 100%;
  }
}
