/* Daily Review — Sheet de 3 passos */

.dr-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 9000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.dr-backdrop.is-open { opacity: 1; }

.dr-modal {
  background: #141414;
  color: #f0e6d2;
  width: 100%;
  max-width: 520px;
  max-height: 88vh;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-bottom: none;
  padding: 20px 20px 16px;
  transform: translateY(30px);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.5);
}
.dr-backdrop.is-open .dr-modal { transform: translateY(0); }

.dr-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.dr-title {
  font-family: 'Cinzel', serif;
  font-size: 20px;
  color: #d4af37;
  margin: 0;
  letter-spacing: 0.5px;
}
.dr-close {
  background: transparent;
  border: none;
  color: #d4af37;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 0 6px;
}

.dr-indicator {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}
.dr-indicator__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.25);
  transition: background 0.3s;
}
.dr-indicator__dot.is-active { background: #d4af37; }
.dr-indicator__dot.is-done { background: rgba(212, 175, 55, 0.7); }

.dr-body {
  flex: 1;
  overflow-y: auto;
  padding-right: 4px;
}
.dr-step {
  display: none;
}
.dr-step.is-active {
  display: block;
  animation: dr-fade 0.3s ease;
}
@keyframes dr-fade {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.dr-step__title {
  font-size: 16px;
  color: #d4af37;
  margin: 0 0 14px;
  font-weight: 500;
}

.dr-mood {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 16px;
}
.dr-mood__btn {
  flex: 1;
  font-size: 26px;
  padding: 12px 0;
  background: rgba(212, 175, 55, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
}
.dr-mood__btn:hover { background: rgba(212, 175, 55, 0.15); }
.dr-mood__btn.is-selected {
  background: rgba(212, 175, 55, 0.25);
  border-color: #d4af37;
  transform: scale(1.05);
}

.dr-note {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 10px;
  padding: 10px;
  color: #f0e6d2;
  font-family: inherit;
  font-size: 14px;
  resize: vertical;
}
.dr-note:focus { outline: none; border-color: #d4af37; }

.dr-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dr-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 10px;
  cursor: pointer;
}
.dr-item input[type="checkbox"] {
  accent-color: #d4af37;
  width: 18px;
  height: 18px;
}
.dr-item__name {
  font-size: 14px;
  color: #f0e6d2;
}

.dr-empty {
  text-align: center;
  color: rgba(240, 230, 210, 0.5);
  font-size: 13px;
  padding: 20px 10px;
  font-style: italic;
}

.dr-footer {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
}
.dr-btn {
  flex: 1;
  padding: 11px 14px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s;
}
.dr-btn--primary {
  background: #d4af37;
  color: #141414;
  border-color: #d4af37;
}
.dr-btn--primary:hover { background: #e0bd45; }
.dr-btn--ghost {
  background: transparent;
  color: #f0e6d2;
  border-color: rgba(212, 175, 55, 0.3);
}
.dr-btn--ghost:hover { background: rgba(212, 175, 55, 0.1); }

.dr-shake {
  animation: dr-shake-anim 0.35s;
}
@keyframes dr-shake-anim {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}
