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

.calculator {
    background: white;
    border: 1px solid #ccc;
    padding: 15px;
    border-radius: 8px;
    width: 240px;
  }

  #display {
    width: 100%;
    padding: 10px;
    font-size: 1.2em;
    text-align: right;
    border: 1px solid #ccc;
    margin-bottom: 10px;
    box-sizing: border-box;
  }

  .buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
  }

  button {
    padding: 15px;
    font-size: 1em;
    border: 1px solid #ccc;
    background-color: #f9f9f9;
    cursor: pointer;
  }

  button:hover {
    background-color: #e0e0e0;
  }

  .zero {
    grid-column: span 2;
  }
