/* Design Notes Panel */
.design-notes-panel {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 190;
  transition: all 0.4s ease;
}

.design-notes-panel.open .design-notes-content {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}

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

.design-notes-toggle {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: auto;
  padding: 12px 16px;
  background: var(--color-accent);
  color: var(--text-on-accent);
  border: none;
  border-radius: 0 8px 8px 0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  z-index: 195;
}

.design-notes-toggle i {
  font-size: 26px;
}

.design-notes-toggle .toggle-text {
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  white-space: nowrap;
}

.design-notes-toggle:hover {
  background: var(--color-primary);
  transform: translateY(-50%) scale(1.05);
}

.design-notes-content {
  width: 320px;
  max-height: 80vh;
  background: var(--color-white);
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
  border-radius: 0 8px 8px 0;
  overflow: hidden;
  transform: translateX(-100%);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
}

.design-notes-header {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 3px solid var(--color-accent);
}

.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: var(--color-white);
  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: 20px;
  overflow-y: auto;
  flex: 1;
}

.design-note {
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--color-light);
}

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

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

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

.design-note h4 i {
  color: var(--color-accent);
  font-size: 14px;
}

.design-note p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-dark);
  margin: 0;
}

.design-note ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.design-note ul li {
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-dark);
  padding-left: 20px;
  position: relative;
  margin-bottom: 8px;
}

.design-note ul li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: bold;
}

.design-note ul li strong {
  color: var(--color-primary);
}

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