/* Design Notes Panel */
.design-notes-panel {
  position: fixed;
  bottom: 0;
  left: 40px;
  z-index: 190;
}

.design-notes-panel.open .design-notes-content {
  max-height: 70vh;
  opacity: 1;
  visibility: visible;
  bottom: 0;
}

.design-notes-panel.open .design-notes-tab-wrapper {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.design-notes-tab-wrapper {
  position: fixed;
  bottom: 0;
  left: 40px;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  z-index: 195;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.design-notes-toggle {
  width: auto;
  height: 40px;
  padding: 0 18px;
  background: var(--color-base-2);
  color: #ffffff;
  border: none;
  border-radius: 0 8px 0 0;
  cursor: pointer;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: -2px -2px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.design-notes-toggle svg {
  flex-shrink: 0;
}

.design-notes-dismiss {
  background: var(--color-base-2);
  border: none;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  width: 36px;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex-shrink: 0;
  border-radius: 8px 0 0 0;
  transition: background 0.3s ease;
}

.design-notes-dismiss:hover {
  background: var(--color-base-1);
}

.design-notes-toggle .toggle-text {
  font-size: 15px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.design-notes-tab-wrapper:hover {
  transform: translateY(-3px);
}

.design-notes-content {
  position: fixed;
  bottom: 0;
  left: 40px;
  width: 320px;
  max-height: 0;
  background: #ffffff;
  box-shadow: -4px -4px 20px rgba(0, 0, 0, 0.15);
  border-radius: 8px 8px 0 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease, visibility 0.4s ease;
  display: flex;
  flex-direction: column;
}

.design-notes-header {
  background: var(--color-base-1);
  color: #ffffff;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 3px solid var(--color-base-2);
}

.design-notes-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
}

.design-notes-close {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 20px;
  cursor: pointer;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.design-notes-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

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

.design-note {
  padding: 12px 0;
  border-bottom: 1px solid #eeeeee;
}

.design-note:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.design-note:last-child p {
  font-size: 14px;
}

.design-note h4 {
  color: var(--color-base-1);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.design-note h4 svg {
  flex-shrink: 0;
  color: var(--color-base-2);
}

.design-note p {
  font-size: 16px;
  line-height: 1.6;
  color: #333333;
  margin: 0;
}

@media (max-width: 768px) {
  .design-notes-toggle .toggle-text {
    font-size: 11px;
  }
}
