
body {
  background-color: #e0e0e0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}


.calculadora {
  background-color: #e0e0e0;
  padding: 25px;
  border-radius: 30px;
  box-shadow: 9px 9px 16px #bebebe, 
             -9px -9px 16px #ffffff;
  width: 320px;
}


.display {
  background-color: #ffffff;
  min-height: 70px;
  margin-bottom: 25px;
  padding: 15px;
  border-radius: 20px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  font-size: 2.2rem;
  color: #333;
  font-weight: bold;
  word-wrap: break-word;
  word-break: break-all;
  box-shadow: inset 5px 5px 10px #bebebe, 
              inset -5px -5px 10px #ffffff;
}


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


.botoes button {
  background-color: #e0e0e0;
  border: none;
  padding: 18px;
  font-size: 1.3rem;
  font-weight: bold;
  color: #555;
  border-radius: 15px;
  cursor: pointer;
  outline: none;
  transition: all 0.15s ease;
  box-shadow: 5px 5px 10px #bebebe, 
             -5px -5px 10px #ffffff;
}

.botoes button:hover {
  filter: brightness(0.92); 
  color: #000; 
}

.botoes button:active {
  box-shadow: inset 4px 4px 6px #bebebe, 
              inset -4px -4px 6px #ffffff;
  transform: scale(0.97);
}


.botoes button[onclick*="inputOperator"] {
  color: #007aff; 
}


.botoes button[onclick*="clearDisplay"],
.botoes button[onclick*="deleteLast"] {
  color: #ff3b30; 
}


.botoes button[onclick*="calculateResult"] {
  background-color: #ff9500; 
  color: white;
  box-shadow: 5px 5px 10px #b86b00, 
             -5px -5px 10px #ffffff;
}

.botoes button[onclick*="calculateResult"]:active {
  box-shadow: inset 4px 4px 6px #b86b00, 
              inset -4px -4px 6px #ffffff;
}
