/* Minimal Product Meta Component - Dark Theme Compatible */

/* Main container - simple and clean */
.nandung-product-meta-simple {
  margin: 1.5rem 0;
  padding: 1rem;
  border: 1px solid currentColor;
  border-radius: 4px;
  background: transparent;
  opacity: 0.9;
}

/* Meta info container */
.nandung-meta-info {
  font-size: 14px;
  line-height: 1.5;
}

/* Details section */
.nandung-meta-details {
  margin-bottom: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.nandung-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 13px;
}

.nandung-meta-item strong {
  color: white;
  font-weight: 600;
}

/* Status styling */
.nandung-status-original {
  color: #10b981;
  font-weight: 500;
}

.nandung-status-activated {
  color: #3b82f6;
  font-weight: 500;
}

/* Actions section */
.nandung-meta-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Simple button styling */
.nandung-button {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid currentColor;
  border-radius: 3px;
  background: transparent;
  color: inherit;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.nandung-button:hover {
  opacity: 1;
  text-decoration: none;
}

.nandung-demo-btn {
  border-color: #10b981;
  color: #10b981 !important;
}

.nandung-activate-btn {
  border-color: #3b82f6;
  color: #3b82f6 !important;
}

/* Dark theme adjustments */
@media (prefers-color-scheme: dark) {
  .nandung-product-meta-simple {
    border-color: rgba(255, 255, 255, 0.2);
  }
  
  .nandung-status-original {
    color: #34d399;
  }
  
  .nandung-status-activated {
    color: #60a5fa;
  }
  
  .nandung-demo-btn {
    border-color: #34d399;
    color: #34d399;
  }
  
  .nandung-activate-btn {
    border-color: #60a5fa;
    color: #60a5fa;
  }
}

/* Mobile responsive */
@media (max-width: 768px) {
  .nandung-product-meta-simple {
    margin: 1rem 0;
    padding: 0.75rem;
  }
  
  .nandung-meta-details {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .nandung-meta-actions {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .nandung-button {
    padding: 0.5rem 1rem;
    font-size: 14px;
  }
}

/* High contrast support */
@media (prefers-contrast: high) {
  .nandung-product-meta-simple {
    border-width: 2px;
  }
  
  .nandung-button {
    border-width: 2px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .nandung-button {
    transition: none;
  }
}

/* Print styles */
@media print {
  .nandung-product-meta-simple {
    border: 1px solid #000;
    background: #fff;
    color: #000;
  }
  
  .nandung-button {
    border: 1px solid #000;
    color: #000;
  }
}