body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: white;
    /* height: 100vh; */
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    width: 100%;
    background-color: white;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

hr {
    border-color: rgba(211, 211, 211, 0.725);
    border-width: 0.1px;
}

.ChagerPay_side {
    padding: 5%;
    width: 90%;
    margin: auto;
}

.balance-box {
    background-color: white;
    border: 1px solid rgba(53, 198, 90);
    border-radius: 10px;
    padding: 25px 10px 25px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.balance-label {
    display: flex;
    align-items: center;
    font-size: 14px;
}

.balance-label::before {
    content: "$";
    margin-right: 5px;
    font-weight: bold;
}

.balance-amount {
    color: rgba(53, 198, 90);
    font-size: 36px;
    font-weight: bold;
}

.link-container {
    text-align: right;
    font-size: 14px;
    margin-top: 10%;
    margin-bottom: 5%;
}

.link {
    color: rgba(53, 198, 90);
    text-decoration: none;
    font-size: 14px;
}

.amount-options {
    margin-top: 10%;
    margin-bottom: 10%;
}

.amount-options h3 {
    font-size: 14px;
    margin-bottom: 5%;
}

.amount-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.amount-button {
    background-color: rgba(53, 198, 90);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    font-weight: bold;
}

.note {
    font-size: 14px;
    margin-top: 10%;
}

.note a {
    color: rgba(53, 198, 90);
    text-decoration: none;
}

.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    text-align: left;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    overflow-y: auto;
    max-height: 80vh;
}

.modal-content h2{
    text-align: center;
}

.text_area {
    padding: 10px;
    border: 1px solid rgba(53, 198, 90);
}

.close_area {
    text-align: right;
}

.close-btn {
    color: #aaa;
    /* float: right; */
    font-size: 28px;
    font-weight: bold;
}

.close-btn:hover,
.close-btn:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

pre {
    white-space: pre-wrap;
    word-wrap: break-word;
    max-height: 60vh; /* 限制高度 */
    overflow-y: auto; /* 超過高度時啟用滾動條 */
}
