/* 알림 컨테이너 */
.in-app-notification-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

/* 토스트 알림 */
.toast-notification {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  max-width: 350px;
  display: flex;
  margin-bottom: 10px;
  transform: translateX(120%);
  transition: transform 0.3s ease;
  overflow: hidden;
}

.toast-notification.show {
  transform: translateX(0);
}

.toast-notification.hide {
  transform: translateX(120%);
}

.toast-icon {
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f0f7ff;
  color: #3b82f6;
}

.toast-content {
  padding: 15px;
  flex-grow: 1;
}

.toast-title {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 5px;
}

.toast-message {
  font-size: 13px;
  color: #666;
}

.toast-close {
  background: none;
  border: none;
  padding: 10px;
  cursor: pointer;
  color: #666;
  align-self: flex-start;
}

/* 바텀 시트 오버레이 */
.bottom-sheet-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

/* 알림 바텀 시트 */
.notification-bottom-sheet {
  background-color: white;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  width: 100%;
  max-height: 80vh;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.notification-bottom-sheet.show {
  transform: translateY(0);
}

.bottom-sheet-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
}

.bottom-sheet-header h4 {
  margin: 0;
  font-size: 18px;
}

.bottom-sheet-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

.notification-list {
  overflow-y: auto;
  padding: 10px 0;
  flex-grow: 1;
}

.notification-item {
  display: flex;
  padding: 15px 20px;
  border-bottom: 1px solid #f5f5f5;
  position: relative;
  cursor: pointer;
}

.notification-item:hover {
  background-color: #f9f9f9;
}

.notification-item.unread {
  background-color: #f0f7ff;
}

.notification-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #e9f5fe;
  color: #3b82f6;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
}

.notification-content {
  flex-grow: 1;
}

.notification-text {
  font-size: 14px;
  margin-bottom: 5px;
}

.notification-time {
  font-size: 12px;
  color: #999;
}

.notification-badge {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #3b82f6;
  position: absolute;
  top: 15px;
  right: 15px;
}

.notification-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  color: #999;
}

.empty-icon {
  font-size: 40px;
  margin-bottom: 10px;
  color: #ccc;
}

.mark-all-read-btn {
  background-color: #f5f5f5;
  border: none;
  padding: 12px;
  margin: 10px 20px;
  border-radius: 5px;
  font-weight: 500;
  cursor: pointer;
}

.mark-all-read-btn:hover {
  background-color: #e9e9e9;
}

/* 모바일 최적화 */
@media (max-width: 768px) {
  .toast-notification {
    max-width: 300px;
  }
}