.help-center-page {
  width: 100%;
  color: #1f2a3d;
  background: #edf3f8;
}

.help-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 281px;
  min-height: 165px;
  margin-bottom: 32px;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(31, 56, 102, 0.05);
}

.help-hero-copy {
  padding: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
}

.help-hero h1 {
  margin: 0 0 10px;
  color: #004aca;
  font-size: 33px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0;
}

.help-hero p {
  margin: 0 0 22px;
  color: #637089;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 500;
}

.help-hero img {
  width: 100%;
  height: 100%;
  min-height: 165px;
  object-fit: cover;
  object-position: center;
}

.help-search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(100%, 552px);
  height: 44px;
  margin-bottom: 17px;
  padding: 0 19px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(33, 54, 96, 0.09);
}

.help-search-box svg {
  width: 16px;
  height: 16px;
  color: #92a0b6;
}

.help-search-box input {
  width: 100%;
  border: 0;
  outline: none;
  color: #253247;
  background: transparent;
  font-size: 11px;
  line-height: 1;
}

.help-search-box input::placeholder {
  color: #9aa6ba;
}

.help-tags {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}

.help-tags button {
  padding: 10px 20px;
  border-radius: 7px;
  color: #004aca;
  background: #e9f1ff;
  font-size: 12px;
  line-height: 1;
  font-weight: 600;
}

.help-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(310px, 0.98fr);
  gap: 24px;
  align-items: start;
}

.help-left-column,
.help-right-column {
  display: grid;
  gap: 32px;
}

.help-block h2,
.support-directory-head h2,
.help-categories-block h2 {
  margin: 0 0 24px;
  color: #1e293b;
  font-size: 20px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0;
}
.support-directory-head h2 {
  margin-bottom: 8px;
}

.ticket-list,
.faq-list {
  display: grid;
  gap: 12px;
}

.recent-view {
  width: fit-content;
  display: inline-flex;
  gap: 6px;
  font-size: 16px;
  font-weight: 500;
  color: #004aca;
  border-bottom: 1px solid #004aca;
}

.recent-view svg {
  width: 20px;
  height: 20px;
}

.ticket-card,
.faq-list details,
.support-contact-card,
.quick-actions article,
.category-grid article {
  background: #fff;
  box-shadow: 0 12px 26px rgba(31, 56, 102, 0.06);
}

.ticket-card {
  min-height: 92px;
  padding: clamp(1.25rem, -1.4167rem + 3.3333vw, 1.5rem);
  border-radius: 10px;
}

.ticket-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.ticket-top > div:first-child {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.ticket-card strong {
  color: #004aca;
  font-size: 16px;
  line-height: 1;
  font-weight: 600;
}

.ticket-status {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  white-space: nowrap;
}

.status-progress {
  color: #d97706;
  background: #fef3c7;
}

.status-open {
  color: #059669;
  background: #d1fae5;
}

.status-awaiting {
  color: #004aca;
  background: #dbeafe;
}

.ticket-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.ticket-actions button {
  min-width: 74px;
  padding: 6px 10px;
  border: 1px solid #004aca;
  border-radius: 10px;
  color: #004aca;
  background: #fff;
  font-size: 14px;
  line-height: 1;
  font-weight: 500;
}

.ticket-card h3 {
  margin: 0 0 10px;
  color: #1e293b;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 500;
}

.ticket-card p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #64748b;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 500;
}

.ticket-card p span {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #8490a4;
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.quick-actions article {
  min-height: 164px;
  padding: clamp(1.25rem, -1.4167rem + 3.3333vw, 1.5rem);
  border-radius: 20px;
}

.quick-actions article > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  border-radius: 50%;
  color: #fff;
  background: #004aca;
}

.quick-actions svg {
  width: 20px;
  height: 20px;
  stroke-width: 2.2;
}

