/* ================================
   Design Notes Panel - Northwestern
   Bottom-docked, click-to-open
   ================================ */

.design-notes-panel {
  position: fixed;
  bottom: 0;
  left: 40px;
  z-index: 9000;
  font-family: sans-serif;
  font-size: 14px;
}

.design-notes-tab-wrapper {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  transition: transform 0.2s ease;
}

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

.design-notes-toggle {
  width: auto;
  height: 40px;
  padding: 0 18px;
  background: var(--primary2-color);
  color: var(--primary2-overlay, #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:hover {
  filter: brightness(1.1);
}

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

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

.design-notes-dismiss {
  background: var(--primary2-color);
  border: none;
  border-right: 1px solid rgba(0, 0, 0, 0.15);
  color: var(--primary2-overlay, #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(--primary1-color);
  color: #ffffff;
}

.design-notes-content {
  display: none;
  width: 420px;
  max-width: 90vw;
  background: #ffffff;
  border-radius: 8px 8px 0 0;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.design-notes-panel.open .design-notes-content {
  display: block;
}

.design-notes-panel.open .design-notes-tab-wrapper {
  transform: none;
}

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

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

.design-notes-close {
  background: transparent;
  border: none;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border-radius: 4px;
  transition: background 0.2s ease;
}

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

.design-notes-body {
  padding: 8px 20px 20px;
  max-height: 400px;
  overflow-y: auto;
}

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

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

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

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

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