.seo-content {
  max-width: 800px;
  margin: 40px auto 20px;
  padding: 30px;
  background-color: #f8f9fa;
  border-radius: 8px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
  border: 1px solid #e9ecef;
}

.seo-content h2 {
  font-size: 20px;
  font-weight: 600;
  color: #2c3e50;
  margin: 0 0 20px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid #4a90e2;
}

.seo-content h3 {
  font-size: 16px;
  font-weight: 600;
  color: #34495e;
  margin: 24px 0 12px 0;
}

.seo-content p {
  font-size: 14px;
  color: #555;
  margin: 0 0 12px 0;
}

.seo-content ul {
  margin: 12px 0 20px 0;
  padding-left: 20px;
}

.seo-content li {
  font-size: 14px;
  color: #555;
  margin-bottom: 8px;
  line-height: 1.5;
}

.seo-content li strong {
  color: #2c3e50;
  font-weight: 600;
}

.status-demo {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 500;
  margin: 0 4px;
  vertical-align: middle;
}

.status-demo.expired {
  background-color: #ffeaea;
  color: #d32f2f;
}

.status-demo.expiring {
  background-color: #fff3e0;
  color: #f57c00;
}

.status-demo.valid {
  background-color: #e8f5e8;
  color: #388e3c;
}

.seo-content .last-update {
  font-size: 12px;
  color: #95a5a6;
  text-align: right;
  margin-top: 30px;
  padding-top: 15px;
  border-top: 1px solid #e0e0e0;
  font-style: italic;
}

@media (max-width: 640px) {
  .seo-content {
    /*margin: 30px 16px 20px;*/
    padding: 20px;
  }
  
  .seo-content h2 {
    font-size: 18px;
  }
  
  .seo-content h3 {
    font-size: 15px;
  }
}
#shelfLifeCalc_ys7g9 {
  width: 100%;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.calc-container {
  max-width: 800px;
  margin: 0 auto;
  /*padding: 20px 0;*/
}

.input-group {
  margin-bottom: 24px;
  position: relative;
}

.input-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  color: #666;
  font-weight: 500;
}

.date-input, .number-input, .unit-select {
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  transition: border-color 0.2s;
  outline: none;
}

.date-input:focus, .number-input:focus, .unit-select:focus {
  border-color: #4a90e2;
  box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.1);
}

.number-input.error {
  border-color: #ff6b6b;
}

.shelf-life-input {
  display: flex;
  gap: 8px;
}

.number-input {
  flex: 1;
  width: 100%;
  color: #333;
}

.number-input::placeholder {
  color: #999;
}

.unit-select {
  width: 100px;
  background-color: white;
  cursor: pointer;
}

.error-message {
  color: #ff6b6b;
  font-size: 12px;
  margin-top: 4px;
  display: none;
}

.quick-buttons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.quick-btn {
  padding: 8px 12px;
  border: 1px solid #e0e0e0;
  background-color: #f8f9fa;
  border-radius: 4px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
  color: #333;
}

.quick-btn:hover {
  background-color: #f0f0f0;
  border-color: #ccc;
}

.quick-btn:active {
  background-color: #e8e8e8;
  transform: translateY(1px);
}

.calculate-btn {
  width: 100%;
  padding: 12px;
  background-color: #4a90e2;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: 24px;
}

.calculate-btn:hover {
  background-color: #3a80d2;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(74, 144, 226, 0.2);
}

.calculate-btn:active {
  transform: translateY(0);
  box-shadow: none;
}

.result-section {
  border-top: 1px solid #eee;
  padding-top: 20px;
  opacity: 0.6;
  transition: opacity 0.3s;
}

.result-section.has-result {
  opacity: 1;
}

.result-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f5f5f5;
}

.result-item:last-child {
  border-bottom: none;
}

.result-label {
  font-size: 14px;
  color: #666;
}

.result-value {
  font-size: 16px;
  font-weight: 500;
  color: #333;
}

#status_ys7g9 {
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.3s;
}

#status_ys7g9.show {
  opacity: 1;
}

@media (max-width: 640px) {
  .quick-buttons {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .calc-container {
    /*padding: 20px 16px;*/
  }
}