body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  margin: 0;
  padding: 0;
}

.container {
  width: 80%;
  margin: auto;
  overflow: hidden;
}

header {
  background: #35424a;
  color: #ffffff;
  padding: 10px 0;
  text-align: center;
}

h1 {
  margin: 0;
}

.chat-box {
  background: #ffffff;
  border: 1px solid #dddddd;
  border-radius: 5px;
  padding: 20px;
  margin-top: 20px;
}

.message {
  padding: 10px;
  border-radius: 5px;
  margin: 5px 0;
}

.message.agent {
  background: #e0f7fa;
  text-align: left;
}

.message.customer {
  background: #ffe0b2;
  text-align: right;
}

.input-area {
  display: flex;
  margin-top: 10px;
}

.input-area input {
  flex: 1;
  padding: 10px;
  border: 1px solid #dddddd;
  border-radius: 5px;
}

.input-area button {
  padding: 10px;
  background: #35424a;
  color: #ffffff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.input-area button:hover {
  background: #2c3e50;
}

/* 알림 스타일 */
.notification {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 15px;
  background-color: #4caf50;
  color: white;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  animation: fadeIn 0.5s;
  cursor: pointer;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 상담사 대시보드 스타일 개선 */
.dashboard-card {
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  transition: transform 0.3s;
}

.dashboard-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 새 채팅 요청 표시 */
.new-chat-request {
  background-color: #ffecb3;
  border-left: 4px solid #ffc107;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 193, 7, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 193, 7, 0);
  }
}

/* 실시간 채팅 요청 목록 */
.chat-requests {
  max-height: 300px;
  overflow-y: auto;
}

.chat-request-item {
  padding: 10px;
  border-bottom: 1px solid #eee;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-request-item:hover {
  background-color: #f9f9f9;
}

.badge-new {
  background-color: #ff5722;
  color: white;
  padding: 3px 8px;
  border-radius: 10px;
  font-size: 12px;
}

/* 상태 표시기 스타일 */
.status-indicator {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 5px;
}

.status-online {
  background-color: #4caf50;
}

.status-away {
  background-color: #ffc107;
}

.status-offline {
  background-color: #9e9e9e;
}
