
body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #ece9e6, #ffffff);
  color: #333;
}

.chat-container {
  max-width: 800px;
  margin: 20px auto;
  border: 1px solid #ddd;
  border-radius: 10px;
  background: #fff;
  display: flex;
  flex-direction: column;
  height: 80vh;
}

.chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  background: #007bff;
  color: #fff;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.chat-history {
  flex: 1;
  padding: 15px;
  overflow-y: auto;
  background: #f9f9f9;
}

.round-history {
  margin-bottom: 1rem;
}

.round-label {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.chat-bubble {
  padding: 10px 15px;
  border-radius: 20px;
  margin-bottom: 10px;
  max-width: 90%;
}

.chat-bubble.left {
  background: #e9ecef;
  border-bottom-left-radius: 0;
  margin-right: auto;
}

.chat-bubble.right {
  background: #007bff;
  color: #fff;
  border-bottom-right-radius: 0;
  margin-left: auto;
}

.chat-input {
  padding: 10px 15px;
  border-top: 1px solid #ddd;
}

.chat-input form {
  display: flex;
  align-items: center;
}

.chat-input form input[type="text"] {
  flex: 1;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 20px;
  margin-right: 10px;
}

.chat-input form button {
  border-radius: 20px;
  padding: 10px 20px;
}
.chat-container {
  max-width: 800px;
  margin: 20px auto;
  border: 1px solid #ddd;
  border-radius: 10px;
  background: #fff;
  display: flex;
  flex-direction: column;
  height: 80vh;
}

.chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  background: #007bff;
  color: #fff;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.chat-history {
  flex: 1;
  padding: 15px;
  overflow-y: auto;
  background: #f9f9f9;
}

.round-history {
  margin-bottom: 1rem;
}

.round-label {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.chat-bubble {
  padding: 10px 15px;
  border-radius: 20px;
  margin-bottom: 10px;
  max-width: 90%;
}

.chat-bubble.left {
  background: #e9ecef;
  border-bottom-left-radius: 0;
  margin-right: auto;
}

.chat-bubble.right {
  background: #007bff;
  color: #fff;
  border-bottom-right-radius: 0;
  margin-left: auto;
}

/* Styles for Clickable Cards */
a.clickable-card {
  display: block;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

a.clickable-card .card {
  transition: transform 0.2s ease, background-color 0.2s ease;
}

a.clickable-card:hover .card {
  background-color: #f0f0f0;
  transform: scale(1.02);
}

a.clickable-card:active .card {
  background-color: #ddd;
  transform: scale(0.98);
}

/* Centering the cards in one column (as before) */
.row.mb-3 {
  margin-bottom: 1.5rem !important;
}
.col-md-4.mx-auto {
  width: 33.33%;
}

/* The rest of your CSS remains unchanged... */

.card {
  border-radius: 10px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .chat-container {
    width: 95%;
    margin: 10px auto;
  }
  .chat-header h3 {
    font-size: 1.1rem;
  }
  .timer {
    font-size: 1rem;
  }
  .chat-input form input[type="text"],
  .chat-input form button {
    padding: 8px;
  }
  .chat-bubble {
    padding: 8px 10px;
  }
}

@media (max-width: 480px) {
  .chat-container {
    width: 98%;
    margin: 5px auto;
  }
  .chat-header, .chat-input {
    padding: 8px 10px;
  }
  .chat-bubble {
    padding: 6px 8px;
    font-size: 0.9rem;
  }
  .chat-input form button {
    padding: 8px 16px;
  }
}