:root {
  --calc-primary: #5CE5A3;
  --calc-primary-hover: #8CFFCD;
  --calc-bg-light: #F0F0F5;
  --calc-card-bg: #ffffff;
  --calc-dark-bg: #001D66;
  --calc-text-main: #001D66;
  --calc-text-muted: #697484;
  --calc-border: #e2e8f0;
  --calc-radius: 12px;
  --calc-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.waste-calc-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  font-family: "Inter", sans-serif;
  color: var(--calc-text-main);
  max-width: 1000px;
  margin: 2rem auto;
  background: transparent;
}

@media (max-width: 768px) {
  .waste-calc-container {
    grid-template-columns: 1fr;
  }
}

.waste-calc-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.calc-step {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.step-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.step-header h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--calc-primary);
}

.step-num {
  background: var(--calc-primary);
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: bold;
}

/* Toggle Group Styles */
.toggle-group {
  display: flex;
  background: white;
  border: 1px solid var(--calc-border);
  padding: 4px;
  border-radius: var(--calc-radius);
  gap: 4px;
}

.toggle-btn {
  flex: 1;
  border: none;
  background: transparent;
  padding: 12px 20px;
  border-radius: calc(var(--calc-radius) - 2px);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--calc-text-muted);
  transition: all 0.3s ease;
}

.toggle-btn.active {
  background: var(--calc-primary);
  color: white;
  box-shadow: 0 4px 12px rgba(0, 150, 105, 0.2);
}

/* Input Card Styles */
.input-card {
  background: white;
  border: 1px solid var(--calc-border);
  border-radius: var(--calc-radius);
  padding: 1.5rem;
  box-shadow: var(--calc-shadow);
}

.input-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--calc-text-muted);
  font-weight: 600;
}

.input-header .icon {
  width: 20px;
  height: 20px;
  stroke: var(--calc-primary);
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-wrapper input {
  width: 100%;
  padding: 1rem 1.25rem;
  padding-right: 4rem;
  border-radius: 8px;
  border: 1px solid var(--calc-border);
  background: #fdfdfd;
  font-size: 1.25rem;
  font-weight: 500;
  transition: all 0.2s;
}

.input-wrapper input:focus {
  outline: none;
  border-color: var(--calc-primary);
  background: white;
  box-shadow: 0 0 0 4px rgba(0, 150, 105, 0.1);
}

.input-suffix {
  position: absolute;
  right: 1.25rem;
  color: var(--calc-text-muted);
  font-weight: 500;
}

/* Right Side Styles */
.waste-calc-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.result-card {
  background: var(--calc-dark-bg);
  border-radius: 24px;
  padding: 2rem;
  color: white;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
  font-size: 0.9rem;
  font-weight: 700;
  color: #10b981;
}

.result-header .icon {
  width: 20px;
  height: 20px;
  opacity: 0.6;
}

#result-display {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.status-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  animation: fadeIn 0.4s ease-out;
}

.icon-circle {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.icon-circle svg {
  width: 32px;
  height: 32px;
  stroke: rgba(255, 255, 255, 0.3);
}

.waiting-content h3 {
  font-size: 1.25rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

.waiting-content p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.5);
  max-width: 220px;
  margin: 0;
  line-height: 1.5;
}

.result-value-wrapper {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

#result-value {
  font-size: 5rem;
  font-weight: 800;
  line-height: 1;
  color: #fff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.result-unit {
  font-size: 1.5rem;
  font-weight: 600;
  color: #10b981;
}

.result-content p {
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  font-weight: 500;
}

/* Notes Card */
.notes-card {
  background: white;
  border: 1px solid var(--calc-border);
  border-radius: var(--calc-radius);
  padding: 1.5rem;
}

.notes-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.notes-header h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
}

.icon-pulse {
  width: 24px;
  height: 24px;
}

.notes-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.notes-card li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.925rem;
  line-height: 1.6;
  color: var(--calc-text-muted);
}

.notes-card li::before {
  content: "•";
  color: var(--calc-primary);
  font-weight: bold;
  font-size: 1.5rem;
  position: absolute;
  left: 0;
  top: -4px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
