/* Load your custom fonts */
@font-face {
  font-family: 'SpecialElite';
  src: url('/cdbewertungen/SpecialElite.ttf') format('truetype');
}
@font-face {
  font-family: 'UbuntuSansMono';
  src: url('/cdbewertungen/UbuntuSansMono.ttf') format('truetype');
}

/* Apply SpecialElite to comment content */
.comments .comment .content,
.comments .comment .name,
.comments .comment .date {
  font-family: 'SpecialElite', serif;
}

/* Apply UbuntuSansMono to labels and rating stars */
.comments .write_comment label,
.comments .rating label,
.comments .star {
  font-family: 'UbuntuSansMono', monospace;
}




.comments {
  padding: 20px 0 50px 0;
  background-color: #1c1c1c; /* dark background */
  color: #e0e0e0;           /* light text */
}
.comments .comment_header {
  display: flex;
  justify-content: space-between;
  padding: 15px 0;
  margin-bottom: 10px;
  align-items: center;
  border-bottom: 1px solid #333;
}
.comments .comment_header .total {
  color: #ccc;
  font-size: 18px;
  padding-right: 25px;
  font-weight: 500;
}
.comments .comment_header .write_comment_btn {
  margin: 0;
}
.comments .write_comment_btn, .comments .write_comment button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #444;
  color: #fff;
  text-decoration: none;
  margin: 5px 6px 0 0;
  padding: 0 14px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 600;
  height: 35px;
  border: 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 6px 1px rgba(0,0,0,0.5);
}
.comments .write_comment_btn:hover, .comments .write_comment button:hover {
  background-color: #666;
}
.comments .write_comment {
  display: none;
  padding: 10px 0;
}
.comments .write_comment textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #555;
  border-radius: 5px;
  height: 150px;
  margin: 20px 0 10px 0;
  background-color: #2a2a2a;
  color: #e0e0e0;
}
.comments .write_comment textarea::placeholder {
  color: #888;
}
.comments .write_comment input {
  display: block;
  width: 250px;
  padding: 10px;
  border: 1px solid #555;
  border-radius: 5px;
  margin-top: 10px;
  background-color: #2a2a2a;
  color: #e0e0e0;
}
.comments .write_comment input::placeholder {
  color: #888;
}
.comments .write_comment button {
  cursor: pointer;
}
.comments .comment {
  display: flex;
  flex-flow: row;
  width: 100%;
  max-width: 100%;
  padding: 15px;
  margin-bottom: 15px;
  border-radius: 8px;
  background-color: rgba(50, 50, 50, 0.7); /* semi-transparent dark box */
  box-shadow: 0 2px 6px rgba(0,0,0,0.5);
}
.comments .comment .avatar {
  width: 55px;
  padding-right: 12px;
}
.comments .comment .avatar img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}
.comments .comment .avatar span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #fff;
  border-radius: 50%;
  font-size: 16px;
  font-weight: 600;
}
.comments .comment .con {
  display: flex;
  flex-flow: column;
  width: calc(100% - 55px);
  max-width: calc(100% - 55px);
}
.comments .comment .name {
  display: inline;
  font-size: 16px;
  font-weight: 500;
  margin-right: 5px;
  color: #f0f0f0;
}
.comments .comment .date {
  color: #aaa;
  font-size: 14px;
}
.comments .comment .content {
  margin: 0;
  padding: 10px 0;
  color: #ddd;
}
.comments .comment .reply_comment_btn {
  display: inline-block;
  text-decoration: none;
  margin-bottom: 10px;
  font-size: 14px;
  color: #aaa;
}
.comments .comment .reply_comment_btn:hover {
  text-decoration: underline;
  }
.star {
  font-size: 25px;
  color: #555;
  cursor: pointer;
}
.star.selected {
  color: #c41e3a;
}
.average {
  margin-left: 10px;
  font-weight: bold;
  color: #c41e3a;
}
