/* Reset some base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(145deg, #1f1f1f, #292929);
  color: #f1f1f1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: #f9c74f;
  text-shadow: 1px 1px 4px #000;
}

.converter {
  background-color: #2e2e2e;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  max-width: 400px;
  width: 100%;
  transition: 0.3s;
}

.converter:hover {
  box-shadow: 0 0 25px rgba(249, 199, 79, 0.3);
}

label {
  font-size: 1rem;
  margin-bottom: 8px;
  display: block;
  color: #ccc;
}

input, select {
  width: 100%;
  padding: 12px 10px;
  margin-bottom: 20px;
  border-radius: 8px;
  border: none;
  background-color: #3c3c3c;
  color: #fff;
  font-size: 1rem;
  transition: border 0.2s;
}

input:focus, select:focus {
  outline: none;
  border: 2px solid #f9c74f;
}

button {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  background: #f9c74f;
  color: #1a1a1a;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 4px 15px rgba(249, 199, 79, 0.3);
}

button:hover {
  background-color: #ffdd6d;
  transform: translateY(-2px);
}

#result {
  margin-top: 20px;
  font-size: 1.2rem;
  color: #90be6d;
  text-align: center;
  font-weight: bold;
}
