:root {
  --primary-color: #4A90E2;
  --secondary-color: #D0EFFF;
  --background-color: #E8F5E9;
  --text-color: #374151;
  --glass-bg: rgba(255, 255, 255, 0.8);
  --glass-border: rgba(255, 255, 255, 0.5);
  --hover-color: #E9F5FF;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--background-color);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 20px;
  box-sizing: border-box;
  color: var(--text-color);
}

.container {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  padding: 40px;
  width: 100%;
  max-width: 900px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
  animation: fadeIn 0.5s ease-out;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.left-column,
.right-column {
  flex-basis: 100%;
}

@media (min-width: 768px) {
  .left-column,
  .right-column {
    flex-basis: 48%;
  }
}

.left-column {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.description {
  margin-bottom: 2rem;
  color: var(--text-color);
  font-size: 1rem;
  line-height: 1.5;
}

.eco-icon {
  font-size: 5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  text-align: center;
}

.input-group {
  margin-bottom: 1.5rem;
  position: relative;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-color);
}

input {
  width: 85%;
  padding: 0.75rem 2.5rem 0.75rem 0.75rem;
  border: 2px solid var(--secondary-color);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-color);
  font-size: 1rem;
  transition: all 0.3s ease;
}

input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.input-icon {
  position: absolute;
  right: 10px;
  top: 70%;
  transform: translateY(-50%);
  color: var(--primary-color);
}

button {
  width: 100%;
  padding: 1rem;
  background: var(--primary-color);
  color: var(--hover-color);
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

button:hover {
  background: var(--hover-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  color: var(--text-color);
}

button:active {
  transform: translateY(0);
}

.progress-container {
  margin-top: 2rem;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 10px;
  overflow: hidden;
  height: 20px;
  position: relative;
}

.progress-bar {
  height: 100%;
  background: var(--primary-color);
  width: 0;
  transition: width 1s ease;
  position: relative;
  overflow: hidden;
}

.progress-bar::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-image: linear-gradient(
    -45deg,
    rgba(255, 255, 255, 0.2) 25%,
    transparent 25%,
    transparent 50%,
    rgba(255, 255, 255, 0.2) 50%,
    rgba(255, 255, 255, 0.2) 75%,
    transparent 75%,
    transparent
  );
  z-index: 1;
  background-size: 50px 50px;
  animation: move 2s linear infinite;
  overflow: hidden;
}

@keyframes move {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 50px 50px;
  }
}

.result {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-color);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.result.show {
  opacity: 1;
  transform: translateY(0);
}