.overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 17, 17, 0.5);
  z-index: 200;
}

.panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 201;
  width: 100%;
  max-width: 480px;
  background: var(--blanc);
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  animation: slideIn 0.25s ease;
}

.sizeSm {
  max-width: 360px;
}
.sizeMd {
  max-width: 480px;
}
.sizeLg {
  max-width: 640px;
}
.sizeXl {
  max-width: 860px;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

.header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid #eeeeee;
  flex-shrink: 0;
}

.title {
  font-family: var(--font-gotham);
  font-size: 16px;
  font-weight: 700;
  color: var(--gris-fonce);
}

.subtitle {
  font-size: 13px;
  color: var(--gris-moyen);
  margin-top: 2px;
}

.closeBtn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--gris-moyen);
  cursor: pointer;
  flex-shrink: 0;
}

.closeBtn:hover {
  background: var(--gris-clair);
  color: var(--gris-fonce);
}

.body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}
