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: #ffffff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.Charge_Protocol {
    width: 85%;
    padding: 2%;
    margin: auto;
    margin-top: 5%;
    border: 1px solid lightgray;
    border-radius: 10px;
    padding: 2%;
}

.Charge_Protocol table {
    width: 100%;
    text-align: center;
    font-size: 14px;
}

.Charge_Protocol th{
    line-height: 2.5rem;
}

.a_ChargeLog {
    text-align: right;
    padding: 5% 8% 0 0;
    text-decoration: none;
    color: rgba(53, 198, 90);
    font-size: 14px;
    z-index: 999;
}

.Charge_Control {
    position: relative;
    width: 100%;
    max-width: 380px; /* 調整這裡以適應不同裝置 */
    margin: auto;
    margin-top: -10%;
}

.text-overlay {
    position: absolute;
    top: 48%;
    left: 49%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: rgba(53, 198, 90);
    width: 60%;
}

.text-overlay .percentage {
    font-size: 5.2em; /* 調整這個大小 */
    margin-left: -30%;
    line-height: 1;
    font-weight: bold;
    letter-spacing: -5px;
}

.text-overlay .battery{
    position: absolute;
    margin-top: -33%;
    width: 26%;
    margin-left: 16%;
}

.text-overlay .time {
    font-size: 1.2em;
    margin: 5px 0 0 0;
    width: 50%;
    margin-left: 10%;
}

.Charge_Control img {
    width: 100%;
    height: auto;
}

.ChargeNow {
    display: flex;
    justify-content: space-around;
    margin-top: -8%;
    font-size: 14px;
}

.Charge_switch {
    width: 30%;
    margin: auto;
    margin-bottom: 6%;
    margin-top: 2%;
}

button {
    text-align: center;
    background-color: rgba(53, 198, 90);
    color: white;
    padding: 10%;
    border: 2px double white;
    border-radius: 30px;
    width: 100%;
    font-size: 18px;
}

.outer-button {
    border: 2px solid rgba(53, 198, 90);
    border-radius: 30px;
}