.mlm-account-dashboard {
	max-width: 1000px;
}

.mlm-two-factor-banner {
	background-color: #fff3cd;
	border-left: 4px solid #ffba00;
	padding: 10px;
	margin-bottom: 20px;
}

.mlm-simulation-notice {
       background-color: #fff3cd;
       border-left: 4px solid #ffba00;
       padding: 10px;
       margin-bottom: 20px;
}

.mlm-license {
	border: 1px solid #ddd;
	padding: 10px;
	margin-bottom: 20px;
}

.mlm-license-key {
	width: 80%;
}

.mlm-copy-btn,
.mlm-unlink-btn {
	margin-left: 5px;
}

.mlm-manage-btn {
	margin-left: 5px;
}


.mlm-error {
	color: #d63638;
	background-color: #f8d7da;
	border-left: 4px solid #d63638;
	font-weight: 600;
	margin-top: 10px;
	padding: 8px;
	display: flex;
	align-items: center;
}

	.mlm-error::before {
	content: "\26A0";
	margin-right: 6px;
}

.mlm-ticket-message {
	margin-top: 10px;
}

.mlm-ticket-message.mlm-error {
	color: #d63638;
}

.mlm-ticket-message.mlm-success {
	color: #028532;
}

.mlm-license-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 20px;
}

.mlm-license-table th,
.mlm-license-table td {
	border: 1px solid #ddd;
	padding: 8px;
	text-align: left;
}

.mlm-license-row {
	cursor: pointer;
}

.mlm-license-row td:first-child {
	position: relative;
	padding-left: 20px;
}


.mlm-license-details {
	display: none;
}

.mlm-license-details.active {
	display: table-row;
}


.mlm-license-stats {
	margin: 5px 0;
	font-size: 14px;
}

.mlm-domain-status {
	margin-left: 8px;
	font-style: italic;
}

.mlm-domain-status.verified {
	color: #028532;
}

.mlm-domain-status.unverified {
	color: #d63638;
}

/* Base button styling used across the dashboard */
.mlm-btn {
	display: inline-block;
	background-color: #0073aa;
	color: #fff;
	border: none;
	padding: 8px 16px;
	border-radius: 3px;
	cursor: pointer;
	font-size: 16px;
	line-height: 1;
}

/* Buy button styling mirrors mlm-btn */
.mlm-buy-btn {
	display: inline-block;
	background-color: #0073aa;
	color: #fff;
	border: none;
	padding: 8px 16px;
	border-radius: 3px;
	cursor: pointer;
	font-size: 16px;
	line-height: 1;
}

	.mlm-buy-btn:hover:not(:disabled) {
	background-color: #006799;
}

	.mlm-buy-btn:disabled {
	opacity: 0.7;
	cursor: default;
}

	.mlm-btn:hover:not(:disabled) {
	background-color: #006799;
}

	.mlm-btn:disabled {
	opacity: 0.7;
	cursor: default;
}

/* smaller remove button for domain fields */
.mlm-btn.mlm-remove-domain {
	margin-left: 5px;
	padding: 4px 8px;
}

	.mlm-btn.mlm-remove-domain:hover:not(:disabled) {
	background-color: #006799;
}

.mlm-spinner {
	display: inline-block;
	width: 16px;
	height: 16px;
	margin-left: 6px;
	border: 2px solid #fff;
	border-top-color: transparent;
	border-radius: 50%;
	animation: mlm-spin 0.8s linear infinite;
	vertical-align: middle;
}

@keyframes mlm-spin {
	to { transform: rotate(360deg); }
}

.mlm-dashboard-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
}

.mlm-dashboard-container {
	display: grid;
	grid-template-columns: 200px 1fr;
	gap: 20px;
}

.mlm-dashboard-sidebar ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.mlm-dashboard-sidebar li {
	margin-bottom: 10px;
}

.mlm-dashboard-link {
	display: block;
	padding: 8px 12px;
}

.mlm-dashboard-link.active {
	font-weight: bold;
}

.mlm-ticket-link {
	color: #0073aa;
	text-decoration: underline;
}

	.mlm-ticket-link:hover {
	text-decoration: none;
}

.mlm-support-submenu {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 10px;
}

.mlm-support-nav.open .mlm-support-submenu {
	display: block;
}

.mlm-dashboard-content {
	min-width: 0;
}

.mlm-ticket-form textarea,
.mlm-ticket-reply-form textarea {
	width: 100%;
	min-height: 80px;
}

.mlm-ticket-controls {
	margin-bottom: 10px;
}

.mlm-ticket-list {
	list-style: none;
	padding: 0;
}

.mlm-ticket {
	border: 1px solid #ddd;
	padding: 10px;
	margin-bottom: 20px;
}

.mlm-ticket-unread {
       display: inline-block;
       width: 8px;
       height: 8px;
       margin-right: 4px;
       border-radius: 50%;
       background: #d63638;
}

.mlm-ticket-badge {
	display: inline-block;
	min-width: 16px;
	padding: 0 4px;
	margin-left: 4px;
	background: #d63638;
	color: #fff;
	border-radius: 8px;
	font-size: 12px;
	text-align: center;
}

.mlm-badge-pop {
	animation: mlm-badge-pop 0.3s ease;
}

.mlm-badge-fade {
	animation: mlm-badge-fade 0.3s ease forwards;
}

@keyframes mlm-badge-pop {
	0% { transform: scale(1); }
	50% { transform: scale(1.3); }
	100% { transform: scale(1); }
}

@keyframes mlm-badge-fade {
	to { opacity: 0; transform: scale(0.7); }
}

.mlm-ticket-comments {
        list-style: none;
        padding-left: 10px;
}

.mlm-ticket-comments li {
	display: flex;
	gap: 20px;
	padding: 15px;
	margin-bottom: 12px;
	border-radius: 4px;
}

.mlm-ticket-comments li:nth-child(odd) {
	background: #f7f7f7;
}

.mlm-mini-card {
	flex: 0 0 200px;
	text-align: center;
}

.mlm-mini-card img {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: block;
	margin: 0 auto 10px;
}

.mlm-ticket-author-role {
	display: block;
	font-size: 12px;
}

.mlm-message {
	flex: 1 1 auto;
}

.mlm-reply-staff {
	flex-direction: row-reverse;
	text-align: right;
}

.mlm-ticket-timestamp {
	font-size: 12px;
	color: #666;
}

@media (max-width: 768px) {
	.mlm-dashboard-container {
		grid-template-columns: 1fr;
	}
	.mlm-dashboard-sidebar {
		margin-bottom: 20px;
	}
}

.mlm-checkmark {
	display: inline-block;
	width: 16px;
	height: 16px;
	margin-left: 6px;
	vertical-align: middle;
	animation: mlm-pop 0.3s ease-in-out;
}

@keyframes mlm-pop {
	0% {
		transform: scale(0);
		opacity: 0;
	}
	to {
		transform: scale(1);
		opacity: 1;
	}
}
