/* Simple chat look */
.wpcs-thread,
.wpcs-thread-front {
  /* border: 1px solid #ddd; */
  background: #fff;
  padding: 16px;
  overflow: auto;
  border-radius: 12px 12px 0 0;
  display: flex;
  gap: 12px;
  flex-direction: column;
}
.wpcs-msg {
  margin: 0;
  padding: 12px 16px;
  border-radius: 4px;
  max-width: 80%;
  font-size: 14px;
}
.wpcs-msg .wpcs-meta {
  font-size: 14px;
  color: #666;
  margin-bottom: 4px;
}
.wpcs-msg .wpcs-body p {
  margin: 6px 0 0;
  font-size: 16px;
  line-height: 1.3;
}
.wpcs-msg.wpcs-admin {
  background: #f3f8ff;
}
.wpcs-msg.wpcs-customer {
  background: #1d242a;
  align-self: flex-end;
  min-width: 300px;
  border-radius: 10px 10px 10px 10px;
  text-align: right;
}

.wpcs-msg.wpcs-customer .wpcs-meta {
  color: white;
}

.wpcs-msg.wpcs-customer .wpcs-body {
  color: white;
}

.wpcs-msg.wpcs-admin {
  background: #feb301;
  align-self: flex-start;
  min-width: 300px;
  border-radius: 10px 10px 10px 10px;
}

.wpcs-msg.wpcs-admin .wpcs-meta {
  color: #1d242a;
}

.wpcs-msg.wpcs-admin .wpcs-body {
  color: #1d242a;
}

.wpcs-msg.wpcs-system {
  background: #f2f2f2;
  align-self: flex-start;
  min-width: 300px;
  border-radius: 10px 10px 10px 10px;
}

.wpcs-msg.wpcs-system .wpcs-meta {
  color: #1d242a;
}

.wpcs-msg.wpcs-system .wpcs-body {
  color: #1d242a;
}

.wpcs-front-reply p {
  margin: 0;
}

.wpcs-front-reply textarea {
  width: 100%;
  border-radius: 0 0 12px 12px;
  border-top: 1px solid #1d242a;
  box-shadow: none !important;
  font-size: 16px;
}

.wpcs-complaint {
  margin: 0 auto;
  margin-bottom: 80px;
  width: 1200px;
  max-width: 100%;
}
.wpcs-complaint h3 {
  text-align: center;
  font-size: 24px;
}

.wpcs-complaint .input-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 100%;
  width: 580px;
  text-align: center;
  margin: 20px auto;
}

.wpcs-complaint .input-wrapper input {
  text-align: center;
  padding: 20px;
}

.wpcs-complaint .button-wrapper {
  margin-top: 40px;
  text-align: center;
}

.send-button-wrapper {
  margin-top: 20px;
  text-align: right;
}

.wpcs-complaint.open-now p {
  margin: 0;
}

.wpcs-complaint.open-now textarea {
  width: 100%;
  margin: 20px 0;
}

.account-codes .button {
  padding: 8px 16px !important;
  font-size: 14px !important;
}

.account-codes .wpcs-code-wrap {
  background: #f2f2f2;
  border-radius: 4px;
  padding: 4px 10px;
  text-align: left;
}

.account-codes table th:last-of-type,
.account-codes table td:last-of-type {
  text-align: right;
}
