.pretty-desc-wrapper {
  background: #f9f9f9;
  border: 1px solid #e1e4ea;
  border-radius: 12px;
  padding: 20px;
  margin-top: 20px;
  position: relative;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.pretty-desc-body {
  max-height: 240px;
  overflow: hidden;
  transition: max-height 0.4s ease;
  position: relative;
}

.pretty-desc-body::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to bottom, rgba(249,249,249,0), #f9f9f9);
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.pretty-desc-body.expanded {
  max-height: 1500px;
}

.pretty-desc-body.expanded::after {
  opacity: 0;
  visibility: hidden;
}

.pretty-desc-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 12px auto 0;
  background: #0089ff;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s ease;
}

.pretty-desc-toggle:hover {
  background: #006fc7;
}

.pretty-desc-toggle .arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}

.pretty-desc-body.expanded + .pretty-desc-toggle .arrow {
  transform: rotate(180deg);
}