.create-ticket-container,
.ticket-container {
  padding: 25px;
  margin-right: auto;
  margin-left: auto;
  max-width: 1400px;
}

ul.message-quick-links li {
  display: inline-block;
  margin: 2px 0 0 0;
  padding: 0 15px 0 10px;
  border-right: 1px solid var(--mgt-gray-100);
}

ul.message-quick-links li:last-child {
  border-right: 0;
  padding: 0 0 0 10px;
}

ul.message-quick-links li a {
  color: var(--mgt-blue-100);
  font-size: 14px;
}

.modal-templates {
  max-width: 800px;
}

.ai-container {
  padding: 25px;
}

.ai-container .btn-ai-submit {
  margin: 20px 0;
  float:right;
}

.select-template-container {
  display: flex;
  height: 600px;
  padding: 0;
}

.select-template-container .left-pane {
  width: 40%;
  border-right: 1px solid var(--mgt-gray-100);
  padding: 25px;
}

.select-template-container .right-pane {
  width: 60%;
  padding: 25px;
}

.search-template-container {
  margin: 0 0 20px 0;
}

.search-results-container {
  overflow-y: auto;
  height: 500px;
}

.search-results-container h3 {
  border-bottom: 1px solid var(--mgt-gray-100);
  padding: 0 0 5px 0;
  margin: 0 0 10px 0;
}

.search-results-container ul li {
  margin: 0 0 10px 0;
  padding: 4px 10px;
  display: flex;
  justify-content: space-between;
  font-size: 16px;
}

.search-results-container ul li.active,
.search-results-container ul li.active:hover {
  background: var(--mgt-light-blue-100);
}

.search-results-container ul li:hover {
  background: var(--mgt-gray-100);
  cursor: pointer;
}

.search-results-container ul li span {
  font-weight: bold;
  font-size: 12px;
  color: var(--bs-gray-600);
}

.template-preview-container {
  overflow-y: auto;
  height: 560px;
}

.template-preview-container h2 {
  border-bottom: 1px solid var(--mgt-gray-100);
  padding: 0 0 7px 0;
  margin: 0 0 20px 0;
}

.ticket-container .card-header {
  padding: 10px 20px;
}

.ticket-details-container {
  margin: 0 0 40px 0;
}

.ticket-details-container .form-control-subject {
  min-height: 42px;
  border: 0;
  font-size: 1.25rem;
}

.ticket-details-container .action-buttons button {
  margin: 5px 18px 0 0;
}

.ticket-details-container a.priority-level-high {
  color: #cc0000;
}

.messages-container {
  margin: 40px 0;
}

.tab-container {
  border: 1px solid #e2e2e2;
  background: #ffffff;
  margin: 0 0 30px 0;
}

.tab-container ul {
  border: 0;
  padding: 0 20px;
}

.tab-container ul li {
  display: inline-block;
  padding: 20px 0;
}

.tab-container ul li a {
  padding: 20px 15px;
  color: #666666;
}

.tab-container ul li.active a,
.tab-container ul li.active a:hover {
  color: #000000;
  border-bottom: 3px solid #0078d4;
}

.tab-container ul li a.has-notes {
  color: #cc0000;
}

.tab-container ul li a.has-notes:hover {
  color: #cc0000;
}

.tab-container ul li a:hover {
  text-decoration: none;
}

.tab-container ul li a:hover {
  color: #0078d4;
}

.message-row:first-child,
.notes-row:first-child,
.change-row:first-child {
  border-top: 0;
}

.message-row,
.notes-row,
.change-row {
  border-top: 1px solid var(--mgt-gray-100);
  display: flex;
}

.message-row {
  /* background: #fbfcfc; */
  background: #ffffff;
}

.message-row-requester {
  background: #ffffff;
}

.message-information,
.note-information,
.change-information {
  min-width: 200px;
  width: 200px;
  padding: 25px;
  border-right: 1px solid var(--mgt-gray-100);
}

.message-information .name,
.note-information .name,
.change-information .name {
  font-size: 16px;
  margin: 0 0 20px 0;
}

.message-information .name img,
.note-information .name img,
.change-information .name img {
  display: block;
  margin: 0 0 10px 0;
}

.message-information .message-date,
.note-information .note-date,
.change-information .message-date {
  font-size: 12px;
  color: #666666;
}

.rating-container {
  margin: 20px 0;
}

.rating-container ul li {
  display: inline-block;
}

.rating-container ul.poor-1 li.star-1 svg path {
  fill:#cc0000;
}

.rating-container ul.poor-2 li.star-1 svg path,
.rating-container ul.poor-2 li.star-2 svg path {
  fill:#cc0000;
}

.rating-container ul.average-3 li.star-1 svg path,
.rating-container ul.average-3 li.star-2 svg path,
.rating-container ul.average-3 li.star-3 svg path {
  fill:#fd843e;
}

.rating-container ul.good-4 li.star-1 svg path,
.rating-container ul.good-4 li.star-2 svg path,
.rating-container ul.good-4 li.star-3 svg path,
.rating-container ul.good-4 li.star-4 svg path {
  fill:#73bf4c;
}

.rating-container ul.good-5 li.star-1 svg path,
.rating-container ul.good-5 li.star-2 svg path,
.rating-container ul.good-5 li.star-3 svg path,
.rating-container ul.good-5 li.star-4 svg path,
.rating-container ul.good-5 li.star-5 svg path {
  fill:#73bf4c;
}

.rating-container .rating-text {
  margin: 2px 0 0 0;
  font-size: 12px;
  color: #666666;
}

.message-row .message-text,
.notes-row .note-text,
.change-row .change-content {
  padding: 25px;
  font-size: 15px;
}

.message-row .message-text,
.notes-row .note-text {
  width: 100%;
  position: relative;
  overflow: auto;
}

.edit-message-link-container,
.edit-note-link-container {
  position: absolute;
  top: 10px;
  right: 20px;
}

.edit-message-link-container a,
.edit-note-link-container a {
  color: #666666 !important;
}

.note-actions {
  margin: 10px 0 0 0;
}

.message-row .message-text a,
.notes-row .note-text a {
  color: var(--mgt-blue-100);
}

.change-row .change-content {
  width: 100%;
}

.change-status-checkbox-container {
  margin: 0 40px 0 0;
  padding: 8px 0 0 0;
}

.change-status-checkbox-container .form-label {
  margin: 0;
}