@media (min-width: 769px) {
  .ggpay-contact-page {
    box-sizing: border-box;
    min-height: calc(100vh - 74px);
    margin: 0 !important;
    padding: 28px 32px 36px;
    background: #f4f7fa;
  }

  .ggpay-contact-page > .MuiGrid-item {
    padding-top: 0 !important;
  }

  .ggpay-contact-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 16px;
    padding: 2px 4px;
  }

  .ggpay-contact-heading h1 {
    margin: 0;
    color: #172b3d;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
  }

  .ggpay-contact-heading p {
    margin: 5px 0 0;
    color: #708295;
    font-size: 13px;
  }

  .ggpay-contact-total {
    flex: 0 0 auto;
    padding: 8px 14px;
    border: 1px solid #d7e5f0;
    border-radius: 999px;
    background: #fff;
    color: #075995;
    font-size: 13px;
    font-weight: 700;
  }

  .ggpay-contact-card {
    border: 1px solid #dce6ed;
    border-radius: 16px !important;
    background: #fff;
    box-shadow: 0 8px 24px rgba(23, 43, 61, 0.07) !important;
  }

  .ggpay-contact-home-card {
    box-shadow: none !important;
  }

  .ggpay-contact-home-table {
    table-layout: fixed;
  }

  .ggpay-contact-home-table th {
    height: 38px;
    padding: 6px 8px !important;
    font-size: 13px;
    line-height: 1.2;
  }

  .ggpay-contact-home-table td {
    height: 42px;
    padding: 7px 8px !important;
    font-size: 14px;
    line-height: 1.25;
  }

  .ggpay-contact-legacy {
    display: none !important;
  }

  .ggpay-contact-groups {
    display: grid;
    gap: 22px;
  }

  .ggpay-contact-group {
    overflow: hidden;
    border: 1px solid #dce6ed;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(23, 43, 61, 0.07);
  }

  .ggpay-contact-group > header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 54px;
    padding: 0 20px;
    border-bottom: 1px solid #dce6ed;
  }

  .ggpay-contact-group-waiting > header {
    background: #fff8eb;
  }

  .ggpay-contact-group-done > header {
    background: #eef8f4;
  }

  .ggpay-contact-group h2 {
    margin: 0;
    color: #21394d;
    font-size: 16px;
    font-weight: 800;
  }

  .ggpay-contact-group > header > span {
    min-width: 42px;
    padding: 5px 10px;
    border: 1px solid rgba(64, 87, 107, 0.15);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
    color: #40576b;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
  }

  .ggpay-contact-entry-list {
    display: grid;
  }

  .ggpay-contact-entry {
    display: grid;
    grid-template-columns: minmax(500px, 42%) minmax(0, 1fr);
    min-height: 132px;
    border-bottom: 1px solid #e6edf2;
    background: #fff;
  }

  .ggpay-contact-entry:last-child {
    border-bottom: 0;
  }

  .ggpay-contact-entry:hover {
    background: #fbfdff;
  }

  .ggpay-contact-entry-meta {
    display: grid;
    align-content: center;
    gap: 18px;
    padding: 24px 26px;
    border-right: 1px solid #e1e9ef;
    background: #f8fafc;
  }

  .ggpay-contact-meta-line {
    min-width: 0;
    color: #253c50;
    font-size: 15px;
    line-height: 1.45;
  }

  .ggpay-contact-meta-top {
    display: flex;
    align-items: center;
    gap: 18px;
    font-weight: 700;
  }

  .ggpay-contact-meta-bottom {
    display: grid;
    grid-template-columns: 0.85fr 0.8fr 1.35fr;
    gap: 18px;
  }

  .ggpay-contact-meta-bottom > span {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .ggpay-contact-meta-line small {
    margin-right: 7px;
    color: #738699;
    font-size: 12px;
    font-weight: 700;
  }

  .ggpay-contact-sequence {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: #0a68a8;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
  }

  .ggpay-contact-entry-body {
    min-width: 0;
    padding: 22px 24px 24px;
  }

  .ggpay-contact-entry-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
  }

  .ggpay-contact-entry-head h3 {
    min-width: 0;
    margin: 2px 0 12px;
    color: #172b3d;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.5;
    overflow-wrap: anywhere;
  }

  .ggpay-contact-entry-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 7px;
  }

  .ggpay-contact-entry-actions > span {
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;
  }

  .ggpay-contact-entry-actions .is-done {
    background: #e5f6ee;
    color: #148257;
  }

  .ggpay-contact-entry-actions .is-waiting {
    background: #fff0d4;
    color: #9b6200;
  }

  .ggpay-contact-entry-actions .ggpay-contact-delete {
    min-width: auto;
    padding: 5px 10px;
  }

  .ggpay-contact-entry-message {
    margin: 0;
    color: #526779;
    font-size: 15px;
    line-height: 1.75;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
  }

  .ggpay-contact-empty {
    margin: 0;
    padding: 34px 20px;
    color: #8292a0;
    font-size: 13px;
    text-align: center;
  }

  .ggpay-contact-table {
    table-layout: fixed;
  }

  .ggpay-contact-table-head {
    background: #edf4f9 !important;
  }

  .ggpay-contact-table-head th {
    height: 48px;
    padding: 0 12px;
    border-bottom: 1px solid #d7e2ea;
    color: #40576b;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
  }

  .ggpay-contact-row {
    transition: background-color 0.16s ease;
  }

  .ggpay-contact-row:nth-of-type(even) {
    background: #fbfcfd;
  }

  .ggpay-contact-row:hover {
    background: #f2f8fc;
  }

  .ggpay-contact-row td {
    height: 62px;
    padding: 10px 12px;
    border-bottom: 1px solid #e8eef2;
    color: #263b4d;
    font-size: 12.5px;
    line-height: 1.45;
    overflow-wrap: anywhere;
  }

  .ggpay-contact-number {
    color: #0a68a8 !important;
    font-weight: 800 !important;
  }

  .ggpay-contact-title {
    display: -webkit-box;
    overflow: hidden;
    color: #1e3548;
    font-weight: 700;
    text-align: left;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .ggpay-contact-message {
    display: -webkit-box;
    overflow: hidden;
    color: #526779;
    text-align: left;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .ggpay-contact-actions {
    display: grid;
    grid-template-columns: minmax(50px, auto) auto;
    align-items: center;
    justify-content: center;
    gap: 3px 6px;
  }

  .ggpay-contact-actions > span {
    justify-self: center;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;
  }

  .ggpay-contact-actions .is-done {
    background: #e5f6ee;
    color: #148257;
  }

  .ggpay-contact-actions .is-waiting {
    background: #fff3dc;
    color: #a86500;
  }

  .ggpay-contact-delete {
    grid-column: 1 / -1;
    min-width: 58px;
    padding: 5px 11px;
    border: 1px solid #f0bdc2;
    border-radius: 8px;
    background: #fff;
    color: #c63f4b;
    font: inherit;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
  }

  .ggpay-contact-delete:hover {
    border-color: #dc6670;
    background: #fff1f2;
  }

  .ggpay-contact-page .MuiPagination-root {
    margin-top: 18px;
    padding: 0 !important;
  }

  .ggpay-contact-page .MuiPagination-ul {
    display: inline-flex;
    padding: 6px 10px;
    border: 1px solid #dce6ed;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(23, 43, 61, 0.05);
  }

  @media (max-width: 1180px) {
    .ggpay-contact-entry {
      grid-template-columns: minmax(400px, 46%) minmax(0, 1fr);
    }

    .ggpay-contact-meta-bottom {
      grid-template-columns: 1fr 1fr;
    }

    .ggpay-contact-meta-bottom > span:last-child {
      grid-column: 1 / -1;
    }
  }
}
