html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

/* Chat and Group Styles */
.message {
  margin-bottom: 1rem;
}

.message-content {
  background-color: #f8f9fa;
  padding: 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid #e9ecef;
}

.message.sender .message-content {
  background-color: #007bff;
  color: white;
}

.message.receiver .message-content {
  background-color: #e9ecef;
  color: #212529;
}

.avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.chat-container {
  height: calc(100vh - 200px);
}

.messages-container {
  height: 400px;
  overflow-y: auto;
  border: 1px solid #dee2e6;
  border-radius: 0.375rem;
  padding: 1rem;
  background-color: #f8f9fa;
}

.group-card {
  transition: transform 0.2s ease-in-out;
}

.group-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.badge-admin {
  background-color: #dc3545;
}

.badge-member {
  background-color: #6c757d;
}