.quick-actions h3 {
  margin: 0 0 9px;
  color: #1e293b;
  font-size: clamp(1rem, -0.3333rem + 1.6667vw, 1.125rem);
  line-height: 1.15;
  font-weight: 600;
}

.quick-actions p {
  min-height: 38px;
  margin: 0 0 14px;
  color: #64748b;
  font-size: clamp(0.75rem, -0.5833rem + 1.6667vw, 0.875rem);
  line-height: 1.45;
}

.quick-actions button {
  width: 100%;
  padding: 10px 20px;
  border-radius: 999px;
  color: #fff;
  background: #004aca;
  font-size: clamp(0.875rem, -0.4583rem + 1.6667vw, 1rem);
  line-height: 1;
  font-weight: 600;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.category-grid article {
  position: relative;
  min-height: 178px;
  padding: clamp(1.25rem, -1.4167rem + 3.3333vw, 1.5rem);
  border-radius: 12px;
}

.category-grid article > svg {
  width: 22px;
  height: 22px;
  margin-bottom: 24px;
  color: #004aca;
  stroke-width: 2.1;
}

.category-grid h3 {
  margin: 0 0 10px;
  color: #1e293b;
  font-size: clamp(1rem, -0.3333rem + 1.6667vw, 1.125rem);
  line-height: 1;
  font-weight: 600;
}

.category-grid p {
  max-width: 150px;
  margin: 0;
  color: #64748b;
  font-size: clamp(0.75rem, -0.5833rem + 1.6667vw, 0.875rem);
  line-height: 1.45;
}

.category-grid button {
  position: absolute;
  right: 22px;
  bottom: 19px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #004aca;
  background: #edf4ff;
}

.category-grid button svg {
  width: 15px;
  height: 15px;
}

.faq-block {
  margin-top: 10px;
}

.faq-list details {
  border-radius: 10px;
  overflow: hidden;
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  padding: 24px;
  color: #1e293b;
  cursor: pointer;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 600;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.5px solid #7b879a;
  border-bottom: 1.5px solid #7b879a;
  transform: rotate(45deg);
}

.faq-list details[open] summary::after {
  transform: rotate(225deg);
}

.faq-list details p {
  margin: 0;
  padding: 0 24px 24px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 500;
}

.support-contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 172px;
  align-items: center;
  gap: 20px;
  min-height: 109px;
  padding: 24px;
  border-radius: 10px;
}

.support-contact-list {
  display: grid;
  gap: 13px;
}

.support-contact-list a,
.support-contact-list span {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: #004aca;
  font-size: 14px;
  line-height: 1;
  font-weight: 500;
}

.support-contact-list span {
  color: #778397;
  font-weight: 500;
}

.support-contact-list svg {
  width: 18px;
  height: 18px;
  color: #004aca;
  flex: 0 0 auto;
}

.support-contact-card > button {
  border: 1px solid #004aca;
  border-radius: 999px;
  color: #004aca;
  background: #fff;
  font-size: 16px;
  line-height: 1;
  font-weight: 600;
  padding: 12px 16px;
}

.support-directory-card {
  padding: 0;
  color: #1e293b;
}

.support-directory-head {
  margin-bottom: 28px;
}

.support-directory-head p {
  margin: 0;
  color: #718096;
  font-size: 13px;
  line-height: 1;
  font-weight: 500;
}

.support-directory-table {
  display: grid;
  gap: 16px;
}

.support-directory-labels {
  min-height: 46px;
  padding: 0 30px;
  display: grid;
  grid-template-columns: 1.15fr 1fr 1.35fr;
  align-items: center;
  background: #f8f9fb;
  color: #596373;
  font-size: 11px;
  line-height: 1;
  font-weight: 500;
  text-transform: uppercase;
}

.support-directory-row {
  min-height: 86px;
  padding: 0 16px;
  border-radius: 24px;
  display: grid;
  grid-template-columns: 1.5fr 0.5fr 1.5fr;
  align-items: center;
  gap: 20px;
  background: #ffffff;
  box-shadow: 0 15px 30px rgba(31, 56, 102, 0.08);
}

