/* ====== DAILY (page suivi quotidien) ====== */
.studentcard {
  display: flex;
  gap: 16px;
  align-items: center;
  border: 2px solid #3b82f6;
  border-radius: 14px;
  padding: 18px 20px;
  background: #fff;
}

.studentcard__avatar {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #eff6ff;
  font-size: 28px;
}

.studentcard__name {
  font-size: 20px;
  font-weight: 700;
  color: #101727;
  margin-bottom: 4px;
}

.studentcard__meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 8px;
  background: #eff6ff;
  color: #1347e5;
  font-size: 14px;
  font-weight: 500;
}

.panel__title {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 800;
  color: #1f2937;
}

/* Mood cards */
.moodgrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.mood {
  border-radius: 10px;
  padding: 14px 10px;
  display: grid;
  place-items: center;
  gap: 10px;
  cursor: pointer;
  border: 2px solid transparent;
  user-select: none;
}

.mood__input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.mood__icon {
  font-size: 22px;
  line-height: 1;
}

.mood__label {
  font-size: 15px;
  font-weight: 600;
}

/* colors */
.mood--good { background: #dcfce7; color: #22c55e; }
.mood--mid  { background: #fef3c7; color: #f59e0b; }
.mood--bad  { background: #fee2e2; color: #ef4444; }

.mood:has(.mood__input:checked) {
  border-color: currentColor;
}

/* Observation chips */
.chipgrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.chip {
  border: 1px solid #000;
  border-radius: 14px;
  padding: 12px 10px;
  text-align: center;
  cursor: pointer;
  background: #fff;
  user-select: none;
}

.chip__input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.chip:has(.chip__input:checked) {
  background: #eff6ff;
  border-color: #3b82f6;
}

.chip__label {
  font-size: 14px;
  font-weight: 600;
}

/* Moments */
.momentlist {
  display: grid;
  gap: 12px;
}

.momentrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 14px 14px;
  background: #fff;
}

.momentrow__label {
  font-size: 15px;
  font-weight: 500;
  color: #1f2937;
}

/* Actions bottom */
.actionsbar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  margin-top: 16px;
}

.form-error {
  margin: 10px 0 0;
  color: #ef4444;
  font-weight: 600;
}
.modal__content{
  max-height: 85vh;
  overflow: auto;
}

