body {
  font-family: Arial, sans-serif;
  padding: 20px;
  margin: 0;
  display: flex;
  gap: 20px;
}
.left-panel {
  flex: 1;
  padding: 20px;
  border-right: 2px solid #ddd;
  overflow-y: auto;
}
.right-panel {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
h2 {
  margin-top: 0;
  font-size: 20px;
  margin-bottom: 20px;
  width: 100%;
  text-align: center;
}
.info-section {
  background-color: #f5f5f5;
  padding: 15px;
  border-radius: 4px;
  margin-bottom: 20px;
  border: 1px solid #ddd;
}
.info-section h3 {
  font-size: 16px;
  font-weight: bold;
  margin: 0 0 10px 0;
  color: #333;
}
.info-item {
  margin: 8px 0;
  font-size: 14px;
  color: #666;
}
.info-label {
  font-weight: normal;
  color: #666;
}
.info-value {
  color: #333;
  margin-left: 5px;
}
button {
  border: 1px solid #cccccc;
  font-size: 18px;
  color: white;
  background-color: #005ac3;
  margin: 15px 0;
  padding: 16px 32px;
  cursor: pointer;
  border-radius: 4px;
  display: block;
  width: 300px;
}
button:hover {
  background-color: #45a049;
  cursor: pointer;
}
button:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
}

/* Show non-implemented actions as disabled (visible but non-functional). */
#btnResendInvitationEmail,
#btnResendInvitationText {
  display: block;
}

#toast.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  max-width: 520px;
  width: calc(100% - 40px);
  padding: 12px 16px;
  border-radius: 8px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
  z-index: 9999;
}
#toast.toast.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}
#toast.toast.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}
#toast.toast.loading {
  background-color: #e9ecef;
  color: #333;
  border: 1px solid #ced4da;
}
#userActionStatusText {
  margin-top: 20px;
  padding: 10px;
  border-radius: 4px;
  width: 100%;
  max-width: 400px;
  text-align: center;
}
.loading {
  color: #2196f3;
}
.success {
  background-color: #d4edda;
  color: #155724;
}
.error {
  background-color: #f8d7da;
  color: #721c24;
}
.loading-message {
  color: #666;
  font-style: italic;
}

/* When showing an error in the loading message container, keep it readable (not italic). */
.loading-message.error {
  font-style: normal;
}