.support-directory-person {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.support-directory-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #8b2dff;
  background: #f0dcff;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
}

.support-directory-person strong {
  display: block;
  margin-bottom: 7px;
  color: #1f2937;
  font-size: 14px;
  line-height: 1;
  font-weight: 600;
}

.support-directory-person small {
  display: block;
  color: #667085;
  font-size: 12px;
  line-height: 1;
  font-weight: 500;
}

.support-directory-pill {
  width: fit-content;
  min-height: 20px;
  padding: 0 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #4b5563;
  background: #f0f1f4;
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
}

.support-directory-contact {
  display: grid;
  gap: 9px;
  justify-self: start;
  min-width: 0;
}

.support-directory-contact a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: #667085;
  font-size: 14px;
  line-height: 1;
  font-weight: 500;
  word-break: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.support-directory-contact svg {
  width: 16px;
  height: 16px;
  color: #667085;
  flex: 0 0 auto;
}

.support-ticket-view {
  color: #182237;
}

.support-ticket-back {
  display: none;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  color: #004aca;
  background: transparent;
  font-size: 16px;
  font-weight: 700;
}

.support-ticket-back svg {
  width: 20px;
  height: 20px;
}

.support-ticket-head {
  margin-bottom: 30px;
}

.support-ticket-head h1 {
  margin: 0 0 16px;
  color: #000000;
  font-size: 27px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0;
}

.support-ticket-head p {
  margin: 0;
  color: #6f7f99;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 500;
}

.support-ticket-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 256px;
  gap: 22px;
  align-items: start;
}

.support-ticket-main,
.support-ticket-side {
  display: grid;
  gap: 16px;
}

.support-ticket-card {
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 14px 28px rgba(31, 56, 102, 0.08);
}

.ticket-summary-card {
  min-height: 374px;
  padding: 46px 39px 36px;
}

.ticket-detail-id {
  display: block;
  margin-bottom: 28px;
  color: #0e3fad;
  font-size: 14px;
  line-height: 1;
  font-weight: 600;
}

.ticket-summary-card h2 {
  margin: 0 0 24px;
  color: #172033;
  font-size: 21px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0;
}

.ticket-summary-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 87px;
  row-gap: 30px;
  max-width: 668px;
}

.ticket-summary-meta small {
  display: block;
  margin-bottom: 10px;
  color: #64748b;
  font-size: 14px;
  line-height: 1;
  font-weight: 500;
}

.ticket-summary-meta strong {
  display: block;
  color: #172033;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 700;
}

.ticket-category-pill {
  display: flex !important;
  align-items: center;
  width: 211px;
  padding: 8px 15px;
  border-radius: 8px;
  color: #004aca !important;
  background: #d8e9ff;
  font-size: 14px !important;
}

.conversation-card {
  min-height: 750px;
  padding: 64px 34px 51px;
}

.conversation-card h2 {
  margin: 0 0 34px;
  color: #1e293b;
  font-size: 24px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0;
}

.conversation-list {
  display: grid;
  gap: 31px;
}

.conversation-row {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.conversation-row > img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 3px 8px rgba(19, 35, 66, 0.18);
}

.conversation-bubble {
  min-height: 102px;
  padding: clamp(1rem, -4.3333rem + 6.6667vw, 1.5rem);
  border-radius: 10px;
  background: #f4f7fc;
}

.conversation-row.is-agent .conversation-bubble,
.conversation-row.is-resolved .conversation-bubble {
  border-left: 3px solid #004aca;
  background: #edf4ff;
}

.conversation-bubble header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 15px;
}

.conversation-bubble strong {
  color: #172033;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
}

.conversation-bubble strong span {
  color: #7e8ba3;
  font-weight: 600;
}

.conversation-bubble time {
  color: #9cacc4;
  font-size: 9px;
  line-height: 1;
  white-space: nowrap;
}

