#albo-cookie-consent,
#albo-cookie-preferences {
  position: fixed;
  z-index: 9999;
  color: #ECE7D8;
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, sans-serif;
}

#albo-cookie-consent {
  left: 24px;
  right: auto;
  bottom: 24px;
  width: calc(100vw - 48px);
  max-width: calc(100vw - 48px);
  display: block;
  pointer-events: none;
}

.albo-cookie-panel {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid rgba(236, 231, 216, 0.16);
  border-radius: 16px;
  background: rgba(14, 23, 21, 0.94);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 20px;
  pointer-events: auto;
  overflow-wrap: anywhere;
}

.albo-cookie-panel h2 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 560;
  letter-spacing: -0.02em;
}

.albo-cookie-panel p {
  margin: 0;
  color: #8C928D;
  font-size: 14px;
  line-height: 1.45;
}

.albo-cookie-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.albo-cookie-option {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(236, 231, 216, 0.11);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
}

.albo-cookie-option input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: #01AE54;
  flex: 0 0 auto;
}

.albo-cookie-option strong {
  display: block;
  color: #ECE7D8;
  font-size: 13px;
  line-height: 1.25;
  margin-bottom: 2px;
}

.albo-cookie-option span {
  display: block;
  color: #8C928D;
  font-size: 12px;
  line-height: 1.35;
}

.albo-cookie-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.albo-cookie-actions a,
.albo-cookie-actions button,
#albo-cookie-preferences {
  font: inherit;
}

.albo-cookie-actions a {
  color: #8C928D;
  font-size: 13px;
  text-decoration: none;
  margin-right: auto;
}

.albo-cookie-actions a:hover {
  color: #ECE7D8;
}

.albo-cookie-actions button,
#albo-cookie-preferences {
  border: 1px solid rgba(236, 231, 216, 0.14);
  border-radius: 999px;
  padding: 10px 14px;
  color: #ECE7D8;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.albo-cookie-actions button:hover,
#albo-cookie-preferences:hover {
  border-color: rgba(236, 231, 216, 0.28);
}

.albo-cookie-actions .albo-cookie-primary {
  border-color: #01AE54;
  background: #01AE54;
  color: #0E1715;
  font-weight: 600;
}

.albo-cookie-actions .albo-cookie-save.is-pending {
  border-color: #01AE54;
  color: #0E1715;
  background: #01AE54;
  font-weight: 600;
}

#albo-cookie-preferences {
  right: 18px;
  bottom: 18px;
  display: none;
  padding: 8px 12px;
  font-size: 12px;
  background: rgba(14, 23, 21, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

#albo-cookie-preferences.is-visible {
  display: inline-flex;
}

@media (max-width: 720px) {
  #albo-cookie-consent {
    left: 12px;
    right: auto;
    bottom: 12px;
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
  }

  .albo-cookie-panel {
    width: auto;
    max-width: none;
    margin: 0;
    max-height: calc(100dvh - 24px);
    padding: 16px;
    border-radius: 14px;
  }

  .albo-cookie-options {
    grid-template-columns: 1fr;
  }

  .albo-cookie-actions {
    justify-content: stretch;
  }

  .albo-cookie-actions a {
    width: 100%;
    margin: 0;
  }

  .albo-cookie-actions button {
    width: 100%;
    flex: 1 1 100%;
  }
}
