/* Base styles for Consent Manager banner */
.cc-window,
.cc-revoke {
  position: fixed;
  overflow: hidden;
  box-sizing: border-box;
  font-family: Helvetica, Calibri, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5em;
  display: flex;
  flex-wrap: nowrap;
  z-index: 9999;
}

.cc-window.cc-static {
  position: static;
}

.cc-window.cc-floating {
  padding: 2em;
  max-width: 24em;
  flex-direction: column;
}

.cc-window.cc-banner {
  padding: 1em 1.8em;
  width: 100%;
  flex-direction: row;
}

.cc-revoke {
  padding: 0.5em;
}

.cc-revoke:hover {
  text-decoration: underline;
}

.cc-header {
  font-size: 18px;
  font-weight: bold;
}

.cc-btn,
.cc-link,
.cc-close,
.cc-revoke {
  cursor: pointer;
}

.cc-link {
  opacity: 0.8;
  display: inline-block;
  padding: 0.2em;
  text-decoration: underline;
}

.cc-link:hover {
  opacity: 1;
}

.cc-link:active,
.cc-link:visited {
  color: initial;
}

.cc-btn {
  display: block;
  padding: 0.4em 0.8em;
  font-size: 0.9em;
  font-weight: bold;
  border-width: 2px;
  border-style: solid;
  text-align: center;
  white-space: nowrap;
}

.cc-highlight .cc-btn:first-child {
  background-color: transparent;
  border-color: transparent;
}

.cc-highlight .cc-btn:first-child:hover,
.cc-highlight .cc-btn:first-child:focus {
  background-color: transparent;
  text-decoration: underline;
}

.cc-close {
  display: block;
  position: absolute;
  top: 0.5em;
  right: 0.5em;
  font-size: 1.6em;
  opacity: 0.9;
  line-height: 0.75;
}

.cc-close:hover,
.cc-close:focus {
  opacity: 1;
}

/* Cookie details table styles */
.cc-cookie-section,
.cc-hosts-section {
  margin-top: 1em;
}

.cc-cookie-table,
.cc-hosts-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85em;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  border-bottom: 1px solid rgba(41, 39, 40, 0.2);
}

.cc-cookie-table th,
.cc-cookie-table td,
.cc-hosts-table th,
.cc-hosts-table td {
  padding: 0.5em 0.75em;
  text-align: left;
  border-bottom: 1px solid rgba(41, 39, 40, 0.2);
}

.cc-cookie-table th,
.cc-hosts-table th {
  font-weight: 600;
  font-size: 0.75em;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: inherit;
  opacity: 0.7;
}

/* Keep border-bottom on last row for visual consistency */

.cc-hosts-title {
  font-weight: 600;
  margin-bottom: 0.25em;
}

.cc-hosts-description {
  font-size: 0.85em;
  opacity: 0.8;
  margin-bottom: 0.5em;
}

