* {
  box-sizing: border-box;
  min-width: 0;
  min-height: 0;
}

:host(limebb-document-item) {
  position: relative;
}

limel-card:not([clickable]):not([clickable=true]) {
  pointer-events: none;
  opacity: 0.75;
}

div[slot=component] {
  pointer-events: none;
  display: flex;
  flex-direction: column;
  margin-top: -0.25rem;
  padding: 0 0.25rem;
}

limel-checkbox,
limel-radio-button {
  width: 100%;
}

.file-size {
  pointer-events: none;
  width: fit-content;
  padding: 0 0.375rem;
  font-size: 0.6875rem;
  color: rgb(var(--color-white));
  border-radius: 1rem;
  opacity: 0.75;
  background-color: rgb(var(--color-glaucous-darker), 0.8);
  box-shadow: var(--shadow-brighten-edges-outside);
  backdrop-filter: blur(0.75rem);
  margin-top: 0.5rem;
}
:host(.has-image) .file-size {
  margin-top: -1.5rem;
  margin-bottom: 0.5rem;
}

limel-help {
  position: absolute;
  top: 0;
  right: 0;
}

:host(.has-error) limel-card {
  box-shadow: 0 0 0 1px rgb(var(--color-red-light));
}
:host(.has-error) limel-help {
  --color-sky-default: var(
      --color-red-default
  );
  --color-sky-lighter: var(--color-red-lighter);
  --lime-elevated-surface-background-color: rgb(
      var(--color-yellow-default)
  );
}