/* General Styles */
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f8f9fa;
  color: #333;
}

/* Header Styles */
.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
}

/* Hero Section */
.hero-section {
  padding: 3rem 0;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
}

/* Feature Boxes */
.feature-box {
  padding: 1.5rem;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.05);
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
  height: 100%;
}

.feature-box:hover {
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 2rem;
  color: #0d6efd;
  margin-bottom: 1rem;
}

/* Chat Interface */
.chat-container {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
  overflow: hidden;
  height: 70vh;
  display: flex;
  flex-direction: column;
}

.chat-header {
  background-color: #343a40;
  color: #fff;
  padding: 1rem;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.chat-messages {
  flex-grow: 1;
  overflow-y: auto;
  padding: 1rem;
  background-color: #f8f9fa;
  display: flex;
  flex-direction: column;
}

.message {
  margin-bottom: 1rem;
  max-width: 80%;
  word-wrap: break-word;
}

.message-sent {
  margin-left: auto;
  background-color: #0d6efd;
  color: #fff;
  border-radius: 15px 15px 0 15px;
  padding: 0.75rem;
  align-self: flex-end;
}

.message-received {
  background-color: #e9ecef;
  color: #333;
  border-radius: 15px 15px 15px 0;
  padding: 0.75rem;
  align-self: flex-start;
}

.chat-input {
  padding: 1rem;
  border-top: 1px solid #dee2e6;
}

/* Forms */
.form-container {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
  padding: 2rem;
}

/* User Status */
.status-online {
  color: #ffffff;
}

.status-offline {
  color: #dc3545;
}

/* Loading Spinner */
.spinner-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
}

/* System Messages */
.system-message {
  text-align: center;
  color: #6c757d;
  margin: 1rem 0;
  font-style: italic;
}

/* Typing Indicator */
.typing-indicator {
  color: #6c757d;
  font-style: italic;
  margin-bottom: 0.5rem;
  display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-section {
    padding: 2rem 1rem;
  }

  .message {
    max-width: 90%;
  }

  .chat-container {
    height: 80vh;
  }
}

