
/* surveyhub-small-phone-payments-v2 */
/* Responsive CSS only. No payment or withdrawal logic. */

@media (max-width: 760px) {

  .sh-pay-page,
  .shke {
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    box-sizing:border-box !important;
    margin-left:auto !important;
    margin-right:auto !important;
    padding:10px 10px 28px !important;
    overflow-wrap:anywhere;
  }

  .sh-pay-page *,
  .shke * {
    box-sizing:border-box;
  }

  /* Headings and navigation */
  .sh-pay-page .sh-pay-heading {
    display:flex !important;
    flex-wrap:wrap !important;
    align-items:flex-start !important;
    gap:10px !important;
    margin-bottom:16px !important;
  }

  .sh-pay-page .sh-pay-heading h1,
  .shke .shke-head h1 {
    font-size:clamp(25px,7vw,32px) !important;
    line-height:1.2 !important;
    margin:5px 0 8px !important;
  }

  .sh-pay-page .sh-pay-heading p {
    max-width:100% !important;
    font-size:13px !important;
    line-height:1.55 !important;
  }

  /* Single-column payment sections */
  .sh-pay-page .sh-pay-two-col {
    display:grid !important;
    grid-template-columns:minmax(0,1fr) !important;
    gap:13px !important;
    margin:14px 0 !important;
  }

  .sh-pay-page .sh-pay-card,
  .shke .shke-card {
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    padding:16px 14px !important;
    border-radius:16px !important;
  }

  .sh-pay-page .sh-pay-card-head {
    flex-wrap:wrap !important;
    gap:9px !important;
    margin-bottom:15px !important;
  }

  .sh-pay-page .sh-pay-card h2 {
    font-size:17px !important;
    line-height:1.35 !important;
  }

  /* Balance cards */
  .sh-pay-page .sh-pay-balance-grid {
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:10px !important;
    margin-bottom:14px !important;
  }

  .sh-pay-page .sh-pay-balance {
    min-width:0 !important;
    padding:14px 12px !important;
  }

  .sh-pay-page .sh-pay-balance > strong {
    display:block !important;
    font-size:clamp(19px,5vw,25px) !important;
    line-height:1.3 !important;
    overflow-wrap:anywhere !important;
  }

  /* Forms */
  .sh-pay-page .sh-pay-card form {
    width:100% !important;
    min-width:0 !important;
  }

  .sh-pay-page .sh-pay-card form > label,
  .sh-pay-page .sh-pay-card form > div > label {
    display:block;
    font-size:13px !important;
    line-height:1.5 !important;
    margin-bottom:14px !important;
  }

  .sh-pay-page .sh-pay-card input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]),
  .sh-pay-page .sh-pay-card select,
  .sh-pay-page .sh-pay-card textarea,
  .shke .shke-card input:not([type="hidden"]) {
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    min-height:49px !important;
    padding:12px !important;
    font-size:16px !important;
    line-height:1.4 !important;
    border-radius:11px !important;
  }

  .sh-pay-page input[type="file"] {
    font-size:14px !important;
    max-width:100% !important;
  }

  /* Payment buttons */
  .sh-pay-page .sh-pay-submit,
  .sh-pay-page .sh-copy-btn,
  .shke .shke-actions .shke-button {
    width:100% !important;
    max-width:100% !important;
    min-height:49px !important;
    padding:12px 14px !important;
    border-radius:12px !important;
    font-size:14px !important;
    font-weight:800 !important;
    white-space:normal !important;
    text-align:center !important;
  }

  /* Deposit options */
  .sh-pay-page .sh-deposit-method-grid {
    display:grid !important;
    grid-template-columns:minmax(0,1fr) !important;
    gap:10px !important;
  }

  .sh-pay-page .sh-deposit-choice {
    width:100% !important;
    min-width:0 !important;
    padding:12px !important;
    gap:10px !important;
  }

  .sh-pay-page .sh-deposit-choice-text,
  .sh-pay-page .sh-deposit-choice-text strong {
    min-width:0 !important;
    overflow-wrap:anywhere !important;
  }

  .sh-pay-page .sh-deposit-network-grid {
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:9px !important;
  }

  .sh-pay-page .sh-deposit-network {
    min-width:0 !important;
    padding:10px !important;
  }

  .sh-pay-page .sh-payment-destination,
  .sh-pay-page .sh-deposit-destination {
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
  }

  /* Withdrawal totals, fees and local hours */
  .sh-pay-page .sh-payout-preview {
    width:100% !important;
    min-width:0 !important;
  }

  .sh-pay-page .sh-payout-preview > div {
    gap:9px !important;
    min-width:0 !important;
  }

  .sh-pay-page .sh-payout-preview strong,
  .sh-pay-page .sh-pay-row b {
    min-width:0 !important;
    text-align:right !important;
    overflow-wrap:anywhere !important;
  }

  /* Mobile transaction history */
  .sh-pay-page .sh-pay-history .sh-pay-table-wrap {
    width:100% !important;
    max-width:100% !important;
    overflow:visible !important;
  }

  .sh-pay-page .sh-pay-history .sh-pay-table {
    display:block !important;
    width:100% !important;
    min-width:0 !important;
  }

  .sh-pay-page .sh-pay-history .sh-pay-table thead {
    position:absolute !important;
    width:1px !important;
    height:1px !important;
    overflow:hidden !important;
    clip-path:inset(50%) !important;
    white-space:nowrap !important;
  }

  .sh-pay-page .sh-pay-history .sh-pay-table tbody {
    display:grid !important;
    gap:11px !important;
  }

  .sh-pay-page .sh-pay-history .sh-pay-table tbody tr {
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:13px 10px !important;
    padding:13px !important;
    border:1px solid rgba(216,182,111,.28) !important;
    border-radius:13px !important;
    background:rgba(25,29,26,.85) !important;
  }

  .sh-pay-page .sh-pay-history .sh-pay-table tbody td {
    display:block !important;
    min-width:0 !important;
    padding:0 !important;
    border:0 !important;
    font-size:12px !important;
    overflow-wrap:anywhere !important;
  }

  .sh-pay-page .sh-pay-history .sh-pay-table td::before {
    display:block;
    margin-bottom:4px;
    color:#c3bba9;
    font-size:10px;
    font-weight:750;
    letter-spacing:.04em;
    text-transform:uppercase;
  }

  .sh-pay-page .sh-pay-history td:nth-child(1)::before {
    content:"Reference / Request";
  }

  .sh-pay-page .sh-pay-history td:nth-child(2)::before {
    content:"Amount / Wallet";
  }

  .sh-pay-page .sh-pay-history td:nth-child(3)::before {
    content:"Status / Amount";
  }

  .sh-pay-page .sh-pay-history td:nth-child(4)::before {
    content:"Date / Fee";
  }

  .sh-pay-page .sh-pay-history td:nth-child(5)::before {
    content:"Net payout";
  }

  .sh-pay-page .sh-pay-history td:nth-child(6)::before {
    content:"Status";
  }

  /* Kenya M-Pesa */
  .shke .shke-pay-grid {
    grid-template-columns:minmax(0,1fr) !important;
    gap:14px !important;
  }

  .shke .shke-history {
    min-width:0 !important;
    max-width:100% !important;
  }

  .shke .shke-history-row {
    min-width:0 !important;
    overflow-wrap:anywhere;
  }

}

@media (max-width:420px) {

  .sh-pay-page .sh-pay-balance-grid {
    grid-template-columns:minmax(0,1fr) !important;
  }

  .sh-pay-page .sh-pay-balance {
    padding:15px !important;
  }

  .sh-pay-page .sh-pay-balance > strong {
    font-size:25px !important;
  }

  .sh-pay-page .sh-deposit-network-grid {
    grid-template-columns:minmax(0,1fr) !important;
  }

  .shke .shke-history-row {
    grid-template-columns:minmax(0,1fr) !important;
    gap:9px !important;
  }

}

@media (max-width:350px) {

  .sh-pay-page .sh-pay-history
  .sh-pay-table tbody tr {
    grid-template-columns:minmax(0,1fr) !important;
  }

}
