/* 기본 글꼴 및 배경 */
body {
  font-family: "Noto Sans KR", sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(to bottom, #fdfbfb, #ebedee);
}

/* 컨테이너 */
.container {
  max-width: 720px;
  margin: 2rem auto;
  padding: 1rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* 헤더 */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  padding: 1rem;
  border-bottom: 2px solid #eee;
}

.logo {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.8rem;
  letter-spacing: 1px;
}

.logo .hello {
  color: #111;
}
.logo .beat {
  color: #e63946;
  margin-left: 2px;
}

nav a {
  margin-left: 1rem;
  font-weight: bold;
  color: #555;
  text-decoration: none;
}
nav a:hover {
  color: #e63946;
}


/* 인증 폼 */
form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 1rem;
}
input,
textarea,
select {
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}
button {
  padding: 0.6rem;
  background: #e63946;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
button:hover {
  background: #c12839;
}

/* 카드 스타일 */
.card {
  background: #fff;
  border: 1px solid #ddd;
  padding: 1rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* 채팅 */
.chat-box {
  border: 1px solid #ccc;
  height: 220px;
  overflow-y: auto;
  padding: 0.5rem;
  background: #f9f9f9;
  border-radius: 6px;
}
.chat-bubble {
  margin-bottom: 0.5rem;
}
.chat-bubble.me {
  text-align: right;
}
.chat-bubble .name {
  font-weight: bold;
}
.chat-bubble .text {
  margin-top: 2px;
}
.chat-input {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

/* 평가 리스트 */
.rating-item {
  padding: 1rem;
  border-bottom: 1px solid #eee;
  font-size: 0.95rem;
}
.rating-item .time {
  font-size: 0.8rem;
  color: #888;
}

/* 푸터 */
footer {
  background-color: #111;
  color: white;
  padding: 1rem;
  text-align: center;
  font-size: 0.9rem;
  margin-top: 3rem;
}

/* 반응형 */
@media (max-width: 768px) {
  body {
    font-size: 15px;
    padding: 0.5rem;
  }

  header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .container {
    padding: 0.5rem;
  }

  .card {
    padding: 1rem;
    font-size: 0.95rem;
  }

  button,
  input,
  textarea,
  select {
    width: 100%;
    font-size: 1rem;
  }

  .chat-box {
    height: 180px;
    font-size: 0.9rem;
  }

}
