body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #d3d3d3;
}

.atm-container {
    background-color: #f5f5f5;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2), 0 12px 24px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 340px;
    max-width: 100%;
}

h1 {
    color: #333;
    font-size: 1.8em;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#balance-display {
    background-color: #333;
    color: #fff;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 25px;
    font-size: 1.3em;
    font-weight: bold;
}

input[type="number"],
input[type="password"] {
    width: 80%;
    padding: 12px;
    margin: 10px 0;
    border-radius: 8px;
    border: 1px solid #bbb;
    font-size: 1em;
}

button {
    width: 80%;
    padding: 12px;
    margin-top: 10px;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    color: #fff;
}

button:nth-child(1) {
    background-color: #007bff;
}

button:nth-child(2) {
    background-color: #28a745;
}

button:nth-child(3) {
    background-color: #dc3545;
}

button:nth-child(4) {
    background-color: #ffc107;
}

button:nth-child(5) {
    background-color: #6c757d;
}

button:nth-child(6) {
    background-color: #343a40;
}

button:hover {
    opacity: 0.9;
}

#message,
#login-message {
    margin-top: 20px;
    color: #dc3545;
    font-weight: bold;
}

#transaction-history {
    margin-top: 20px;
    text-align: left;
    color: #333;
}

#history-list {
    list-style-type: none;
    padding: 0;
}

#history-list li {
    padding: 8px;
    margin: 5px 0;
    background-color: #e9ecef;
    border-radius: 5px;
    font-size: 0.9em;
}