.support-page {
  background: #f3f6fa;
  min-height: 70vh;
}

.support-overlap {
  margin-top: -4.75rem;
  position: relative;
  z-index: 2;
}

.support-card {
  border-radius: 1rem;
  overflow: hidden;
}

.support-eyebrow {
  color: #006bb2;
  display: block;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .13em;
  margin-bottom: .45rem;
  text-transform: uppercase;
}

.support-eyebrow-light {
  color: #ffdb00;
}

.support-compose-textarea {
  min-height: 190px;
  resize: vertical;
}

.support-guest-fields {
  margin-top: 2rem;
}

.support-section-divider,
.support-attachment-divider {
  align-items: center;
  color: #667085;
  display: flex;
  font-size: .82rem;
  font-weight: 700;
  gap: 1rem;
  margin: 1.5rem 0;
  text-transform: uppercase;
}

.support-section-divider::after,
.support-attachment-divider::before,
.support-attachment-divider::after {
  background: #e3e8ef;
  content: "";
  flex: 1;
  height: 1px;
}

.support-section-divider::after {
  display: block;
}

.support-info-box {
  align-items: flex-start;
  background: #edf6fc;
  border: 1px solid #cfe5f4;
  border-radius: .75rem;
  color: #28506b;
  display: flex;
  gap: .75rem;
  padding: 1rem;
}

.support-info-box i {
  color: #006bb2;
  font-size: 1.25rem;
}

.support-submit-button {
  min-width: 165px;
}

.support-sign-in-prompt {
  border-top: 1px solid #e6eaf0;
  color: #667085;
  font-size: .9rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  text-align: center;
}

.support-success-panel {
  padding: 2rem 0;
  text-align: center;
}

.support-catalog-form textarea {
  min-height: 125px;
  resize: vertical;
}

.support-catalog-success {
  margin: 0 auto;
  max-width: 820px;
}

.support-catalog-summary {
  background: #f8fafc;
  border: 1px solid #e6eaf0;
  border-radius: .85rem;
  padding: 1.25rem 1.5rem;
}

.support-catalog-summary .support-detail-list {
  margin-top: 0;
}

.support-catalog-summary .support-detail-list > div:first-child {
  border-top: 0;
  padding-top: 0;
}

.support-success-icon,
.support-empty-icon,
.support-access-icon {
  align-items: center;
  background: #e7f7ee;
  border-radius: 50%;
  color: #17804a;
  display: inline-flex;
  font-size: 2rem;
  height: 72px;
  justify-content: center;
  margin-bottom: 1.25rem;
  width: 72px;
}

