/* 主体内容样式 */
.dating-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 90px 20px 20px;
}

/* 筛选区域样式 */
.dating-filter {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.filter-row {
    margin-bottom: 15px;
}

.filter-row:last-child {
    margin-bottom: 0;
}

.filter-group {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.filter-group label {
    min-width: 60px;
    color: #666;
    font-size: 14px;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    padding: 6px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    background: #fff;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: #6366f1;
    color: #6366f1;
}

.filter-btn.active {
    background: #6366f1;
    color: #fff;
    border-color: #6366f1;
}

/* 用户列表样式 */
.dating-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.dating-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.dating-card:hover {
    transform: translateY(-5px);
}

.user-photo {
    position: relative;
    width: 100%;
    padding-top: 100%; /* 1:1 宽高比 */
    overflow: hidden;
}

.user-photo img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.verify-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(99, 102, 241, 0.9);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.user-info {
    padding: 15px;
}

.user-info h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.age {
    color: #666;
    font-size: 14px;
    font-weight: normal;
}

.basic-info, .work-info, .location {
    color: #666;
    font-size: 14px;
    margin-bottom: 5px;
}

.location {
    color: #999;
}

.contact-btn {
    padding: 0 15px 15px;
}

.contact-btn button {
    width: 100%;
    padding: 8px;
    background: #6366f1;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact-btn button:hover {
    background: #4f46e5;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
}

.page-item, .page-next {
    min-width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    color: #666;
    text-decoration: none;
    transition: all 0.3s;
}

.page-item:hover, .page-next:hover {
    border-color: #6366f1;
    color: #6366f1;
}

.page-item.active {
    background: #6366f1;
    color: white;
    border-color: #6366f1;
}

/* 响应式适配 */
@media (max-width: 768px) {
    .dating-main {
        padding: 70px 15px 15px;
    }

    .filter-group {
        flex-direction: column;
        align-items: flex-start;
    }

    .filter-group label {
        margin-bottom: 8px;
    }

    .filter-btn {
        padding: 4px 12px;
        font-size: 13px;
    }

    .dating-list {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .dating-list {
        grid-template-columns: 1fr;
    }

    .filter-options {
        gap: 6px;
    }

    .filter-btn {
        padding: 3px 10px;
        font-size: 12px;
    }

    .user-info h3 {
        font-size: 16px;
    }

    .basic-info, .work-info, .location {
        font-size: 13px;
    }
}
