/* ═══════════════════════════════════════════════════════════════════
   AURALIS · Diary Evening Entry — layout template (ВЪЛНА 3.1 Task Г)
   ═══════════════════════════════════════════════════════════════════ */

.de-screen {
  max-width: 480px;
  margin: 0 auto;
  padding: 16px 16px 80px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.de-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.de-section {
  padding: 16px;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
[data-theme="light"] .de-section, :root:not([data-theme]) .de-section {
  background: var(--surface);
  box-shadow: var(--shadow-card-sm);
}
[data-theme="dark"] .de-section {
  background: hsl(220 25% 6% / 0.5);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-color);
}

.de-section-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  margin: 0;
}

.de-question {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.45;
}

.de-note {
  width: 100%;
  min-height: 56px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  line-height: 1.45;
  resize: vertical;
  box-sizing: border-box;
}
.de-note:focus {
  outline: 2px solid hsl(var(--hue3) 70% 55%);
  outline-offset: 2px;
}

.de-char-counter {
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-faint, var(--text));
  text-align: right;
}

.de-section--note {
  gap: 8px;
}

.de-save-hint {
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-faint, var(--text));
  text-align: center;
  padding: 0 8px;
}

.de-night-hint,
.de-multi-hint {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  line-height: 1.5;
}
.de-night-hint {
  background: hsl(220 60% 90% / 0.5);
  color: hsl(220 40% 25%);
}
[data-theme="dark"] .de-night-hint {
  background: hsl(220 40% 18% / 0.5);
  color: hsl(220 50% 80%);
}
.de-night-hint-title {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 4px;
}
.de-multi-hint {
  background: hsl(38 60% 92%);
  color: hsl(38 50% 25%);
}
[data-theme="dark"] .de-multi-hint {
  background: hsl(38 40% 16% / 0.4);
  color: hsl(38 70% 75%);
}

.de-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.de-slider-slot {
  margin-top: 8px;
}

.de-btn {
  min-height: 48px;
  padding: 12px 24px;
  border: none;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease), opacity var(--dur) var(--ease);
}
.de-btn:active { transform: scale(0.98); }
.de-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.de-btn--primary {
  background: linear-gradient(135deg, hsl(var(--hue1) 70% 55%), hsl(var(--hue2) 65% 55%));
  color: white;
}
.de-btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-color);
}
[data-theme="light"] .de-btn--ghost, :root:not([data-theme]) .de-btn--ghost {
  background: var(--surface);
  box-shadow: var(--shadow-card-sm);
}