.support-filter-label {
  color: #344054;
  font-size: .82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.support-back-link {
  font-weight: 700;
}

.support-case-row {
  color: inherit;
  margin-bottom: 1rem;
  overflow: hidden;
  position: relative;
  transition: transform .18s ease, box-shadow .18s ease;
}

.support-case-row::before {
  background: #006bb2;
  bottom: 0;
  content: "";
  left: 0;
  position: absolute;
  top: 0;
  width: 5px;
}

.support-case-row:hover,
.support-case-row:focus {
  color: inherit;
  text-decoration: none;
  transform: translateY(-2px);
}

.support-case-number {
  color: #006bb2;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .06em;
}

.support-status-badge {
  background: #edf1f5;
  border-radius: 999px;
  color: #475467;
  display: inline-block;
  font-size: .72rem;
  font-weight: 800;
  padding: .38rem .68rem;
  text-transform: uppercase;
}

.support-status-badge[data-status="new"],
.support-status-badge[data-status="waiting_staff"] {
  background: #fff3cd;
  color: #795600;
}

.support-status-badge[data-status="open"] {
  background: #e7f0ff;
  color: #2059a6;
}

.support-status-badge[data-status="waiting_customer"] {
  background: #eaf7fc;
  color: #16657e;
}

.support-status-badge[data-status="resolved"] {
  background: #e7f7ee;
  color: #177347;
}

.support-status-badge[data-status="closed"] {
  background: #eceff3;
  color: #535d6c;
}

.support-updated-label,
.support-updated-value,
.support-open-link {
  display: block;
}

.support-updated-label {
  color: #98a2b3;
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.support-updated-value {
  color: #475467;
  font-size: .88rem;
  margin: .15rem 0 .6rem;
}

.support-open-link {
  color: #006bb2;
  font-size: .88rem;
  font-weight: 800;
}

.support-empty-state {
  border-radius: 1rem;
}

.support-empty-icon,
.support-access-icon {
  background: #edf6fc;
  color: #006bb2;
}

.support-conversation-hero .display-4 {
  max-width: 760px;
}

.support-list-hero,
.support-conversation-hero {
  padding-top: 8.5rem;
}

.support-case-row:hover .support-case-number,
.support-case-row:focus .support-case-number {
  color: #006bb2;
}

.support-case-row .support-status-badge[data-status="new"],
.support-case-row .support-status-badge[data-status="waiting_staff"] {
  color: #795600 !important;
}

.support-case-row .support-status-badge[data-status="open"] {
  color: #2059a6 !important;
}

.support-case-row .support-status-badge[data-status="waiting_customer"] {
  color: #16657e !important;
}

.support-case-row .support-status-badge[data-status="resolved"] {
  color: #177347 !important;
}

.support-case-row .support-status-badge[data-status="closed"] {
  color: #535d6c !important;
}

.support-page-alert {
  margin-bottom: 1.25rem;
}

.support-thread-card {
  overflow: hidden;
}

.support-thread-header {
  align-items: center;
  border-bottom: 1px solid #e6eaf0;
  display: flex;
  justify-content: space-between;
  padding: 1.4rem 1.5rem;
}

.support-message-count {
  background: #edf6fc;
  border-radius: 999px;
  color: #006bb2;
  font-size: .78rem;
  font-weight: 800;
  padding: .4rem .7rem;
}

.support-thread {
  background: #f8fafc;
  max-height: 680px;
  min-height: 320px;
  overflow-y: auto;
  padding: 1.5rem;
}

.support-message {
  align-items: flex-start;
  display: flex;
  gap: .75rem;
  margin-bottom: 1.5rem;
}

.support-message:last-child {
  margin-bottom: 0;
}

.support-message-customer {
  flex-direction: row-reverse;
}

.support-message-avatar {
  align-items: center;
  background: #006bb2;
  border-radius: 50%;
  color: #fff;
  display: flex;
  flex: 0 0 38px;
  height: 38px;
  justify-content: center;
}

.support-message-customer .support-message-avatar {
  background: #ffdb00;
  color: #2c3547;
}

.support-message-content {
  max-width: min(78%, 620px);
}

.support-message-customer .support-message-content {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
}

.support-message-meta {
  align-items: center;
  color: #7b8493;
  display: flex;
  font-size: .74rem;
  gap: .65rem;
  margin: 0 .2rem .4rem;
}

.support-message-bubble {
  background: #fff;
  border: 1px solid #e1e6ed;
  border-radius: .3rem 1rem 1rem 1rem;
  box-shadow: 0 4px 12px rgba(17, 31, 51, .05);
  padding: .9rem 1rem;
  white-space: pre-wrap;
}

.support-message-customer .support-message-bubble {
  background: #006bb2;
  border-color: #006bb2;
  border-radius: 1rem .3rem 1rem 1rem;
  color: #fff;
}

.support-message-attachments {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-top: .6rem;
}

.support-attachment-link {
  align-items: center;
  background: #fff;
  border: 1px solid #dce3eb;
  border-radius: .75rem;
  color: #344054;
  display: flex;
  gap: .65rem;
  padding: .65rem .8rem;
  text-align: left;
}

.support-attachment-link:hover {
  border-color: #006bb2;
  color: #006bb2;
}

.support-attachment-link i {
  font-size: 1.25rem;
}

.support-attachment-link span,
.support-attachment-link small {
  display: block;
}

.support-resolution-panel {
  align-items: center;
  background: #eef9f3;
  border-top: 1px solid #d5eee0;
  color: #276046;
  display: flex;
  gap: .9rem;
  padding: 1.15rem 1.5rem;
}

.support-resolution-panel > i {
  color: #198754;
  font-size: 1.5rem;
}

.support-reply-panel {
  background: #fff;
  border-top: 1px solid #e6eaf0;
  padding: 1.5rem;
}

.support-reply-textarea {
  min-height: 125px;
  resize: vertical;
}

.support-file-picker {
  align-items: center;
  background: #f8fafc;
  border: 1px dashed #b7c3d0;
  border-radius: .8rem;
  display: flex;
  gap: .8rem;
  overflow: hidden;
  padding: 1rem;
  position: relative;
}

.support-file-picker > i {
  color: #006bb2;
  font-size: 1.5rem;
}

.support-file-picker input[type="file"] {
  cursor: pointer;
  inset: 0;
  opacity: 0;
  position: absolute;
}

.support-detail-list {
  margin: 1.25rem 0 0;
}

.support-detail-list > div {
  border-top: 1px solid #e8ecf1;
  padding: .85rem 0;
}

.support-detail-list dt {
  color: #7b8493;
  font-size: .72rem;
  margin-bottom: .25rem;
  text-transform: uppercase;
}

.support-detail-list dd {
  color: #344054;
  font-weight: 700;
  margin: 0;
}

.support-help-icon {
  align-items: center;
  background: #edf6fc;
  border-radius: .75rem;
  color: #006bb2;
  display: flex;
  font-size: 1.4rem;
  height: 46px;
  justify-content: center;
  margin-bottom: 1rem;
  width: 46px;
}

.support-access-card {
  margin: 0 auto;
  max-width: 720px;
  text-align: center;
}

@media (max-width: 767.98px) {
  .support-list-hero,
  .support-conversation-hero {
    padding-top: 8rem;
  }

  .support-overlap {
    margin-top: -3.4rem;
  }

  .support-message-content {
    max-width: calc(100% - 50px);
  }

  .support-message-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: .1rem;
  }

  .support-resolution-panel {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .support-thread {
    max-height: none;
    padding: 1rem;
  }
}
