/* 알림 페이지 스타일 */
.taeyang-notifications-page {
  margin: 20px;
  padding: 10px;
  font-family: "Noto Sans KR", Sans-serif;
}

.taeyang-notifications-page h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #333;
  border-bottom: 2px solid #dd553a;
  padding-bottom: 8px;
  text-align: left;
}

/* 알림 목록 스타일 */
.taeyang-notifications-page .notifications-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.taeyang-notifications-page .notifications-list li {
  padding: 15px;
  border-bottom: 1px solid #eee;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* 읽지 않은 알림 스타일 */
.taeyang-notifications-page .notifications-list li.unread {
  background-color: #f9f9f9;
  font-weight: bold;
}

/* 읽은 알림 스타일 */
.taeyang-notifications-page .notifications-list li.read {
  background-color: #fff;
}

/* 알림 링크 스타일 */
.taeyang-notifications-page .notifications-list li a {
  text-decoration: none;
  color: #333;
  font-size: 16px;
  word-wrap: break-word;
}

/* 알림 날짜 스타일 */
.taeyang-notifications-page .notifications-list li .notification-date {
  align-self: flex-end;
  font-size: 12px;
  color: #999;
  margin-top: 5px;
}

.taeyang-notifications-page .notifications-list li .notification-message__detail {
  margin: 8px 0 0;
}

.taeyang-notifications-page .notifications-list li .notification-message__label {
  font-weight: 700;
}

/* 반응형 디자인 */

/* 작은 화면 (max-width: 599px) */
@media (max-width: 768px) {
  .taeyang-notifications-page {
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .taeyang-notifications-page h2 {
    font-size: 20px;
  }

  .taeyang-notifications-page .notifications-list li {
    padding: 10px;
    flex-direction: column;
  }

  .taeyang-notifications-page .notifications-list li a {
    font-size: 14px;
  }

  .taeyang-notifications-page .notifications-list li .notification-date {
    font-size: 10px;
  }

  .taeyang-notifications-page .notifications-list li .notification-message__detail {
    margin-top: 4px;
  }
}

/* 중간 화면 (max-width: 991px) */
@media (max-width: 1024px) {
  .taeyang-notifications-page {
    max-width: 700px;
    margin: 20px auto;
  }

  .taeyang-notifications-page h2 {
    font-size: 24px;
  }

  .taeyang-notifications-page .notifications-list li {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .taeyang-notifications-page .notifications-list li a {
    font-size: 14px;
    margin-right: 10px;
    width: 90%;
  }

  .taeyang-notifications-page .notifications-list li .notification-date {
    font-size: 12px;
    margin-top: 0;
    text-align: right;
  }
}
