/*+----------------------------------------------------------
| zoui v1.0.0 MIT 2020.6.14
| 放下个人素质，享受缺德人生！拒绝精神内耗，不行咱就发疯！
| Copyright (c) 2020 http://st.swah.cn:1234 All rights reserved.
| Author: zero <m@swah.cn>
+----------------------------------------------------------*/
@import url('default.css');

.member-center {
	display: flex;
	gap: 10px;
	margin: 5px;
	min-height: calc(100vh - 200px);
	max-width: 100%;
	overflow: hidden;
}

.member-sidebar {
	width: 260px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 2px 12px rgba(0,0,0,0.06);
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 20px;
	flex-shrink: 0;
	overflow: hidden;
	position: relative;
}

.sidebar-user {
	text-align: center;
	padding-bottom: 20px;
	border-bottom: 1px solid #f0f0f0;
	overflow: hidden;
}

.user-avatar {
	width: 80px;
	height: 80px;
	margin: 0 auto 15px;
	border-radius: 50%;
	overflow: hidden;
	border: 3px solid #f0f0f0;
	position: relative;
}

.user-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	position: absolute;
	top: 0;
	left: 0;
}

.user-info .user-name {
	font-size: 18px;
	font-weight: 600;
	color: #333;
	margin-bottom: 8px;
}

.user-sex {
	font-size: 14px;
	color: #999;
	font-weight: normal;
	margin-left: 5px;
}

.user-lid {
	font-size: 13px;
	color: #666;
	margin-bottom: 8px;
}

.user-lid a {
	color: var(--main-color);
	text-decoration: none;
}

.user-level {
	display: flex;
	justify-content: center;
}

.sidebar-menu ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.sidebar-menu li {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 15px;
	margin-bottom: 5px;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.2s;
	color: #666;
	font-size: 14px;
}

.sidebar-menu li:hover {
	background: #f5f7fa;
	color: #333;
}

