.nbp-fid-side-popup-wrapper {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;

  // Colors
  --nbp-fid-side-popup-text-color: #656565;
  --nbp-fid-side-popup-background-color: #f5f7fa;

  // Typography
  --nbp-fid-side-popup-font-size: 12px;
}

.nbp-fid-side-popup-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  pointer-events: auto;

  &.visible {
    display: block;
  }
}

.nbp-fid-side-popup-content {
  position: absolute;
  top: 0;
  right: -100%;
  bottom: 0;
  background: var(--nbp-fid-side-popup-background-color);
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
  pointer-events: auto;
  transition: right 0.3s ease-in-out;

  &.open {
    right: 0;
  }

  // Sizes
  &.nbp-size-sm {
    width: 300px;
  }

  &.nbp-size-md {
    width: 450px;
  }

  &.nbp-size-lg {
    width: 600px;
  }

  // Styles
  // &.nbp-style-default { border-left: 4px solid var(--nbp-fid-side-popup-default-color); }
  // &.nbp-style-primary { border-left: 4px solid var(--nbp-fid-side-popup-primary-color); }
  // &.nbp-style-warning { border-left: 4px solid var(--nbp-fid-side-popup-warning-color); }
  // &.nbp-style-error { border-left: 4px solid var(--nbp-fid-side-popup-error-color); }
}

.nbp-fid-side-popup-header {
  padding: 15px;
  border-bottom: 1px solid var(--nbp-fid-side-popup-border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nbp-fid-side-popup-body {
  padding: 15px;
  height: calc(100% - 120px);
  overflow-y: auto;
  color: var(--nbp-fid-side-popup-text-color);
  font-size: var(--nbp-fid-side-popup-font-size);
}

.nbp-fid-side-popup-footer {
  padding: 15px;
  border-top: 1px solid var(--nbp-fid-side-popup-border-color);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.nbp-close-button {
  border: none;
  background: none;
  cursor: pointer;
  font-size: 24px;
  color: var(--nbp-fid-side-popup-text-color);
}