/**
 * 3DCentral Commercial License - Public Styles
 */

/* License dashboard */
.tdc-license-dashboard {
	margin-bottom: 30px;
}

.tdc-license-dashboard h2 {
	margin-bottom: 20px;
}

/* No license message */
.tdc-license-no-license {
	background: #f7f7f7;
	border: 1px solid #ddd;
	border-radius: 6px;
	padding: 24px;
}

.tdc-license-no-license p:last-child {
	margin-bottom: 0;
}

/* License card */
.tdc-license-card {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	margin-bottom: 16px;
	overflow: hidden;
}

.tdc-license-card--active {
	border-left: 4px solid #28a745;
}

.tdc-license-card--expired {
	border-left: 4px solid #ffc107;
}

.tdc-license-card--revoked {
	border-left: 4px solid #dc3545;
}

.tdc-license-card--suspended {
	border-left: 4px solid #6c757d;
}

/* Card header */
.tdc-license-card__header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 16px 20px;
	border-bottom: 1px solid #f0f0f0;
	background: #fafafa;
}

.tdc-license-card__key {
	font-family: 'Courier New', Courier, monospace;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 1px;
}

.tdc-license-card__status {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* Status colors */
.tdc-status-active {
	background: #d4edda;
	color: #155724;
}

.tdc-status-expired {
	background: #fff3cd;
	color: #856404;
}

.tdc-status-revoked {
	background: #f8d7da;
	color: #721c24;
}

.tdc-status-suspended {
	background: #e2e3e5;
	color: #383d41;
}

/* Card body */
.tdc-license-card__body {
	padding: 16px 20px;
}

.tdc-license-card__meta {
	margin-bottom: 12px;
	font-size: 14px;
	color: #666;
}

.tdc-license-card__notice {
	background: #fff3cd;
	border: 1px solid #ffc107;
	border-radius: 4px;
	padding: 12px 16px;
	margin-bottom: 12px;
	font-size: 14px;
}

.tdc-license-card__notice p {
	margin: 0;
}

/* Card actions */
.tdc-license-card__actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.tdc-license-card__actions .button {
	text-decoration: none;
}

/* STL access link */
.tdc-license-stl-access {
	padding-top: 10px;
	border-top: 1px solid #eee;
}

/* Responsive */
@media (max-width: 600px) {
	.tdc-license-card__header {
		flex-direction: column;
		gap: 8px;
		align-items: flex-start;
	}

	.tdc-license-card__actions {
		flex-direction: column;
	}

	.tdc-license-card__actions .button {
		text-align: center;
	}
}
