.atlas-cookie-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background: #102d54;
  color: #f8fafc;
  padding: 0.85rem 1rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.atlas-cookie-banner__text {
  margin: 0;
  flex: 1;
  min-width: 14rem;
  line-height: 1.45;
}

.atlas-cookie-banner__link {
  color: #93c5fd;
  margin-left: 0.35rem;
}

.atlas-cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.atlas-cookie-btn {
  padding: 0.4rem 0.85rem;
  border-radius: 8px;
  border: 0;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 600;
}

.atlas-cookie-btn--primary {
  background: #0d95f5;
  color: #fff;
}

.atlas-cookie-btn--ghost {
  background: transparent;
  color: #e2e8f0;
  border: 1px solid #64748b;
}

.atlas-cookie-modal-open {
  overflow: hidden;
}

.atlas-cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.atlas-cookie-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
}

.atlas-cookie-modal__panel {
  position: relative;
  max-width: 32rem;
  width: 100%;
  max-height: min(90vh, 640px);
  overflow: auto;
  background: #fff;
  color: #0f172a;
  border-radius: 12px;
  padding: 1.1rem 1.25rem 1.25rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.atlas-cookie-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}

.atlas-cookie-modal__head h2 {
  margin: 0;
  font-size: 1.15rem;
}

.atlas-cookie-modal__close {
  border: 0;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: #64748b;
}

.atlas-cookie-modal__lead {
  margin: 0.65rem 0 1rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #475569;
}

.atlas-cookie-cat {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.75rem 0.85rem;
  margin-bottom: 0.65rem;
}

.atlas-cookie-cat p {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.45;
}

.atlas-cookie-cat__head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.atlas-cookie-cat--locked .atlas-cookie-cat__head {
  justify-content: space-between;
  cursor: default;
}

.atlas-cookie-cat__badge {
  font-size: 0.75rem;
  font-weight: 600;
  color: #0d95f5;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.atlas-cookie-modal__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
  margin-top: 1rem;
}

.atlas-cookie-modal__privacy {
  margin: 0.25rem 0 0;
  font-size: 0.85rem;
}

.atlas-cookie-modal__privacy a {
  color: #0d95f5;
}