/* Global Styles */
:root {
  --primary-color: #4361ee;
  --secondary-color: #3f37c9;
  --accent-color: #4895ef;
  --success-color: #4cc9f0;
  --danger-color: #f72585;
  --warning-color: #f8961e;
  --light-color: #f8f9fa;
  --dark-color: #212529;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f8f9fa;
  color: #333;
}

/* Navbar customization */
.navbar-brand {
  font-weight: 600;
}

/* Card customization */
.card {
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: none;
  margin-bottom: 20px;
}

.card-header {
  background-color: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.125);
  font-weight: 600;
}

/* Button customization */
.btn {
  border-radius: 5px;
  font-weight: 500;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

/* Form customization */
.form-control {
  border-radius: 5px;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(67, 97, 238, 0.25);
}

/* Chat styles */
.chat-demo {
  background-color: #fff;
  border-radius: 10px;
}

.chat-messages {
  max-height: 300px;
  overflow-y: auto;
}

.message {
  display: flex;
  margin-bottom: 15px;
}

.message.bot {
  justify-content: flex-start;
}

.message.user {
  justify-content: flex-end;
}

.message i {
  background-color: var(--primary-color);
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
}

.message-content {
  background-color: #f1f1f1;
  padding: 10px 15px;
  border-radius: 15px;
  max-width: 70%;
}

.message.user .message-content {
  background-color: var(--primary-color);
  color: white;
}

/* Dashboard cards */
.bg-primary-dark {
  background-color: rgba(0, 0, 0, 0.1);
}

.bg-success-dark {
  background-color: rgba(0, 0, 0, 0.1);
}

.bg-info-dark {
  background-color: rgba(0, 0, 0, 0.1);
}

/* Footer customization */
footer {
  margin-top: auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .display-4 {
    font-size: 2.5rem;
  }

  .chat-demo {
    margin-top: 30px;
  }
}
