/* SPLM — Frontend Styles */

.splm-panel { margin: 1.5em 0; }
.splm-panel h3 { margin-bottom: 1em; }

.splm-license-card {
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	padding: 20px 24px;
	margin-bottom: 20px;
	background: #fff;
}

.splm-license-card.splm-status--inactive  { border-left: 4px solid #94a3b8; }
.splm-license-card.splm-status--suspended { border-left: 4px solid #dc2626; }
.splm-license-card.splm-status--active    { border-left: 4px solid #16a34a; }

.splm-license-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 14px;
}

.splm-product-name { font-size: 16px; }
.splm-variant-name { font-size: 13px; color: #64748b; margin-left: 8px; }

.splm-status-badge {
	display: inline-block;
	padding: 2px 10px;
	border-radius: 99px;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
}
.splm-status--active    { background: #dcfce7; color: #166534; }
.splm-status--inactive  { background: #f1f5f9; color: #475569; }
.splm-status--suspended { background: #fee2e2; color: #991b1b; }

.splm-license-key-wrap {
	display: flex;
	align-items: center;
	gap: 10px;
	background: #f8fafc;
	border: 1px dashed #cbd5e1;
	border-radius: 6px;
	padding: 12px 16px;
	margin-bottom: 16px;
}

.splm-license-key {
	font-size: 16px;
	font-weight: bold;
	letter-spacing: 1px;
	color: #1e40af;
	flex: 1;
}

.splm-copy-btn {
	padding: 4px 12px;
	font-size: 12px;
	cursor: pointer;
	background: #2563eb;
	color: #fff;
	border: none;
	border-radius: 4px;
	transition: background 0.15s;
}
.splm-copy-btn:hover { background: #1d4ed8; }
.splm-copy-btn.copied { background: #16a34a; }

.splm-domains-heading { margin-bottom: 8px; font-weight: 600; }
.splm-domain-usage { font-weight: normal; color: #64748b; margin-left: 6px; }
.splm-no-domains { font-style: italic; color: #94a3b8; }

.splm-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.splm-table th, .splm-table td { padding: 8px 10px; text-align: left; border-bottom: 1px solid #e2e8f0; }
.splm-table th { background: #f8fafc; font-weight: 600; }
.splm-row-inactive td { color: #94a3b8; }
.splm-inactive-label { color: #94a3b8; font-style: italic; }

.splm-deactivate-link { color: #dc2626; font-size: 12px; }
.splm-deactivate-link:hover { color: #991b1b; }

.splm-renewal-notice {
	margin-top: 12px;
	padding: 10px 14px;
	background: #fffbeb;
	border: 1px solid #fde68a;
	border-radius: 4px;
	font-size: 13px;
	color: #78350f;
}

.splm-notice {
	padding: 12px 16px;
	border-radius: 4px;
	border-left: 4px solid #2563eb;
	background: #eff6ff;
	color: #1e3a8a;
	margin: 1em 0;
	font-size: 14px;
}

.splm-notice-success {
	border-color: #16a34a;
	background: #f0fdf4;
	color: #14532d;
}