.conversation-bubble p {
  max-width: 512px;
  margin: 0;
  color: #172033;
  font-size: 12px;
  line-height: 1.55;
  font-weight: 500;
}

.ticket-attachments {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
  margin-top: 22px;
}

.ticket-attachments a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 clamp(0.625rem, -3.375rem + 5vw, 1rem);
  border: 1px solid #d9e1ef;
  border-radius: 7px;
  background: #fff;
}

.ticket-attachments svg {
  width: 18px;
  height: 18px;
  color: #004aca;
  flex: 0 0 auto;
}

.ticket-attachments span {
  color: #172033;
  font-size: 12px;
  line-height: 1.15;
  font-weight: 600;
}

.ticket-attachments small {
  display: block;
  margin-top: 3px;
  color: #71809a;
  font-size: 9px;
  font-weight: 500;
}

.resolved-badge {
  display: inline-flex;
  align-items: center;
  height: 27px;
  margin-top: 20px;
  padding: 0 17px;
  border-radius: 6px;
  color: #07915e;
  background: #c9f6db;
  font-size: 9px;
  font-weight: 700;
}

.ticket-reply-card {
  min-height: 220px;
  padding: 24px 27px 26px;
}

.ticket-reply-card textarea {
  display: block;
  width: 100%;
  height: 119px;
  border: 1px solid #d9e2ef;
  border-radius: 10px;
  outline: none;
  resize: none;
  padding: 17px;
  color: #172033;
  font-size: 14px;
  line-height: 1.4;
}

.ticket-reply-card textarea::placeholder {
  color: #a4b0c4;
}

.ticket-reply-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 17px;
}

.ticket-reply-card footer div {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  color: #76859d;
  font-size: 10px;
}

.ticket-reply-card footer div button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #62708a;
  background: transparent;
  font-size: 12px;
  font-weight: 700;
}

.ticket-reply-card footer svg {
  width: 12px;
  height: 12px;
}

.ticket-reply-card footer > button {
  min-width: 154px;
  padding: 10px 20px;
  border-radius: 999px;
  color: #fff;
  background: #004aca;
  font-size: 16px;
  font-weight: 600;
}

.support-agent-card {
  display: grid;
  justify-items: center;
  min-height: 254px;
  padding: 24px;
  text-align: center;
}

.support-agent-card img {
  width: 66px;
  height: 66px;
  margin-bottom: 15px;
  border-radius: 50%;
  object-fit: cover;
}

.support-agent-card h3,
.quick-ticket-actions h3 {
  margin: 0;
  color: #172033;
  font-size: 18px;
  line-height: 1;
  font-weight: 600;
}

.support-agent-card p {
  margin: 8px 0 9px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 500;
}

.support-agent-card span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 26px;
  color: #10b981;
  font-size: 10px;
  font-weight: 700;
}

.support-agent-card span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00c67a;
}

.support-agent-card button {
  width: 207px;
  max-width: 100%;
  border: 1px solid #004aca;
  border-radius: 12px;
  color: #004aca;
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 10px 20px;
}

.quick-ticket-actions {
  min-height: 236px;
  padding: 27px 25px;
}

.quick-ticket-actions h3 {
  margin-bottom: 18px;
}

.quick-ticket-actions button {
  width: 100%;
  height: 32px;
  margin-top: 8px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  color: #172033;
  background: #fff;
  font-size: 12px;
  font-weight: 600;
}

.quick-ticket-actions button:last-child {
  border-color: #004aca;
  color: #fff;
  background: #004aca;
}

.ticket-timeline-card {
  min-height: 494px;
  padding: 37px 28px 28px;
}

.ticket-timeline-card h2 {
  margin: 0 0 32px;
  color: #172033;
  font-size: 22px;
  line-height: 1.45;
  font-weight: 600;
  letter-spacing: 0;
}

.ticket-activity-list {
  position: relative;
  display: grid;
  gap: 26px;
  padding-left: 29px;
}

