body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;

margin: 0;
overscroll-behavior: contain; /* Prevent overscrolling */
}

main {
    width: max-content;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
}

footer {
    width: max-content;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
}

.container {
    background-color: white;
    padding: 20px;
    width: 90%;
    max-width: 400px;
    text-align: left;
    filter: drop-shadow(0px 5px 5px rgba(0, 0, 0, 0.1)); /* Adds shadow below */
}

h1 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
    text-align: center;
}

.input-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

label {
    margin-bottom: 0;
    color: #555;
    flex: 1;
}

input {
    flex: 2;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    margin-left: 10px;
}

.output {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    font-weight: bold;
}

#total, #subTotal {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    background-color: #f9f9f9;
    text-align: center;
    color: #333;
}

#reloadButton {
    margin-right: auto;
    margin-left: auto;
    padding: 10px;
    border: none;
    background-color: white;
    display: block;
    font-weight: bold;
    border-radius: 5px;
    font-size: 16px;
}







.custom-keypad {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

.keypad-row {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.key {
    width: 50px;
    height: 50px;
    margin: 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f0f0f0;
    font-size: 20px;
    cursor: pointer;
}

.key:hover {
    background-color: #ddd;
}