* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Arial', sans-serif;
}
body {
	background-color: #f8f9fa;
	color: #333;
	line-height: 1.6;
}
.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px;
}
/* 头部样式 */
header {
	text-align: center;
	margin-bottom: 30px;
	padding: 30px 20px;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	border-radius: 15px;
	box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
header h1 {
	font-size: 2.5rem;
	margin-bottom: 10px;
	font-weight: 700;
}
header p {
	font-size: 1.1rem;
	opacity: 0.9;
}
/* 筛选区域样式 */
.filter-section {
	background: white;
	padding: 25px;
	border-radius: 15px;
	margin-bottom: 30px;
	box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}
.filter-form {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 20px;
	align-items: end;
}
.form-group {
	margin-bottom: 0;
}
label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
	color: #495057;
	font-size: 14px;
}
select, input {
	width: 100%;
	padding: 12px 15px;
	border: 2px solid #e9ecef;
	border-radius: 10px;
	font-size: 14px;
	transition: all 0.3s ease;
	background: #f8f9fa;
}
select:focus, input:focus {
	outline: none;
	border-color: #667eea;
	background: white;
	box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}
button {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	border: none;
	padding: 14px 25px;
	border-radius: 10px;
	cursor: pointer;
	font-size: 16px;
	font-weight: 600;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}
button:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}
/* 用户列表样式 */
.user-list {
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin-bottom: 30px;
}
.user-card {
	background: white;
	border-radius: 15px;
	overflow: hidden;
	box-shadow: 0 5px 20px rgba(0,0,0,0.08);
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	padding: 20px;
}
.user-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}
/* 左侧：头像和年龄 */
.user-profile-left {
	flex: 0 0 120px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding-right: 20px;
	border-right: 2px solid #f1f3f4;
}
.user-avatar {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	object-fit: cover;
	border: 3px solid #667eea;
	box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
	margin-bottom: 12px;
}
.user-age {
	font-size: 1.5rem;
	font-weight: 700;
	color: #667eea;
	margin-bottom: 5px;
}
.user-gender {
	color: #6c757d;
	font-size: 13px;
	font-weight: 500;
}
/* 中间：用户信息 */
.user-info-middle {
	flex: 1;
	padding: 0 25px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.user-name {
	font-size: 1.4rem;
	font-weight: 700;
	margin-bottom: 8px;
	color: #2c3e50;
}
.user-register-time {
	color: #6c757d;
	font-size: 13px;
	margin-bottom: 15px;
	display: flex;
	align-items: center;
	gap: 5px;
}
.user-hobbies {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 10px;
}
.hobby-tag {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	padding: 6px 12px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 500;
	box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}
.hobby-more {
	background: #6c757d;
	color: white;
	padding: 6px 12px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 500;
}
.user-region {
	color: #495057;
	font-size: 14px;
	display: flex;
	align-items: center;
	gap: 5px;
}
/* 右侧：操作按钮 */
.user-actions-right {
	flex: 0 0 180px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding-left: 20px;
	border-left: 2px solid #f1f3f4;
}
.btn-detail, .btn-chat {
	width: 100%;
	text-align: center;
	padding: 14px 0;
	border-radius: 10px;
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
	transition: all 0.3s ease;
	border: 2px solid transparent;
	cursor: pointer;
}
.btn-detail {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}
.btn-detail:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}
.btn-chat {
	background: white;
	color: #667eea;
	border: 2px solid #667eea;
}
.btn-chat:hover {
	background: #667eea;
	color: white;
	transform: translateY(-2px);
}
/* 分页样式 */
.pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
	margin-top: 40px;
	margin-bottom: 20px;
	flex-wrap: wrap;
}
.page-info {
	color: #6c757d;
	font-size: 14px;
	margin: 0 15px;
}
.page-btn, .page-number {
	padding: 10px 16px;
	border: 2px solid #e9ecef;
	border-radius: 8px;
	text-decoration: none;
	color: #495057;
	font-weight: 600;
	transition: all 0.3s ease;
	background: white;
	cursor: pointer;
}
.page-btn:hover {
	background: #f8f9fa;
	border-color: #667eea;
	color: #667eea;
}
.page-number.current {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	border-color: #667eea;
}
.page-number:hover:not(.current) {
	background: #f8f9fa;
	border-color: #667eea;
	color: #667eea;
}
.page-btn.disabled {
	opacity: 0.5;
	cursor: not-allowed;
}
.page-btn.disabled:hover {
	background: white;
	border-color: #e9ecef;
	color: #495057;
}
/* 弹窗样式 */
.detail-modal, .chat-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.8);
	z-index: 9998;
}
.chat-modal {
	z-index: 9999;
}
.detail-modal-content, .chat-modal-content {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: white;
	border-radius: 15px;
	overflow: hidden;
	box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.detail-modal-content {
	width: 95%;
	max-width: 850px;
	height: 90vh;
}
.chat-modal-content {
	width: 90%;
	max-width: 450px;
	height: 85vh;
}
.detail-iframe, .chat-iframe {
	width: 100%;
	height: 100%;
	border: none;
}
.close-detail, .close-chat {
	position: absolute;
	top: 15px;
	right: 15px;
	background: rgba(255,255,255,0.9);
	color: #333;
	border: none;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	font-size: 20px;
	cursor: pointer;
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
}
.close-detail:hover, .close-chat:hover {
	background: white;
	transform: scale(1.1);
}
/* 加载提示样式 */
.modal-loading {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: white;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	z-index: 1000;
}
.loading-spinner {
	width: 50px;
	height: 50px;
	border: 4px solid #f3f3f3;
	border-top: 4px solid #667eea;
	border-radius: 50%;
	animation: spin 1s linear infinite;
	margin-bottom: 20px;
}
 @keyframes spin {
 0% {
transform: rotate(0deg);
}
 100% {
transform: rotate(360deg);
}
}
.loading-text {
	color: #667eea;
	font-size: 16px;
	font-weight: 600;
}
.loading-dots:after {
	content: '...';
	animation: dots 1.5s steps(4, end) infinite;
}
 @keyframes dots {
 0%, 20% {
content: '.';
}
 40% {
content: '..';
}
 60%, 100% {
content: '...';
}
}
/* 图片预览弹窗 */
#imagePreviewModal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.9);
	z-index: 10000;
}
/* 空状态样式 */
.empty-state {
	text-align: center;
	padding: 60px 20px;
	color: #6c757d;
	background: white;
	border-radius: 15px;
	box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}
        
        /* 响应式设计 */
        @media (max-width: 768px) {
.container {
	padding: 15px;
}
header {
	padding: 20px 15px;
	margin-bottom: 20px;
}
header h1 {
	font-size: 2rem;
}
.filter-form {
	grid-template-columns: 1fr;
	gap: 15px;
}
.user-card {
	flex-direction: column;
	text-align: center;
	padding: 25px 20px;
}
.user-profile-left {
	flex: none;
	padding-right: 0;
	padding-bottom: 20px;
	border-right: none;
	border-bottom: 2px solid #f1f3f4;
	width: 100%;
}
.user-avatar {
	width: 100px;
	height: 100px;
}
.user-info-middle {
	padding: 20px 0;
	width: 100%;
}
.user-actions-right {
	flex: none;
	flex-direction: row;
	gap: 15px;
	padding-left: 0;
	padding-top: 20px;
	border-left: none;
	border-top: 2px solid #f1f3f4;
	width: 100%;
}
.btn-detail, .btn-chat {
	flex: 1;
	padding: 12px 0;
}
.user-hobbies {
	justify-content: center;
}
.pagination {
	gap: 5px;
}
.page-btn, .page-number {
	padding: 8px 12px;
	font-size: 13px;
}
.page-info {
	margin: 0 10px;
	font-size: 13px;
}
.detail-modal-content {
	width: 98%;
	height: 95vh;
}
.chat-modal-content {
	width: 95%;
	height: 90vh;
}
.loading-spinner {
	width: 40px;
	height: 40px;
}
.loading-text {
	font-size: 14px;
}
}
 @media (max-width: 480px) {
header h1 {
	font-size: 1.8rem;
}
.user-card {
	padding: 20px 15px;
}
.user-actions-right {
	flex-direction: column;
	gap: 10px;
}
.user-hobbies {
	gap: 6px;
}
.hobby-tag, .hobby-more {
	font-size: 11px;
	padding: 5px 10px;
}
.pagination {
	flex-direction: column;
	gap: 15px;
}
}
        
        /* 平板设备优化 */
        @media (min-width: 769px) and (max-width: 1024px) {
.user-profile-left {
	flex: 0 0 100px;
}
.user-actions-right {
	flex: 0 0 160px;
}
.user-avatar {
	width: 70px;
	height: 70px;
}
.user-age {
	font-size: 1.3rem;
}
}
