.smoking-calculator-wrapper {
  max-width: 1290px;
  margin: 0 auto;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  color: #444;
  line-height: 1.6;
}

.calc-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 24px;
  padding: 32px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.calc-header {
  text-align: center;
  margin-bottom: 32px;
}

.calc-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: #f0f7ff;
  border-radius: 50%;
  margin-bottom: 16px;
  color: #2563eb;
}

.calc-title {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 12px 0;
  color: #2563eb;
}

.calc-description {
  font-size: 16px;
  color: #666;
  margin: 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.calc-inputs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}

.input-group {
  display: flex;
  flex-direction: column;
}

.input-group label {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #444;
}

.input-group input {
  padding: 12px 16px;
  font-size: 16px;
  border: 1px solid #ddd;
  border-radius: 6px;
  transition: border-color 0.2s;
}

.input-group input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.calc-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.calc-actions button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  font-family: inherit;
}

.btn-reset {
  background: #f5f5f5;
  color: #444;
}

.btn-reset:hover {
  background: #e5e5e5;
}

.btn-print {
  background: #2563eb;
  color: #fff;
}

.btn-print:hover {
  background: #1d4ed8;
}

.calc-section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  color: #2563eb;
}

.calc-section-header h3,
.calc-section-header h4 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: #444;
}

.cost-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.cost-item {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.cost-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.cost-label {
  font-size: 14px;
  color: #666;
  margin-bottom: 8px;
  font-weight: 600;
}

.cost-value {
  font-size: 28px;
  font-weight: 700;
  color: #444;
}

.cost-projections {
  margin-top: 32px;
}

.cost-projections h4 {
  font-size: 18px;
  margin-bottom: 20px;
  color: #444;
}

.projection-item {
  margin-bottom: 20px;
}

.projection-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-weight: 600;
}

.projection-value {
  font-size: 18px;
  color: #dc2626;
}

.progress-bar {
  width: 100%;
  height: 12px;
  background: #f1f5f9;
  border-radius: 6px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #f59e0b 0%, #dc2626 100%);
  border-radius: 6px;
  transition: width 1s ease-out;
}

.consumption-card {
  background: linear-gradient(135deg, #fef3c7 0%, #fff 100%);
}

.consumption-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.consumption-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid #fde68a;
  border-radius: 8px;
}

.consumption-label {
  font-size: 14px;
  color: #666;
  margin-bottom: 8px;
}

.consumption-value {
  font-size: 32px;
  font-weight: 700;
  color: #f59e0b;
}

.consumption-unit {
  font-size: 12px;
  color: #666;
  margin-top: 4px;
}

.comparison-card {
  background: linear-gradient(135deg, #f0f9ff 0%, #fff 100%);
}

.comparison-subtitle {
  color: #666;
  margin: -12px 0 24px 0;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.comparison-item {
  padding: 24px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.comparison-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.comparison-icon {
  font-size: 40px;
  margin-bottom: 12px;
}

.comparison-item h4 {
  font-size: 16px;
  margin: 0 0 12px 0;
  color: #444;
}

.comparison-count {
  font-size: 32px;
  font-weight: 700;
  color: #2563eb;
  margin-bottom: 4px;
}

.comparison-period {
  font-size: 12px;
  color: #666;
  margin: 0;
}

.total-savings {
  text-align: center;
  padding: 32px;
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  border: 2px solid #2563eb;
  border-radius: 8px;
}

.savings-label {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 12px 0;
  color: #444;
}

.savings-amount {
  font-size: 48px;
  font-weight: 700;
  color: #2563eb;
  margin: 0 0 8px 0;
}

.savings-period {
  font-size: 14px;
  color: #666;
  margin: 0;
}

@media print {
  .calc-actions {
    display: none;
  }
}

@media (max-width: 768px) {
  .calc-card {
    padding: 20px;
  }
  
  .calc-title {
    font-size: 24px;
  }
  
  .calc-inputs {
    grid-template-columns: 1fr;
  }
  
  .cost-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .consumption-grid,
  .comparison-grid {
    grid-template-columns: 1fr;
  }
  
  .savings-amount {
    font-size: 36px;
  }
}

@media (max-width: 480px) {
  .cost-grid {
    grid-template-columns: 1fr;
  }
  
  .cost-value {
    font-size: 24px;
  }
}