.sidebar-menu li.active {
	background: linear-gradient(135deg, var(--main-color) 0%, #1890ff 100%);
	color: #fff;
}

.menu-icon {
	font-size: 16px;
}

.sidebar-links {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: auto;
}

.link-item {
	display: block;
	padding: 15px;
	border-radius: 10px;
	text-decoration: none;
	transition: transform 0.2s;
}

.link-item:hover {
	transform: translateX(5px);
}

.link-item.red {
	background: linear-gradient(135deg, #c83756 0%, #e85d75 100%);
}

.link-item.teal {
	background: linear-gradient(135deg, #1ac0c6 0%, #13c8c3 100%);
}

.link-title {
	font-size: 16px;
	font-weight: 600;
	color: #fff;
	margin-bottom: 5px;
}

.link-date {
	font-size: 12px;
	color: rgba(255,255,255,0.8);
}

.member-content {
	flex: 1;
/* 	background: #fff;
	border-radius: 12px;
	box-shadow: 0 2px 12px rgba(0,0,0,0.06);
	min-height: 500px; */
}

.content-panel {
	display: none;
	padding: 20px;
}

.content-panel.active {
	display: block;
}

.content-header {
	padding-bottom: 15px;
	border-bottom: 2px solid var(--main-color);
	margin-bottom: 20px;
}

.content-header h2 {
	font-size: 18px;
	font-weight: 600;
	color: #333;
	margin: 0;
}

.content-body {
	min-height: 400px;
}

.info-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
	margin-bottom: 25px;
}

.info-card {
	background: #f9f9f9;
	border-radius: 10px;
	padding: 20px;
}

.info-card h4 {
	font-size: 14px;
	font-weight: 600;
	color: #333;
	margin-bottom: 15px;
	padding-bottom: 10px;
	border-bottom: 1px solid #e6e6e6;
}

.info-row {
	display: flex;
	justify-content: space-between;
	padding: 10px 0;
	border-bottom: 1px dashed #e6e6e6;
}

.info-row:last-child {
	border-bottom: none;
}

.info-row .label {
	font-size: 13px;
	color: #666;
}

.info-row .value {
	font-size: 13px;
	color: #333;
	font-weight: 500;
}

.info-row .value.highlight {
	color: #FF6B6B;
}

.info-row .value.highlight a {
	color: #FF6B6B;
	text-decoration: none;
}

.info-row .value.status-normal {
	color: #4CAF50;
	font-weight: bold;
}

.info-row .value.status-disabled {
	color: #FF6B6B;
	font-weight: bold;
}

.action-buttons {
	display: flex;
	gap: 15px;
	flex-wrap: wrap;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 25px;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	border: none;
	cursor: pointer;
	transition: all 0.2s;
}

.btn-primary {
	background: linear-gradient(135deg, var(--main-color) 0%, #1890ff 100%);
	color: #fff;
}

.btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(26, 192, 198, 0.4);
}

.btn-secondary {
	background: #f5f7fa;
	color: #666;
	border: 1px solid #d9d9d9;
}

.btn-secondary:hover {
	background: #e6e8eb;
}

.btn-success {
	background: linear-gradient(135deg, #52c41a 0%, #389e0d 100%);
	color: #fff;
}

.btn-success:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(82, 196, 26, 0.4);
}

.btn-default {
	background: #fff;
	color: #666;
	border: 1px solid #d9d9d9;
}

.btn-default:hover {
	background: #f5f5f5;
}

.edit-form {
	background: #f9f9f9;
	border-radius: 10px;
	padding: 25px;
}

.form-section {
	margin-bottom: 25px;
}

.form-section h3 {
	font-size: 14px;
	font-weight: 600;
	color: #333;
	margin-bottom: 15px;
	padding-bottom: 10px;
	border-bottom: 1px solid #e6e6e6;
}

.form-row {
	display: flex;
	gap: 30px;
	flex-wrap: wrap;
}

.form-item {
	display: flex;
/* 	flex-direction: column; */
	min-width: 200px;
	flex: 1;
}

.form-item label {
	font-size: 13px;
	color: #666;
	margin-bottom: 8px;
	font-weight: 500;
}

.form-item input {
	padding: 10px 12px;
	border: 1px solid #d9d9d9;
	border-radius: 6px;
	font-size: 14px;
	background: #fff;
	transition: border-color 0.2s;
}

.form-item input:focus {
	outline: none;
	border-color: var(--main-color);
}

.radio-group {
	display: flex;
	gap: 25px;
}

.radio-group label {
	display: flex;
	align-items: center;
	gap: 6px;
	cursor: pointer;
	margin-bottom: 0;
}

.radio-group input[type="radio"] {
	width: 16px;
	height: 16px;
	cursor: pointer;
}

.form-actions {
	display: flex;
	justify-content: center;
	gap: 20px;
	padding-top: 20px;
	border-top: 1px solid #e6e6e6;
	margin-top: 20px;
}

.level-overview {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
	margin-bottom: 25px;
}

.level-card {
	background: linear-gradient(135deg, #FFF8E1 0%, #FFF3E0 100%);
	border-radius: 12px;
	padding: 30px;
	text-align: center;
}

.level-badge {
	font-weight: bold;
	color: #FFA500;
	margin-bottom: 15px;
}

.level-card .level-icons {
	display: flex;
	justify-content: center;
	gap: 5px;
	margin-bottom: 15px;
}

.level-desc {
	font-size: 14px;
	color: #666;
	margin-bottom: 5px;
}

.level-next {
	font-size: 14px;
	color: #FF6B6B;
	font-weight: 600;
}

.progress-card {
	background: #f9f9f9;
	border-radius: 12px;
	padding: 25px;
}

.progress-card h4 {
	font-size: 14px;
	font-weight: 600;
	color: #333;
	margin-bottom: 15px;
}

.progress-bar-wrapper {
	height: 20px;
	background: #FFE0B2;
	border-radius: 10px;
	overflow: hidden;
	margin-bottom: 10px;
}

.progress-text {
	font-size: 13px;
	color: #666;
	text-align: center;
}

.level-rules {
	background: #fff;
	border-radius: 12px;
	padding: 25px;
	border: 1px solid #f0f0f0;
}

.level-rules h3 {
	font-size: 15px;
	font-weight: 600;
	color: #333;
	margin-bottom: 15px;
}

.level-rules p {
	font-family: monospace;
	font-size: 15px;
	color: #FF6B6B;
	margin-bottom: 15px;
}

.level-rules ul {
	margin: 0;
	padding-left: 20px;
}

.level-rules li {
	font-size: 13px;
	color: #666;
	margin-bottom: 8px;
}

.coin-overview {
	text-align: center;
	margin-bottom: 30px;
}

.coin-balance {
	display: inline-block;
	padding: 40px 60px;
	background: linear-gradient(135deg, #FFF8E1 0%, #FFF3E0 100%);
	border-radius: 16px;
}

.balance-label {
	font-size: 14px;
	color: #666;
	margin-bottom: 10px;
}

.balance-amount {
	font-size: 56px;
	font-weight: bold;
	color: #FF6B6B;
	line-height: 1;
}

.balance-unit {
	font-size: 14px;
	color: #999;
	margin-top: 10px;
}

.coin-actions {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 15px;
}

.action-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 25px;
	background: #f9f9f9;
	border-radius: 12px;
	text-decoration: none;
	color: #333;
	transition: all 0.2s;
}

.action-card:hover {
	background: var(--main-color);
	color: #fff;
	transform: translateY(-3px);
	box-shadow: 0 6px 16px rgba(26, 192, 198, 0.4);
}

.action-card i {
	font-size: 32px;
	margin-bottom: 10px;
}

.action-card span {
	font-size: 14px;
	font-weight: 500;
}

.car-card {
	border-radius: 12px;
	overflow: hidden;
	margin-bottom: 25px;
}

.car-card.dark {
	background: #000;
	color: #fff;
}

.car-header {
	height: 120px;
	overflow: hidden;
}

.car-header img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.car-info {
	padding: 20px;
}

.car-info h3 {
	font-size: 20px;
	font-weight: 600;
	margin-bottom: 8px;
}

.car-id {
	font-size: 14px;
	color: rgba(255,255,255,0.7);
	margin-bottom: 15px;
}

.car-details {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 10px;
	font-size: 13px;
}

.empty-state {
	text-align: center;
	padding: 60px 20px;
	color: #999;
}

.empty-state i {
	font-size: 48px;
	margin-bottom: 15px;
}

.empty-state p {
	font-size: 14px;
}

.car-actions {
	display: flex;
	gap: 15px;
	flex-wrap: wrap;
}

.log-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.log-table th,
.log-table td {
	padding: 12px 15px;
	text-align: left;
	border-bottom: 1px solid #f0f0f0;
}

.log-table th {
	background: #f5f7fa;
	font-weight: 600;
	color: #666;
	text-align: center;
}

.log-table td {
	color: #333;
	text-align: center;
}

.log-table tbody tr:hover {
	background: #fafafa;
}

.log-table tbody tr:last-child td {
	border-bottom: none;
}

.pagination {
	text-align: center;
	margin-top: 20px;
	padding-top: 15px;
	border-top: 1px solid #f0f0f0;
}