.view-container {
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  bottom: 0;
  border-radius: 6px 0px 0px 6px;
  background-color: var(--secondBackground);
  border: 1px solid var(--border);
  overflow: auto;
  animation: slideInFromRight 0.4s ease-out forwards;
}

@keyframes slideInFromRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0%);
    opacity: 1;
  }
}

.view-header {
  padding: 1.1rem 2rem;
  background-color: var(--tertiary);
  border-bottom: 1px solid var(--border);
  color: var(--onTertiary);
  position: sticky;
  top: 0;
  z-index: 10;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  align-items: center;
  -webkit-user-select: none;
  user-select: none;
}

.view-header span svg {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.view-body {
  padding: 1.5rem;
  color: var(--onSecondBackground);
}

.view-body .view div {
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  margin-bottom: 0.8rem;
  padding: 1rem;
  border-radius: 16px;
}

.view-body .view div label {
  font-weight: 600;
  margin-bottom: 0.5rem;
}
