/* Chatpage.css */

.navbar {
  width: 100%;
}

.container {
  background-color: #f8f9fa;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.container h1 {
  text-align: center;
  color: #007bff;
}

.error-container {
  background-color: #ffc107;
  color: #856404;
  padding: 15px;
  border-radius: 5px;
  margin-bottom: 20px;
  text-align: center;
}

.login-button {
  background-color: #28a745;
  color: #fff;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
}

.login-button:hover {
  background-color: #218838;
}

.card {
  margin-bottom: 15px;
}

.card-title, .card-text {
  margin-bottom: 0;
}

.input-group {
  width: 100%;
}

.form-control {
  border-radius: 5px;
}

.send {
  border-radius: 5px;
}

.main {
  background-color: #f4f4f4;
  padding: 30px 0;
  min-height: 10vh;
}

.responses {
  margin-top: 20px;
}

.responses {
  margin-top: 20px;
  height: calc(100vh - 160px);
  overflow-y: auto;
}

.card {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.loading-spinner {
  border: 5px solid #f3f3f3;
  border-top: 5px solid #3498db;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: spin 1s linear infinite;
  margin-right: 10px;
  display: inline-block;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
