.task-log-page {
  padding: 20px;
}

.task-log-card {
  background: #fff;
  border-radius: 24px;
  padding: 24px 16px;
  width: calc(100% - 32px);
  max-width: 380px;
  margin: 30px auto;
  box-sizing: border-box;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  text-align: center;
}

.selected-task {
  background: #DDECC8;
  border-radius: 18px;
  padding: 18px;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 25px;
}

.date-input {
  border: 2px solid #DDECC8;
  border-radius: 15px;
  padding: 12px;
  font-size: 16px;
}

.record-button {
  width: 100%;
  background: #A8C98A;
  color: white;
  border: none;
  border-radius: 999px;
  padding: 14px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.15s ease;
}

.record-button:hover {
  background: #97bb79;
}

.record-button:active {
  transform: scale(0.96);
  box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.18);
}

.form-group {
  margin-bottom: 20px;
}

.back-button-area {
  margin-top: 20px;
  text-align: center;
}

.back-button {
  display: inline-block;
  text-decoration: none;
  color: #666;
  background: #F4F1C9;
  padding: 12px 20px;
  border-radius: 999px;
  transition: 0.2s;
}

.back-button:hover {
  background: #EDE8B8;
}

.date-header {
  max-width: 380px;
  margin: 24px auto 12px;
  padding-bottom: 8px;

  border-bottom: 2px solid #d8efb6;

  color: #4f6b3c;
  font-size: 18px;
  font-weight: bold;

  text-align: left;
  box-sizing: border-box;
}

.task-log-row {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 14px 0;

  border-bottom: 1px solid #ececec;
}

.task-log-row:last-child {
  border-bottom: none;
}

.task-info {
  text-align: left;
}

.task-info small {
  color: #777;
}

.task-point {
  font-weight: bold;
  color: #6aa84f;
}

.pagination-area {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 36px 0;
  padding: 0 16px 20px;
  box-sizing: border-box;
  overflow: visible;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 100%;
}

.pagination a,
.pagination span {
  display: flex;
  justify-content: center;
  align-items: center;

  width: 40px;
  height: 40px;
  flex: 0 0 40px;

  border-radius: 50%;

  background: #F5F9EB;
  color: #4F6B3C;

  text-decoration: none;
  font-weight: bold;

  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);

  transition: 0.2s;
}

.pagination a:hover {
  background: #DDECC8;
  transform: translateY(-2px);
}

.pagination .current {
  background: #9CCB72;
  color: white;
}

.pagination .gap {
  background: transparent;
  box-shadow: none;
  width: 24px;
  flex: 0 0 24px;
}
