/* Notice List styles */
.noticeList {
  width: 30%;
  padding: 1.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  background-color: var(--secondary-color);
  border-radius: 1rem;
  margin: 1rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  position: relative;
}

#no-notice {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: inline-block;
  background-color: var(--primary-color);
  padding: 1rem;
  border-radius: 0.5rem;
  text-align: center;
}

.notice {
  background-color: var(--accent-color);
  padding: 0.8rem;
  margin-bottom: 0.7rem;
  border-radius: 0.5rem;
  transition: transform 0.3s ease-in-out;
}

.notice h3 {
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.notice h5 {
  margin: 0;
  font-weight: 500;
}

#notice-clicked,
.notice:hover {
  background-color: var(--light-grey);
  transform: scale(1.05);
  cursor: pointer;
}

#notice-clicked {
  transform: scale(1);
  cursor: default;
  background-color: var(--alternate-accent-color);
}