body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: #1e1e2f;
}

.calculator {
  background: #2c2c3e;
  padding: 20px;
  border-radius: 10px;
}

#display {
  width: 100%;
  height: 50px;
  font-size: 20px;
  margin-bottom: 10px;
}

.buttons button {
  width: 50px;
  height: 50px;
  margin: 5px;
  font-size: 18px;
}

.buttons {
  display: grid;
  grid-template-columns: repeat(4, 70px);
  gap: 12px;
  justify-content: center;
} 

#display {
  width: 100%;
  height: 60px;
  font-size: 26px;
  text-align: right;
  padding: 10px;
  border-radius: 10px;
  border: none;
  background: #1a1a2e;
  color: #fff;
}

button {
  width: 70px;
  height: 60px;
  border: none;
  border-radius: 12px;
  background: #3a3a5c;
  color: white;
  font-size: 18px;
  cursor: pointer;
  transition: 0.2s;
}

button:hover {
  background: #57578a;
}

button:active {
  transform: scale(0.95);
}


.calculator {
  background: #2c2c3e;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0px 10px 30px rgba(0,0,0,0.5);
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: #0f0f1a;
  font-family: Arial, sans-serif;
}

#display {
  background: #111122;
  color: #00ffcc;
  font-weight: bold;
  letter-spacing: 1px;
}

button:last-child {
  background: #00c896;
  color: black;
  font-weight: bold;
}

button:hover {
  box-shadow: 0 0 10px rgba(0,255,200,0.6);
}

button:active {
  transform: scale(0.92);
}

.calculator {
  width: 300px;
}

#display {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

button:nth-child(16) {
  background: #00ffcc;
  color: black;
  font-weight: bold;
}

.calculator {
  box-shadow: 0 0 25px rgba(0,255,200,0.2);
}

button {
  transition: all 0.2s ease;
}

.operator {
  color: #00ffcc;
}

#display {
  font-weight: bold;
}