.ticket-activity-list::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 7px;
  left: 4px;
  width: 2px;
  background: #004aca;
}

.ticket-activity-list article {
  position: relative;
}

.ticket-activity-list article::before {
  content: "";
  position: absolute;
  top: 2px;
  left: -29px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #004aca;
}

.ticket-activity-list strong {
  display: block;
  color: #1e293b;
  font-size: 12px;
  line-height: 1;
  font-weight: 500;
}

.ticket-activity-list time {
  display: block;
  margin-top: 7px;
  color: #94a3b8;
  font-size: 10px;
  line-height: 1;
  font-weight: 600;
}

.create-ticket-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(0, 0, 0, 0.86);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease;
}

.create-ticket-panel {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 95;
  width: min(calc(100vw - 32px), 670px);
  padding: 50px 54px 46px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -50%) scale(0.97);
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease,
    transform 0.22s ease;
}

body.create-ticket-open {
  overflow: hidden;
}

body.create-ticket-open .create-ticket-backdrop,
body.create-ticket-open .create-ticket-panel {
  opacity: 1;
  visibility: visible;
}

body.create-ticket-open .create-ticket-panel {
  transform: translate(-50%, -50%) scale(1);
}

.create-ticket-close {
  position: absolute;
  top: 20px;
  right: 22px;
  display: none;
  place-items: center;
  width: 30px;
  height: 30px;
  color: #738096;
  background: transparent;
}

.create-ticket-close svg {
  width: 20px;
  height: 20px;
}

.create-ticket-panel h2 {
  margin: 0 0 28px;
  color: #202a3d;
  font-size: 28px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0;
}

.create-ticket-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 21px;
  row-gap: 20px;
}

.create-ticket-form label {
  display: grid;
  gap: 11px;
  color: #111827;
  font-size: 14px;
  line-height: 1;
  font-weight: 500;
}

.create-ticket-form label.full {
  grid-column: 1 / -1;
}

.create-ticket-form input,
.create-ticket-form select,
.create-ticket-form textarea {
  width: 100%;
  border: 1px solid #d5dce8;
  border-radius: 10px;
  outline: none;
  color: #1f2937;
  background: #fff;
  font-size: 14px;
  line-height: 1;
}

.create-ticket-form input,
.create-ticket-form select {
  padding: 12px 16px;
}

