.ldb-wrapper {
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
	font-family: inherit;
}

.ldb-tabs {
	display: flex;
	overflow-x: auto;
	border-bottom: 1px solid #eee;
	background: #fff;
	scrollbar-width: none;
}

.ldb-tabs::-webkit-scrollbar {
	display: none;
}

.ldb-tab {
	flex: 1;
	text-align: center;
	padding: 15px 20px;
	font-weight: 600;
	color: #777;
	cursor: pointer;
	white-space: nowrap;
	font-size: 14px;
	border: none !important;
	border-bottom: 3px solid transparent !important;
	transition: color 0.3s;
	box-shadow: none !important;
	outline: none !important;
}

.ldb-tab:hover {
	color: #d32f2f;
}

.ldb-tab.active {
	color: #d32f2f;
	border: none !important;
	border-bottom: 3px solid #d32f2f !important;
	box-shadow: none !important;
	outline: none !important;
}

.ldb-table-responsive {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.ldb-table {
	width: 100%;
	border-collapse: collapse;
	text-align: left;
	margin-top: 10px;
	min-width: 320px;
}

.ldb-table th {
	padding: 15px 20px;
	font-weight: 600;
	color: #444;
	border-bottom: 1px solid #eee;
}

.ldb-table td {
	padding: 12px 20px;
	vertical-align: middle;
	color: #333;
	font-weight: 600;
}

.ldb-row-odd {
	background-color: #fff;
}

.ldb-row-even {
	background-color: #faeaea;
}

.ldb-rank-badge {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-weight: bold;
	border: 2px solid rgba(255, 255, 255, 0.7);
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.ldb-rank-1 {
	background: #f1c40f;
	box-shadow: 0 0 0 3px #f7dc6f;
	color: #fff;
}

.ldb-rank-2 {
	background: #95a5a6;
	box-shadow: 0 0 0 3px #d5dbdb;
	color: #fff;
}

.ldb-rank-3 {
	background: #e67e22;
	box-shadow: 0 0 0 3px #edbb99;
	color: #fff;
}

.ldb-user {
	display: flex;
	align-items: center;
	gap: 12px;
}

.ldb-user img {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	object-fit: cover;
}

.ldb-user span {
	word-break: break-word;
}

.ldb-coins {
	display: flex;
	align-items: center;
	gap: 8px;
}

.ldb-coin-icon {
	color: #d4af37;
	font-size: 16px;
}

.ldb-progress {
	width: 100px;
	height: 6px;
	background: #ddd;
	border-radius: 10px;
	overflow: hidden;
	margin-left: 5px;
}

.ldb-progress-fill {
	height: 100%;
	background: #f1c40f;
	border-radius: 10px;
}

.ldb-share {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 18px;
	color: #333;
}

.ldb-share-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	margin: 0;
	border: none;
	background: transparent;
	color: inherit;
	cursor: pointer;
	line-height: 1;
	transition: color 0.2s;
}

.ldb-share-btn svg {
	width: 18px;
	height: 18px;
	display: block;
}

.ldb-share-btn:hover,
.ldb-share-btn:focus {
	color: #d32f2f;
	outline: none;
}

.ldb-share-btn--done {
	color: #2e7d32;
}

.ldb-row-placeholder .ldb-user-placeholder span {
	font-weight: 500;
	font-style: italic;
	color: #888;
	font-size: 13px;
}

.ldb-row-placeholder .ldb-user img {
	opacity: 0.55;
}

@media (max-width: 768px) {
	.ldb-table th,
	.ldb-table td {
		padding: 10px 5px;
		font-size: 13px;
		text-align: center;
	}

	.ldb-table th:first-child,
	.ldb-table td:first-child {
		text-align: left;
	}

	.ldb-user {
		flex-direction: column;
		justify-content: center;
		text-align: center;
		gap: 4px;
	}

	.ldb-user img {
		width: 32px;
		height: 32px;
	}

	.ldb-progress {
		display: none;
	}

	.ldb-coins {
		justify-content: center;
	}

	.ldb-share {
		justify-content: center;
	}
}
