.phonepe-mobileview {
    max-width: 100%;
    padding: 12px;
    font-family: Arial, sans-serif;
}
.phonepe-mobileview h2 {
    margin-top: 0;
    font-size: 18px;
}
.search-row {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 12px;
}
#phonepe-search {
    padding: 8px;
    flex: 1;
    border: 2px solid #333;
    border-radius: 4px;
    font-size: 15px;
}
.phonepe-clear {
    padding: 8px 12px;
    background: #f44336;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
.table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
#phonepe-results table {
    width: 100%;
    min-width: 900px;
    border-collapse: collapse;
    margin-top: 10px;
    background: #fff;
}
#phonepe-results th, #phonepe-results td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
    font-size: 14px;
}
#phonepe-results th {
    background: #333;
    color: #fff;
    font-weight: bold;
}
#phonepe-results tr:nth-child(even) {
    background: #f9f9f9;
}
.pay-btn {
    display: inline-block;
    padding: 6px 12px;
    background-color: #28a745;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
    transition: background-color 0.3s ease;
}
.pay-btn:hover {
    background-color: #218838;
}
@media (max-width: 480px) {
    #phonepe-search {
        font-size: 14px;
    }
    #phonepe-results th, #phonepe-results td {
        padding: 8px;
        font-size: 13px;
    }
    .pay-btn {
        padding: 5px 10px;
        font-size: 12px;
    }
}
@media (max-width: 768px) {
  #phonepe-results th:first-child,
  #phonepe-results td:first-child {
    position: sticky;
    left: 0;
    background: #fff !important; /* force same background */
    z-index: 3; /* higher so header is above td */
  }

  #phonepe-results th:first-child {
    background: #333 !important; /* keep header dark */
    color: #fff;
    z-index: 4; /* ensure header sits above row cells */
  }
}