/* Heme Backlink Marketplace - Public Styles */

.heme-account-wrapper {
	display: flex;
	gap: 30px;
	max-width: 1200px;
	margin: 40px auto;
	padding: 0 15px;
	direction: rtl;
	font-family: Tahoma, Vazirmatn, sans-serif;
}

.heme-account-sidebar {
	flex: 0 0 240px;
}

.heme-account-content {
	flex: 1;
	background: #fff;
	padding: 25px;
	border-radius: 12px;
	box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.heme-account-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 2px 12px rgba(0,0,0,0.06);
	overflow: hidden;
}

.heme-account-nav li a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 18px;
	color: #333;
	text-decoration: none;
	border-bottom: 1px solid #f0f0f0;
	transition: all 0.2s;
}

.heme-account-nav li a:hover,
.heme-account-nav li.active a {
	background: #f8f5ff;
	color: #6f42c1;
}

.heme-stats-row {
	display: flex;
	gap: 20px;
	margin-bottom: 25px;
}

.heme-stat-box {
	flex: 1;
	background: linear-gradient(135deg, #6f42c1, #9b59b6);
	color: #fff;
	padding: 20px;
	border-radius: 12px;
	text-align: center;
}

.heme-stat-label {
	display: block;
	font-size: 13px;
	opacity: 0.9;
	margin-bottom: 8px;
}

.heme-stat-value {
	font-size: 22px;
	font-weight: bold;
}

.heme-btn {
	display: inline-block;
	padding: 10px 20px;
	border: none;
	border-radius: 8px;
	background: #e9ecef;
	color: #333;
	cursor: pointer;
	text-decoration: none;
	font-size: 14px;
	transition: all 0.2s;
}

.heme-btn-primary {
	background: #6f42c1;
	color: #fff;
}

.heme-btn-primary:hover {
	background: #5a32a3;
	color: #fff;
}

.heme-btn-danger {
	background: #dc3545;
	color: #fff;
}

.heme-table {
	width: 100%;
	border-collapse: collapse;
	margin: 15px 0;
}

.heme-table th,
.heme-table td {
	padding: 12px;
	border: 1px solid #eee;
	text-align: right;
}

.heme-table th {
	background: #f8f9fa;
}

.heme-sites-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 20px;
	margin-top: 25px;
}

.heme-site-card {
	background: #fff;
	border: 1px solid #eee;
	border-radius: 12px;
	padding: 20px;
	text-align: center;
	transition: box-shadow 0.2s;
}

.heme-site-card:hover {
	box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.heme-site-meta {
	margin: 12px 0;
}

.heme-badge {
	display: inline-block;
	background: #f0e6ff;
	color: #6f42c1;
	padding: 4px 10px;
	border-radius: 20px;
	font-size: 12px;
	margin: 0 4px;
}

.heme-site-price {
	font-size: 18px;
	font-weight: bold;
	color: #28a745;
	margin: 12px 0;
}

.heme-filters {
	background: #f8f9fa;
	padding: 15px;
	border-radius: 10px;
	margin-bottom: 20px;
}

.heme-filter-row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
}

.heme-filter-row label {
	font-size: 13px;
}

.heme-filter-row input {
	width: 80px;
	padding: 6px;
	border: 1px solid #ddd;
	border-radius: 6px;
}

.heme-form-row {
	margin-bottom: 15px;
}

.heme-form-row label {
	display: block;
	margin-bottom: 5px;
	font-weight: 600;
}

.heme-form-row input,
.heme-form-row select,
.heme-form-row textarea {
	width: 100%;
	padding: 10px;
	border: 1px solid #ddd;
	border-radius: 8px;
	font-size: 14px;
}

.heme-wallet-balance {
	background: #f0e6ff;
	padding: 20px;
	border-radius: 10px;
	margin-bottom: 25px;
	font-size: 18px;
}

.heme-quick-actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

@media (max-width: 768px) {
	.heme-account-wrapper {
		flex-direction: column;
	}
	.heme-account-sidebar {
		flex: none;
	}
}
