/* body {
  font-family: Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  background-color: #f0f0f0;
}
.container {
  background-color: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  max-width: 400px;
  width: 100%;
}
h1 {
  color: #333;
  margin-bottom: 10px;
}
p {
  color: #666;
  margin-bottom: 20px;
}
.input-group {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}
input {
  width: 45%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
}
button {
  width: 100%;
  padding: 10px;
  background-color: #4caf50;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s;
}
button:hover {
  background-color: #45a049;
}
#result {
  margin-top: 20px;
  font-weight: bold;
  font-size: 18px;
}
.icon {
  font-size: 24px;
  margin: 0 10px;
  color: #4caf50;
} */








/* Base Styles */
body {
  font-family: Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  transition: background 0.3s ease, color 0.3s ease;
}

.container {
  padding: 30px;
  border-radius: 15px;
  width: 350px;
  text-align: center;
  transition: background 0.3s ease, color 0.3s ease;
}

h1 { margin-bottom: 10px; }
.icon { color: #4caf50; }

.input-group input {
  width: 45%;
  padding: 10px;
  margin: 10px 2%;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 16px;
}

.buttons button {
  padding: 10px 15px;
  margin: 5px;
  font-size: 16px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  background: #4caf50;
  color: #fff;
  transition: 0.3s;
}

.buttons button:hover { background: #45a049; }

#result { margin-top: 20px; font-size: 20px; min-height: 30px; transition: all 0.3s ease; }

#historyContainer {
  margin-top: 20px;
  text-align: left;
  max-height: 150px;
  overflow-y: auto;
  border-top: 1px solid #ccc;
  padding-top: 10px;
}

#historyContainer h3 { margin: 0 0 10px 0; }
#history li { margin-bottom: 5px; font-size: 14px; }

/* Light Theme */
.light-theme { background: #f0f2f5; color: #000; }
.light-theme .container { background: #fff; box-shadow: 0 10px 25px rgba(0,0,0,0.1); }

/* Dark Theme */
.dark-theme { background: #1e1e1e; color: #fff; }
.dark-theme .container { background: #2c2c2c; box-shadow: 0 10px 25px rgba(0,0,0,0.5); }
.dark-theme input { background: #444; color: #fff; border: 1px solid #666; }
.dark-theme button { background: #3b7d3b; }
.dark-theme button:hover { background: #2d5a2d; }
