/**
 * License Manager Server — admin styles.
 */

.lms-wrap .widefat {
	margin-top: 12px;
}

.lms-wrap .widefat td,
.lms-wrap .widefat th {
	vertical-align: middle;
}

.lms-wrap .lms-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	margin: 1em 0;
}

.lms-wrap .lms-filters select,
.lms-wrap .lms-filters input[type="search"] {
	max-width: 220px;
}

.lms-key {
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 13px;
	letter-spacing: 0.02em;
	cursor: help;
}

.lms-key--full {
	cursor: copy;
}

.lms-badge {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 3px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.6;
}

.lms-badge--active {
	background: #d4edda;
	color: #155724;
}

.lms-badge--inactive {
	background: #e2e3e5;
	color: #383d41;
}

.lms-badge--expired {
	background: #fff3cd;
	color: #856404;
}

.lms-badge--suspended {
	background: #f8d7da;
	color: #721c24;
}

.lms-product-form {
	margin-bottom: 2em;
	padding-bottom: 1em;
	border-bottom: 1px solid #c3c4c7;
}

.lms-row-actions {
	white-space: nowrap;
}

.lms-row-actions .lms-delete-link {
	color: #b32d2e;
}

.lms-order-licenses,
.lms-order-licenses-admin {
	margin-top: 1.5em;
}

.lms-licenses-table .lms-key--full {
	font-size: 13px;
	word-break: break-all;
}