.create-ticket-form select {
  max-width: 276px;
  appearance: none;
  background:
    linear-gradient(45deg, transparent 50%, #66758f 50%) calc(100% - 24px) 50% /
      7px 7px no-repeat,
    linear-gradient(135deg, #66758f 50%, transparent 50%) calc(100% - 19px)
      50% / 7px 7px no-repeat,
    #eceeef;
}

.create-ticket-form textarea {
  height: 137px;
  padding: 18px;
  resize: none;
}

.create-ticket-form input::placeholder,
.create-ticket-form textarea::placeholder {
  color: #a5afc0;
}

.create-ticket-upload {
  display: grid;
  place-items: center;
  min-height: 160px;
  border: 2px dashed #cbd8e8;
  border-radius: 13px;
  color: #6d7b92;
  text-align: center;
}

.create-ticket-upload svg {
  width: 32px;
  height: 32px;
  margin-bottom: 0px;
  color: #71849d;
  stroke-width: 1.8;
}

.create-ticket-upload strong {
  display: block;
  color: #65728a;
  font-size: 15px;
  line-height: 1;
  font-weight: 700;
}

.create-ticket-upload small {
  display: block;
  margin-top: 12px;
  color: #9aa6ba;
  font-size: 12px;
  line-height: 1;
  font-weight: 500;
}

.create-ticket-form footer {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  padding-top: 8px;
}

.create-ticket-form footer button {
  width: 198px;
  border-radius: 999px;
  padding: 14px 20px;
  color: #fff;
  background: #0e3fad;
  font-size: 15px;
  line-height: 1;
  font-weight: 700;
}

@media (max-width: 1180px) {
  .help-layout {
    grid-template-columns: 1fr;
  }

  .support-ticket-grid {
    grid-template-columns: 1fr;
  }

  .support-ticket-side {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .help-hero {
    grid-template-columns: 1fr;
  }

  .help-hero img {
    max-height: 240px;
  }

  .support-ticket-side {
    grid-template-columns: 1fr;
  }

  .ticket-summary-card,
  .conversation-card,
  .ticket-reply-card {
    padding-left: 16px;
    padding-right: 16px;
  }

  .ticket-summary-meta {
    column-gap: 32px;
  }
}

@media (max-width: 760px) {
  .help-center-page {
    padding-left: 18px;
    padding-right: 18px;
  }

  .help-hero h1 {
    font-size: 27px;
    line-height: 1.1;
  }

  .quick-actions,
  .category-grid,
  .support-contact-card {
    grid-template-columns: 1fr;
  }

  .ticket-top,
  .ticket-card p {
    align-items: flex-start;
    flex-direction: column;
  }

  .ticket-card p span {
    display: none;
  }

  .ticket-actions {
    width: 100%;
  }

  .ticket-actions button {
    flex: 1;
  }

  .support-contact-card > button {
    width: 100%;
  }

  .support-directory-head {
    margin-bottom: 20px;
  }

  .support-directory-labels {
    display: none;
  }

  .support-directory-row {
    min-height: 0;
    padding: 16px;
    border-radius: 18px;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .support-directory-pill {
    justify-self: start;
  }

  .support-directory-contact {
    gap: 12px;
  }

  .support-ticket-view {
    max-width: none;
  }

  .support-ticket-back {
    display: inline-flex;
  }

  .support-ticket-head h1 {
    font-size: 24px;
  }

  .ticket-summary-card,
  .conversation-card,
  .ticket-reply-card,
  .support-ticket-side .support-ticket-card {
    border-radius: 11px;
  }

  .ticket-summary-card {
    min-height: auto;
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .ticket-summary-meta {
    grid-template-columns: 1fr;
    row-gap: 22px;
  }

  .ticket-summary-meta > div:empty {
    display: none;
  }

  .conversation-card {
    min-height: auto;
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .conversation-card h2 {
    font-size: 22px;
  }

  .conversation-row {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
  }

  .conversation-row > img {
    width: 30px;
    height: 30px;
  }

  .conversation-bubble header,
  .ticket-reply-card footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .conversation-bubble time {
    white-space: normal;
  }

  .ticket-attachments {
    grid-template-columns: 1fr;
  }

  .ticket-reply-card footer > button {
    width: 100%;
  }

  .create-ticket-backdrop {
    background: rgba(15, 23, 42, 0.38);
  }

  .create-ticket-panel {
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    width: 100%;
    max-height: 90vh;
    padding: 32px 22px 26px;
    border-radius: 22px 22px 0 0;
    overflow-y: auto;
    transform: translateY(100%);
  }

  body.create-ticket-open .create-ticket-panel {
    transform: translateY(0);
  }

  .create-ticket-close {
    display: grid;
  }

  .create-ticket-panel h2 {
    margin-bottom: 26px;
    font-size: 24px;
  }

  .create-ticket-form {
    grid-template-columns: 1fr;
    row-gap: 18px;
  }

  .create-ticket-form select {
    max-width: none;
  }

  .create-ticket-upload {
    min-height: 136px;
  }

  .create-ticket-form footer {
    padding-top: 2px;
  }

  .create-ticket-form footer button {
    width: 100%;
    height: 52px;
  }
}

@media (max-width: 430px) {
  .help-center-page {
    padding-left: 14px;
    padding-right: 14px;
  }

  .help-hero h1 {
    font-size: 24px;
  }

  .help-tags button {
    flex: 1 1 calc(50% - 9px);
  }
}
