/* style.css */
:root {
  --primary: #00ffc3;
  --accent: #ff00cc;
  --bg: #0a0a1a;
  --panel: #1e1e3f;
  --text: #f2f2f2;
  --card-shadow: rgba(0, 255, 204, 0.3);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  font-family: 'Exo 2', sans-serif;
  color: var(--text);
}

.container {
  max-width: 500px;
  margin: 40px auto;
  padding: 20px;
}

h1 {
  text-align: center;
  color: var(--primary);
  font-family: 'Orbitron', sans-serif;
  font-size: 2.8rem;
  margin-bottom: 10px;
}

.calculator {
  background: linear-gradient(135deg, #1a1a33, #26264d);
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 0 20px var(--card-shadow);
}

.input-group {
  margin-bottom: 15px;
}

input, select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: none;
  background: #2e2e5c;
  color: var(--text);
  font-size: 16px;
  transition: box-shadow 0.3s;
}

input:focus, select:focus {
  outline: none;
  box-shadow: 0 0 10px var(--primary);
}

button {
  width: 100%;
  padding: 14px;
  margin-top: 10px;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 10px;
  background: linear-gradient(45deg, var(--primary), var(--accent));
  color: #000;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.3s;
}

button:hover {
  transform: scale(1.02);
  box-shadow: 0 0 12px var(--primary);
}

.result {
  margin-top: 20px;
  background: #1b1b3a;
  padding: 15px;
  border-radius: 10px;
  font-size: 18px;
  text-align: center;
  box-shadow: inset 0 0 5px rgba(0,255,204,0.2);
}

.history {
  margin-top: 25px;
  background: #14142d;
  padding: 15px;
  border-radius: 10px;
}

.history strong {
  display: block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 1.1rem;
  font-family: 'Orbitron', sans-serif;
}

.history-item {
  font-size: 14px;
  margin: 6px 0;
  color: #d0d0d0;
}

.action-buttons {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.action-buttons button {
  flex: 1;
  background: #ff3c7d;
  color: white;
}

