body {
  background: #14161a;
}

.calendar-pane, .entry-pane {
  background: #1c1f24;
  border: 1px solid #2c3036;
  border-radius: 10px;
  padding: 14px;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.cal-dow {
  text-align: center;
  font-size: 0.75rem;
  color: #8a8f98;
  padding: 4px 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cal-day {
  aspect-ratio: 1.3;
  border: 1px solid #2c3036;
  border-radius: 8px;
  background: #21252b;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  font-size: 0.9rem;
  transition: background 0.15s ease, transform 0.1s ease;
}

.cal-day:hover {
  background: #2a2f37;
}

.cal-day.empty {
  visibility: hidden;
  cursor: default;
}

.cal-day.today {
  border-color: #5b8def;
}

.cal-day.selected {
  background: #2d4a8a;
  border-color: #5b8def;
}

.cal-day .dots {
  position: absolute;
  bottom: 5px;
  display: flex;
  gap: 3px;
}

.cal-day .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
}

.cal-day .dot.text { background: #6bcB77; }
.cal-day .dot.photo { background: #e0a640; }

.entry-textarea {
  min-height: 30vh;
  resize: vertical;
  background: #121417;
  color: #e6e6e6;
  border-color: #2c3036;
}

.photo-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.photo-thumb {
  position: relative;
  width: 100px;
  height: 100px;
}

.photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  border: 1px solid #2c3036;
}

.photo-thumb .remove-photo {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #c0392b;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
}

.search-result {
  border-bottom: 1px solid #2c3036;
  padding: 10px 0;
  cursor: pointer;
}

.search-result:hover {
  background: #21252b;
}
