body {
    font-family: 'Arial', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: #f4f4f4;
}

#calculator {
    border: 2px solid #ccc;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

#output {
    margin-bottom: 10px;
    font-size: 20px;
    text-align: right;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
}

button {
    font-size: 18px;
    padding: 10px;
    margin: 5px;
    width: 40px;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    background-color: #f9f9f9;
}

button:active {
    background-color: #e2e2e2;
}

button.operator {
    background-color: #ff9c00;
    color: #fff;
}

button.double {
    width: 90px;
}
