* {
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  padding: 25px;
  background: #f4f6fb;
}

@media (max-width: 480px) {
  body {
    padding: 12px;
  }
}

/* --- Add Day Button --- */
.add-day {
  display: block;
  margin-bottom: 16px;
  padding: 10px 24px;
  background: #5C6AC4;
  color: white;
  border: none;
  border-radius: 24px;
  font-size: 12pt;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.add-day:hover {
  background: #4a58b0;
  transform: scale(1.04);
}

/* --- Day Container --- */
.day-container {
  margin-bottom: 12px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.day {
  height: 100px;
  display: grid;
  grid-template-columns: 3fr auto auto;
  gap: 4px;
  padding-right: 12px;
  background: #ffffff;
  cursor: pointer;
  transition: background 0.2s;
}

@media (max-width: 480px) {
  .day {
    height: auto;
    min-height: 80px;
    grid-template-columns: 1fr auto auto;
    padding: 8px 0;
  }
}

.day:hover {
  background: #f0f2ff;
}

/* --- Showcase --- */
.showcase {
  display: grid;
  grid-template-rows: 1fr 1fr;
  padding: 10px 16px;
}

.title {
  font-size: 18pt;
  font-weight: 600;
  color: #5C6AC4;
  display: flex;
  align-items: flex-end;
  padding-bottom: 4px;
}

@media (max-width: 480px) {
  .title {
    font-size: 13pt;
  }
}

.numbers {
  display: flex;
  flex-direction: row;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.numbers span {
  font-size: 13pt;
  color: #444;
  background: #f0f2ff;
  padding: 3px 14px;
  border-radius: 20px;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .numbers span {
    font-size: 10pt;
    padding: 2px 10px;
  }
}

/* --- Add Button --- */
.add {
  justify-self: center;
  align-self: center;
  height: 44px;
  width: 44px;
  border: none;
  border-radius: 50%;
  background: #5C6AC4;
  color: white;
  font-size: 22pt;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.add:hover {
  background: #4a58b0;
  transform: scale(1.08);
}

@media (max-width: 480px) {
  .add {
    height: 36px;
    width: 36px;
    font-size: 18pt;
  }
}

/* --- Delete Day Button --- */
.delete-day {
  margin-left: 16px;
  justify-self: center;
  align-self: center;
  height: 44px;
  width: 44px;
  border: none;
  border-radius: 50%;
  background: #ffe0e0;
  color: #e05555;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.delete-day:hover {
  background: #e05555;
  color: white;
  transform: scale(1.08);
}

@media (max-width: 480px) {
  .delete-day {
    height: 36px;
    width: 36px;
  }
}

/* --- Entry List --- */
ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.entry {
  display: grid;
  grid-template-columns: 3fr auto auto;
  gap: 20px;
  padding-right: 24px;
  background: #ffffff;
  border-top: 1px solid #eaecf4;
  transition: background 0.15s;
}

.entry:hover {
  background: #fafafa;
}

/* --- Entry Numbers --- */
.entry-numbers {
  display: flex;
  flex-direction: row;
  gap: 12px;
  padding: 10px 16px;
  align-items: center;
  flex-wrap: wrap;
}

.entry-numbers span {
  display: flex;
  align-items: center;
  font-size: 13pt;
  color: #444;
  background: #f4f6fb;
  padding: 4px 14px;
  border-radius: 20px;
  gap: 4px;
}

@media (max-width: 480px) {
  .entry-numbers span {
    font-size: 10pt;
    padding: 3px 10px;
  }
}

.entry-numbers span [contenteditable] {
  outline: none;
  min-width: 30px;
  text-align: right;
  color: #5C6AC4;
  font-weight: 600;
}

/* --- Delete Entry Button --- */
.delete {
  grid-column: 3;
  justify-self: center;
  align-self: center;
  height: 34px;
  width: 34px;
  border: none;
  border-radius: 50%;
  background: #ffe0e0;
  color: #e05555;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.delete:hover {
  background: #e05555;
  color: white;
  transform: scale(1.08);
}

@media (max-width: 480px) {
  .delete {
    height: 28px;
    width: 28px;
  }
}
