@media (min-width: 1200px) {
  .card {
    margin: 20px !important;
  }
}

#message {
}

#conversationMessages div.message, #agentResponse div.message, #agentResponse .receivedMessage {
  width: 100% !important;
}

#conversationMessages p span {
  font-size: 12px;
  color: #666;
  float: right;
  width: 100%;
  text-align: right;
}

.receivedMessage {
  float: left;
  width: 100%;
  padding: 20px;
  background-color: #dee7ed;
  border: 1px gray;
  border-radius: 5px;
  clear: both;
  margin: 10px 0px;
}

@media (min-width: 992px) {
  .receivedMessage {
    width: 50%;
  }
}

.sentMessage {
  float: right;
  width: 100%;
  padding: 20px;
  background-color: #d7f1e4;
  border: 1px gray;
  border-radius: 5px;
  clear: both;
  margin: 10px 0px;
}

@media (min-width: 992px) {
  .sentMessage {
    width: 50%;
  }
}

#conversationTable tr, #appointmentTable tr, #appointmentDateTable tr, #advertisementTable tr {
  cursor: pointer !important;
}

#conversationTable tr:hover td, #conversationTable tr.active td {
  color: var(--bs-primary);
}

#advertisementTable tr:hover td, #advertisementTable tr.active td {
  color: var(--bs-primary);
}

#appointmentTable tr:hover td, #appointmentTable tr.active td {
  color: var(--bs-primary);
}

#appointmentDateTable tr:hover td, #appointmentDateTable tr.active td {
  color: var(--bs-primary);
}

#createAnswer:hover {
  color: var(--bs-primary);
}

#createContactForm:hover {
  color: var(--bs-primary);
}

#createAppointment:hover {
  color: var(--bs-primary);
}

#showContactDetails:hover {
  color: var(--bs-primary);
}

#conversations, #messages {
  width: 100%;
  margin: 0px 0px 15px 0px !important;
}

@media (min-width: 992px) {
  #conversations, #messages {
    width: 48% !important;
    float: left;
    margin: 0px 0px 0px 20px !important;
  }
}

.message-badge {
  position: absolute;
  top: 17px;
  left: 19px;
  padding: 0;
  font-size: 12px;
  line-height: 1;
  color: #ffffff;
}

.message-badge2 {
  position: absolute;
  top: 17px;
  left: 15px;
  padding: 0;
  font-size: 12px;
  line-height: 1;
  color: #ffffff;
}

.step-success {
  color: rgb(var(--bs-success-rgb));
  border-radius: 4px;
  padding: 2px 0px 0px 0px;
}

.container {
  max-width: 100% !important;
}

.userCard {
  padding: 1em;
  margin-bottom: 1em;
  border-radius: 5px;
  background: #f9f9f9;
}

.userCard p:last-child {
  margin-bottom: 0;
}

.toggle-button {
  display: inline-block;
  margin-bottom: 1em;
  background: #007bff;
  color: white;
  padding: 0.5em 1em;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

#moreCards {
  display: none;
}

.time-select {
  width: 100%;
}

#date, .date-select {
  width: 100%;
}

.sortable {
  cursor: pointer;
}

.form-label {
  background-color: transparent !important;
}

.appointmentDateOptionItem {
  border: 1px solid var(--bs-primary);
  margin: 0px 0px 10px 0px;
  padding: 10px 11px;
  border-radius: 4px;
  cursor: pointer;
}

.appointmentDateOptionItem:hover, .appointmentDateOptionItem.active {
  background-color: var(--bs-primary);
  color: #fff;
}

.score-select {
  width: 50px;
}

iframe {
  width: 100%;
  height: 100vh;
  border: none;
  display: block;
}

.conversationTableUserPhone {
  width: 100%;
  float: left;
}

.conversations .navbar a[href*="/anfragen/"] {
  color: var(--bs-primary);
}

.appointments .navbar a[href*="/besichtigungen/"] {
  color: var(--bs-primary);
}

.advertisements .navbar a[href*="/inserate/"] {
  color: var(--bs-primary);
}

.archive .navbar a[href*="/archiv/"] {
  color: var(--bs-primary);
}

.automations .navbar a[href*="/automationen/"] {
  color: var(--bs-primary);
}

.automation-overview-card {
  margin: 0px 0px 15px 0px !important;
}

.automation-kpi {
  min-height: 94px;
}

.automation-table > tbody > tr > td {
  padding-top: .75rem;
  padding-bottom: .75rem;
}

.automation-details > td {
  background: #f9f9f9;
}

.automation-editor {
  border: 1px solid var(--bs-border-color);
  border-radius: 4px;
  padding: 1rem;
  background: #fff;
}

.automation-summary {
  max-width: 16rem;
}

.automation-table code {
  font-size: .75rem;
  white-space: nowrap;
}

@media (max-width: 991.98px) {
  .automation-table {
    min-width: 980px;
  }
}
