/* TOBO Customer Assets - Frontend Styles */

.tobo-assets {
  margin-top: 12px;
}

.tobo-assets-section {
  padding: 12px;
  border: 1px solid rgba(17, 24, 39, 0.10);
  border-radius: 14px;
  background: rgba(17, 24, 39, 0.02);
  margin-top: 10px;
}

.tobo-assets-section:first-child {
  margin-top: 0;
}

.tobo-assets-title {
  margin: 0 0 8px;
  font-weight: 950;
  font-size: 16px;
}

.tobo-assets-list {
  margin: 0;
  padding-left: 18px;
  list-style-type: disc;
}

.tobo-assets-item {
  margin-bottom: 8px;
}

.tobo-assets-item:last-child {
  margin-bottom: 0;
}

.tobo-assets-item-name {
  display: block;
  margin-bottom: 4px;
}

.tobo-assets-meta {
  color: rgba(17, 24, 39, 0.65);
  font-weight: 700;
  font-size: 12px;
  margin-top: 4px;
}

.tobo-assets-empty {
  color: rgba(17, 24, 39, 0.6);
  font-style: italic;
  margin: 0;
}

.tobo-assets-admin-note {
  padding: 10px;
  background: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: 4px;
  margin: 10px 0;
  font-size: 12px;
}

/* Karten-Layout mit Produktbild */
.tobo-assets-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.tobo-assets-left {
  flex-shrink: 0;
}

.tobo-assets-right {
  flex: 1;
}

.tobo-assets-thumb {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid rgba(17, 24, 39, 0.08);
}

/* Lizenz-Status-Badges */
.tobo-license-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  border: 1px solid rgba(17, 24, 39, 0.12);
  margin-top: 6px;
}

.tobo-license-active {
  background: rgba(34, 197, 94, 0.12);
  color: #16a34a;
  border-color: rgba(34, 197, 94, 0.2);
}

.tobo-license-warning {
  background: rgba(245, 158, 11, 0.12);
  color: #d97706;
  border-color: rgba(245, 158, 11, 0.2);
}

.tobo-license-expired {
  background: rgba(239, 68, 68, 0.12);
  color: #dc2626;
  border-color: rgba(239, 68, 68, 0.2);
}

.tobo-license-unknown {
  background: rgba(17, 24, 39, 0.08);
  color: rgba(17, 24, 39, 0.6);
  border-color: rgba(17, 24, 39, 0.12);
}

