.c-alert {
  z-index: 999;
  position: absolute;
  display: none;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 16px;
}

.c-alert--active {
  display: flex;
}

.figma-light .c-alert {
  background-color: rgba(0, 0, 0, 0.4);
}

.figma-dark .c-alert {
  background-color: rgba(0, 0, 0, 0.65);
}

.c-alert__box {
  background-color: var(--figma-color-bg);
  width: 100%;
  margin-top: -10px;
  border-radius: var(--base-border-radius);

  color: var(--figma-color-text);
  font-size: var(--base-font-size);
}

.figma-light .c-alert__box {
  box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.3);
}

.figma-dark .c-alert__box {
  box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.6);
}

.c-alert__header {
  padding: 8px 9px 8px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--figma-color-border);
}

.c-alert__title {
  font-weight: 600;
}

.c-alert__close-icon {
  border-radius: var(--base-border-radius);
}

.c-alert__close-icon:hover {
  background-color: var(--figma-color-bg-secondary);
}

.c-alert__close-icon svg {
  fill: var(--figma-color-icon);
}

.c-alert__content {
  padding: 12px 16px 16px 16px;
}

.c-alert__content p {
  line-height: 1.5;
}

.c-alert__buttons-container {
  padding: 0px 16px 16px 16px;
  display: flex;
  justify-content: flex-end;
}

/* Buttons Styling */
.c-alert__button {
  background-color: var(--figma-color-bg-brand);
  color: white;
  font-size: var(--base-font-size);
  font-weight: 500;
  padding: 6px 12px;
  border: none;
  border-radius: var(--base-border-radius);
}
